Exemple #1
0
 public static void QueryRestoredPurchases(Action <List <TDSGlobalRestoredPurchases> > callback)
 {
     TDSGlobalImpl.GetInstance().QueryRestoredPurchases(callback);
 }
Exemple #2
0
 public static void AdvertiserIDCollectionEnable(bool enable)
 {
     TDSGlobalImpl.GetInstance().AdvertiserIDCollectionEnable(enable);
 }
Exemple #3
0
 public static void PayWithWeb(string serverId, string roleId, Action <TDSGlobalError> callback)
 {
     TDSGlobalImpl.GetInstance().PayWithWeb(serverId, roleId, callback);
 }
Exemple #4
0
 public static void Init(Action <bool> callback)
 {
     TDSGlobalImpl.GetInstance().Init(callback);
 }
Exemple #5
0
 public static void Share(int shareFlavors, string uri, string message, TDSGlobalShareCallback callback)
 {
     TDSGlobalImpl.GetInstance().Share(shareFlavors, uri, message, callback);
 }
Exemple #6
0
 public static void SetLanguage(int languageType)
 {
     TDSGlobalImpl.GetInstance().SetLanguage(languageType);
 }
Exemple #7
0
 public static void EventCreateRole()
 {
     TDSGlobalImpl.GetInstance().EventCreateRole();
 }
Exemple #8
0
 public static void AddUserStatusChangeCallback(Action <int, string> callback)
 {
     TDSGlobalImpl.GetInstance().AddUserStatusChangeCallback(callback);
 }
Exemple #9
0
 public static void TrackAchievement()
 {
     TDSGlobalImpl.GetInstance().TrackAchievement();
 }
Exemple #10
0
 public static void EventCompletedTutorial()
 {
     TDSGlobalImpl.GetInstance().EventCompletedTutorial();
 }
Exemple #11
0
 public static void TrackEvent(string eventName)
 {
     TDSGlobalImpl.GetInstance().TrackEvent(eventName);
 }
Exemple #12
0
 public static void TrackUser(string userId)
 {
     TDSGlobalImpl.GetInstance().TrackUser(userId);
 }
Exemple #13
0
 public static void TrackUser(string serverId, string roleId, string roleName, int level)
 {
     TDSGlobalImpl.GetInstance().TrackUser(serverId, roleId, roleName, level);
 }
Exemple #14
0
 public static void AccountCancellation()
 {
     TDSGlobalImpl.GetInstance().AccountCancellation();
 }
Exemple #15
0
 public static void GetVersionName(Action <string> callback)
 {
     TDSGlobalImpl.GetInstance().GetVersionName(callback);
 }
Exemple #16
0
 public static void UserCenter()
 {
     TDSGlobalImpl.GetInstance().UserCenter();
 }
Exemple #17
0
 public static void StoreReview()
 {
     TDSGlobalImpl.GetInstance().StoreReview();
 }
Exemple #18
0
 public static void GetUser(Action <TDSGlobalUser> callback, Action <TDSGlobalError> errorCallback)
 {
     TDSGlobalImpl.GetInstance().GetUser(callback, errorCallback);
 }
Exemple #19
0
 public static void IsBuildVersionAboveAndroid11(Action <bool> callback)
 {
     TDSGlobalImpl.GetInstance().IsBuildVersionAboveAndroid11(callback);
 }
Exemple #20
0
 public static void Share(int shareFlavors, string imagePath, TDSGlobalShareCallback callback)
 {
     TDSGlobalImpl.GetInstance().Share(shareFlavors, imagePath, callback);
 }
Exemple #21
0
 public static void IsExternalStorageManager(Action <bool> callback)
 {
     TDSGlobalImpl.GetInstance().IsExternalStorageManager(callback);
 }
Exemple #22
0
 public static void PayWithProduct(string orderId, string productId, string roleId, string serverId, string ext,
                                   Action <TDSGlobalOrderInfo> callback, Action <TDSGlobalError> errorCallback)
 {
     TDSGlobalImpl.GetInstance()
     .PayWithProduct(orderId, productId, roleId, serverId, ext, callback, errorCallback);
 }
Exemple #23
0
 public static void RequestExternalStorageManagerPermission(int requestCode)
 {
     TDSGlobalImpl.GetInstance().RequestExternalStorageManagerPermission(requestCode);
 }
Exemple #24
0
 public static void InlinePay(string orderId, string productId, string productName, string region, string serverid,
                              string roleId, string ext, Action <TDSGlobalInlinePayResult> callback)
 {
     TDSGlobalImpl.GetInstance().InlinePay(orderId, productId, productName, region, serverid, roleId, ext, callback);
 }
Exemple #25
0
 public static void LoginByType(LoginType loginType, Action <TDSGlobalUser> callback,
                                Action <TDSGlobalError> errorCallback)
 {
     TDSGlobalImpl.GetInstance().LoginByType(loginType, callback, errorCallback);
 }
Exemple #26
0
 public static void QueryWithProductIds(string[] productIds, Action <List <TDSGlobalSkuDetail> > callback,
                                        Action <TDSGlobalError> errorCallback)
 {
     TDSGlobalImpl.GetInstance().QueryWithProductIds(productIds, callback, errorCallback);
 }
Exemple #27
0
 public static void Logout()
 {
     TDSGlobalImpl.GetInstance().Logout();
 }
Exemple #28
0
 public static void RestorePurchase(string tdsTransactionInfo, string orderId, string productId, string roleId,
                                    string serverId, string ext, Action <TDSGlobalOrderInfo> callback, Action <TDSGlobalError> errorCallback)
 {
     TDSGlobalImpl.GetInstance().RestorePurchase(tdsTransactionInfo, orderId, productId, roleId, serverId, ext,
                                                 callback, errorCallback);
 }
Exemple #29
0
 public static void Report(string serverId, string roleId, string roleName)
 {
     TDSGlobalImpl.GetInstance().Report(serverId, roleId, roleName);
 }