上传装备分享

This commit is contained in:
liwei1dao 2022-09-22 22:02:24 +08:00
parent a602310920
commit 45aa790e69
2 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,7 @@ func (this *Chat) SendSysChatToWorld(ctype comm.ChatSystemType, appenddata inter
"0": map[string]interface{}{
"key": "0",
"appendStr": jsonStr,
"itemType": 1,
"itemType": pb.ChatType_EquipmentShare,
},
}
jsonStr, _ = json.Marshal(data)

View File

@ -34,6 +34,7 @@ func (this *MCompConfigure) Init(service core.IService, module core.IModule, com
err = this.ModuleCompBase.Init(service, module, comp, options)
err = this.LoadConfigure(game_global, cfg.NewGameGlobal)
err = this.LoadConfigure(game_initial, cfg.NewGameInitial)
err = this.LoadConfigure(game_gamecolor, cfg.NewGameGameColor)
err = this.LoadConfigure(game_playerlv, cfg.NewGamePlayerlv)
err = this.LoadConfigure(game_facemod, cfg.NewGameFacemod)
err = this.LoadConfigure(game_comatn, cfg.NewGameComAtn)