12345678910111213141516171819202122232425 |
- using ET;
- namespace GFGGame
- {
- public class IOSRechargeSProxy
- {
- public static async ETTask IosVerifyOrder(string OrderId, string TransactionId)
- {
- S2C_IosVerifyOrder response = (S2C_IosVerifyOrder)await MessageHelper.SendToServer(new C2S_IosVerifyOrder()
- {
- OrderId = OrderId,
- TransactionId = TransactionId,
- EnvironmentType = GameConfig.tsServer > 0?0:1
- });
- if(response != null)
- {
- if(response.Error == ErrorCode.ERR_Success)
- {
- IAPManager.Instance.OnServerSuccess(response.OrderId, response.TransactionId);
- }
- }
- }
- }
- }
|