public override void Serialize(ICustomDataOutput writer)
        {
            writer.WriteShort(((short)(m_objectsInfos.Count)));
            int objectsInfosIndex;

            for (objectsInfosIndex = 0; (objectsInfosIndex < m_objectsInfos.Count); objectsInfosIndex = (objectsInfosIndex + 1))
            {
                ObjectItem objectToSend = m_objectsInfos[objectsInfosIndex];
                objectToSend.Serialize(writer);
            }
        }
        public override void Serialize(IDataWriter writer)
        {
            writer.WriteShort(((short)(m_objectList.Count)));
            int objectListIndex;

            for (objectListIndex = 0; (objectListIndex < m_objectList.Count); objectListIndex = (objectListIndex + 1))
            {
                ObjectItem objectToSend = m_objectList[objectListIndex];
                objectToSend.Serialize(writer);
            }
        }
Beispiel #3
0
        public override void Serialize(IDataWriter writer)
        {
            writer.WriteShort(((short)(m_objects.Count)));
            int objectsIndex;

            for (objectsIndex = 0; (objectsIndex < m_objects.Count); objectsIndex = (objectsIndex + 1))
            {
                ObjectItem objectToSend = m_objects[objectsIndex];
                objectToSend.Serialize(writer);
            }
            writer.WriteVarLong(m_kamas);
        }
Beispiel #4
0
        public override void Serialize(IDataWriter writer)
        {
            writer.WriteInt(m_collectorId);
            writer.WriteShort(((short)(m_objectsInfos.Count)));
            int objectsInfosIndex;

            for (objectsInfosIndex = 0; (objectsInfosIndex < m_objectsInfos.Count); objectsInfosIndex = (objectsInfosIndex + 1))
            {
                ObjectItem objectToSend = m_objectsInfos[objectsInfosIndex];
                objectToSend.Serialize(writer);
            }
            writer.WriteVarUhInt(m_goldInfo);
        }
Beispiel #5
0
        public override void Serialize(IDataWriter writer)
        {
            base.Serialize(writer);
            writer.WriteShort(((short)(m_modulesObjects.Count)));
            int modulesObjectsIndex;

            for (modulesObjectsIndex = 0; (modulesObjectsIndex < m_modulesObjects.Count); modulesObjectsIndex = (modulesObjectsIndex + 1))
            {
                ObjectItem objectToSend = m_modulesObjects[modulesObjectsIndex];
                objectToSend.Serialize(writer);
            }
            writer.WriteInt(m_lastTimeSlotModificationDate);
            writer.WriteVarUhInt(m_lastTimeSlotModificationAuthorGuildId);
            writer.WriteVarUhLong(m_lastTimeSlotModificationAuthorId);
            writer.WriteUTF(m_lastTimeSlotModificationAuthorName);
        }
Beispiel #6
0
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     m_object.Serialize(writer);
 }
Beispiel #7
0
 public override void Serialize(ICustomDataOutput writer)
 {
     m_object.Serialize(writer);
 }
 public override void Serialize(IDataWriter writer)
 {
     m_result.Serialize(writer);
 }
 public override void Serialize(ICustomDataOutput writer)
 {
     Result.Serialize(writer);
 }
Beispiel #10
0
 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     Object_.Serialize(writer);
 }
Beispiel #11
0
 public override void Serialize(ICustomDataOutput writer)
 {
     Object_.Serialize(writer);
     writer.WriteByte(Origin);
 }