package horoscope import ( "go_dreamfactory/lego/core" "go_dreamfactory/modules" cfg "go_dreamfactory/sys/configure/structs" "sync" ) const ( game_arenabuychallenge = "game_arenabuychallenge.json" //购买挑战记录 ) ///竞技场配置管理组件 type configureComp struct { modules.MCompConfigure module *Horoscope lock sync.RWMutex ais map[int32][]*cfg.GameArenaRobotData } //组件初始化接口 func (this *configureComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) { this.MCompConfigure.Init(service, module, comp, options) this.module = module.(*Horoscope) this.LoadConfigure(game_arenabuychallenge, cfg.NewGameArenaBuyChallenge) return }