123456789101112131415161718192021222324 |
- 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
- });
- if(response != null)
- {
- if(response.Error == ErrorCode.ERR_Success)
- {
- IAPManager.Instance.OnServerSuccess(response.OrderId, response.TransactionId);
- }
- }
- }
- }
- }
|