NDGIR

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search

[Main] [Lua Examples]

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Global Functions & Examples

ReadInt32FromPlugin()

Returns
int32 - value
Reads an Int32 value directly from a C# gameplay plugin.

Example

 CODE EXAMPLE BLOCK

ReadInt64FromPlugin()

Returns
int64 - value
Reads an Int64 value directly from a C# gameplay plugin.

Example

 CODE EXAMPLE BLOCK

ReadBooleanFromPlugin()

Returns
bool - value
Reads a boolean value directly from a C# gameplay plugin.

Example

 CODE EXAMPLE BLOCK

ReadDoubleFromPlugin()

Params
double - value
Reads a double value directly from a C# gameplay plugin.

Example

 CODE EXAMPLE BLOCK

ReadObjectFromPlugin()

Returns
object - value
Reads an object directly from a C# gameplay plugin.

Example

 CODE EXAMPLE BLOCK

ReadStringFromPlugin()

Returns
string - value
Reads a string value directly from a C# gameplay plugin.

Example

 CODE EXAMPLE BLOCK

RefreshView()

Params
eventid - event identifier of view to refresh
Force a search subscription to update outside of its normal update timer.

Example

 CODE EXAMPLE BLOCK

RegisterEventHandler()

Params
eventtype - event type to be fired
eventid - event identifier of the specific event
function - Handler function reference. Can be a function name or a function defined inline
Registers an event handler which calls the specified function when the Events fires with a matching event identifier. These handlers are not saved and must be registered every time the object is loaded.

Example

 CODE EXAMPLE BLOCK

RegisterSingleEventHandler()

Params
eventtype - event type to be fired
eventid - event identifier of the specific event
function - Handler function reference. Can be a function name or a function defined inlin
Registers an event handler that will only fire once, which calls the specified function when the Events fires with a matching event identifier. These handlers are not saved and must be registered every time the object is loaded .

Example

 CODE EXAMPLE BLOCK

ReloadModule()

Params
modulename - module or script name to reload
Reloads the specified behavior in memory.

Example

 CODE EXAMPLE BLOCK

ReloadTemplates()

Reloads all templates in memory.

Example

 CODE EXAMPLE BLOCK

ResetPermanentObjectStates()

Reset all permanent objects to their default state.

Example

 CODE EXAMPLE BLOCK