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);
            }
        }
Exemple #2
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);
            }
        }
Exemple #3
0
 public ItemsPreset(List <ItemForPreset> Items, bool MountEquipped, EntityLook Look)
 {
     this.Items         = Items;
     this.MountEquipped = MountEquipped;
     this.Look          = Look;
 }
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     Look = new EntityLook();
     Look.Deserialize(reader);
 }
 public MonsterInGroupInformations(EntityLook Look)
 {
     this.Look = Look;
 }
Exemple #6
0
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     EntityLook.Serialize(writer);
     writer.WriteSByte(Breed);
 }
Exemple #7
0
 public CharacterMinimalPlusLookInformations(EntityLook EntityLook, sbyte Breed)
 {
     this.EntityLook = EntityLook;
     this.Breed      = Breed;
 }
Exemple #8
0
 public SubEntity(sbyte BindingPointCategory, sbyte BindingPointIndex, EntityLook SubEntityLook)
 {
     this.BindingPointCategory = BindingPointCategory;
     this.BindingPointIndex    = BindingPointIndex;
     this.SubEntityLook        = SubEntityLook;
 }
Exemple #9
0
 public PartyEntityBaseInformation(sbyte IndexId, sbyte EntityModelId, EntityLook EntityLook)
 {
     this.IndexId       = IndexId;
     this.EntityModelId = EntityModelId;
     this.EntityLook    = EntityLook;
 }
 public FriendSpouseInformations(int SpouseAccountId, ulong SpouseId, string SpouseName, ushort SpouseLevel, sbyte Breed, sbyte Sex, EntityLook SpouseEntityLook, GuildInformations GuildInfo, sbyte AlignmentSide)
 {
     this.SpouseAccountId  = SpouseAccountId;
     this.SpouseId         = SpouseId;
     this.SpouseName       = SpouseName;
     this.SpouseLevel      = SpouseLevel;
     this.Breed            = Breed;
     this.Sex              = Sex;
     this.SpouseEntityLook = SpouseEntityLook;
     this.GuildInfo        = GuildInfo;
     this.AlignmentSide    = AlignmentSide;
 }
Exemple #11
0
 public override void Deserialize(IDataReader reader)
 {
     Look = new EntityLook();
     Look.Deserialize(reader);
     Index = reader.ReadSByte();
 }
Exemple #12
0
 public IndexedEntityLook(EntityLook Look, sbyte Index)
 {
     this.Look  = Look;
     this.Index = Index;
 }
 public GameContextActorInformations(double ContextualId, EntityLook Look, EntityDispositionInformations Disposition)
 {
     this.ContextualId = ContextualId;
     this.Look         = Look;
     this.Disposition  = Disposition;
 }
Exemple #14
0
 public TaxCollectorInformations(double UniqueId, ushort FirtNameId, ushort LastNameId, AdditionalTaxCollectorInformations AdditionalInfos, short WorldX, short WorldY, ushort SubAreaId, sbyte State, EntityLook Look, List <TaxCollectorComplementaryInformations> Complements)
 {
     this.UniqueId        = UniqueId;
     this.FirtNameId      = FirtNameId;
     this.LastNameId      = LastNameId;
     this.AdditionalInfos = AdditionalInfos;
     this.WorldX          = WorldX;
     this.WorldY          = WorldY;
     this.SubAreaId       = SubAreaId;
     this.State           = State;
     this.Look            = Look;
     this.Complements     = Complements;
 }