public override void Deserialize(NetworkReader reader) { base.Deserialize(reader); IsCanConnect = reader.ReadBoolean(); Player = JsonConvert.DeserializeObject <GameBattlePlayerInfo>(reader.ReadString()); Opponents = JsonConvert.DeserializeObject <List <GameBattlePlayerInfo> >(reader.ReadString()); DroppedItems = JsonConvert.DeserializeObject <List <DropItemInfo> >(reader.ReadString()); }
public override void Deserialize(NetworkReader reader) { base.Deserialize(reader); Opponent = JsonConvert.DeserializeObject <GameBattlePlayerInfo>(reader.ReadString()); }