roomid转回string'
parent
fca54c0342
commit
f9f51384b4
|
|
@ -341,7 +341,7 @@ function M:FG_InvitePlayer(group_id, tag, player_id, roomid, pid, game_name, cal
|
|||
_data.groupId = group_id
|
||||
_data.tagId = tag
|
||||
_data.player_id = player_id
|
||||
_data.roomid = tonumber(roomid)
|
||||
_data.roomid = roomid
|
||||
_data.pid = pid
|
||||
_data.g_name = game_name
|
||||
self._mgr_client:send(Protocol.FGMGR_INVITE_PLAYER, _data, function(res)
|
||||
|
|
@ -385,7 +385,7 @@ function M:FG_ResponseInvited(evt_data)
|
|||
local g_name = evt_data.g_name
|
||||
local roomid = evt_data.roomid
|
||||
local pid = evt_data.pid
|
||||
local groupid = evt_data.groupid
|
||||
local groupid = evt_data.groupId
|
||||
DispatchEvent(self._dispatcher, GroupMgrEvent.InviteResponse, invite_id, g_name, roomid, pid, groupid)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -56,11 +56,12 @@ function M:initView(url)
|
|||
end
|
||||
|
||||
function M:FillData()
|
||||
print("lingmeng FillData", self.groupid, self.pid, self.invite_id)
|
||||
local group = DataManager.groups:get(self.groupid)
|
||||
local play = group:getPlay(self.pid)
|
||||
local player = group.memberMap[self.invite_id]
|
||||
|
||||
print("lingmeng FillData", self.groupid, self.pid, self.invite_id, type(self.invite_id),player)
|
||||
|
||||
self._viewText_groupName.text = group.name
|
||||
self._viewText_gameName.text = play.game_name
|
||||
self._viewText_inviteName.text = player.nick
|
||||
|
|
|
|||
Loading…
Reference in New Issue