ushort x = 10; // player X position ushort y = 20; // player Y position Packet packet = new Packet(); packet.PutUShort(x); packet.PutUShort(y); // send the packet to the server
ushort gameState = 2; // current game state Packet packet = new Packet(); packet.PutUShort(gameState); // send the packet to all playersBased on the code examples, it can be concluded that the package library used is Aura.Shared.Network.