예제 #1
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     EntityLook = new EntityLook();
     EntityLook.Deserialize(reader);
     Breed = reader.ReadSByte();
 }
예제 #2
0
 public override void Deserialize(IDataReader reader)
 {
     IndexId       = reader.ReadSByte();
     EntityModelId = reader.ReadSByte();
     EntityLook    = new EntityLook();
     EntityLook.Deserialize(reader);
 }
예제 #3
0
파일: SubEntity.cs 프로젝트: Teles1/Cookie
 public override void Deserialize(IDataReader reader)
 {
     BindingPointCategory = reader.ReadSByte();
     BindingPointIndex    = reader.ReadSByte();
     SubEntityLook        = new EntityLook();
     SubEntityLook.Deserialize(reader);
 }
예제 #4
0
 public override void Deserialize(IDataReader reader)
 {
     ContextualId = reader.ReadDouble();
     Look         = new EntityLook();
     Look.Deserialize(reader);
     Disposition = ProtocolTypeManager.GetInstance(reader.ReadUShort());
     Disposition.Deserialize(reader);
 }
예제 #5
0
 public override void Deserialize(IDataReader reader)
 {
     SpouseAccountId  = reader.ReadInt();
     SpouseId         = reader.ReadVarUhLong();
     SpouseName       = reader.ReadUTF();
     SpouseLevel      = reader.ReadVarUhShort();
     Breed            = reader.ReadSByte();
     Sex              = reader.ReadSByte();
     SpouseEntityLook = new EntityLook();
     SpouseEntityLook.Deserialize(reader);
     GuildInfo = new GuildInformations();
     GuildInfo.Deserialize(reader);
     AlignmentSide = reader.ReadSByte();
 }
예제 #6
0
        public override void Deserialize(IDataReader reader)
        {
            base.Deserialize(reader);
            var ItemsCount = reader.ReadShort();

            Items = new List <ItemForPreset>();
            for (var i = 0; i < ItemsCount; i++)
            {
                var objectToAdd = new ItemForPreset();
                objectToAdd.Deserialize(reader);
                Items.Add(objectToAdd);
            }
            MountEquipped = reader.ReadBoolean();
            Look          = new EntityLook();
            Look.Deserialize(reader);
        }
예제 #7
0
        public override void Deserialize(IDataReader reader)
        {
            GuestId   = reader.ReadVarUhLong();
            HostId    = reader.ReadVarUhLong();
            Name      = reader.ReadUTF();
            GuestLook = new EntityLook();
            GuestLook.Deserialize(reader);
            Breed  = reader.ReadSByte();
            Sex    = reader.ReadBoolean();
            Status = ProtocolTypeManager.GetInstance(reader.ReadUShort());
            Status.Deserialize(reader);
            var EntitiesCount = reader.ReadShort();

            Entities = new List <PartyEntityBaseInformation>();
            for (var i = 0; i < EntitiesCount; i++)
            {
                var objectToAdd = new PartyEntityBaseInformation();
                objectToAdd.Deserialize(reader);
                Entities.Add(objectToAdd);
            }
        }
예제 #8
0
        public override void Deserialize(IDataReader reader)
        {
            UniqueId        = reader.ReadDouble();
            FirtNameId      = reader.ReadVarUhShort();
            LastNameId      = reader.ReadVarUhShort();
            AdditionalInfos = new AdditionalTaxCollectorInformations();
            AdditionalInfos.Deserialize(reader);
            WorldX    = reader.ReadShort();
            WorldY    = reader.ReadShort();
            SubAreaId = reader.ReadVarUhShort();
            State     = reader.ReadSByte();
            Look      = new EntityLook();
            Look.Deserialize(reader);
            var ComplementsCount = reader.ReadShort();

            Complements = new List <TaxCollectorComplementaryInformations>();
            for (var i = 0; i < ComplementsCount; i++)
            {
                TaxCollectorComplementaryInformations objectToAdd = ProtocolTypeManager.GetInstance(reader.ReadUShort());
                objectToAdd.Deserialize(reader);
                Complements.Add(objectToAdd);
            }
        }
예제 #9
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     Look = new EntityLook();
     Look.Deserialize(reader);
 }
예제 #10
0
 public override void Deserialize(IDataReader reader)
 {
     Look = new EntityLook();
     Look.Deserialize(reader);
     Index = reader.ReadSByte();
 }