/// <summary>
 /// Tsses the sdk init.
 /// </summary>
 /// <param name='gameId'>
 /// game id provided by sdk provider
 /// </param>
 public static void TssSdkInit(uint gameId)
 {
     SerializeUnity.setInitInfo(gameId);
     tss_enable_get_report_data();
     tss_log_str(TssSdkVersion.GetSdkVersion());
     tss_log_str(TssSdtVersion.GetSdtVersion());
 }
Exemple #2
0
 public static void TssSdkInit(uint gameId)
 {
     TssSdk.SerializeUnity.setInitInfo(gameId);
     TssSdk.tss_enable_get_report_data();
     TssSdk.tss_log_str(TssSdkVersion.GetSdkVersion());
     TssSdk.tss_log_str(TssSdtVersion.GetSdtVersion());
     BugtraceAgent2.EnableExceptionHandler();
 }
Exemple #3
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();
 }
Exemple #4
0
    public static void TssSdkInit(uint gameId)
    {
        InitInfo info;

        info = new InitInfo {
            size_            = Marshal.SizeOf(info),
            game_id_         = gameId,
            send_data_to_svr = IntPtr.Zero
        };
        tss_sdk_init(info);
        tss_enable_get_report_data();
        tss_log_str(TssSdkVersion.GetSdkVersion());
        tss_log_str(TssSdtVersion.GetSdtVersion());
    }