SDKServiceBase constructor

SDKServiceBase()

Implementation

SDKServiceBase() {
  $addMethod($grpc.ServiceMethod<$1.PlayerID, $1.Bool>(
      'PlayerConnect',
      playerConnect_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.PlayerID.fromBuffer(value),
      ($1.Bool value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.PlayerID, $1.Bool>(
      'PlayerDisconnect',
      playerDisconnect_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.PlayerID.fromBuffer(value),
      ($1.Bool value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Count, $1.AlphaEmpty>(
      'SetPlayerCapacity',
      setPlayerCapacity_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Count.fromBuffer(value),
      ($1.AlphaEmpty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.AlphaEmpty, $1.Count>(
      'GetPlayerCapacity',
      getPlayerCapacity_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.AlphaEmpty.fromBuffer(value),
      ($1.Count value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.AlphaEmpty, $1.Count>(
      'GetPlayerCount',
      getPlayerCount_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.AlphaEmpty.fromBuffer(value),
      ($1.Count value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.PlayerID, $1.Bool>(
      'IsPlayerConnected',
      isPlayerConnected_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.PlayerID.fromBuffer(value),
      ($1.Bool value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.AlphaEmpty, $1.PlayerIDList>(
      'GetConnectedPlayers',
      getConnectedPlayers_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.AlphaEmpty.fromBuffer(value),
      ($1.PlayerIDList value) => value.writeToBuffer()));
}