FrameworkZ API - FrameworkZ.Classes
FrameworkZ.Classes
0
Functions
3
Methods
1
Fields
📋 On This Page
Fields
1
FrameworkZ.Classes
📋 table
Initial value:
{}Methods
3FrameworkZ.Classes:GetClassByID(factionID)
method
Lookup a CLASS by ID.
Parameters
factionID
📝 string
The class ID to fetch.
Returns
❔ table?
The CLASS object or nil if missing.
FrameworkZ.Classes:Initialize(id, object)
method
Register a CLASS object into the module list.
Parameters
id
📝 string
Class ID.
object
📋 table
CLASS instance to register.
Returns
📝 string
Registered class ID.
FrameworkZ.Classes:New(name)
method
Create a new class object definition.
Parameters
name
📝 string
Class ID/name.
Returns
📋 table
The CLASS instance.