Service
Noir.Classes.ServiceClass: NoirClass
Represents a Noir service.
Initializes service class objects.
Parameters
name
: stringisBuiltIn
: booleanshortDescription
: stringlongDescription
: stringauthors
: table<integer, string>
Initialize this service.
Used internally.
Start this service.
Used internally.
Checks if g_savedata is intact.
Used internally.
Returns
boolean
Save a value to g_savedata under this service.
Parameters
index
: stringdata
: any
Load data from this service's g_savedata entry that was saved via the :Save() method.
Parameters
index
: stringdefault
: any
Returns
any
Similar to :Load()
, this method loads a value from this service's g_savedata entry.
However, if the value doesn't exist, the default value provided to this method is saved then returned.
Parameters
index
: stringdefault
: any
Returns
any
Remove data from this service's g_savedata entry that was saved.
Parameters
index
: string
Returns this service's g_savedata table for direct modification.
Returns
table
Last updated