getEventName
getEventName: (ScriptCallbackEvent) -> stringThe callback's name, the string the script pushed before the opcode ("bankSearchFilter", …).
| Method | Returns | Description |
|---|---|---|
getEventName() | string | The callback's name, the string the script pushed before the opcode ("bankSearchFilter", …). |
getScriptId() | number | The id of the script that ran the opcode, or -1 when it is not known. |
| Field | Type | Description |
|---|---|---|
__eventClass | string | "ScriptCallbackEvent": the class's name, which host APIs that take the class itself read. |
getEventNamegetEventName: (ScriptCallbackEvent) -> stringThe callback's name, the string the script pushed before the opcode ("bankSearchFilter", …).
getScriptIdgetScriptId: (ScriptCallbackEvent) -> numberThe id of the script that ran the opcode, or -1 when it is not known.