コード例 #1
0
 public override void Deserialize(IDataReader reader)
 {
     this.properties = ProtocolTypeManager.GetInstance <PaddockInformations>(reader.ReadUShort());
     this.properties.Deserialize(reader);
 }
コード例 #2
0
 public override void Deserialize(IDataReader reader)
 {
     ignoreAdded = ProtocolTypeManager.GetInstance <Types.IgnoredInformations>(reader.ReadUShort());
     ignoreAdded.Deserialize(reader);
     session = reader.ReadBoolean();
 }
コード例 #3
0
 public override void Deserialize(IReader reader)
 {
     barType  = reader.ReadSByte();
     shortcut = ProtocolTypeManager.GetInstance <Types.Shortcut>(reader.ReadUShort());
     shortcut.Deserialize(reader);
 }
コード例 #4
0
 public void Deserialize(IDataReader reader)
 {
     properties = ProtocolTypeManager.GetInstance <Types.PaddockInformations>(reader.ReadShort());
     properties.Deserialize(reader);
 }
コード例 #5
0
 public override void Deserialize(IDataReader reader)
 {
     m_spouse = ProtocolTypeManager.GetInstance <FriendSpouseInformations>((short)reader.ReadUShort());
     m_spouse.Deserialize(reader);
 }
コード例 #6
0
 public override void Deserialize(IDataReader reader)
 {
     informations = (GameRolePlayActorInformations)ProtocolTypeManager.GetInstance(reader.ReadUShort());
     informations.Deserialize(reader);
 }
コード例 #7
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     Portal = ProtocolTypeManager.GetInstance(reader.ReadUShort());
     Portal.Deserialize(reader);
 }
コード例 #8
0
 public override void Deserialize(IDataReader reader)
 {
     BarType  = reader.ReadSByte();
     Shortcut = ProtocolTypeManager.GetInstance(reader.ReadUShort());
     Shortcut.Deserialize(reader);
 }
コード例 #9
0
 public override void Deserialize(ICustomDataInput reader)
 {
     base.Deserialize(reader);
     m_prism = ProtocolTypeManager.GetInstance <PrismInformation>((short)reader.ReadUShort());
     m_prism.Deserialize(reader);
 }
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     portal = ProtocolTypeManager.GetInstance <Types.PortalInformation>(reader.ReadShort());
     portal.Deserialize(reader);
 }
コード例 #11
0
 public override void Deserialize(IDataReader reader)
 {
     presetId = reader.ReadShort();
     preset   = ProtocolTypeManager.GetInstance <Types.Preset>(reader.ReadUShort());
     preset.Deserialize(reader);
 }
コード例 #12
0
 public override void Deserialize(ICustomDataInput reader)
 {
     properties = ProtocolTypeManager.GetInstance <Types.PaddockInformations>(reader.ReadShort());
     properties.Deserialize(reader);
 }
コード例 #13
0
 public override void Deserialize(ICustomDataInput reader)
 {
     base.Deserialize(reader);
     m_effect = ProtocolTypeManager.GetInstance <AbstractFightDispellableEffect>((short)reader.ReadUShort());
     m_effect.Deserialize(reader);
 }
コード例 #14
0
 public override void Deserialize(ICustomDataInput reader)
 {
     m_shortcut = ProtocolTypeManager.GetInstance <Shortcut>((short)reader.ReadUShort());
     m_shortcut.Deserialize(reader);
     m_barType = reader.ReadByte();
 }
コード例 #15
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     this.prism = ProtocolTypeManager.GetInstance <PrismInformation>((uint)reader.ReadUShort());
     this.prism.Deserialize(reader);
 }
コード例 #16
0
 public override void Deserialize(ICustomDataInput reader)
 {
     base.Deserialize(reader);
     this.memberInformations = ProtocolTypeManager.GetInstance <PartyMemberInformations>(reader.ReadShort());
     this.memberInformations.Deserialize(reader);
 }
コード例 #17
0
        public virtual void Deserialize(IReader reader)
        {
            subAreaId          = reader.ReadVarUhShort();
            waitingForHelpInfo = new Types.ProtectedEntityWaitingForHelpInfo();
            waitingForHelpInfo.Deserialize(reader);
            var limit = reader.ReadUShort();

            allyCharactersInformations = new Types.CharacterMinimalPlusLookInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                (allyCharactersInformations as Types.CharacterMinimalPlusLookInformations[])[i] = ProtocolTypeManager.GetInstance <Types.CharacterMinimalPlusLookInformations>(reader.ReadUShort());
                (allyCharactersInformations as Types.CharacterMinimalPlusLookInformations[])[i].Deserialize(reader);
            }
            limit = reader.ReadUShort();
            enemyCharactersInformations = new Types.CharacterMinimalPlusLookInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                (enemyCharactersInformations as Types.CharacterMinimalPlusLookInformations[])[i] = ProtocolTypeManager.GetInstance <Types.CharacterMinimalPlusLookInformations>(reader.ReadUShort());
                (enemyCharactersInformations as Types.CharacterMinimalPlusLookInformations[])[i].Deserialize(reader);
            }
        }
コード例 #18
0
 public override void Deserialize(ICustomDataInput reader)
 {
     m_friendUpdated = ProtocolTypeManager.GetInstance<FriendInformations>((short)reader.ReadUShort());
     m_friendUpdated.Deserialize(reader);
 }
コード例 #19
0
 public override void Deserialize(IDataReader reader)
 {
     m_informations = ProtocolTypeManager.GetInstance <GameFightFighterInformations>(reader.ReadUShort());
     m_informations.Deserialize(reader);
 }
コード例 #20
0
 public override void Deserialize(IReader reader)
 {
     base.Deserialize(reader);
     effect = ProtocolTypeManager.GetInstance <Types.AbstractFightDispellableEffect>(reader.ReadUShort());
     effect.Deserialize(reader);
 }
コード例 #21
0
 public override void Deserialize(ICustomDataInput reader)
 {
     this.informations = ProtocolTypeManager.GetInstance <TaxCollectorInformations>(reader.ReadShort());
     this.informations.Deserialize(reader);
 }
コード例 #22
0
 public void Deserialize(IDataReader reader)
 {
     infos = ProtocolTypeManager.GetInstance <Types.QuestActiveInformations>(reader.ReadShort());
     infos.Deserialize(reader);
 }
コード例 #23
0
        public override void Deserialize(IDataReader reader)
        {
            this.subAreaId = (uint)reader.ReadVarUhShort();
            if (this.subAreaId < 0U)
            {
                throw new Exception("Forbidden value (" + (object)this.subAreaId + ") on element of MapComplementaryInformationsDataMessage.subAreaId.");
            }
            this.mapId = reader.ReadDouble();
            if (this.mapId < 0.0 || this.mapId > 9.00719925474099E+15)
            {
                throw new Exception("Forbidden value (" + (object)this.mapId + ") on element of MapComplementaryInformationsDataMessage.mapId.");
            }
            uint num1 = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num1; ++index)
            {
                HouseInformations instance = ProtocolTypeManager.GetInstance <HouseInformations>((uint)reader.ReadUShort());
                instance.Deserialize(reader);
                this.houses.Add(instance);
            }
            uint num2 = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num2; ++index)
            {
                GameRolePlayActorInformations instance = ProtocolTypeManager.GetInstance <GameRolePlayActorInformations>((uint)reader.ReadUShort());
                instance.Deserialize(reader);
                this.actors.Add(instance);
            }
            uint num3 = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num3; ++index)
            {
                InteractiveElement instance = ProtocolTypeManager.GetInstance <InteractiveElement>((uint)reader.ReadUShort());
                instance.Deserialize(reader);
                this.interactiveElements.Add(instance);
            }
            uint num4 = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num4; ++index)
            {
                StatedElement statedElement = new StatedElement();
                statedElement.Deserialize(reader);
                this.statedElements.Add(statedElement);
            }
            uint num5 = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num5; ++index)
            {
                MapObstacle mapObstacle = new MapObstacle();
                mapObstacle.Deserialize(reader);
                this.obstacles.Add(mapObstacle);
            }
            uint num6 = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num6; ++index)
            {
                FightCommonInformations commonInformations = new FightCommonInformations();
                commonInformations.Deserialize(reader);
                this.fights.Add(commonInformations);
            }
            this.hasAggressiveMonsters = reader.ReadBoolean();
            this.fightStartPositions   = new FightStartingPositions();
            this.fightStartPositions.Deserialize(reader);
        }
コード例 #24
0
 public override void Deserialize(ICustomDataInput reader)
 {
     infos = ProtocolTypeManager.GetInstance <Types.QuestActiveInformations>(reader.ReadShort());
     infos.Deserialize(reader);
 }
コード例 #25
0
 public override void Deserialize(ICustomDataInput reader)
 {
     spouse = ProtocolTypeManager.GetInstance <Types.FriendSpouseInformations>(reader.ReadShort());
     spouse.Deserialize(reader);
 }
コード例 #26
0
 public override void Deserialize(IDataReader reader)
 {
     Status = ProtocolTypeManager.GetInstance <PlayerStatus>(reader.ReadUShort());
     Status.Deserialize(reader);
 }
コード例 #27
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     memberInformations = ProtocolTypeManager.GetInstance <Types.PartyMemberInformations>(reader.ReadUShort());
     memberInformations.Deserialize(reader);
 }
コード例 #28
0
 public void Deserialize(IDataReader reader)
 {
     informations = ProtocolTypeManager.GetInstance <Types.GameContextActorInformations>(reader.ReadShort());
     informations.Deserialize(reader);
 }
コード例 #29
0
 public override void Deserialize(IDataReader reader)
 {
     FriendUpdated = ProtocolTypeManager.GetInstance <FriendInformations>(reader.ReadUShort());
     FriendUpdated.Deserialize(reader);
 }
コード例 #30
0
 public override void Deserialize(IDataReader reader)
 {
     this.friendAdded = ProtocolTypeManager.GetInstance <FriendInformations>((uint)reader.ReadUShort());
     this.friendAdded.Deserialize(reader);
 }