Class WorldScriptCommands
Inheritance
WorldScriptCommands
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class WorldScriptCommands : ScriptModule
Constructors
WorldScriptCommands(IGameContext)
Declaration
public WorldScriptCommands(IGameContext game)
Parameters
Methods
ExecuteHook(string)
Declaration
[Function("hookexec")]
public Task ExecuteHook(string hookName)
Parameters
Type |
Name |
Description |
string |
hookName |
|
Returns
GetWorldFlagState(string)
Declaration
[Function("worldflag")]
public int GetWorldFlagState(string flag)
Parameters
Type |
Name |
Description |
string |
flag |
|
Returns
SetPlayerIsp(string)
Declaration
[Function("setplayerisp")]
public void SetPlayerIsp(string narrativeId)
Parameters
Type |
Name |
Description |
string |
narrativeId |
|
SpawnIsp(string, string)
Declaration
[Function("spawnisp")]
public void SpawnIsp(string narrativeId, string ispName)
Parameters