其他观战的继承关系
parent
6162928d34
commit
9ec586442d
|
|
@ -271,6 +271,8 @@ function M:_evtOnPush_assistant(...)
|
|||
end
|
||||
|
||||
-- reflashType == "joinFamily" 成功加入了亲友圈
|
||||
-- reflashType == "outFamily" 成员退出了亲友圈
|
||||
-- reflashType == "kickoutFamily" 成员被踢出了亲友圈
|
||||
function M:_evtOnFamilyReflash(...)
|
||||
local view = ViewManager.GetCurrenView()
|
||||
if view.class ~= "FamilyMainView" then
|
||||
|
|
@ -285,6 +287,17 @@ function M:_evtOnFamilyReflash(...)
|
|||
if reflashType == "joinFamily" then
|
||||
view:Reflash()
|
||||
end
|
||||
|
||||
if reflashType == "outFamily" then
|
||||
|
||||
local player = DataManager.
|
||||
|
||||
|
||||
--local tips = "成员 【%s(%s)】退出了【%s(%s)】亲友圈"
|
||||
--string.format(tips, )
|
||||
|
||||
MsgWindow.new(self._root_view, "确定要点过吗?")
|
||||
end
|
||||
end
|
||||
|
||||
function M:_evtOnFamilyRoomReflash(...)
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ function M:init()
|
|||
self._style = 1
|
||||
self._popEvent = true
|
||||
self:InitView()
|
||||
WitnessView.init(self)
|
||||
end
|
||||
|
||||
function M:InitView(url)
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ function M:init()
|
|||
self._style = 1
|
||||
self._popEvent = true
|
||||
self:InitView()
|
||||
WitnessView.init(self)
|
||||
end
|
||||
|
||||
function M:InitView(url)
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ function M:init()
|
|||
self._style = 1
|
||||
self._popEvent = true
|
||||
self:InitView()
|
||||
WitnessView.init(self)
|
||||
end
|
||||
|
||||
function M:InitView(url)
|
||||
|
|
|
|||
Loading…
Reference in New Issue