1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: pl_GameCoin.h 4 5 Copyright (C)2009-2012 Nintendo Co., Ltd. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Rev:$ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_PL_CTR_PL_GAMECOIN_H_ 17 #define NN_PL_CTR_PL_GAMECOIN_H_ 18 19 #include <nn/types.h> 20 #include <nn/Result.h> 21 22 #ifdef __cplusplus 23 24 namespace nn 25 { 26 namespace pl 27 { 28 namespace CTR 29 { 30 31 /* Please see man pages for details 32 33 34 */ 35 36 37 /* Please see man pages for details 38 39 */ 40 const u16 MAX_GAME_COIN_COUNT = 300; 41 42 /* Please see man pages for details 43 44 45 46 47 48 49 50 51 */ 52 void InitializeGameCoin(); 53 54 /* Please see man pages for details 55 56 57 58 */ 59 void FinalizeGameCoin(); 60 61 /* Please see man pages for details 62 63 64 65 66 67 68 69 70 */ 71 Result GetGameCoinCount(u16* pCount); 72 73 /* Please see man pages for details 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 */ 90 Result UseGameCoin(u16* pCount, u16 useCount); 91 92 93 /* 94 95 */ 96 97 }}} 98 99 #endif // __cplusplus 100 101 #endif // ifndef NN_PL_CTR_PL_GAMECOIN_H_ 102