wiki.sine.space | sinespace

Difference between revisions of "Scripting/Reference"

From wiki.sine.space
Jump to: navigation, search
(Data Types)
(Added SEconomy, SQuests, SGroup)
Line 23: Line 23:
 
** [[Scripting/SPersistence]] Persistence functions (save/retrieve state information permanently to player)
 
** [[Scripting/SPersistence]] Persistence functions (save/retrieve state information permanently to player)
 
** [[Scripting/SShared]] IPC functions
 
** [[Scripting/SShared]] IPC functions
 +
** [[Scripting/SEconomy]] IPC functions
 +
** [[Scripting/SGroup]] IPC functions
 +
** [[Scripting/SQuests]] IPC functions
  
 
==Data Types==
 
==Data Types==

Revision as of 07:09, 12 December 2020

Client Scripting Function Reference

This API is shared between both C# and Lua runtimes. In case of Lua, we treat 'Nil' as 'null', but otherwise identical. C# scripts are defined as a class inheriting from SpaceScript. Lua scripts have a pre-prepared global named 'Space' containing an instance of the SScript class.

Most of these API designs have been modelled after the API already used by Unity3D to allow existing developers easier familiarity with space.

Full Class List (Automated Documentation): http://space-files.s3.amazonaws.com/docs/client-scripting/annotated.html

Classes

Data Types

Library Classes

Component Classes

Resources

External Events

Server Scripting Function Reference

Coming soon