| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using UnityEngine;
- using System.Collections;
- using System.Runtime.InteropServices;
- //using Newtonsoft.Json;
- #if UNITY_IOS
- using System.Collections.Generic;
- public enum QKSDKInitState
- {
- None,
- Initing,
- Success,
- Fail,
- }
- public class ProductInfo
- {
- public string ID;
- public string Name;
- }
- public class QKGame {
- public static QKSDKInitState InitState = QKSDKInitState.None;
- public Dictionary<string, ProductInfo> ProductInfos = new Dictionary<string, ProductInfo>()
- {
- { "0.99",new ProductInfo(){ ID = "intention0.99",Name = "0.99禮包"} },
- { "1.99",new ProductInfo(){ ID = "intention1.99",Name = "1.99禮包"} },
- { "2.99",new ProductInfo(){ ID = "intention2.99",Name = "2.99禮包"} },
- { "4.99",new ProductInfo(){ ID = "intention4.99",Name = "4.99禮包"} },
- { "9.99",new ProductInfo(){ ID = "intention9.99",Name = "9.99禮包"} },
- { "14.99",new ProductInfo(){ ID = "intention14.99",Name = "14.99禮包"} },
- { "19.99",new ProductInfo(){ ID = "intention19.99",Name = "19.99禮包"} },
- { "49.99",new ProductInfo(){ ID = "intention49.99",Name = "49.99禮包"} },
- { "99.99",new ProductInfo(){ ID = "intention99.99",Name = "99.99禮包"} },
- };
- }
- #endif
|