示例#1
0
        public override void Deserialize(ICustomDataInput reader)
        {
            var friendUpdatedTypeId = reader.ReadShort();

            FriendUpdated = new FriendInformations();
            FriendUpdated.Deserialize(reader);
        }
示例#2
0
        public override void Deserialize(IDataReader reader)
        {
            uint num = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num; ++index)
            {
                FriendInformations instance = ProtocolTypeManager.GetInstance <FriendInformations>((uint)reader.ReadUShort());
                instance.Deserialize(reader);
                this.friendsList.Add(instance);
            }
        }
示例#3
0
        public override void Deserialize(IDataReader reader)
        {
            var FriendsListCount = reader.ReadShort();

            FriendsList = new List <FriendInformations>();
            for (var i = 0; i < FriendsListCount; i++)
            {
                FriendInformations objectToAdd = ProtocolTypeManager.GetInstance(reader.ReadUShort());
                objectToAdd.Deserialize(reader);
                FriendsList.Add(objectToAdd);
            }
        }
示例#4
0
        public override void Deserialize(ICustomDataInput reader)
        {
            var countFriendsList = reader.ReadShort();

            FriendsList = new List <FriendInformations>();
            for (short i = 0; i < countFriendsList; i++)
            {
                var friendsListtypeId   = reader.ReadShort();
                FriendInformations type = new FriendInformations();
                type.Deserialize(reader);
                FriendsList.Add(type);
            }
        }
示例#5
0
        public override void Deserialize(ICustomDataInput reader)
        {
            int friendsListCount = reader.ReadUShort();
            int friendsListIndex;

            m_friendsList = new System.Collections.Generic.List <FriendInformations>();
            for (friendsListIndex = 0; (friendsListIndex < friendsListCount); friendsListIndex = (friendsListIndex + 1))
            {
                FriendInformations objectToAdd = ProtocolTypeManager.GetInstance <FriendInformations>((short)reader.ReadUShort());
                objectToAdd.Deserialize(reader);
                m_friendsList.Add(objectToAdd);
            }
        }
示例#6
0
 public override void Deserialize(IDataReader reader)
 {
     FriendUpdated = ProtocolTypeManager.GetInstance(reader.ReadUShort());
     FriendUpdated.Deserialize(reader);
 }
示例#7
0
 public override void Deserialize(IDataReader reader)
 {
     m_friendUpdated = ProtocolManager.GetTypeInstance <FriendInformations>(reader.ReadUShort());
     m_friendUpdated.Deserialize(reader);
 }
 public void Deserialize(IDataReader reader)
 {
     FriendUpdated = new FriendInformations();
     FriendUpdated.Deserialize(reader);
 }
示例#9
0
 public override void Deserialize(IDataReader reader)
 {
     m_friendAdded = ProtocolTypeManager.GetInstance <FriendInformations>((short)reader.ReadUShort());
     m_friendAdded.Deserialize(reader);
 }
示例#10
0
 public override void Deserialize(ICustomDataInput reader)
 {
     m_friendUpdated = ProtocolTypeManager.GetInstance<FriendInformations>((short)reader.ReadUShort());
     m_friendUpdated.Deserialize(reader);
 }
示例#11
0
 public override void Deserialize(IDataReader reader)
 {
     friendAdded = (FriendInformations)ProtocolTypeManager.GetInstance(reader.ReadUShort());
     friendAdded.Deserialize(reader);
 }
示例#12
0
 public override void Deserialize(IDataReader reader)
 {
     friendUpdated = Types.ProtocolTypeManager.GetInstance <FriendInformations>(reader.ReadShort());
     friendUpdated.Deserialize(reader);
 }