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