Esempio n. 1
0
        private void OnAnyFlagChanged(PlayerQuests quests, PlayerQuestFlag flag)
        {
            var player = GetUnturnedPlayer(quests.player) !;

            var @event =
                new UnturnedPlayerFlagChangedEvent(player, flag);

            Emit(@event);
        }
 public UnturnedPlayerFlagChangedEvent(UnturnedPlayer player, PlayerQuestFlag flag) :
     base(player)
 {
     Flag = flag;
 }