UAndromedaCapabilityEventsComponent¶
Kind: class
Source: Source/Andromeda/Capabilities/AndromedaCapabilityEventsComponent.h
Base classes: UActorComponent
Details¶
Signals that listeners should re-query the capability state they are observingWe are OK with this delegate being tied to the object instead of an event subsystem. This is because we only want the pawn focussing on the object to be able to listen to the events the focussed object is sending. If it was a capability-level event subsystem, the pawn will get events from non-focussed objects too. Reusable event source for prompt, pickup, and interaction capability invalidation..
Public Properties¶
| Member | Type | Summary |
|---|---|---|
OnCapabilityChanged |
FAndromedaCapabilityChanged |
Event consumed by systems observing a capability on the owning object. |
Public Methods¶
| Member | Type | Summary |
|---|---|---|
UAndromedaCapabilityEventsComponent |
function |
Disables ticking because capability changes are explicitly broadcast. |
NotifyCapabilityChanged |
void |
Broadcasts that a capability exposed through this event source may have changed. |
Members¶
OnCapabilityChanged¶
Event consumed by systems observing a capability on the owning object.
UAndromedaCapabilityEventsComponent¶
Disables ticking because capability changes are explicitly broadcast.
NotifyCapabilityChanged¶
Broadcasts that a capability exposed through this event source may have changed.