The event definition to send.
Class 0x7c537128
Inheritance 1 ancestor · 45 siblings
- IScriptBlock
- 0x24120f89 (removed in patch 15.10)
- 0x28c595ef (removed in patch 15.13)
- 0x3f934c8f (removed in patch 16.21)
- 0x6b73a615
- 0x7c537128current
- 0x92b6b7fa
- 0xc5e16ef4
- 0xeda147c3 (removed in patch 16.21)
- BreakBlock
- CallFunctionBlock (removed in patch 14.12)
- ClearBit
- ConcatenateStringsBlock
- ConceptBlockBase15
- ContinueBlock
- CopyCustomTableBlock
- CreateCustomTableBlock
- CreateFunctionBlock (removed in patch 14.22)
- CustomTableContainsValueBlock
- DebugPrintToChatBlock
- DestroyCustomTableBlock
- EndEventBlock
- EndFunctionBlock (removed in patch 15.13)
- FindInString
- FreeformMathBlock
- GameEntityBlock36
- GetAverageValueInCustomTableBlock
- GetHqBlock (removed in patch 15.2)
- GetKeyValueInCustomTableBlock
- GetRandomFromCustomTableBlock
- GetSizeOfCustomTableBlock
- IAsyncBlock
- IBehaviorScriptBlock5
- IClientBlock4
- IGameScreenClientBlock13
- ILoopScriptBlock10
- IRunFunctionBlock5
- IfConditionBlock
- InsertIntoCustomTableBlock
- LevelScriptBlock25
- RemoveFromCustomTableBlock
- ScriptCommentBlock
- SetBit
- SetKeyValueInCustomTableBlock
- ShuffleCustomTableBlock
- SortCustomTableBlock
- SwitchScriptBlock (removed in patch 14.24)
Class Documentation
Edit documentationA block that sends a script event. Event links an event definition, which has an
event name and a map of parameters with a default value getter for each.
- The block builds the parameters. For each parameter that the definition declares, it
uses the getter in
EventParameterOverridesif that map has one for the key, and the default getter of the definition otherwise. It evaluates the getter and leaves out a parameter whose value is null. - The block finds every script that listens for the event
name. For each of them, it runs the sequence of that script whose key is the event name, in a new script context that holds the parameters.
The listeners run at once, before the next block of the list.
If Event links nothing, the block records a script error.
Properties
Getters that replace the defaults of the definition, keyed by parameter name. A key that the definition does not declare is ignored.