public void PlayAmbientSoundEffect(NodeAddedEvent evt, ReadySilentAmbientSoundNode soundListener, BattleResultsScreenNode screen)
 {
     base.NewEvent(new BeforeLobbyAmbientSoundPlayEvent(false)).Attach(soundListener).ScheduleDelayed(soundListener.soundListener.DelayForLobbyState);
 }
 public void SetScreenPartIndex(NodeAddedEvent evt, [Combine] UserRankRewardNotificationNode notification, BattleResultsScreenNode screen)
 {
     notification.ignoreBattleResultScreenNotification.ScreenPartIndex = 1;
 }
 public void SetScreenPartIndex(NodeAddedEvent evt, [Combine] NewItemCardNotificationNode notification, BattleResultsScreenNode screen)
 {
     notification.Entity.RemoveComponent <IgnoreBattleResultScreenNotificationComponent>();
 }
        public void SetScreenPartIndex(NodeAddedEvent evt, [Combine] NewItemNotificationNode notification, BattleResultsScreenNode screen)
        {
            IgnoreBattleResultScreenNotificationComponent component = new IgnoreBattleResultScreenNotificationComponent {
                ScreenPartIndex = 1
            };

            notification.Entity.AddComponent(component);
        }
 public void CloseNotificationOnBattleScreen(NodeAddedEvent evt, [Combine] ActiveNotificationNode notification, BattleResultsScreenNode screen)
 {
     base.ScheduleEvent <CloseNotificationEvent>(notification);
 }