Exemplo n.º 1
0
        public void Write(ByteArray by)
        {
            by.WriteString(subject);
            by.WriteString(content);
            ushort count = (ushort)items.Count;

            by.WriteUShort(count);
            for (int i = 0; i < count; ++i)
            {
                PropID obj = items[i];
                obj.Write(by);
            }
        }
Exemplo n.º 2
0
 public void Write(ByteArray by)
 {
     by.WriteString(char_name);
     item_id.Write(by);
 }