-
Notifications
You must be signed in to change notification settings - Fork 22
/
GameCenterPlugin.h
29 lines (22 loc) · 908 Bytes
/
GameCenterPlugin.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
// GameCenterPlugin.h
// Detonate
//
// Created by Marco Piccardo on 04/02/11.
// Copyright 2011 Eurotraining Engineering. All rights reserved.
//
#import <Foundation/Foundation.h>
#ifdef CORDOVA_FRAMEWORK
#import <Cordova/CDVPlugin.h>
#else
#import "CDVPlugin.h"
#endif
#import <GameKit/GameKit.h>
@interface GameCenterPlugin : CDVPlugin <GKLeaderboardViewControllerDelegate,GKAchievementViewControllerDelegate> {
}
- (void)authenticateLocalPlayer:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void)reportScore:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void)showLeaderboard:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void)showAchievements:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void)reportAchievementIdentifier:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
@end