上传道具出售和使用代码

This commit is contained in:
liwei1dao 2022-07-22 20:33:25 +08:00
parent 531652ae4b
commit a2c64d9c8f
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ func (this *ConfigureComp) Init(service core.IService, module core.IModule, comp
this.MCompConfigure.Init(service, module, comp, options) this.MCompConfigure.Init(service, module, comp, options)
this.module = module.(*Items) this.module = module.(*Items)
err = this.LoadConfigure(game_item, cfg.NewGame_item) err = this.LoadConfigure(game_item, cfg.NewGame_item)
err = this.LoadConfigure(game_propsgroup, cfg.NewGame_propsgroup)
return return
} }

View File

@ -30,6 +30,7 @@ func newSys(options Options) (sys *Configure, err error) {
configure: make(map[string]interface{}), configure: make(map[string]interface{}),
fileinfos: make(map[string]*FileInfo), fileinfos: make(map[string]*FileInfo),
} }
sys.Start()
return return
} }