Пример #1
0
        public override void Write(ByteArray by)
        {
            base.Write(by);
            ushort count = (ushort)list.Count;

            by.WriteUShort(count);
            for (int i = 0; i < count; ++i)
            {
                RelationInfo obj = list[i];
                obj.Write(by);
            }
        }
Пример #2
0
 public override void Write(ByteArray by)
 {
     base.Write(by);
     by.WriteLong(char_idx);
     relation_info.Write(by);
 }