AlphaSDKServerServiceBase class abstract

Inheritance
  • Object
  • GeneratedService
  • AlphaSDKServerServiceBase

Constructors

AlphaSDKServerServiceBase()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createRequest(String method) → GeneratedMessage
Creates a message object that can deserialize a request.
override
getConnectedPlayers(ServerContext ctx, AlphaEmpty request) Future<PlayerIDList>
getPlayerCapacity(ServerContext ctx, AlphaEmpty request) Future<Count>
getPlayerCount(ServerContext ctx, AlphaEmpty request) Future<Count>
handleCall(ServerContext ctx, String method, GeneratedMessage request) Future<GeneratedMessage>
Dispatches the call. The request object should come from createRequest.
override
isPlayerConnected(ServerContext ctx, PlayerID request) Future<Bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
playerConnect(ServerContext ctx, PlayerID request) Future<Bool>
playerDisconnect(ServerContext ctx, PlayerID request) Future<Bool>
setPlayerCapacity(ServerContext ctx, Count request) Future<AlphaEmpty>
toString() String
A string representation of this object.
inherited

Operators

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