Esempio n. 1
0
 /// <summary>
 /// Writes parameter to the given binary stream
 /// </summary>
 /// <param name="writer"></param>
 public override void Write(BinaryWriter writer)
 {
     base.Write(writer);
     ServerBinaryWriter.WriteBoolean(writer, Value);
 }
Esempio n. 2
0
 /// <summary>
 /// Writes to binary stream
 /// </summary>
 /// <param name="writer"></param>
 public void Write(BinaryWriter writer)
 {
     ServerBinaryWriter.WriteBoolean(writer, Okey);
     ServerBinaryWriter.WriteShortString(writer, Message);
     Parameters.Write(writer);
 }