Class HookScript
Inherited Members
Namespace: SociallyDistant.Core.Core.Scripting
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class HookScript : ShellScriptAsset, IHookListener, IGameContentConstructors
HookScript(string, string)
Declaration
public HookScript(string hookId, string scriptText)Parameters
| Type | Name | Description | 
|---|---|---|
| string | hookId | |
| string | scriptText | 
Properties
HookId
Declaration
public string HookId { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Methods
ReceiveHookAsync(IGameContext)
Declaration
public Task ReceiveHookAsync(IGameContext game)Parameters
| Type | Name | Description | 
|---|---|---|
| IGameContext | game | 
Returns
| Type | Description | 
|---|---|
| Task |