SwampEvent enum
Events sent from the server to the client.
Values
- message → const SwampEvent
-
A general message.
- roomInfo → const SwampEvent
-
Information about a room.
- welcome → const SwampEvent
-
Welcome message upon connection.
- kicked → const SwampEvent
-
Notification that the client has been kicked.
- roomJoinFailed → const SwampEvent
-
Notification that joining a room failed.
- roomCreationFailed → const SwampEvent
-
Notification that creating a room failed.
- playerJoined → const SwampEvent
-
Notification that a player joined the room.
- playerLeft → const SwampEvent
-
Notification that a player left the room.
- playerList → const SwampEvent
-
List of players in the room.
Properties
- canRunLocally → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- mode → RpcNetworkerMode
-
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
SwampEvent> - A constant List of the values in this enum, in order of their declaration.