ServerResponse class

Constructors

ServerResponse(NetworkerPacket<ServerWorldEvent> main, [Set<Channel> needsUpdate = const {}])
ServerResponse.builder(ServerWorldEvent event, [Channel channel = kAnyChannel, Set<Channel> needsUpdate = const {}])

Properties

hashCode int
The hash code for this object.
no setterinherited
main NetworkerPacket<ServerWorldEvent>
final
needsUpdate Set<Channel>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildPackets(WorldState state, Iterable<Channel> connected) List<NetworkerPacket<ServerWorldEvent>>
buildUpdatePackets(WorldState state, Iterable<Channel> connected) List<NetworkerPacket<WorldInitialized>>
buildUpdatePacketsFor(WorldState state, Iterable<Channel> connected, Set<Channel>? needsUpdate) List<NetworkerPacket<WorldInitialized>>
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