public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadInt();
     SourceId = reader.ReadInt();
     TargetId = reader.ReadInt();
     Accept = reader.ReadBoolean();
 }
Esempio n. 2
0
 public override void Deserialize(BigEndianReader reader)
 {
     GuildInfo = new GuildInformations();
     GuildInfo.Deserialize(reader);
     MemberRights = reader.ReadUInt();
     Enabled = reader.ReadBoolean();
 }
Esempio n. 3
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     Uid = reader.ReadUTF();
     Figure = reader.ReadShort();
     Pedestal = reader.ReadShort();
     Bound = reader.ReadBoolean();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     TargetId = reader.ReadInt();
     StateId = reader.ReadShort();
     Active = reader.ReadBoolean();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     PaymentType = reader.ReadSByte();
     BAdd = reader.ReadBoolean();
     ObjectToMoveId = reader.ReadInt();
     Quantity = reader.ReadInt();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     NpcId = reader.ReadShort();
     Sex = reader.ReadBoolean();
     SpecialArtworkId = reader.ReadShort();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadShort();
     TeamId = reader.ReadSByte();
     Option = reader.ReadSByte();
     State = reader.ReadBoolean();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     FighterMovementInformations = new CharacterMinimalPlusLookAndGradeInformations();
     FighterMovementInformations.Deserialize(reader);
     InMain = reader.ReadBoolean();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     HireOrFire = reader.ReadBoolean();
     BasicInfos = new TaxCollectorBasicInformations();
     BasicInfos.Deserialize(reader);
     PlayerId = reader.ReadInt();
     PlayerName = reader.ReadUTF();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     TeamId = reader.ReadSByte();
     Alive = reader.ReadBoolean();
     Stats = Types.ProtocolTypeManager.GetInstance<GameFightMinimalStats>(reader.ReadShort());
     Stats.Deserialize(reader);
 }
Esempio n. 11
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     ObjectiveId = reader.ReadShort();
     ObjectiveStatus = reader.ReadBoolean();
     var limit = reader.ReadUShort();
     DialogParams = new string[limit];
     for (int i = 0; i < limit; i++)
     {
         DialogParams[i] = reader.ReadUTF();
     }
 }
Esempio n. 12
0
 public override void Deserialize(BigEndianReader reader)
 {
     Id = reader.ReadUShort();
     var limit = reader.ReadUShort();
     Parameters = new string[limit];
     for (int i = 0; i < limit; i++)
     {
         Parameters[i] = reader.ReadUTF();
     }
     ForceOpen = reader.ReadBoolean();
 }
Esempio n. 13
0
 public override void Deserialize(BigEndianReader reader)
 {
     HasStartupActions = reader.ReadBoolean();
     var limit = reader.ReadUShort();
     Characters = new CharacterBaseInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         Characters[i] = Types.ProtocolTypeManager.GetInstance<CharacterBaseInformations>(reader.ReadShort());
         Characters[i].Deserialize(reader);
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     DungeonId = reader.ReadShort();
     var limit = reader.ReadUShort();
     PlayersDungeonReady = new bool[limit];
     for (int i = 0; i < limit; i++)
     {
         PlayersDungeonReady[i] = reader.ReadBoolean();
     }
 }
Esempio n. 15
0
 public override void Deserialize(BigEndianReader reader)
 {
     SpellPrevisualization = reader.ReadBoolean();
     var limit = reader.ReadUShort();
     Spells = new SpellItem[limit];
     for (int i = 0; i < limit; i++)
     {
         Spells[i] = new SpellItem();
         Spells[i].Deserialize(reader);
     }
 }
Esempio n. 16
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     PresetId = reader.ReadSByte();
     SymbolId = reader.ReadSByte();
     Mount = reader.ReadBoolean();
     var limit = reader.ReadUShort();
     Objects = new PresetItem[limit];
     for (int i = 0; i < limit; i++)
     {
         Objects[i] = new PresetItem();
         Objects[i].Deserialize(reader);
     }
 }
Esempio n. 17
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     Restrictions = new ActorRestrictionsInformations();
     Restrictions.Deserialize(reader);
     Sex = reader.ReadBoolean();
     var limit = reader.ReadUShort();
     Options = new HumanOption[limit];
     for (int i = 0; i < limit; i++)
     {
         Options[i] = Types.ProtocolTypeManager.GetInstance<HumanOption>(reader.ReadShort());
         Options[i].Deserialize(reader);
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     ObjectGID = reader.ReadShort();
     PowerRate = reader.ReadShort();
     OverMax = reader.ReadBoolean();
     var limit = reader.ReadUShort();
     Effects = new ObjectEffect[limit];
     for (int i = 0; i < limit; i++)
     {
         Effects[i] = Types.ProtocolTypeManager.GetInstance<ObjectEffect>(reader.ReadShort());
         Effects[i].Deserialize(reader);
     }
 }
Esempio n. 19
0
 public override void Deserialize(BigEndianReader reader)
 {
     IgnoreAdded = Types.ProtocolTypeManager.GetInstance<IgnoredInformations>(reader.ReadShort());
     IgnoreAdded.Deserialize(reader);
     Session = reader.ReadBoolean();
 }
Esempio n. 20
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     Breed = reader.ReadSByte();
     Sex = reader.ReadBoolean();
     Rank = reader.ReadShort();
     GivenExperience = reader.ReadDouble();
     ExperienceGivenPercent = reader.ReadSByte();
     Rights = reader.ReadUInt();
     Connected = reader.ReadSByte();
     AlignmentSide = reader.ReadSByte();
     HoursSinceLastConnection = reader.ReadUShort();
     MoodSmileyId = reader.ReadSByte();
     AccountId = reader.ReadInt();
     AchievementPoints = reader.ReadInt();
     Status = Types.ProtocolTypeManager.GetInstance<PlayerStatus>(reader.ReadShort());
     Status.Deserialize(reader);
 }
 public virtual void Deserialize(BigEndianReader reader)
 {
     PlayerId = reader.ReadInt();
     PlayerName = reader.ReadUTF();
     AlignmentSide = reader.ReadSByte();
     Breed = reader.ReadSByte();
     Sex = reader.ReadBoolean();
     IsInWorkshop = reader.ReadBoolean();
     WorldX = reader.ReadShort();
     WorldY = reader.ReadShort();
     MapId = reader.ReadInt();
     SubAreaId = reader.ReadShort();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     OnlySuccess = reader.ReadBoolean();
     @object = new ObjectItemNotInContainer();
     @object.Deserialize(reader);
 }
 public override void Deserialize(BigEndianReader reader)
 {
     Enabled = reader.ReadBoolean();
 }
Esempio n. 24
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     GuestId = reader.ReadInt();
     HostId = reader.ReadInt();
     Name = reader.ReadUTF();
     GuestLook = new EntityLook();
     GuestLook.Deserialize(reader);
     Breed = reader.ReadSByte();
     Sex = reader.ReadBoolean();
     Status = Types.ProtocolTypeManager.GetInstance<PlayerStatus>(reader.ReadShort());
     Status.Deserialize(reader);
 }
Esempio n. 25
0
 public override void Deserialize(BigEndianReader reader)
 {
     Remote = reader.ReadBoolean();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     DoTutorial = reader.ReadBoolean();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadInt();
     PlayerId = reader.ReadInt();
     Accepted = reader.ReadBoolean();
 }
Esempio n. 28
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     ObjectUID = reader.ReadInt();
     PowerRate = reader.ReadShort();
     OverMax = reader.ReadBoolean();
     var limit = reader.ReadUShort();
     Effects = new ObjectEffect[limit];
     for (int i = 0; i < limit; i++)
     {
         Effects[i] = Types.ProtocolTypeManager.GetInstance<ObjectEffect>(reader.ReadShort());
         Effects[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     Prices = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         Prices[i] = reader.ReadInt();
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     Accept = reader.ReadBoolean();
 }
Esempio n. 30
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     PartyType = reader.ReadSByte();
     PartyLeaderId = reader.ReadInt();
     MaxParticipants = reader.ReadSByte();
     var limit = reader.ReadUShort();
     Members = new PartyMemberInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         Members[i] = Types.ProtocolTypeManager.GetInstance<PartyMemberInformations>(reader.ReadShort());
         Members[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     Guests = new PartyGuestInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         Guests[i] = new PartyGuestInformations();
         Guests[i].Deserialize(reader);
     }
     Restricted = reader.ReadBoolean();
 }