AlphaSDKClient class

Constructors

AlphaSDKClient(ClientChannel channel, {CallOptions? options, Iterable<ClientInterceptor>? interceptors})

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

$createCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ClientCall<Q, R>
inherited
$createStreamingCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ResponseStream<R>
inherited
$createUnaryCall<Q, R>(ClientMethod<Q, R> method, Q request, {CallOptions? options}) → ResponseFuture<R>
inherited
getConnectedPlayers(AlphaEmpty request, {CallOptions? options}) → ResponseFuture<PlayerIDList>
getPlayerCapacity(AlphaEmpty request, {CallOptions? options}) → ResponseFuture<Count>
getPlayerCount(AlphaEmpty request, {CallOptions? options}) → ResponseFuture<Count>
isPlayerConnected(PlayerID request, {CallOptions? options}) → ResponseFuture<Bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
playerConnect(PlayerID request, {CallOptions? options}) → ResponseFuture<Bool>
playerDisconnect(PlayerID request, {CallOptions? options}) → ResponseFuture<Bool>
setPlayerCapacity(Count request, {CallOptions? options}) → ResponseFuture<AlphaEmpty>
toString() String
A string representation of this object.
inherited

Operators

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