Difference between revisions of "NDGIR"
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReadInt32FromPlugin() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReadInt32FromPlugin()</p>Returns<br>int32 - value || Reads an Int32 value directly from a C# gameplay plugin. |
|} | |} | ||
</center> | </center> | ||
Line 17: | Line 17: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReadInt64FromPlugin() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReadInt64FromPlugin()</p>Returns<br>int64 - value || Reads an Int64 value directly from a C# gameplay plugin. |
|} | |} | ||
</center> | </center> | ||
Line 28: | Line 28: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReadBooleanFromPlugin() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReadBooleanFromPlugin()</p>Returns<br>bool - value || Reads a boolean value directly from a C# gameplay plugin. |
|} | |} | ||
</center> | </center> | ||
Line 39: | Line 39: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReadDoubleFromPlugin() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReadDoubleFromPlugin()</p>Params<br>double - value || Reads a double value directly from a C# gameplay plugin. |
|} | |} | ||
</center> | </center> | ||
Line 50: | Line 50: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReadObjectFromPlugin() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReadObjectFromPlugin()</p>Returns<br>object - value || Reads an object directly from a C# gameplay plugin. |
|} | |} | ||
</center> | </center> | ||
Line 61: | Line 61: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReadStringFromPlugin() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReadStringFromPlugin()</p>Returns<br>string - value || Reads a string value directly from a C# gameplay plugin. |
|} | |} | ||
</center> | </center> | ||
Line 72: | Line 72: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">RefreshView() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">RefreshView()</p>Params<br>eventid - event identifier of view to refresh || Force a search subscription to update outside of its normal update timer. |
|} | |} | ||
</center> | </center> | ||
Line 83: | Line 83: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">RegisterEventHandler() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">RegisterEventHandler()</p>Params<br>eventtype - event type to be fired<br>eventid - event identifier of the specific event<br>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. |
|} | |} | ||
</center> | </center> | ||
Line 94: | Line 94: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">RegisterSingleEventHandler() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">RegisterSingleEventHandler()</p>Params<br>eventtype - event type to be fired<br>eventid - event identifier of the specific event<br>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 . |
|} | |} | ||
</center> | </center> | ||
Line 105: | Line 105: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReloadModule() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReloadModule()</p>Params<br>modulename - module or script name to reload || Reloads the specified behavior in memory. |
|} | |} | ||
</center> | </center> | ||
Line 116: | Line 116: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReloadTemplates() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ReloadTemplates()</p> || Reloads all templates in memory. |
|} | |} | ||
</center> | </center> | ||
Line 127: | Line 127: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ResetPermanentObjectStates() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ResetPermanentObjectStates()</p> || Reset all permanent objects to their default state. |
|} | |} | ||
</center> | </center> |
Latest revision as of 20:13, 23 November 2019
Global Functions & Examples
ReadInt32FromPlugin() Returnsint32 - value |
Reads an Int32 value directly from a C# gameplay plugin. |
Example
CODE EXAMPLE BLOCK
ReadInt64FromPlugin() Returnsint64 - value |
Reads an Int64 value directly from a C# gameplay plugin. |
Example
CODE EXAMPLE BLOCK
ReadBooleanFromPlugin() Returnsbool - value |
Reads a boolean value directly from a C# gameplay plugin. |
Example
CODE EXAMPLE BLOCK
ReadDoubleFromPlugin() Paramsdouble - value |
Reads a double value directly from a C# gameplay plugin. |
Example
CODE EXAMPLE BLOCK
ReadObjectFromPlugin() Returnsobject - value |
Reads an object directly from a C# gameplay plugin. |
Example
CODE EXAMPLE BLOCK
ReadStringFromPlugin() Returnsstring - value |
Reads a string value directly from a C# gameplay plugin. |
Example
CODE EXAMPLE BLOCK
RefreshView() Paramseventid - event identifier of view to refresh |
Force a search subscription to update outside of its normal update timer. |
Example
CODE EXAMPLE BLOCK
RegisterEventHandler() Paramseventtype - 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() Paramseventtype - 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() Paramsmodulename - 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