11 ScriptModule GameScript;
13 ScriptModule GetScriptModule()
18 void SetDebug(
bool isDebug) {}
52 proto native
bool SetWorldFile(
string path,
bool reload);
57 proto native owned
string GetWorldFile();
77 void ShowLoadingAnim()
84 void HideLoadingAnim()
93 void UpdateLoadingAnim(
float timeslice,
float progress)
102 proto native IEntity
SpawnEntity(
typename typeName);
109 proto native IEntity SpawnEntityTemplate(
vobject templateResource);
117 proto native GenericComponent SpawnComponentTemplate(IEntity owner,
vobject templateResource);
119 proto native IEntity FindEntity(
string name);
121 proto native WorkspaceWidget GetWorkspace();
126 proto native
void RequestClose();
132 proto native
void RequestReload();
137 proto native owned
string GetBuildVersion();
142 proto native owned
string GetBuildTime();
147 proto native GenericWorldEntity GetWorldEntity();
149 proto native InputManager GetInputManager();
150 proto native MenuManager GetMenuManager();
151 proto native
int GetTickCount();
proto native void SpawnEntity(string sClassName, vector vPos, float fRange, int iCount)
Spawn an entity through CE.
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
override void OnEvent(EventType eventTypeId, Param params)
Handles VON-related events.
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.