hengyang_client/lua_probject/base_project/Game/View/FamilyZuo/FamilyManagerTable.lua

46 lines
1.7 KiB
Lua

--管理or设置
local ManagerChild_GamePlayView = import(".ManagerChild_GamePlayView")
local ManagerChild_PlayerView = import(".ManagerChild_PlayerView")
local ManagerChild_SettingView = import(".ManagerChild_SettingView")
--成员
local ManagerMenberChild_PlayerView = import(".ManagerMenberChild_PlayerView")
local ManagerMenberChild_JoinsView = import(".ManagerMenberChild_JoinsView")
local ManagerMenberChild_ExitsView = import(".ManagerMenberChild_ExitsView")
local ManagerMenberChild_DisInviteView = import(".ManagerMenberChild_DisInviteView")
local ManagerMenberChild_DisSameDeskView = import(".ManagerMenberChild_DisSameDeskView")
local FamilyManagerTable = {}
local M = FamilyManagerTable
M.ManagerTable = {
{ id = 1, title = "基本设置", view = ManagerChild_SettingView },
{ id = 2, title = "成员管理", view = ManagerChild_PlayerView },
{ id = 3, title = "快速组局", view = ManagerChild_GamePlayView },
--成员管理页面
{ id = 4, title = "成员列表", view = ManagerMenberChild_PlayerView },
{ id = 5, title = "进驻申请", view = ManagerMenberChild_JoinsView },
{ id = 6, title = "离开申请", view = ManagerMenberChild_ExitsView },
{ id = 7, title = "屏蔽邀请", view = ManagerMenberChild_DisInviteView },
{ id = 8, title = "禁止Ta进房", view = ManagerMenberChild_DisSameDeskView }
}
M.ManagerShow = {
{ 1,2, 3 }, --群主
{}, --代理
{} --用户
}
M.ManagerMenberShow = {
{ 3,4,5,6,7 }, --群主
{}, --代理
{} --用户
}
M.ManagerManger = {
{id=1,url="ui://Family/FamilyManager",table = M.ManagerShow},
{id=2,url="ui://Family/FamilyManagerMenber",table = M.ManagerMenberShow},
}
return M