Example #1
0
 /// <summary>
 /// Writes parameter to the binary stream
 /// </summary>
 /// <param name="writer"></param>
 public virtual void Write(BinaryWriter writer)
 {
     ServerBinaryWriter.WriteTinyString(writer, Name);
     ServerBinaryWriter.WriteInt32(writer, ValueType.GUID.GetHashCode());
 }
Example #2
0
 /// <summary>
 /// Writes to the binary stream
 /// </summary>
 /// <param name="writer"></param>
 public override void Write(BinaryWriter writer)
 {
     base.Write(writer);
     ServerBinaryWriter.WriteInt32(writer, Value);
 }