public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     Honor = reader.ReadUShort();
     HonorGradeFloor = reader.ReadUShort();
     HonorNextGradeFloor = reader.ReadUShort();
     PvpEnabled = reader.ReadBoolean();
 }
 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();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     AngelsSubAreas = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         AngelsSubAreas[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     EvilsSubAreas = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         EvilsSubAreas[i] = reader.ReadShort();
     }
 }
Esempio n. 4
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     QuestsToValidId = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         QuestsToValidId[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     QuestsToStartId = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         QuestsToStartId[i] = reader.ReadShort();
     }
 }
Esempio n. 5
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     Channels = new sbyte[limit];
     for (int i = 0; i < limit; i++)
     {
         Channels[i] = reader.ReadSByte();
     }
     limit = reader.ReadUShort();
     Disallowed = new sbyte[limit];
     for (int i = 0; i < limit; i++)
     {
         Disallowed[i] = reader.ReadSByte();
     }
 }
Esempio n. 6
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     Ids = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         Ids[i] = reader.ReadInt();
     }
     limit = reader.ReadUShort();
     DeadsIds = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         DeadsIds[i] = reader.ReadInt();
     }
 }
Esempio n. 7
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     Availables = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         Availables[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     Unavailables = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         Unavailables[i] = reader.ReadShort();
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     Cells = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         Cells[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     ReferenceIds = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         ReferenceIds[i] = reader.ReadInt();
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     var limit = reader.ReadUShort();
     CharactersToRecolor = new CharacterToRecolorInformation[limit];
     for (int i = 0; i < limit; i++)
     {
         CharactersToRecolor[i] = new CharacterToRecolorInformation();
         CharactersToRecolor[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     CharactersToRename = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         CharactersToRename[i] = reader.ReadInt();
     }
     limit = reader.ReadUShort();
     UnusableCharacters = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         UnusableCharacters[i] = reader.ReadInt();
     }
     limit = reader.ReadUShort();
     CharactersToRelook = new CharacterToRelookInformation[limit];
     for (int i = 0; i < limit; i++)
     {
         CharactersToRelook[i] = new CharacterToRelookInformation();
         CharactersToRelook[i].Deserialize(reader);
     }
 }
Esempio n. 10
0
 public override void Deserialize(BigEndianReader reader)
 {
     Messageid = reader.ReadShort();
     var limit = reader.ReadUShort();
     DialogParams = new string[limit];
     for (int i = 0; i < limit; i++)
     {
         DialogParams[i] = reader.ReadUTF();
     }
     limit = reader.ReadUShort();
     VisibleReplies = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         VisibleReplies[i] = reader.ReadShort();
     }
 }
Esempio n. 11
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     FinishedAchievementsIds = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         FinishedAchievementsIds[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     RewardableAchievements = new AchievementRewardable[limit];
     for (int i = 0; i < limit; i++)
     {
         RewardableAchievements[i] = new AchievementRewardable();
         RewardableAchievements[i].Deserialize(reader);
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     PositionsForChallengers = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         PositionsForChallengers[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     PositionsForDefenders = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         PositionsForDefenders[i] = reader.ReadShort();
     }
     TeamNumber = reader.ReadSByte();
 }
Esempio n. 13
0
 public override void Deserialize(BigEndianReader reader)
 {
     SetId = reader.ReadShort();
     var limit = reader.ReadUShort();
     SetObjects = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         SetObjects[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     SetEffects = new ObjectEffect[limit];
     for (int i = 0; i < limit; i++)
     {
         SetEffects[i] = Types.ProtocolTypeManager.GetInstance<ObjectEffect>(reader.ReadShort());
         SetEffects[i].Deserialize(reader);
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     DungeonId = reader.ReadShort();
     var limit = reader.ReadUShort();
     AddedPlayers = new DungeonPartyFinderPlayer[limit];
     for (int i = 0; i < limit; i++)
     {
         AddedPlayers[i] = new DungeonPartyFinderPlayer();
         AddedPlayers[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     RemovedPlayersIds = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         RemovedPlayersIds[i] = reader.ReadInt();
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     StartedAchievements = new Types.Game.Achievement.Achievement[limit];
     for (int i = 0; i < limit; i++)
     {
         StartedAchievements[i] = new Types.Game.Achievement.Achievement();
         StartedAchievements[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     FinishedAchievements = new Types.Game.Achievement.Achievement[limit];
     for (int i = 0; i < limit; i++)
     {
         FinishedAchievements[i] = new Types.Game.Achievement.Achievement();
         FinishedAchievements[i].Deserialize(reader);
     }
 }
Esempio n. 16
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     Effects = new FightDispellableEffectExtendedInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         Effects[i] = new FightDispellableEffectExtendedInformations();
         Effects[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     Marks = new GameActionMark[limit];
     for (int i = 0; i < limit; i++)
     {
         Marks[i] = new GameActionMark();
         Marks[i].Deserialize(reader);
     }
     GameTurn = reader.ReadShort();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     var limit = reader.ReadUShort();
     MainFighters = new CharacterMinimalPlusLookAndGradeInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         MainFighters[i] = new CharacterMinimalPlusLookAndGradeInformations();
         MainFighters[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     ReserveFighters = new CharacterMinimalPlusLookAndGradeInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         ReserveFighters[i] = new CharacterMinimalPlusLookAndGradeInformations();
         ReserveFighters[i].Deserialize(reader);
     }
 }
Esempio n. 18
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     EmoteIds = new sbyte[limit];
     for (int i = 0; i < limit; i++)
     {
         EmoteIds[i] = reader.ReadSByte();
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadInt();
     var limit = reader.ReadUShort();
     Attackers = new GameFightFighterLightInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         Attackers[i] = new GameFightFighterLightInformations();
         Attackers[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     Defenders = new GameFightFighterLightInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         Defenders[i] = new GameFightFighterLightInformations();
         Defenders[i].Deserialize(reader);
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     TypeDescription = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         TypeDescription[i] = reader.ReadInt();
     }
 }
Esempio n. 21
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     Id = reader.ReadShort();
     var limit = reader.ReadUShort();
     FinishedObjective = new AchievementObjective[limit];
     for (int i = 0; i < limit; i++)
     {
         FinishedObjective[i] = new AchievementObjective();
         FinishedObjective[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     StartedObjectives = new AchievementStartedObjective[limit];
     for (int i = 0; i < limit; i++)
     {
         StartedObjectives[i] = new AchievementStartedObjective();
         StartedObjectives[i].Deserialize(reader);
     }
 }
 public virtual void Deserialize(BigEndianReader reader)
 {
     CollectorId = reader.ReadInt();
     var limit = reader.ReadUShort();
     AllyCharactersInformations = new CharacterMinimalPlusLookInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         AllyCharactersInformations[i] = new CharacterMinimalPlusLookInformations();
         AllyCharactersInformations[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     EnemyCharactersInformations = new CharacterMinimalPlusLookInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         EnemyCharactersInformations[i] = new CharacterMinimalPlusLookInformations();
         EnemyCharactersInformations[i].Deserialize(reader);
     }
 }
Esempio n. 23
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     ObjectUID = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         ObjectUID[i] = reader.ReadInt();
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     Servers = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         Servers[i] = reader.ReadShort();
     }
 }
Esempio n. 25
0
 public override void Deserialize(BigEndianReader reader)
 {
     Salt = reader.ReadUTF();
     var limit = reader.ReadUShort();
     Key = new byte[limit];
     for (int i = 0; i < limit; i++)
     {
         Key[i] = reader.ReadByte();
     }
 }
Esempio n. 26
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     Figures = new KrosmasterFigure[limit];
     for (int i = 0; i < limit; i++)
     {
         Figures[i] = new KrosmasterFigure();
         Figures[i].Deserialize(reader);
     }
 }
Esempio n. 27
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     KeyMovements = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         KeyMovements[i] = reader.ReadShort();
     }
     ActorId = reader.ReadInt();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     ItemTypeDescriptions = new BidExchangerObjectInfo[limit];
     for (int i = 0; i < limit; i++)
     {
         ItemTypeDescriptions[i] = new BidExchangerObjectInfo();
         ItemTypeDescriptions[i].Deserialize(reader);
     }
 }
Esempio n. 29
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     ObjectsUIDAndQty = new ObjectItemQuantity[limit];
     for (int i = 0; i < limit; i++)
     {
         ObjectsUIDAndQty[i] = new ObjectItemQuantity();
         ObjectsUIDAndQty[i].Deserialize(reader);
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     var limit = reader.ReadUShort();
     Colors = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         Colors[i] = reader.ReadInt();
     }
 }