OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
sciInterface.h
1
3#ifndef __SCIINTERFACE_H__
4#define __SCIINTERFACE_H__
5
6
9#include "sci.h"
10#include "sciWebServices.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif // __cplusplus
15
16
19// SDK instance
20typedef struct
21{
22 SCWebServices mWebServices;
23 gsi_u32 mGameId;
24 //gsi_u32 mOptionsFlags;
25 gsi_bool mInit;
26 const char * mServiceURL;
27 GSCoreMgr * mSdkCore;
28 gsi_u8 mSessionId[SC_SESSION_GUID_SIZE];
29 gsi_u8 mConnectionId[SC_CONNECTION_GUID_SIZE];
31
32
35SCResult sciInterfaceCreate (SCInterface** theInterfaceOut);
36SCResult sciInterfaceInit (SCInterface* theInterface);
37void sciInterfaceDestroy(SCInterface* theInterface);
38
39void sciInterfaceSetSessionId(SCInterface* theInterface, const char * theSessionId);
40void sciInterfaceSetConnectionId(SCInterface* theInterface, const char * theConnectionId);
41
42
45#ifdef __cplusplus
46} // extern "C"
47#endif // __cplusplus
48
49
52#endif // __SCINTERFACE_H__
Definition gsCore.h:88
Definition sciInterface.h:21
Definition sciWebServices.h:35