Exemplo n.º 1
0
 protected override void DeserializeInternal(NetIncomingMessage message)
 {
     Player        = FullStatePlayer.Read(message);
     GamemodeState = message.ReadBytes(message.ReadUInt16());
 }
Exemplo n.º 2
0
 public PlayerUpdateAction(NetworkPlayer player, GameCore game)
 {
     Player        = new FullStatePlayer(player);
     GamemodeState = game.Gamemode.GetFullState();
 }