Struct AbilityForgottenObserverBroadcast
Server → observers. A character forgot an ability.
public struct AbilityForgottenObserverBroadcast : IBroadcast
- Implements
-
IBroadcast
- Inherited Members
Remarks
The counterpart to AbilityLearnedObserverBroadcast, and needed for the same
reason it is. An observer's copy of a peer's abilities is written once by
ReadPayload when it starts observing, then kept current by the learn message. Without
a removal, that copy keeps an ability the caster no longer has for as long as the observer
stays in range.
Not dead wire, though no cast can betray it. Nothing renders a stale entry — the
server refuses to activate a forgotten ability, so the activation message that would resolve
it is never sent, and the renderer never asks. What reads the entry anyway is everything that
holds an observed character's real state rather than its picture: Inspect lists it,
CanActivate gates on it, and faction and aggro evaluation consult it. An observer
looking at the character would be told they still have an ability they just forgot.
No template id: the removal is by instance id, and the receiver already holds the template it is dropping.
Fields
AbilityID
The ability instance id, matching AbilityActivatedBroadcast.AbilityID.
public long AbilityID
Field Value
CasterObjectID
NetworkObject id of the character that forgot the ability.
public int CasterObjectID