LeaderboardServiceBase constructor
LeaderboardServiceBase()
Implementation
LeaderboardServiceBase() {
$addMethod($grpc.ServiceMethod<$7.DeleteLeaderboardRequest_, $3.Empty_>(
'DeleteLeaderboard',
deleteLeaderboard_Pre,
false,
false,
($core.List<$core.int> value) =>
$7.DeleteLeaderboardRequest_.fromBuffer(value),
($3.Empty_ value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.UpsertElementsRequest_, $3.Empty_>(
'UpsertElements',
upsertElements_Pre,
false,
false,
($core.List<$core.int> value) =>
$7.UpsertElementsRequest_.fromBuffer(value),
($3.Empty_ value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.RemoveElementsRequest_, $3.Empty_>(
'RemoveElements',
removeElements_Pre,
false,
false,
($core.List<$core.int> value) =>
$7.RemoveElementsRequest_.fromBuffer(value),
($3.Empty_ value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.GetLeaderboardLengthRequest_,
$7.GetLeaderboardLengthResponse_>(
'GetLeaderboardLength',
getLeaderboardLength_Pre,
false,
false,
($core.List<$core.int> value) =>
$7.GetLeaderboardLengthRequest_.fromBuffer(value),
($7.GetLeaderboardLengthResponse_ value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.GetByRankRequest_, $7.GetByRankResponse_>(
'GetByRank',
getByRank_Pre,
false,
false,
($core.List<$core.int> value) => $7.GetByRankRequest_.fromBuffer(value),
($7.GetByRankResponse_ value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.GetRankRequest_, $7.GetRankResponse_>(
'GetRank',
getRank_Pre,
false,
false,
($core.List<$core.int> value) => $7.GetRankRequest_.fromBuffer(value),
($7.GetRankResponse_ value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$7.GetByScoreRequest_, $7.GetByScoreResponse_>(
'GetByScore',
getByScore_Pre,
false,
false,
($core.List<$core.int> value) =>
$7.GetByScoreRequest_.fromBuffer(value),
($7.GetByScoreResponse_ value) => value.writeToBuffer()));
}