Esempio n. 1
0
 public static void TssSdkInit(uint gameId)
 {
     TssSdk.InitInfo initInfo = new TssSdk.InitInfo();
     initInfo.size_            = (uint)Marshal.SizeOf(initInfo);
     initInfo.game_id_         = gameId;
     initInfo.send_data_to_svr = (IntPtr)0;
     TssSdk.tss_sdk_init(initInfo);
     TssSdk.tss_enable_get_report_data();
     TssSdk.tss_log_str(TssSdkVersion.GetSdkVersion());
     TssSdk.tss_log_str(TssSdtVersion.GetSdtVersion());
     BugtraceAgent.EnableExceptionHandler();
 }
Esempio n. 2
0
 private static extern void tss_sdk_init(TssSdk.InitInfo info);