Event<T extends WorldEvent> class base

Constructors

Event({required ServerWorldEvent? serverEvent, required Channel target, required T clientEvent, required Channel source, String worldName = defaultWorldName, Set<Channel>? needsUpdate})

Properties

cancelled ↔ bool
getter/setter pair
clientEvent → T
final
hashCode → int
The hash code for this object.
no setterinherited
needsUpdate ↔ Set<Channel>?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheduledEvents → List<NetworkerPacket<PlayableWorldEvent>>
no setter
serverEvent ↔ ServerWorldEvent?
getter/setter pair
source → int
final
target ↔ int
getter/setter pair
worldName → String
final

Methods

cancel() → void
castEvent<C extends WorldEvent>() → Event<C>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scheduleEvent(PlayableWorldEvent event, [Channel channel = kAnyChannel]) → void
scheduleEvents(Iterable<NetworkerPacket<PlayableWorldEvent>> events) → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited