コード例 #1
0
 /// <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();
 }
コード例 #2
0
 /// <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();
 }
コード例 #3
0
 /// <summary>
 /// Serializes this complex type to a binary stream.
 /// </summary>
 public override void Read(PacketReader Reader)
 {
     this.Value = Reader.ReadDynamic();
 }
コード例 #4
0
 /// <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();
 }