Exemplo n.º 1
0
 public PvE_World(ExcelSheet sheet)
 {
     WorldId = sheet.GetCellValue("world_id").Value;
     Name = sheet.GetCellValue("name").Value;
     ModeType = sheet.GetCellValue("mode_type").Value;
     NeedVIPLevel = sheet.GetCellValue("need_vip_lv").Value;
     NeedPlayerLevel = sheet.GetCellValue("need_player_lv").Value;
     NeedCharacterLevel = sheet.GetCellValue("need_character_lv").Value;
     Worlds.Add(this);
 }
Exemplo n.º 2
0
 public Energy(ExcelSheet sheet)
 {
     PlayerLevel = sheet.GetCellValue("player_lv").Value;
     EnergyId = sheet.GetCellValue("energy_id").Value;
     MaxPoint = sheet.GetCellValue("max_point").Value;
     CoolTime = sheet.GetCellValue("cooltime").Value;
     RegainValue = sheet.GetCellValue("regain_value").Value;
     LevelUp_IncType = sheet.GetCellValue("levelup_inctype").Value;
     LevelUp_IncValue = sheet.GetCellValue("levelup_incvalue").Value;
     Items.Add(this);
 }
Exemplo n.º 3
0
        public PvE_Field(ExcelSheet sheet)
        {
            FieldId = sheet.GetCellValue("field_id").Value;
            Name = sheet.GetCellValue("name").Value;
            NeedVIPLevel = sheet.GetCellValue("need_vip_lv").Value;
            NeedPlayerLevel = sheet.GetCellValue("need_player_lv").Value;
            PrecedingFieldId = sheet.GetCellValue("preceding_field_id").Value;
            Fields.Add(this);

            Int32 worldId = sheet.GetCellValue("parent_world_id").Value;
            World = PvE_World.Worlds.Find(v => v.WorldId == worldId);
            World.SubFields.Add(this);
        }
Exemplo n.º 4
0
            public MonsterData(ExcelSheet sheet)
            {
                RoundId = sheet.GetCellValue("round_id").Value;
                MonsterId = sheet.GetCellValue("monster_id").Value;
                AppearType = sheet.GetCellValue("appear_type").Value;
                Prob = sheet.GetCellValue("prob").Value;
                KillReward_PlayerExp = sheet.GetCellValue("kill_reward_playerexp").Value;
                KillReward_CharacterExp = sheet.GetCellValue("kill_reward_characterexp").Value;
                KillReward_ResourceId = sheet.GetCellValue("kill_reward_resourceid").Value;
                KillReward_Amount = sheet.GetCellValue("kill_reward_amount").Value;

                Base = MonsterBook.Find(MonsterId);
            }
Exemplo n.º 5
0
 public Data(ExcelSheet sheet)
 {
     ItemId = sheet.GetCellValue("item_id").Value;
     Name = sheet.GetCellValue("item_name").Value;
     ItemType = sheet.GetCellValue("item_type").Value;
     PromotionId = sheet.GetCellValue("promotion_id").Value;
     ItemCount = sheet.GetCellValue("item_count").Value;
     MaxCarryCount = sheet.GetCellValue("max_carrycount").Value;
     TargetReferenceId = sheet.GetCellValue("target_reference_id").Value;
     SaleResourceId = sheet.GetCellValue("sale_resourceid").Value;
     SaleResourceAmount = sheet.GetCellValue("sale_resourceamount").Value;
     Items.Add(this);
 }
Exemplo n.º 6
0
        public PvE_Round(ExcelSheet sheet)
        {
            RoundId = sheet.GetCellValue("round_id").Value;
            OrderNo = sheet.GetCellValue("round_orderno").Value;
            IsBossRound = (sheet.GetCellValue("is_boss_round").Value == 1);
            Name = sheet.GetCellValue("name").Value;
            MonsterCount = sheet.GetCellValue("monster_count").Value;
            Rounds.Add(this);

            Int32 dungeonId = sheet.GetCellValue("parent_dungeon_id").Value;
            Dungeon = PvE_Dungeon.Dungeons.Find(v => v.DungeonId == dungeonId);
            Dungeon.SubRounds.Add(this);
        }
Exemplo n.º 7
0
            public Data(ExcelSheet sheet)
            {
                MonsterId = sheet.GetCellValue("monster_id").Value;
                Name = sheet.GetCellValue("monster_name").Value;
                MonsterTypeId = sheet.GetCellValue("monstertype_id").Value;
                PositionId = sheet.GetCellValue("position_id").Value;
                GradeId = sheet.GetCellValue("grade_id").Value;
                PromotionId = sheet.GetCellValue("promotion_id").Value;
                DamageTypeId = sheet.GetCellValue("damagetype_id").Value;
                FixedLevel = sheet.GetCellValue("fixed_lv").Value;
                AP = sheet.GetCellValue("ap").Value;
                DP = sheet.GetCellValue("dp").Value;
                HP = sheet.GetCellValue("hp").Value;

                Items.Add(this);
            }
Exemplo n.º 8
0
 public Data(ExcelSheet sheet)
 {
     CharacterId = sheet.GetCellValue("character_id").Value;
     Name = sheet.GetCellValue("character_name").Value;
     RaceId = sheet.GetCellValue("race_id").Value;
     CharacterTypeId = sheet.GetCellValue("charactertype_id").Value;
     JobId = sheet.GetCellValue("job_id").Value;
     PositionId = sheet.GetCellValue("position_id").Value;
     DamageTypeId = sheet.GetCellValue("damagetype_id").Value;
     InitGradeId = sheet.GetCellValue("init_grade_id").Value;
     InitPromotionId = sheet.GetCellValue("init_promotion_id").Value;
     MaxGradeId = sheet.GetCellValue("max_grade_id").Value;
     MaxPromotionId = sheet.GetCellValue("max_promotion_id").Value;
     AP = sheet.GetCellValue("ap").Value;
     DP = sheet.GetCellValue("dp").Value;
     HP = sheet.GetCellValue("hp").Value;
     Items.Add(this);
 }
Exemplo n.º 9
0
        public PvE_Dungeon(ExcelSheet sheet)
        {
            DungeonId = sheet.GetCellValue("dungeon_id").Value;
            Name = sheet.GetCellValue("name").Value;
            Level = sheet.GetCellValue("level").Value;
            StageType = sheet.GetCellValue("stage_type").Value;
            Ticket_RewardPlayerExp = sheet.GetCellValue("ticket_rewardplayerexp").Value;
            Ticket_RewardResourceId = sheet.GetCellValue("ticket_rewardresourceid").Value;
            Ticket_RewardAmount = sheet.GetCellValue("ticket_rewardamount").Value;
            EnterFee_EnergyId = sheet.GetCellValue("enter_fee_energy_id").Value;
            EnterFee_Amount = sheet.GetCellValue("enter_fee_amount").Value;
            Ticket_RewardPlayerExp = sheet.GetCellValue("ticket_rewardplayerexp").Value;
            ClearFee_TicketId = sheet.GetCellValue("clear_fee_ticket_id").Value;
            ClearFee_TicketCount = sheet.GetCellValue("clear_fee_ticketcount").Value;
            Dungeons.Add(this);

            Int32 fieldId = sheet.GetCellValue("parent_field_id").Value;
            Field = PvE_Field.Fields.Find(v => v.FieldId == fieldId);
            Field.SubDungeons.Add(this);
        }
Exemplo n.º 10
0
 public Position(ExcelSheet sheet)
 {
     PositionId = sheet.GetCellValue("position_id").Value;
     PositionType = sheet.GetCellValue("position_type").Value;
     Name = sheet.GetCellValue("name").Value;
     Items.Add(PositionId, this);
 }
Exemplo n.º 11
0
 public CharacterType(ExcelSheet sheet)
 {
     CharacterTypeId = sheet.GetCellValue("charactertype_id").Value;
     Name = sheet.GetCellValue("name").Value;
     Items.Add(CharacterTypeId, this);
 }
Exemplo n.º 12
0
 public Resource(ExcelSheet sheet)
 {
     ResourceId = sheet.GetCellValue("resource_id").Value;
     Name = sheet.GetCellValue("name").Value;
     Items.Add(ResourceId, this);
 }
Exemplo n.º 13
0
 public VIPLevel(ExcelSheet sheet)
 {
     Level = sheet.GetCellValue("vip_lv").Value;
     NeedCash = sheet.GetCellValue("need_cash").Value;
     Items.Add(Level, this);
 }
Exemplo n.º 14
0
 public Job(ExcelSheet sheet)
 {
     JobId = sheet.GetCellValue("job_id").Value;
     Name = sheet.GetCellValue("name").Value;
     Items.Add(JobId, this);
 }
Exemplo n.º 15
0
 public Grade(ExcelSheet sheet)
 {
     GradeId = sheet.GetCellValue("grade_id").Value;
     GradeType = sheet.GetCellValue("grade_type").Value;
     Name = sheet.GetCellValue("name").Value;
     Priority = sheet.GetCellValue("grade_priority").Value;
     Items.Add(GradeId, this);
 }
Exemplo n.º 16
0
 public Energy(ExcelSheet sheet)
 {
     EnergyId = sheet.GetCellValue("energy_id").Value;
     Name = sheet.GetCellValue("name").Value;
     Items.Add(EnergyId, this);
 }
Exemplo n.º 17
0
 public DamageType(ExcelSheet sheet)
 {
     DamageTypeId = sheet.GetCellValue("damagetype_id").Value;
     Name = sheet.GetCellValue("name").Value;
     Items.Add(DamageTypeId, this);
 }
Exemplo n.º 18
0
 public LevelData(ExcelSheet sheet)
 {
     Level = sheet.GetCellValue("character_lv").Value;
     NeedExp = sheet.GetCellValue("need_exp").Value;
     Items.Add(this);
 }
Exemplo n.º 19
0
 public Promotion(ExcelSheet sheet)
 {
     PromotionId = sheet.GetCellValue("promotion_id").Value;
     PromotionType = sheet.GetCellValue("promotion_type").Value;
     Name = sheet.GetCellValue("name").Value;
     Priority = sheet.GetCellValue("promotion_priority").Value;
     Items.Add(PromotionId, this);
 }
Exemplo n.º 20
0
 public PlayerLevel(ExcelSheet sheet)
 {
     Level = sheet.GetCellValue("player_lv").Value;
     NeedExp = sheet.GetCellValue("need_exp").Value;
     MaxCharacterInventory = sheet.GetCellValue("max_characterinventory").Value;
     MaxItemInventory = sheet.GetCellValue("max_iteminventory").Value;
     MaxFriendCount = sheet.GetCellValue("max_friendcount").Value;
     MaxCharacterLevel = sheet.GetCellValue("max_characterlv").Value;
     Items.Add(Level, this);
 }