1
This commit is contained in:
parent
46fcb8c57c
commit
01c6c386a9
@ -30,6 +30,7 @@ func (this *HandlerMgr) Init() {
|
||||
cs.RegHandlerId(int(cs.CMMessageIdE__CMChooseMap), constant.PLAYER_HANDLER_ID)
|
||||
cs.RegHandlerId(int(cs.CMMessageIdE__CMGrantInvitePermission), constant.PLAYER_HANDLER_ID)
|
||||
cs.RegHandlerId(int(cs.CMMessageIdE__CMRefreshUser), constant.PLAYER_HANDLER_ID)
|
||||
cs.RegHandlerId(int(cs.CMMessageIdE__CMChooseBattleItem), constant.PLAYER_HANDLER_ID)
|
||||
}
|
||||
|
||||
func (this *HandlerMgr) UnInit() {
|
||||
|
@ -571,6 +571,7 @@ func (this *player) CMChooseBattleItem(hdr *f5.MsgHdr, msg *cs.CMChooseBattleIte
|
||||
url,
|
||||
params,
|
||||
func(rsp f5.HttpCliResponse) {
|
||||
f5.GetSysLog().Info("getBattleItem:%s", rsp.GetRawData())
|
||||
if this.GetTeam() != nil && !this.GetTeam().IsLock() {
|
||||
if rsp.GetErr() != nil {
|
||||
rspMsg.Errcode = proto.Int32(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user