public override void Deserialize(IDataReader reader) { base.Deserialize(reader); ownerInformations = new Types.CharacterMinimalInformations(); ownerInformations.Deserialize(reader); theme = reader.ReadSbyte(); roomId = reader.ReadSbyte(); maxRoomId = reader.ReadSbyte(); }
public override void Deserialize(IDataReader reader) { owner = new Types.CharacterMinimalInformations(); owner.Deserialize(reader); var limit = (ushort)reader.ReadUShort(); bonuses = new Types.ObjectEffectInteger[limit]; for (int i = 0; i < limit; i++) { bonuses[i] = new Types.ObjectEffectInteger(); bonuses[i].Deserialize(reader); } bugdet = reader.ReadVarUhInt(); saved = reader.ReadBoolean(); }
public void Deserialize(IDataReader reader) { base.Deserialize(reader); ownerInformations = new Types.CharacterMinimalInformations(); ownerInformations.Deserialize(reader); theme = reader.ReadSByte(); roomId = reader.ReadSByte(); if (roomId < 0) { throw new System.Exception("Forbidden value on roomId = " + roomId + ", it doesn't respect the following condition : roomId < 0"); } maxRoomId = reader.ReadSByte(); if (maxRoomId < 0) { throw new System.Exception("Forbidden value on maxRoomId = " + maxRoomId + ", it doesn't respect the following condition : maxRoomId < 0"); } }
public override void Deserialize(IReader reader) { guestInformations = new Types.CharacterMinimalInformations(); guestInformations.Deserialize(reader); accept = reader.ReadBoolean(); }
public void Deserialize(IDataReader reader) { hostInformations = new Types.CharacterMinimalInformations(); hostInformations.Deserialize(reader); }
public override void Deserialize(IDataReader reader) { hostInformations = new Types.CharacterMinimalInformations(); hostInformations.Deserialize(reader); timeLeftBeforeCancel = reader.ReadVarInt(); }
public override void Deserialize(IDataReader reader) { target = new Types.CharacterMinimalInformations(); target.Deserialize(reader); kicked = reader.ReadBoolean(); }
public override void Deserialize(ICustomDataInput reader) { hostInformations = new Types.CharacterMinimalInformations(); hostInformations.Deserialize(reader); }