Beispiel #1
0
 public void Spawn(int tilex, int tiley)
 {
     using (var ms = new MemoryStream())
     {
         var msg = new SpawnMsg()
         {
             PlayerIndex = (byte)Index,
             TileX       = tilex,
             TileY       = tiley
         };
         msg.PackFull(ms);
         SendRawData(ms.ToArray());
     }
 }