Example #1
0
 public new void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     Reason          = reader.ReadByte();
     MemberId        = reader.ReadVarLong();
     MemberAccountId = (UInt32)reader.ReadInt();
     MemberName      = reader.ReadUTF();
     FightId         = reader.ReadInt();
     FightMap        = new MapCoordinatesExtended();
     FightMap.Deserialize(reader);
     TimeBeforeFightStart = reader.ReadVarShort();
 }
Example #2
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     m_fightMap = new MapCoordinatesExtended();
     m_fightMap.Deserialize(reader);
     m_reason               = reader.ReadByte();
     m_memberId             = reader.ReadVarUhLong();
     m_memberAccountId      = reader.ReadInt();
     m_memberName           = reader.ReadUTF();
     m_fightId              = reader.ReadInt();
     m_timeBeforeFightStart = reader.ReadVarShort();
 }
        public override void Deserialize(IDataReader reader)
        {
            Type = reader.ReadByte();
            var coordsCount = reader.ReadUShort();

            Coords = new List <MapCoordinatesExtended>();
            for (var coordsIndex = 0; coordsIndex < coordsCount; coordsIndex++)
            {
                var objectToAdd = new MapCoordinatesExtended();
                objectToAdd.Deserialize(reader);
                Coords.Add(objectToAdd);
            }
        }
Example #4
0
        public override void Deserialize(ICustomDataInput reader)
        {
            int coordsCount = reader.ReadUShort();
            int coordsIndex;

            m_coords = new System.Collections.Generic.List <MapCoordinatesExtended>();
            for (coordsIndex = 0; (coordsIndex < coordsCount); coordsIndex = (coordsIndex + 1))
            {
                MapCoordinatesExtended objectToAdd = new MapCoordinatesExtended();
                objectToAdd.Deserialize(reader);
                m_coords.Add(objectToAdd);
            }
            m_type = reader.ReadByte();
        }
Example #5
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     FightMap = new MapCoordinatesExtended();
     FightMap.Deserialize(reader);
 }