This commit is contained in:
aozhiwei 2024-04-12 13:21:10 +08:00
parent 530cb856c7
commit 4b4f245e36

View File

@ -590,8 +590,8 @@ func (this *player) CMDismissMember(hdr *f5.MsgHdr, msg *cs.CMDismissMember) {
func (errCode int32, errMsg string) {
if errCode == 0 && len(pbUsers) > 0 {
notifyMsg := new(cs.SMDismissMemberNotify)
//notifyMsg.GuildId = proto.Int64(q5.ToInt64(guildId))
//notifyMsg.Name = proto.String(guildName)
notifyMsg.GuildId = proto.Int64(q5.ToInt64(guildId))
notifyMsg.Name = proto.String(guildName)
notifyMsg.AccountId = proto.String(pbUsers[0].GetAccountId())
notifyMsg.Username = proto.String(pbUsers[0].GetUsername())
GetGuildMgr().NotifyGuildMsg(guildId, notifyMsg)