1
This commit is contained in:
parent
4ef2f021b9
commit
ae97e3c59e
@ -411,6 +411,18 @@ func (this *player) CMCreateGuild(hdr *f5.MsgHdr, msg *cs.CMCreateGuild) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *player) CMApplyToGuild(hdr *f5.MsgHdr, msg *cs.CMApplyToGuild) {
|
func (this *player) CMApplyToGuild(hdr *f5.MsgHdr, msg *cs.CMApplyToGuild) {
|
||||||
|
rspMsg := new(cs.SMApplyToGuild)
|
||||||
|
GetGuildMgr().AsyncApplyJoin(
|
||||||
|
this.GetAccountId(),
|
||||||
|
q5.ToString(msg.GetGuildId()),
|
||||||
|
func (errCode int32, errMsg string) {
|
||||||
|
if errCode != 0 {
|
||||||
|
this.SendMsg(rspMsg.Err(errCode, errMsg))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.SendMsg(rspMsg)
|
||||||
|
return
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *player) CMApplyList(hdr *f5.MsgHdr, msg *cs.CMApplyList) {
|
func (this *player) CMApplyList(hdr *f5.MsgHdr, msg *cs.CMApplyList) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user