public void FinalizeAmbientSoundEffect(NodeAddedEvent evt, BattleScreenNode battleScreen, [JoinAll] SoundListenerNode soundListener) { base.NewEvent <BeforeMapAmbientSoundPlayEvent>().Attach(soundListener).ScheduleDelayed(soundListener.soundListener.DelayForBattleEnterState); }
public void SkipNotificationOnBattleScreen(ShowNotificationEvent evt, SingleNode <IgnoreBattleScreenNotificationComponent> notification, [JoinAll] BattleScreenNode screen) { evt.CanShowNotification = false; }
public void FilterMapAmbientSoundPlayEvent(BeforeMapAmbientSoundPlayEvent evt, SoundListenerNode soundListener, [JoinAll] SingleNode <MapInstanceComponent> map, [JoinAll] BattleScreenNode battleScreen) { base.ScheduleEvent <MapAmbientSoundPlayEvent>(soundListener); }
public void CloseNotificationOnBattleScreen(NodeAddedEvent evt, [Combine] ActiveNotificationNode notification, BattleScreenNode screen) { base.ScheduleEvent <CloseNotificationEvent>(notification); }