Difference between revisions of "NDGIS"
Line 35: | Line 35: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">SendMessageToPlugin()</p> ||. | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">SendMessageToPlugin()</p>Params<br>pluginname - plug-in name to send to<br>eventid - event identifier name<br>(...) One or more object arguments to be passed to the plug-in || Sends a message to a C# gameplay plugin. |
|} | |} | ||
</center> | </center> | ||
Line 46: | Line 46: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">SendRemoteMessage()</p> || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">SendRemoteMessage()</p>Params<br>regionaddress - target region address<br>location - target location<br>range - range around target location<br>eventid - message to event handler<br>object - serializable event parameters || Sends a message to all objects at a location on another region server. |
|} | |} | ||
</center> | </center> | ||
Line 57: | Line 57: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">SendRequestToPlugin()</p> || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">SendRequestToPlugin()</p>Params<br>pluginname - plug-in name to send to<br>(...) One or more object arguments to be passed to the plug-in<br>Returns<br>a single value, or an array of values || Sends a direct request to a C# gameplay plugin. |
|} | |} | ||
</center> | </center> |
Revision as of 21:25, 23 November 2019
Global Functions & Examples
SaveSeedGroup() Paramsseedgroup - seed group to save bool - Should this group be excluded from the list of seed groups that are initially loaded seedobjectsarray - Array of seed object data in the side table format to the right. |
Save seed objects for a specific seed group table_template = { Template = templateId, |
Example
CODE EXAMPLE BLOCK
SaveTemplateData() Paramstemplatedata - template table data categoryname - category name templatename - template name Returns bool - true if save was successful, false if not |
Save template data to a template. |
Example
CODE EXAMPLE BLOCK
SendMessageToPlugin() Paramspluginname - plug-in name to send to eventid - event identifier name (...) One or more object arguments to be passed to the plug-in |
Sends a message to a C# gameplay plugin. |
Example
CODE EXAMPLE BLOCK
SendRemoteMessage() Paramsregionaddress - target region address location - target location range - range around target location eventid - message to event handler object - serializable event parameters |
Sends a message to all objects at a location on another region server. |
Example
CODE EXAMPLE BLOCK
SendRequestToPlugin() Paramspluginname - plug-in name to send to (...) One or more object arguments to be passed to the plug-in Returns a single value, or an array of values |
Sends a direct request to a C# gameplay plugin. |
Example
CODE EXAMPLE BLOCK
ServerTimeMs() |
. |
Example
CODE EXAMPLE BLOCK
SetEvent() |
. |
Example
CODE EXAMPLE BLOCK
SetLuaDebugLevel() |
. |
Example
CODE EXAMPLE BLOCK
SetLuaProfilingEnabled() |
. |
Example
CODE EXAMPLE BLOCK
SortedSetEvent() |
. |
Example
CODE EXAMPLE BLOCK
SortedSetScoreEvent() |
. |
Example
CODE EXAMPLE BLOCK
ShutdownServer() |
. |
Example
CODE EXAMPLE BLOCK