예제 #1
0
        // Token: 0x06000EFB RID: 3835 RVA: 0x0005EABC File Offset: 0x0005CCBC
        public static string GetAppLaunchData()
        {
            StringBuilder stringBuilder = new StringBuilder(256);

            if (IntPtr.Size == 8)
            {
                Deeplink.GetAppLaunchData_64(stringBuilder, 256);
            }
            else
            {
                Deeplink.GetAppLaunchData(stringBuilder, 256);
            }
            return(stringBuilder.ToString());
        }
예제 #2
0
 // Token: 0x06000EF8 RID: 3832 RVA: 0x0005E9C0 File Offset: 0x0005CBC0
 public static void GoToStore(StatusCallback2 callback, string viveportId = "")
 {
     if (callback == null)
     {
         throw new InvalidOperationException("callback == null || string.IsNullOrEmpty(viveportId)");
     }
     Deeplink.goToStoreIl2cppCallback = new StatusCallback2(callback.Invoke);
     Api.InternalStatusCallback2s.Add(new StatusCallback2(Deeplink.GoToStoreIl2cppCallback));
     if (IntPtr.Size == 8)
     {
         Deeplink.GoToStore_64(new StatusCallback2(Deeplink.GoToStoreIl2cppCallback), viveportId);
         return;
     }
     Deeplink.GoToStore(new StatusCallback2(Deeplink.GoToStoreIl2cppCallback), viveportId);
 }
예제 #3
0
 // Token: 0x06000EF6 RID: 3830 RVA: 0x0005E934 File Offset: 0x0005CB34
 public static void GoToApp(StatusCallback2 callback, string viveportId, string launchData, string branchName)
 {
     if (callback == null || string.IsNullOrEmpty(viveportId))
     {
         throw new InvalidOperationException("callback == null || string.IsNullOrEmpty(viveportId)");
     }
     Deeplink.goToAppWithBranchNameIl2cppCallback = new StatusCallback2(callback.Invoke);
     Api.InternalStatusCallback2s.Add(new StatusCallback2(Deeplink.GoToAppWithBranchNameIl2cppCallback));
     if (IntPtr.Size == 8)
     {
         Deeplink.GoToApp_64(new StatusCallback2(Deeplink.GoToAppWithBranchNameIl2cppCallback), viveportId, launchData, branchName);
         return;
     }
     Deeplink.GoToApp(new StatusCallback2(Deeplink.GoToAppWithBranchNameIl2cppCallback), viveportId, launchData, branchName);
 }
예제 #4
0
 // Token: 0x06000EF2 RID: 3826 RVA: 0x0005E830 File Offset: 0x0005CA30
 public static void IsReady(StatusCallback callback)
 {
     if (callback == null)
     {
         throw new InvalidOperationException("callback == null");
     }
     Deeplink.isReadyIl2cppCallback = new StatusCallback(callback.Invoke);
     Api.InternalStatusCallbacks.Add(new StatusCallback(Deeplink.IsReadyIl2cppCallback));
     if (IntPtr.Size == 8)
     {
         Deeplink.IsReady_64(new StatusCallback(Deeplink.IsReadyIl2cppCallback));
         return;
     }
     Deeplink.IsReady(new StatusCallback(Deeplink.IsReadyIl2cppCallback));
 }
예제 #5
0
 private static void GoToStoreIl2cppCallback(int errorCode, string message)
 {
     Deeplink.goToStoreIl2cppCallback(errorCode, message);
 }
예제 #6
0
 private static void GoToAppWithBranchNameIl2cppCallback(int errorCode, string message)
 {
     Deeplink.goToAppWithBranchNameIl2cppCallback(errorCode, message);
 }
예제 #7
0
 private static void IsReadyIl2cppCallback(int errorCode)
 {
     Deeplink.isReadyIl2cppCallback(errorCode);
 }