private static void EventAdd() { NetworkVerificationImplement implement = new NetworkVerificationImplement(); PaymentVerificationManager.Init(implement); PaymentVerificationManager.onVerificationResultCallBack += OnVerificationResultCallBack; LoginGameController.OnUserLogin += OnUserLogin; GlobalEvent.AddTypeEvent <CheckPayLimitResultEvent>(OnCheckPayLimitResult); }
public static void Init(List <PayProductDefinition> productDefinitions) { //初始化支付凭据验证管理器 NetworkVerificationImplement implement = new NetworkVerificationImplement(); PaymentVerificationManager.Init(implement); PaymentVerificationManager.onVerificationResultCallBack += OnVerificationResultCallBack; LoginGameController.OnUserLogin += OnUserLogin; StorePayController.productDefinitions = productDefinitions; Debug.Log("支付商店初始化"); }
public static void Init(List <LocalizedGoodsInfo> productDefinitions) { Debug.Log("商店初始化:" + JsonUtils.ToJson(productDefinitions)); //初始化支付凭据验证管理器 NetworkVerificationImplement implement = new NetworkVerificationImplement(); PaymentVerificationManager.Init(implement); PaymentVerificationManager.onVerificationResultCallBack += OnVerificationResultCallBack; LoginGameController.OnUserLogin += OnUserLogin; StorePayController.productDefinitions = productDefinitions; Debug.Log("支付商店初始化"); }
public static void Init(List <LocalizedGoodsInfo> productDefinitions) { //初始化支付凭据验证管理器 NetworkVerificationImplement implement = new NetworkVerificationImplement(); PaymentVerificationManager.Init(implement); PaymentVerificationManager.onVerificationResultCallBack += OnVerificationResultCallBack; LoginGameController.OnUserLogin += OnUserLogin; StorePayController.productDefinitions = productDefinitions; Debug.Log("支付商店初始化"); LoginGameController.OnUserLogin += UserLogin; ApplicationManager.s_OnApplicationFocus += OnGameFocus; }