설명 없음
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UDPReflectionConsts.cs 2.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. namespace UnityEngine.Purchasing
  2. {
  3. internal struct UDPReflectionConsts
  4. {
  5. //Assemblies
  6. const string k_UdpEngineNamespace = "UnityEngine.UDP";
  7. //Types;
  8. internal const string k_AppStoreSettingsType = k_UdpEngineNamespace + ".AppStoreSettings";
  9. internal const string k_BuildConfigType = k_UdpEngineNamespace + ".BuildConfig";
  10. internal const string k_InventoryType = k_UdpEngineNamespace + ".Inventory";
  11. internal const string k_ProductInfoType = k_UdpEngineNamespace + ".ProductInfo";
  12. internal const string k_StoreServiceType = k_UdpEngineNamespace + ".StoreService";
  13. internal const string k_UdpIapBridgeType = k_UdpEngineNamespace + ".UdpIapBridge";
  14. internal const string k_UserInfoType = k_UdpEngineNamespace + ".UserInfo";
  15. //AppStoreSettings Fields
  16. internal const string k_AppStoreSettingsClientIDField = "UnityClientID";
  17. internal const string k_AppStoreSettingsAppSlugField = "AppSlug";
  18. internal const string k_AppStoreSettingsAssetPathField = "appStoreSettingsAssetPath";
  19. //BuildConfig Fields
  20. internal const string k_BuildConfigApiEndpointField = "API_ENDPOINT";
  21. internal const string k_BuildConfigIdEndpointField = "ID_ENDPOINT";
  22. internal const string k_BuildConfigUdpEndpointField = "UDP_ENDPOINT";
  23. internal const string k_BuildConfigVersionField = "VERSION";
  24. //Inventory Methods
  25. internal const string k_InventoryGetProductListMethod = "GetProductList";
  26. internal const string k_InventoryGetPurchaseInfoMethod = "GetPurchaseInfo";
  27. internal const string k_InventoryHasPurchaseMethod = "HasPurchase";
  28. //ProductInfo Properties
  29. internal const string k_ProductInfoCurrencyProp = "Currency";
  30. internal const string k_ProductInfoDescProp = "Description";
  31. internal const string k_ProductInfoPriceProp = "Price";
  32. internal const string k_ProductnfoPriceAmountMicrosProp = "PriceAmountMicros";
  33. internal const string k_ProductInfoIdProp = "ProductId";
  34. internal const string k_ProductInfoTitleProp = "Title";
  35. //StoreService
  36. internal const string k_StoreServiceNameProp = "StoreName";
  37. internal const string k_StoreServiceEnableDebugLoggingMethod = "EnableDebugLogging";
  38. //UdpIapBridge Methods
  39. internal const string k_UdpIapBridgeInitMethod = "Initialize";
  40. internal const string k_UdpIapBridgePurchaseMethod = "Purchase";
  41. internal const string k_UdpIapBridgeRetrieveProductsMethod = "RetrieveProducts";
  42. internal const string k_UdpIapBridgeFinishTransactionMethod = "FinishTransaction";
  43. //UserInfo Properties
  44. internal const string k_UserInfoChannelProp = "Channel";
  45. internal const string k_UserInfoIdProp = "UserId";
  46. internal const string k_UserInfoLoginTokenProp = "UserLoginToken";
  47. }
  48. }