Commit 379b6e32 authored by chenweijian's avatar chenweijian

退房

parent 0c852dc7
......@@ -594,8 +594,8 @@ func SendH5GameUnMute(userId uint64) error {
}
// 发送退房通知 原因1.被拉黑;2.被踢出
func SendQuitRoom(userId uint64, reason uint32) error {
msg := &userProxy.QuitRoom{Reason: reason}
func SendQuitRoom(userId uint64, reason uint32, txGroupId string) error {
msg := &userProxy.QuitRoom{Reason: reason, GroupId: txGroupId}
if buffer, err := proto.Marshal(msg); err == nil {
rspUids, err := multicast([]uint64{userId}, MsgTypeQuitRoom, buffer)
// 记录socket
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment