Ejemplo n.º 1
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);
            }
        }
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 3
0
 public ItemsPreset(List <ItemForPreset> Items, bool MountEquipped, EntityLook Look)
 {
     this.Items         = Items;
     this.MountEquipped = MountEquipped;
     this.Look          = Look;
 }
Ejemplo n.º 4
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     Look = new EntityLook();
     Look.Deserialize(reader);
 }
Ejemplo n.º 5
0
 public MonsterInGroupInformations(EntityLook Look)
 {
     this.Look = Look;
 }
Ejemplo n.º 6
0
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     EntityLook.Serialize(writer);
     writer.WriteSByte(Breed);
 }
Ejemplo n.º 7
0
 public CharacterMinimalPlusLookInformations(EntityLook EntityLook, sbyte Breed)
 {
     this.EntityLook = EntityLook;
     this.Breed      = Breed;
 }
Ejemplo n.º 8
0
 public SubEntity(sbyte BindingPointCategory, sbyte BindingPointIndex, EntityLook SubEntityLook)
 {
     this.BindingPointCategory = BindingPointCategory;
     this.BindingPointIndex    = BindingPointIndex;
     this.SubEntityLook        = SubEntityLook;
 }
Ejemplo n.º 9
0
 public PartyEntityBaseInformation(sbyte IndexId, sbyte EntityModelId, EntityLook EntityLook)
 {
     this.IndexId       = IndexId;
     this.EntityModelId = EntityModelId;
     this.EntityLook    = EntityLook;
 }
Ejemplo n.º 10
0
 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;
 }
Ejemplo n.º 11
0
 public override void Deserialize(IDataReader reader)
 {
     Look = new EntityLook();
     Look.Deserialize(reader);
     Index = reader.ReadSByte();
 }
Ejemplo n.º 12
0
 public IndexedEntityLook(EntityLook Look, sbyte Index)
 {
     this.Look  = Look;
     this.Index = Index;
 }
Ejemplo n.º 13
0
 public GameContextActorInformations(double ContextualId, EntityLook Look, EntityDispositionInformations Disposition)
 {
     this.ContextualId = ContextualId;
     this.Look         = Look;
     this.Disposition  = Disposition;
 }
Ejemplo n.º 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;
 }