Example #1
0
        private void Events_OnExperienceUpdated(Player nativePlayer, uint experience)
        {
            var player = GetUnturnedPlayer(nativePlayer) !;
            var @event = new UnturnedPlayerExperienceUpdatedEvent(player, experience);

            Emit(@event);
        }
Example #2
0
        private void PlayerSkills_OnExperienceChanged_Global(PlayerSkills skills, uint experience)
        {
            var player = GetUnturnedPlayer(skills.player) !;
            var @event = new UnturnedPlayerExperienceUpdatedEvent(player, experience);

            Emit(@event);
        }