OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
sakeMain.h
1
3#ifndef __SAKEMAIN_H__
4#define __SAKEMAIN_H__
5
6
9#include "sake.h"
10
11
14#if defined(__cplusplus)
15extern "C" {
16#endif
17
20#define SAKEI_GAME_NAME_LENGTH 15
21#define SAKEI_SECRET_KEY_LENGTH 8
22#define SAKEI_LOGIN_TICKET_LENGTH 24
23
24
27typedef struct SAKEInternal
28{
29 gsi_bool mIsGameAuthenticated;
30 char mGameName[SAKEI_GAME_NAME_LENGTH + 1];
31 int mGameId;
32 char mSecretKey[SAKEI_SECRET_KEY_LENGTH + 1];
33
34 gsi_bool mIsProfileAuthenticated;
35 int mProfileId;
36 char mLoginTicket[SAKEI_LOGIN_TICKET_LENGTH + 1];
37
38 SAKEStartRequestResult mStartRequestResult;
40
41
44#if defined(__cplusplus)
45} // extern "C"
46#endif
47
48
51#endif // __SAKEMAIN_H__
Definition sakeMain.h:28