/*
File: GameCenterManager.h
Abstract: Basic introduction to GameCenter
Version: 1.0
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc.
("Apple") in consideration of your agreement to the following terms, and your
use, installation, modification or redistribution of this Apple software
constitutes acceptance of these terms. If you do not agree with these terms,
please do not use, install, modify or redistribute this Apple software.
In consideration of your agreement to abide by the following terms, and subject
to these terms, Apple grants you a personal, non-exclusive license, under
Apple's copyrights in this original Apple software (the "Apple Software"), to
use, reproduce, modify and redistribute the Apple Software, with or without
modifications, in source and/or binary forms; provided that if you redistribute
the Apple Software in its entirety and without modifications, you must retain
this notice and the following text and disclaimers in all such redistributions
of the Apple Software.
Neither the name, trademarks, service marks or logos of Apple Inc. may be used
to endorse or promote products derived from the Apple Software without specific
prior written permission from Apple. Except as expressly stated in this notice,
no other rights or licenses, express or implied, are granted by Apple herein,
including but not limited to any patent rights that may be infringed by your
derivative works or by other works in which the Apple Software may be
incorporated.
The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES NO
WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN
COMBINATION WITH YOUR PRODUCTS.
IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR
DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF
CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Copyright (C) 2010 Apple Inc. All Rights Reserved.
*/
#import <Foundation/Foundation.h>
@class GKLeaderboard, GKAchievement, GKPlayer;
@protocol GameCenterManagerDelegate <NSObject>
@optional
- (void) processGameCenterAuth: (NSError*) error;
- (void) scoreReported: (NSError*) error;
//- (void) reloadScoresComplete: (GKLeaderboard*) leaderBoard error: (NSError*) error;
//- (void) achievementSubmitted: (GKAchievement*) ach error:(NSError*) error;
//- (void) achievementResetResult: (NSError*) error;
//- (void) mappedPlayerIDToPlayer: (GKPlayer*) player error: (NSError*) error;
@end
@interface GameCenterManager : NSObject
{
NSMutableDictionary* earnedAchievementCache;
id <GameCenterManagerDelegate, NSObject> delegate;
}
//This property must be attomic to ensure that the cache is always in a viable state...
@property (retain) NSMutableDictionary* earnedAchievementCache;
@property (nonatomic, assign) id <GameCenterManagerDelegate> delegate;
+ (BOOL) isGameCenterAvailable;
- (void) authenticateLocalUser;
- (void) reportScore: (int64_t) score forCategory: (NSString*) category;
- (void) reloadHighScoresForCategory: (NSString*) category;
- (void) submitAchievement: (NSString*) identifier percentComplete: (double) percentComplete;
- (void) resetAchievements;
- (void) mapPlayerIDtoPlayer: (NSString*) playerID;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
iOS游戏应用源代码——jmullen-Brain-Game-47bc418.zip
共56个文件
png:19个
h:11个
m:11个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 44 浏览量
2023-07-05
23:16:28
上传
评论
收藏 11.42MB ZIP 举报
温馨提示
iOS游戏应用源代码——jmullen-Brain-Game-47bc418.zip
资源推荐
资源详情
资源评论
收起资源包目录
iOS游戏应用源代码——jmullen-Brain-Game-47bc418.zip (56个子文件)
jmullen-Brain-Game-47bc418
FlashcardViewController.m 19KB
README 0B
BrainGame-Info.plist 1006B
FlipsideViewController.h 237B
FlipsideViewController.m 758B
main.m 356B
MainView.h 552B
BrainGame_Prefix.pch 187B
FlipsideView.h 204B
FlashcardView.m 407B
MainView.xib 11KB
Screenshots
Screenshot 2010.11.06 17.10.58.png 509KB
Screenshot 2010.11.06 17.20.12.png 417KB
Screenshot 2010.11.06 17.11.50.png 478KB
FlashcardViewController.h 3KB
FlipsideView.m 388B
FlipsideView.xib 13KB
MainView.m 692B
FlashcardView.xib 70KB
Resources
Splash.psd 2.11MB
MainMenu.psd 1.49MB
Icon.psd 3.2MB
Splash.png 1.01MB
Icon-57.png 9KB
Icon-114.png 24KB
Achievement
5Hr.png 240KB
Template.psd 755KB
50Q.png 141KB
100Q.png 135KB
1Hr.png 148KB
1000Q.png 182KB
30Min.png 368KB
Icon-512.png 386KB
Icon-58.png 10KB
GameBg.psd 1.52MB
GameBg.png 321KB
MainMenu.png 481KB
Icon-29.png 5KB
Results.png 438KB
IntroScreen.png 461KB
Sounds
MenuSelection.mp3 9KB
WrongAnswer.mp3 7KB
Results.psd 1.41MB
Classes
BrainGameViewController.m 8KB
GameCenterManager.h 4KB
BrainGameAppDelegate.h 484B
GameData.m 2KB
BrainGameViewController.h 2KB
GameData.h 600B
GameCenterManager.m 9KB
BrainGameAppDelegate.m 3KB
MainViewController.h 399B
AppSpecificVals.h 346B
MainWindow.xib 43KB
MainViewController.m 944B
FlashcardView.h 224B
共 56 条
- 1
资源评论
快乐无限出发
- 粉丝: 1137
- 资源: 7289
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功