SetonixServer class
final
Methods
-
allowAuthenticationAttempt(Channel channel)
→ bool
-
-
broadcastAllServerStates()
→ Future<void>
-
-
broadcastServerState(WorldBloc world)
→ Future<void>
-
-
buildServerState(Channel viewer, WorldBloc world, {Iterable<SetonixUser> bannedUsers = const []})
→ ServerState
-
-
close()
→ Future<void>
-
-
completeAuthentication(Channel channel)
→ void
-
-
getUserWorld(Channel channel)
→ WorldBloc?
-
-
getUserWorldName(Channel channel)
→ String
-
-
getUserWorldState(Channel channel)
→ WorldState?
-
-
getWorld(String name)
→ WorldBloc?
-
-
hasThumbnail()
→ Future<bool>
-
-
init({bool verbose = false})
→ Future<void>
-
-
kick(int id, [KickMessage? reason])
→ bool
-
-
loadThumbnail()
→ Future<ServerThumbnail?>
-
-
loadWorlds()
→ Future<void>
-
-
log(Object? message, {LogLevel? level})
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
process(WorldEvent event, [bool force = true])
→ void
-
-
run()
→ Future<void>
-
-
saveAll({bool force = false})
→ Future<void>
-
-
sendEvent(PlayableWorldEvent event, {Channel target = kAnyChannel, String? worldName})
→ Future<void>
-
-
sendMessage(String message, [Channel target = kAnyChannel])
→ void
-
-
spawnDeck(ItemLocation location, GlobalVectorDefinition cell, [bool force = true])
→ bool
-
-
toString()
→ String
-
A string representation of this object.
inherited