Beispiel #1
0
 /// <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);
     }
 }
Beispiel #2
0
 /// <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);
     }
 }