diff --git a/modules/stonehenge/configure.go b/modules/stonehenge/configure.go index a9adc2247..7c1549ba2 100644 --- a/modules/stonehenge/configure.go +++ b/modules/stonehenge/configure.go @@ -12,17 +12,18 @@ import ( ) const ( - game_bufflottery = "game_bufflottery.json" - game_eventlottery = "game_eventlottery.json" - game_roomlottery = "game_roomlottery.json" - game_roomconf = "game_stoneroom.json" - game_stageconf = "game_stonestage.json" - game_buffconf = "game_stonebuff.json" - game_eventconf = "game_stoneevent.json" - game_bossconf = "game_stoneboss.json" - game_battleconf = "game_stonebattle.json" - game_stonetalent = "game_stonetalent.json" - game_storeconf = "game_stonestore.json" // 商店配置 + game_bufflottery = "game_bufflottery.json" + game_eventlottery = "game_eventlottery.json" + game_roomlottery = "game_roomlottery.json" + game_roomconf = "game_stoneroom.json" + game_stageconf = "game_stonestage.json" + game_buffconf = "game_stonebuff.json" + game_eventconf = "game_stoneevent.json" + game_bossconf = "game_stoneboss.json" + game_battleconf = "game_stonebattle.json" + game_stonetalent = "game_stonetalent.json" + game_storeconf = "game_stonestore.json" // 商店配置 + game_stoneillustrated = "game_stoneillustrated.json" ) ///背包配置管理组件 @@ -708,3 +709,17 @@ func (this *configureComp) getGameStoneTalentData(id int32) (conf *cfg.GameStone return } + +// 读取任务配置表 +func (this *configureComp) getGameStoneIllustratedData(id int32) (confs []*cfg.GameStoneIllustratedData, err error) { + var ( + v interface{} + ) + if v, err = this.GetConfigure(game_stoneillustrated); err != nil { + return + } else { + confs = v.(*cfg.GameStoneIllustrated).GetDataList() + } + + return +}