Anvil
Anvil.API.Events.OnDebugRunScriptChunk Class Reference

Called when a client has requested a script chunk to be executed. More...

+ Inheritance diagram for Anvil.API.Events.OnDebugRunScriptChunk:
+ Collaboration diagram for Anvil.API.Events.OnDebugRunScriptChunk:

Properties

NwPlayerPlayer [get]
 Gets the player attempting to spawn the visual effect. More...
 
string ScriptChunk = null! [get]
 Gets the raw script chunk that is attempted to be executed. More...
 
bool Skip [get, set]
 Gets or sets if execution of the script chunk should be skipped. More...
 
NwObjectTarget [get]
 Gets the object currently set as "OBJECT_SELF" More...
 
bool WrapIntoMain [get]
 Gets if the script chunk was requested to be wrapped in a main function. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when a client has requested a script chunk to be executed.

Property Documentation

◆ Player

NwPlayer? Anvil.API.Events.OnDebugRunScriptChunk.Player
get

Gets the player attempting to spawn the visual effect.

◆ ScriptChunk

string Anvil.API.Events.OnDebugRunScriptChunk.ScriptChunk = null!
get

Gets the raw script chunk that is attempted to be executed.

◆ Skip

bool Anvil.API.Events.OnDebugRunScriptChunk.Skip
getset

Gets or sets if execution of the script chunk should be skipped.

◆ Target

NwObject? Anvil.API.Events.OnDebugRunScriptChunk.Target
get

Gets the object currently set as "OBJECT_SELF"

◆ WrapIntoMain

bool Anvil.API.Events.OnDebugRunScriptChunk.WrapIntoMain
get

Gets if the script chunk was requested to be wrapped in a main function.


The documentation for this class was generated from the following file: