/// <summary> /// Deserializes this complex type from a binary stream. /// </summary> /// <param name="Reader">The PacketReader that should be used for deserialization.</param> public void Read(PacketReader Reader) { this.Key = Reader.ReadString(); this.Value = Reader.ReadDynamic(); }
/// <summary> /// Creates a new instance of the complex type by deserializing from a binary stream. /// </summary> /// <param name="Reader">The PacketReader that should be used to deserialize.</param> public Parameter(PacketReader Reader) { this.Key = Reader.ReadString(); this.Value = Reader.ReadDynamic(); }
/// <summary> /// Serializes this complex type to a binary stream. /// </summary> public override void Read(PacketReader Reader) { this.Value = Reader.ReadDynamic(); }
/// <summary> /// Serializes this complex type to a binary stream. /// </summary> public override void Read(PacketReader Reader) { this.Key = Reader.ReadString(); this.Value = Reader.ReadDynamic(); this.Success = Reader.ReadBoolean(); }