public Task <StartGameReply> StartGame(ServerCallContext context, StartGameRequest request) { bool gameStarted = manager.StartGame(); var reply = new StartGameReply.Builder { Result = gameStarted }.BuildPartial(); return(Task.FromResult(reply)); }
public Task<StartGameReply> StartGame(ServerCallContext context, StartGameRequest request) { bool gameStarted = manager.StartGame(); var reply = new StartGameReply.Builder { Result = gameStarted }.BuildPartial(); return Task.FromResult(reply); }