Function jumpy::core::player::hydrate_players

source ยท
fn hydrate_players(
    commands: Commands<'_>,
    entities: ResMutInit<'_, Entities>,
    game_meta: Root<'_, GameMeta>,
    player_inputs: Res<'_, MatchInputs>,
    player_indexes: Comp<'_, PlayerIdx>,
    assets: Res<'_, AssetServer>,
    player_states: CompMut<'_, PlayerState>,
    inventories: CompMut<'_, Inventory>,
    animation_bank_sprites: CompMut<'_, AnimationBankSprite>,
    atlas_sprites: CompMut<'_, AtlasSprite>,
    kinematic_bodies: CompMut<'_, KinematicBody>,
    camera_subjects: CompMut<'_, CameraSubject>,
    player_layers: CompMut<'_, PlayerLayers>,
    player_body_attachments: CompMut<'_, PlayerBodyAttachment>,
    transforms: CompMut<'_, Transform>,
    emote_states: CompMut<'_, EmoteState>,
    ai_players: CompMut<'_, AiPlayer>,
    invincibles: CompMut<'_, Invincibility>,
    element_kill_callbacks: CompMut<'_, ElementKillCallback>,
    players_have_spawned: ResMutInit<'_, PlayersHaveSpawned>,
    item_grabs: CompMut<'_, ItemGrab>,
    item_throws: CompMut<'_, ItemThrow>,
    items: CompMut<'_, Item>,
    hats: CompMut<'_, Hat>,
)