Event<T> class base

Mixed in types

Constructors

Event(SetonixServer server, ServerWorldEvent serverEvent, Channel target, T clientEvent, Channel source, 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
server SetonixServer
final
serverEvent ServerWorldEvent
getter/setter pair
source Channel
final
state WorldState
no setterinherited
target Channel
getter/setter pair

Methods

cancel() → void
castEvent<C extends WorldEvent>() Event<C>
getTable(String name) GameTable?
inherited
getTableOrDefault(String name) GameTable
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendEvent(ServerWorldEvent event, [Channel target = kAnyChannel]) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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