| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: Fish
|
| | | // [ Date ]: 2024年5月10日
|
| | | // [ Date ]: 2024年5月14日
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public readonly int CTGID;
|
| | | public readonly float UsdMoney;
|
| | | public readonly string StoreOrderInfo;
|
| | | public readonly string StoreOrderInfo2;
|
| | |
|
| | | public OrderInfoConfig()
|
| | | {
|
| | |
| | | float.TryParse(tables[5],out UsdMoney);
|
| | |
|
| | | StoreOrderInfo = tables[6];
|
| | |
|
| | | StoreOrderInfo2 = tables[7];
|
| | | }
|
| | | catch (Exception ex)
|
| | | {
|
| | |
| | | }
|
| | | }
|
| | | money = orderInfo.UsdMoney;
|
| | | #if !(UNITY_IOS || UNITY_IPHONE)
|
| | | string storeOrderInfo = orderInfo.StoreOrderInfo;
|
| | | #else
|
| | | string storeOrderInfo = orderInfo.StoreOrderInfo2;
|
| | | #endif
|
| | |
|
| | | #if UNITY_EDITOR
|
| | | Debug.LogFormat("充值: {0}-{1}-{2} - {3}", title, money, cpInfo, storeOrderInfo);
|
| | | return;
|
| | |
| | | SendMessageToSDK(m_Json);
|
| | | }
|
| | |
|
| | | #endregion
|
| | | #endregion
|
| | |
|
| | | #region 插件相关
|
| | |
|