Interface ICancellableEvent
- Namespace
- Shard.Modding.SDK.Event
- Assembly
- Shard.Modding.SDK.dll
An event whose default action a subscriber can veto by setting Cancelled. Once cancelled,
later subscribers are skipped unless they opted in with receiveCancelled: true. Implement this on a
class (not a struct) so the flag mutation is seen by every subscriber.
public interface ICancellableEvent
Properties
Cancelled
bool Cancelled { get; set; }