邀请完成
parent
329705af06
commit
61127b9352
|
|
@ -4,7 +4,7 @@ local FamilyInvitedMsgView = {}
|
|||
local M = FamilyInvitedMsgView
|
||||
setmetatable(M, { __index = BaseWindow })
|
||||
|
||||
function FamilyInvitedMsgView.new(groupid, pid, invite_id, blur_view, callback)
|
||||
function FamilyInvitedMsgView.new(blur_view, groupid, pid, invite_id, callback)
|
||||
print("lingmeng FGAssistInviteView")
|
||||
local self = setmetatable({}, { __index = M })
|
||||
self.class = "FGAssistInviteView"
|
||||
|
|
@ -56,6 +56,7 @@ 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]
|
||||
|
|
@ -64,6 +65,11 @@ function M:FillData()
|
|||
self._viewText_gameName.text = play.game_name
|
||||
self._viewText_inviteName.text = player.nick
|
||||
self._viewText_playName.text = play.name
|
||||
|
||||
local config = ExtendManager.GetExtendConfig(play.gameId)
|
||||
local mode = config:GetGameInfo()
|
||||
local gamePlay = mode:LoadConfigToDetail(play.config)
|
||||
self._viewText_playConfig.text = gamePlay
|
||||
end
|
||||
|
||||
function M:Destroy()
|
||||
|
|
|
|||
Loading…
Reference in New Issue