28 lines
666 B
Go
28 lines
666 B
Go
package entertainment
|
|
|
|
import (
|
|
"go_dreamfactory/modules"
|
|
|
|
"go_dreamfactory/lego/core"
|
|
)
|
|
|
|
const (
|
|
dragon_trainlv = "game_trainlv.json"
|
|
dragon_play = "game_dragonplay.json"
|
|
game_buzkashimount = "game_buzkashimount.json"
|
|
game_dragonlvitem = "game_dragonlvitem.json"
|
|
)
|
|
|
|
// /配置管理组件
|
|
type configureComp struct {
|
|
modules.MCompConfigure
|
|
module *Entertainment
|
|
}
|
|
|
|
// 组件初始化接口
|
|
func (this *configureComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
|
err = this.MCompConfigure.Init(service, module, comp, options)
|
|
this.module = module.(*Entertainment)
|
|
return
|
|
}
|