Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [[VBAPIService sharedInstance] getBestGameHitPercentage:[VBUtils getStringFromGameType:self.game.gameType]
- verbTense:self.game.tense.name
- response:^(GameStatistic *statistic) {
- NSLog(@"Best game time: %f, Best hit percentage: %f", [statistic.timeInSeconds doubleValue], [statistic.hitPercentage doubleValue]);
- } error:^(Fault *fault) {
- NSLog(@"Best game time Error! %@", fault);
- }];
- -(GameStatistic *)getBestGameHitPercentage:(NSString *)gameType verbTense:(NSString *)verbTense error:(Fault **)fault {
- return [backendless.customService invoke:SERVICE_NAME serviceVersion:SERVICE_VERSION_NAME method:@"getBestGameHitPercentage" args:@[gameType,verbTense] fault:fault];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement