コード例 #1
0
 public static void PlayerRotation(PlayerDataHolder player, List <int> sendToList)
 {
     using (var packet = new Packet((int)ServerPackets.playerRotation))
     {
         packet.Write(player.GetPlayerId());
         packet.Write(player.GetGameObject().transform.rotation);
         SendTcpDataToList(packet, sendToList);
     }
 }