public void PlayAmbientSoundEffect(NodeAddedEvent evt, ReadySilentAmbientSoundNode soundListener, BattleSelectScreenNode screen) { base.NewEvent(new BeforeLobbyAmbientSoundPlayEvent(true)).Attach(soundListener).ScheduleDelayed(soundListener.soundListener.DelayForLobbyState); }
public void CloseFriendsPanel(NodeRemoveEvent e, BattleSelectScreenNode screen, [JoinByScreen] SingleNode <InviteFriendsListComponent> inviteFriendsList, [JoinAll] SingleNode <SelfUserComponent> user) { this.CloseFriendsPanel(screen.battleSelectScreen.FriendsPanel, screen.battleSelectScreen.EntrancePanel, user.Entity); }