...
This commit is contained in:
parent
322871e9bd
commit
fbece3482d
|
|
@ -1 +1 @@
|
|||
20
|
||||
22
|
||||
|
|
@ -24,7 +24,7 @@ public class IAPManager : MonoBehaviour, IDetailedStoreListener
|
|||
private bool isInitialize = false;
|
||||
|
||||
private static readonly string TAG = "IAPManager";
|
||||
string[] all_products = { "com.fgb.cash500", "com.fgb.cash2000", "com.fgb.cash7500",
|
||||
string[] all_products = { "com.fgb.cash500", "com.fgb.cash1800", "com.fgb.cash7500",
|
||||
"com.fgb.heart20", "com.fgb.heart150", "com.fgb.heart500" };
|
||||
private Dictionary<string, string> signatureMap = new Dictionary<string, string>();
|
||||
string onstore_publickey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCCkywe50yx7BpLXxrkothbVVY5hyHNq/L4u0ExhMxIY7lj6yX4TZjQtWGr+gPakI28RNO8QEVMBtDxtWb1/JyMPIcqzwLqqwYhFdtUxNSkIOpZHDx8+spXotwcKG6zm5w7c8iXcHg8hnlrUArLYdNcRh/cMu+bHIAsx1BKS5rDSwIDAQAB";
|
||||
|
|
@ -73,7 +73,7 @@ public class IAPManager : MonoBehaviour, IDetailedStoreListener
|
|||
/* 구글 플레이 상품들 추가 */
|
||||
//builder.AddProduct("com.fgb.adsremove", ProductType.Consumable);
|
||||
builder.AddProduct("com.fgb.cash500", UnityEngine.Purchasing.ProductType.Consumable);
|
||||
builder.AddProduct("com.fgb.cash2000", UnityEngine.Purchasing.ProductType.Consumable);
|
||||
builder.AddProduct("com.fgb.cash1800", UnityEngine.Purchasing.ProductType.Consumable);
|
||||
builder.AddProduct("com.fgb.cash7500", UnityEngine.Purchasing.ProductType.Consumable);
|
||||
builder.AddProduct("com.fgb.heart20", UnityEngine.Purchasing.ProductType.Consumable);
|
||||
builder.AddProduct("com.fgb.heart150", UnityEngine.Purchasing.ProductType.Consumable);
|
||||
|
|
@ -246,7 +246,7 @@ public class IAPManager : MonoBehaviour, IDetailedStoreListener
|
|||
GameManager.DB.AddTotalCashPerMonth(Get_Price(id));
|
||||
FireBaseMgr.Ins.LogPurchase(id, Get_Price(id), "KRW");
|
||||
break;
|
||||
case "com.fgb.cash2000":
|
||||
case "com.fgb.cash1800":
|
||||
GameManager.DB.AddKey(2000, this.name);
|
||||
GameManager.DB.AddTotalCashPerMonth(Get_Price(id));
|
||||
FireBaseMgr.Ins.LogPurchase(id, Get_Price(id), "KRW");
|
||||
|
|
|
|||
Loading…
Reference in New Issue