public void SetScreenPartIndex(NodeAddedEvent evt, [Combine] NewItemNotificationNode notification, BattleResultsScreenNode screen) { IgnoreBattleResultScreenNotificationComponent component = new IgnoreBattleResultScreenNotificationComponent { ScreenPartIndex = 1 }; notification.Entity.AddComponent(component); }
public void NewLeagueNotif(NodeAddedEvent e, SingleNode <LeagueFirstEntranceRewardNotificationComponent> notification) { IgnoreBattleResultScreenNotificationComponent component = new IgnoreBattleResultScreenNotificationComponent { ScreenPartIndex = 1 }; notification.Entity.AddComponent(component); }