FrameworkZ
10.8.3
Provides a framework for Project Zomboid with various systems.
Loading...
Searching...
No Matches
Interfaces.lua
Go to the documentation of this file.
1
FrameworkZ
=
FrameworkZ
or {}
2
3
FrameworkZ
.
Interfaces
= {}
4
FrameworkZ
.
Interfaces
.List = {}
5
FrameworkZ
.
Interfaces
.__index =
FrameworkZ
.
Interfaces
6
FrameworkZ
.
Interfaces
=
FrameworkZ
.
Foundation
:NewModule(
FrameworkZ
.
Interfaces
,
"Interfaces"
)
7
8
function
FrameworkZ
.
Interfaces
:New(
uniqueID
)
9
if not
uniqueID
or
uniqueID
== "" then return false end
10
11
local
object
= {
12
uniqueID
=
uniqueID
,
13
}
14
15
setmetatable(
object
, {})
16
17
return
object
18
end
19
20
function
FrameworkZ
.
Interfaces
:Register(
tbl
, index)
21
self
.
List
[index] =
tbl
22
end
23
24
function
FrameworkZ
.
Interfaces
:GetUI(index)
25
return
self
.
List
[index]
26
end
27
28
function
FrameworkZ
.
Interfaces
:Initialize()
29
for k,
v
in pairs(
self
.
List
) do
30
FrameworkZ
.
UI
[k] =
FrameworkZ
.Utilities:MergeTables(
FrameworkZ
.
UI
[k], ISPanel:derive(k))
31
end
32
end
Interfaces
void FrameworkZ Interfaces()
List
void FrameworkZ Interfaces List()
FrameworkZ
void FrameworkZ()
uniqueID
void uniqueID()
self
void self self
Definition
MainMenu.lua:89
tbl
void tbl()
v
void if type v()
FrameworkZ::Foundation
Foundation for FrameworkZ.
Definition
__Foundation.lua:85
FrameworkZ::Interfaces
Definition
Interfaces.lua:2
FrameworkZ::Interfaces::GetUI
void GetUI(index)
FrameworkZ::Interfaces::Register
void Register(tbl, index)
FrameworkZ::Interfaces::New
void New(uniqueID)
FrameworkZ::Interfaces::Initialize
void Initialize()
FrameworkZ
Definition
__Boot.lua:2
UI
Definition
User_Interfaces.lua:2
FrameworkZ
Contents
mods
FrameworkZ
media
lua
shared
_FrameworkZ
_Modules
Interfaces.lua
Generated on Fri Jul 25 2025 08:47:09 for FrameworkZ by
1.10.0