Ejemplo n.º 1
0
 /// <summary>
 ///     ��ʼ������
 /// </summary>
 private void LoadTableData()
 {
     this.buffCfg = new BuffCfg("Buff");
     this.equipmentCfg = new EquipmentCfg("Equipment");
     this.goodsCfg = new GoodsCfg("Goods");
     this.monsterCfg = new MonsterCfg("Monster");
     this.monsterSkillCfg = new MonsterSkillCfg("MonsterSkill");
     this.skillCfg = new SkillCfg("Skill");
     foreach (TableDataBase t in mLoadTables)
     {
         ResMgr.Instance.Load(t.TableName, t);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     初始化数据
 /// </summary>
 private void LoadTableData()
 {
     this.buffCfg         = new BuffCfg("Buff");
     this.equipmentCfg    = new EquipmentCfg("Equipment");
     this.goodsCfg        = new GoodsCfg("Goods");
     this.monsterCfg      = new MonsterCfg("Monster");
     this.monsterSkillCfg = new MonsterSkillCfg("MonsterSkill");
     this.skillCfg        = new SkillCfg("Skill");
     foreach (TableDataBase t in mLoadTables)
     {
         ResMgr.Instance.Load(t.TableName, t);
     }
 }
Ejemplo n.º 3
0
    private void Awake()
    {
        Instance = this;

        bufferCfg       = new BufferCfg("Buff");
        equipmentCfg    = new EquipmentCfg("Equipment");
        goodCfg         = new GoodCfg("Goods");
        monsterCfg      = new MonsterCfg("Monster");
        monsterSkillCfg = new MonsterSkillCfg("MonsterSkill");
        monsterInfoCfg  = new MonsterInfoCfg("MonsterInfo");
        skillCfg        = new SkillCfg("Skill");


        for (int i = 0; i < _LoadTableList.Count; i++)
        {
            ResMgr.Instance.Load(_LoadTableList[i].tableName, _LoadTableList[i]);
        }
    }