其他观战的继承关系

master
DESKTOP-7R8JEQQ\k 2025-07-25 23:37:32 +08:00
parent 6162928d34
commit 9ec586442d
4 changed files with 16 additions and 0 deletions

View File

@ -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(...)

View File

@ -42,6 +42,7 @@ function M:init()
self._style = 1
self._popEvent = true
self:InitView()
WitnessView.init(self)
end
function M:InitView(url)

View File

@ -43,6 +43,7 @@ function M:init()
self._style = 1
self._popEvent = true
self:InitView()
WitnessView.init(self)
end
function M:InitView(url)

View File

@ -42,6 +42,7 @@ function M:init()
self._style = 1
self._popEvent = true
self:InitView()
WitnessView.init(self)
end
function M:InitView(url)