Пример #1
0
 public static TDSLicenseImpl GetInstance()
 {
     lock (locker)
     {
         if (sInstance == null)
         {
             sInstance = new TDSLicenseImpl();
         }
     }
     return sInstance;
 }
Пример #2
0
 public static void SetLicencesCallback(TDSLicenseCallback callback)
 {
     TDSLicenseImpl.GetInstance().SetLicencesCallback(callback);
 }
Пример #3
0
 public static void PurchaseDLC(string dlc)
 {
     TDSLicenseImpl.GetInstance().PurchaseDLC(dlc);
 }
Пример #4
0
 public static void QueryDLC(string[] dlcList)
 {
     TDSLicenseImpl.GetInstance().QueryDLC(dlcList);
 }
Пример #5
0
 public static void Check()
 {
     TDSLicenseImpl.GetInstance().Check();
 }
Пример #6
0
 public static void SetDLCCallbackWithParams(TDSDLCCallback callback, bool checkOnce, string publicKey)
 {
     TDSLicenseImpl.GetInstance().SetDLCCallbackWithParams(callback, checkOnce, publicKey);
 }