中发白改编号
|
|
@ -485,14 +485,6 @@ function M:JoinRoom(roomId)
|
|||
fgCtr:FG_AddMember(self._group.id, tonumber(roomId), function(res)
|
||||
if (res.ReturnCode == 0) then
|
||||
ViewUtil.ShowBannerOnScreenCenter('添加成功!', 1)
|
||||
fgCtr:FG_ChangeFag(self._group.id, tonumber(roomId), 777777000,
|
||||
function(res)
|
||||
if res.ReturnCode == 0 then
|
||||
ViewUtil.ShowBannerOnScreenCenter('分配默认积分成功!', 1)
|
||||
else
|
||||
ViewUtil.ErrorMsg(self._root_view, res.ReturnCode, '默认分配积分失败')
|
||||
end
|
||||
end)
|
||||
else
|
||||
ViewUtil.ErrorTip(res.ReturnCode, '邀请玩家失败!')
|
||||
end
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ function M.new(view, mainView)
|
|||
setmetatable(M, { __index = PlayerInfoView })
|
||||
end
|
||||
local self = setmetatable({}, { __index = M })
|
||||
print("===========================???view", view)
|
||||
self._view = view
|
||||
self._main_view = mainView
|
||||
self:init()
|
||||
|
|
@ -17,6 +18,7 @@ function M.new(view, mainView)
|
|||
end
|
||||
|
||||
function M:init()
|
||||
print("===========================???", self, self._view)
|
||||
if self._main_view._room.room_config.people_num ~= 2 then
|
||||
PlayerInfoView.init(self)
|
||||
self._tex_score = self._view:GetChild("info"):GetChild("tex_score1")
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 906 KiB After Width: | Height: | Size: 894 KiB |
|
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 3.8 MiB |
|
Before Width: | Height: | Size: 808 KiB After Width: | Height: | Size: 812 KiB |
|
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 2.0 MiB |
|
Before Width: | Height: | Size: 540 KiB After Width: | Height: | Size: 553 KiB |