1
This commit is contained in:
parent
f1bc885898
commit
ab8385e055
@ -459,6 +459,17 @@ func (this *player) CMApprove(hdr *f5.MsgHdr, msg *cs.CMApprove) {
|
||||
}
|
||||
|
||||
func (this *player) CMReject(hdr *f5.MsgHdr, msg *cs.CMReject) {
|
||||
rspMsg := new(cs.SMReject)
|
||||
GetGuildMgr().AsyncRejectApply(
|
||||
this.GetAccountId(),
|
||||
msg.GetApplicantAccountId(),
|
||||
func (errCode int32, errMsg string) {
|
||||
if errCode != 0 {
|
||||
this.SendMsg(rspMsg.Err(errCode, errMsg))
|
||||
return
|
||||
}
|
||||
this.SendMsg(rspMsg)
|
||||
})
|
||||
}
|
||||
|
||||
func (this *player) CMLeaveGuild(hdr *f5.MsgHdr, msg *cs.CMLeaveGuild) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user