Network Lua API: Difference between revisions

From Off Grid Wiki
Jump to navigation Jump to search
(adding DocStart)
No edit summary
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{OffGridDocStart}}
<!-- This file is auto generated, please don't edit manually! -->
= Network =
= Network =
== Description ==
== Description ==
Line 5: Line 5:
== Functions ==
== Functions ==
=== CreateDataPoint ===
=== CreateDataPoint ===
<syntaxhighlight source lang="lua">Network.CreateDataPoint(locationObject, characterName, dataPoint)</syntaxhighlight>
<syntaxhighlight source lang="lua">Network.CreateDataPoint(locationObject, characterName, dataPoint, dataNetwork)</syntaxhighlight>
'''Expected parameter types'''
'''Expected parameter types'''
{| class="wikitable"
{| class="wikitable"
|-
! Name !! Type
|-
|-
| locationObject || string
| locationObject || string
Line 14: Line 16:
|-
|-
| dataPoint || Lua Type
| dataPoint || Lua Type
|-
| dataNetwork || Lua Table
|}
|}
'''Description''': Create a DataPoint in a specific place, from a specific character, with pre filled in data.
'''Description''': Create a DataPoint in a specific place, from a specific character, with pre filled in data.
Line 21: Line 25:




'''Docs last hacked together on''': 02/06/2017 16:09
This file is auto generated, please don't edit manually!
 
'''Docs last hacked together on''': 06/09/2018 14:53
[[Category:Modding]][[Category:LuaAPI]]

Revision as of 14:13, 6 September 2018

Network

Description

Allows modders to trigger network operations

Functions

CreateDataPoint

Network.CreateDataPoint(locationObject, characterName, dataPoint, dataNetwork)

Expected parameter types

Name Type
locationObject string
characterName string
dataPoint Lua Type
dataNetwork Lua Table

Description: Create a DataPoint in a specific place, from a specific character, with pre filled in data.

Returns: Nothing


This file is auto generated, please don't edit manually!

Docs last hacked together on: 06/09/2018 14:53