예제 #1
0
 /// <summary>
 /// 加载表格
 /// </summary>
 public void LoadDataTable()
 {
     //每个表都 LoadData
     ChapterDBModel.LoadData();
     GameLevelDBModel.LoadData();
     TaskDBModel.LoadData();
     JobDBModel.LoadData();
     JobLevelDBModel.LoadData();
     ShopDBModel.LoadData();
     EquipDBModel.LoadData();
     ItemDBModel.LoadData();
     MaterialDBModel.LoadData();
     WorldMapDBModel.LoadData();
     SkillDBModel.LoadData();
     SkillLevelDBModel.LoadData();
 }
예제 #2
0
    /// <summary>
    /// 初始化DBModel
    /// </summary>
    private void InitDBModel()
    {
        //每个表都new

        ChapterDBModel    = new ChapterDBModel();
        GameLevelDBModel  = new GameLevelDBModel();
        TaskDBModel       = new TaskDBModel();
        JobDBModel        = new JobDBModel();
        JobLevelDBModel   = new JobLevelDBModel();
        ShopDBModel       = new ShopDBModel();
        EquipDBModel      = new EquipDBModel();
        ItemDBModel       = new ItemDBModel();
        MaterialDBModel   = new MaterialDBModel();
        WorldMapDBModel   = new WorldMapDBModel();
        SkillDBModel      = new SkillDBModel();
        SkillLevelDBModel = new SkillLevelDBModel();
    }