/// <summary> /// Notifies other players that player levelled up /// </summary> private void Character_OnLevelUp(Character sender) { foreach (var player in GetAllPlayers(true)) { _packetsHelper.SendLevelUp(player.Client, sender); } }
/// <summary> /// Notifies other players that player levelled up /// </summary> private void Character_OnLevelUp(Character sender) { foreach (var player in GetAllPlayers(true)) { // If sender has party, send admin level up _packetsHelper.SendLevelUp(player.Client, sender, sender.HasParty); } }