private void Events_OnExperienceUpdated(Player nativePlayer, uint experience) { var player = GetUnturnedPlayer(nativePlayer) !; var @event = new UnturnedPlayerExperienceUpdatedEvent(player, experience); Emit(@event); }
private void PlayerSkills_OnExperienceChanged_Global(PlayerSkills skills, uint experience) { var player = GetUnturnedPlayer(skills.player) !; var @event = new UnturnedPlayerExperienceUpdatedEvent(player, experience); Emit(@event); }