示例#1
0
 public static SQYDataManager getInstance()
 {
     if (dmInstance == null)
     {
         dmInstance = new SQYDataManager();
     }
     return(dmInstance);
 }
 void willDidCompleteWithRecepit(string productId)
 {
     if (_iapDelegate != null)
     {
         _productID = productId;
     }
     else
     {
         SQYDataManager.getInstance().lstProductID.Add(productId);
     }
 }
 void didCompleteWithRecepit(string msg)
 {
     if (_iapDelegate != null)
     {
         _recepit = msg;
         _iapDelegate.didCompleteWithRecepit(_recepit, _productID);
     }
     else
     {
         SQYDataManager.getInstance().lstRecepit.Add(msg);
     }
 }