public void queryInventorySucceeded(string json) { if (queryInventorySucceededEvent != null) { var dict = json.dictionaryFromJson(); queryInventorySucceededEvent(GooglePurchase.fromList(dict["purchases"] as List <object>), GoogleSkuInfo.fromList(dict["skus"] as List <object>)); } }
public void queryInventorySucceeded(string json) { if (GoogleIABManager.queryInventorySucceededEvent != null) { Dictionary <string, object> dictionary = json.dictionaryFromJson(); GoogleIABManager.queryInventorySucceededEvent(GooglePurchase.fromList(dictionary["purchases"] as List <object>), GoogleSkuInfo.fromList(dictionary["skus"] as List <object>)); } }