Exemple #1
0
 /// <summary>
 /// When player sends motion, we should resend this motion to all other players on this map.
 /// </summary>
 private void Character_OnMotion(Character playerWithMotion, Motion motion)
 {
     foreach (var player in GetAllPlayers(true))
     {
         _packetsHelper.SendCharacterMotion(player.Client, playerWithMotion.Id, motion);
     }
 }