@modoki/engine / index / DispatchOptions
Interface: DispatchOptions
Options for dispatching an action — the target is given as a GUID and resolved to an entity here so callers (applyBindings) don't need world access. A caller that already resolved the entity (applyBindings builds a guid→entity map once) can pass target to skip the O(n) scan.
Actions
params?
optionalparams?:Record<string,unknown>
payload?
optionalpayload?:UIActionPayload
target?
optionaltarget?:Entity
Pre-resolved target entity. If set, the targetGuid scan is skipped.
targetGuid?
optionaltargetGuid?:string