예제 #1
0
 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());
 }
예제 #2
0
 public override void Deserialize(NetworkReader reader)
 {
     base.Deserialize(reader);
     Opponent = JsonConvert.DeserializeObject <GameBattlePlayerInfo>(reader.ReadString());
 }