Exemplo n.º 1
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteShort((short)((int)this.ignoredList.Length));
     IgnoredInformations[] ignoredInformationsArray = this.ignoredList;
     for (int i = 0; i < (int)ignoredInformationsArray.Length; i++)
     {
         IgnoredInformations ignoredInformation = ignoredInformationsArray[i];
         writer.WriteShort(ignoredInformation.TypeId);
         ignoredInformation.Serialize(writer);
     }
 }
Exemplo n.º 2
0
        public override void Serialize(IDataWriter writer)
        {
            writer.WriteShort(((short)(m_ignoredList.Count)));
            int ignoredListIndex;

            for (ignoredListIndex = 0; (ignoredListIndex < m_ignoredList.Count); ignoredListIndex = (ignoredListIndex + 1))
            {
                IgnoredInformations objectToSend = m_ignoredList[ignoredListIndex];
                writer.WriteUShort(((ushort)(objectToSend.TypeID)));
                objectToSend.Serialize(writer);
            }
        }
Exemplo n.º 3
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteUShort(((ushort)(m_ignoreAdded.TypeID)));
     m_ignoreAdded.Serialize(writer);
     writer.WriteBoolean(m_session);
 }
Exemplo n.º 4
0
 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteShort(IgnoreAdded.TypeId);
     IgnoreAdded.Serialize(writer);
     writer.WriteBoolean(Session);
 }
Exemplo n.º 5
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteShort(ignoreAdded.TypeId);
     ignoreAdded.Serialize(writer);
 }