Struct PluginPortalTransition
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
A semantic portal or recall transition observed by the host. This is a state notification, not a raw protocol event; repeated notifications for one generation can be compared by Revision.
public readonly record struct PluginPortalTransition : IEquatable<PluginPortalTransition>
- Implements
- Inherited Members
Constructors
PluginPortalTransition(long, long, uint, bool, bool, bool, bool)
A semantic portal or recall transition observed by the host. This is a state notification, not a raw protocol event; repeated notifications for one generation can be compared by Revision.
public PluginPortalTransition(long Revision, long Generation, uint DestinationCell, bool IsReady, bool IsMaterialized, bool IsCompleted, bool IsCancelled)
Parameters
RevisionlongGenerationlongDestinationCelluintIsReadyboolIsMaterializedboolIsCompletedboolIsCancelledbool
Properties
DestinationCell
public uint DestinationCell { get; init; }
Property Value
Generation
public long Generation { get; init; }
Property Value
IsActive
True while this generation has not completed or cancelled.
public bool IsActive { get; }
Property Value
IsCancelled
public bool IsCancelled { get; init; }
Property Value
IsCompleted
public bool IsCompleted { get; init; }
Property Value
IsMaterialized
public bool IsMaterialized { get; init; }
Property Value
IsReady
public bool IsReady { get; init; }
Property Value
IsTerminal
True when the transition reached completion or cancellation.
public bool IsTerminal { get; }
Property Value
Kind
The semantic source of this transition.
public PluginPortalTransitionKind Kind { get; init; }
Property Value
RecallRequestRevision
The recall request revision that initiated this transition, or zero when the transition was not correlated to a plugin recall request.
public long RecallRequestRevision { get; init; }
Property Value
Revision
public long Revision { get; init; }
Property Value
Methods
IsStaleComparedTo(long)
Returns true when this notification is older than a transition revision the plugin has already processed.
public bool IsStaleComparedTo(long handledRevision)
Parameters
handledRevisionlong