RoomInfo class final

Information about a room, including its configuration and state.

Constructors

RoomInfo({required int flags, required int maxPlayers, required int currentId, required Uint8List roomId})
RoomInfo.fromBytes(Uint8List data)
Creates a RoomInfo instance from a byte array.
factory

Properties

currentId int
The current player ID (or similar identifier within the room context).
final
flags int
The flags configuration for the room.
final
hashCode int
The hash code for this object.
no setterinherited
maxPlayers int
The maximum number of players allowed in the room.
final
roomId Uint8List
The unique identifier of the room (byte array).
final
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
toBytes() Uint8List
Serializes this RoomInfo to a byte array.
toString() String
A string representation of this object.
inherited

Operators

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