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(); }
private static extern void tss_sdk_init(TssSdk.InitInfo info);