API/Autodoc/Files/JavaMethodSignature.h.en.md
Namespaces
| Name |
|---|
Classes
| Name | |
|---|---|
| class | RuStoreSDK::JavaMethodSignature |
Source code
// Copyright Epic Games, Inc. All Rights Reserved.
#include "IAndroidClasses.h"
namespace RuStoreSDK
{
class RUSTORECORE_API JavaMethodSignature
{
public:
template <typename T>
static FString getName(T)
{
return TEXT("");
}
template <typename T>
static FString getName(T* obj)
{
return FString::Printf(TEXT("L%s;"), *(((IAndroidClasses*)obj)->GetName()));
}
static FString getName(void);
static FString getName(bool);
static FString getName(unsigned char);
static FString getName(char);
static FString getName(short);
static FString getName(int);
static FString getName(long);
static FString getName(float);
static FString getName(double);
static FString getName(FString&);
static FString getName(TArray<FString>&);
static FString getName(TArray<uint8>&);
static FString getName(TArray<uint8>*);
template <typename... Args>
static FString Constuct(Args... args)
{
FString body = "";
for (const auto& arg : TArray<FString>{ args... })
{
body += arg;
}
return FString::Printf(TEXT("(%s)"), *body);
}
template <typename... Args>
static FString MakeVoid(Args... args)
{
return Constuct(getName(args)...) + "V";
}
template <typename... Args>
static FString MakeBool(Args... args)
{
return Constuct(getName(args)...) + "Z";
}
template <typename... Args>
static FString MakeByte(Args... args)
{
return Constuct(getName(args)...) + "B";
}
template <typename... Args>
static FString MakeInt(Args... args)
{
return Constuct(getName(args)...) + "I";
}
template <typename... Args>
static FString MakeLong(Args... args)
{
return Constuct(getName(args)...) + "J";
}
template <typename... Args>
static FString MakeFloat(Args... args)
{
return Constuct(getName(args)...) + "F";
}
template <typename... Args>
static FString MakeDouble(Args... args)
{
return Constuct(getName(args)...) + "D";
}
template <typename... Args>
static FString MakeFString(Args... args)
{
return Constuct(getName(args)...) + "Ljava/lang/String;";
}
template <typename... Args>
static FString MakeAJClass(Args... args)
{
return Constuct(getName(args)...) + "Ljava/lang/Class;";
}
template <typename... Args>
static FString MakeAJObject(Args... args)
{
return Constuct(getName(args)...) + "Ljava/lang/Object;";
}
template <typename... Args>
static FString MakeSpecificAJObject(FString signature, Args... args)
{
return Constuct(getName(args)...) + signature;
}
template <typename... Args>
static FString MakeByteArray(Args... args)
{
return Constuct(getName(args)...) + "[B";
}
};
}
- Страницы
- AndroidJavaClass.cpp.en
- AndroidJavaClass.cpp
- AndroidJavaClass.h.en
- AndroidJavaClass.h
- AndroidJavaLog.cpp.en
- AndroidJavaLog.cpp
- AndroidJavaLog.h.en
- AndroidJavaLog.h
- AndroidJavaObject.cpp.en
- AndroidJavaObject.cpp
- AndroidJavaObject.h.en
- AndroidJavaObject.h
- AsyncNodes.en
- AsyncNodes
- AsyncNodes_Files.en
- AsyncNodes_Files
- CallbackHandler.cpp.en
- CallbackHandler.cpp
- CallbackHandler.h.en
- CallbackHandler.h
- ConfirmPurchaseResponseListenerImpl.cpp.en
- ConfirmPurchaseResponseListenerImpl.cpp
- ConfirmPurchaseResponseListenerImpl.h.en
- ConfirmPurchaseResponseListenerImpl.h
- DataConverter.cpp.en
- DataConverter.cpp
- DataConverter.h.en
- DataConverter.h
- DeletePurchaseResponseListenerImpl.cpp.en
- DeletePurchaseResponseListenerImpl.cpp
- DeletePurchaseResponseListenerImpl.h.en
- DeletePurchaseResponseListenerImpl.h
- EURuStoreProductStatus.h.en
- EURuStoreProductStatus.h
- EURuStoreProductType.h.en
- EURuStoreProductType.h
- EURuStorePurchaseState.h.en
- EURuStorePurchaseState.h
- EURuStoreTheme.h.en
- EURuStoreTheme.h
- ErrorConverter.cpp.en
- ErrorConverter.cpp
- ErrorConverter.h.en
- ErrorConverter.h
- ErrorListener.cpp.en
- ErrorListener.cpp
- ErrorListener.h.en
- ErrorListener.h
- FURuStoreBillingClientConfig.h.en
- FURuStoreBillingClientConfig.h
- FURuStoreCancelled.h.en
- FURuStoreCancelled.h
- FURuStoreError.h.en
- FURuStoreError.h
- FURuStoreFailure.h.en
- FURuStoreFailure.h
- FURuStoreFeatureAvailabilityResult.h.en
- FURuStoreFeatureAvailabilityResult.h
- FURuStoreInvalidPaymentState.h.en
- FURuStoreInvalidPaymentState.h
- FURuStorePaymentResult.h.en
- FURuStorePaymentResult.h
- FURuStoreProduct.h.en
- FURuStoreProduct.h
- FURuStoreProductSubscription.h.en
- FURuStoreProductSubscription.h
- FURuStoreProductsResponse.h.en
- FURuStoreProductsResponse.h
- FURuStorePurchase.h.en
- FURuStorePurchase.h
- FURuStorePurchaseAvailabilityResult.h.en
- FURuStorePurchaseAvailabilityResult.h
- FURuStorePurchasesResponse.h.en
- FURuStorePurchasesResponse.h
- FURuStoreSubscriptionPeriod.h.en
- FURuStoreSubscriptionPeriod.h
- FURuStoreSuccess.h.en
- FURuStoreSuccess.h
- FURuStoreUserAuthorizationStatus.h.en
- FURuStoreUserAuthorizationStatus.h
- FeatureAvailabilityListenerImpl.cpp.en
- FeatureAvailabilityListenerImpl.cpp
- FeatureAvailabilityListenerImpl.h.en
- FeatureAvailabilityListenerImpl.h
- IAndroidClasses.h.en
- IAndroidClasses.h
- IRuStoreListener.java.en
- IRuStoreListener.java
- Java.en
- Java
- JavaActivity.cpp.en
- JavaActivity.cpp
- JavaActivity.h.en
- JavaActivity.h
- JavaApplication.cpp.en
- JavaApplication.cpp
- JavaApplication.h.en
- JavaApplication.h
- JavaMethodSignature.cpp.en
- JavaMethodSignature.cpp
- JavaMethodSignature.h.en
- JavaMethodSignature.h
- JavaTypeConverter.cpp.en
- JavaTypeConverter.cpp
- JavaTypeConverter.h.en
- JavaTypeConverter.h
- Java_Files.en
- Java_Files
- PaymentResultListenerImpl.cpp.en
- PaymentResultListenerImpl.cpp
- PaymentResultListenerImpl.h.en
- PaymentResultListenerImpl.h
- Plugins.en
- Plugins
- Private.en
- Private
- Private_Files.en
- Private_Files
- ProductsResponseListenerImpl.cpp.en
- ProductsResponseListenerImpl.cpp
- ProductsResponseListenerImpl.h.en
- ProductsResponseListenerImpl.h
- Public.en
- Public
- Public_Files.en
- Public_Files
- PurchaseAvailabilityListenerImpl.cpp.en
- PurchaseAvailabilityListenerImpl.cpp
- PurchaseAvailabilityListenerImpl.h.en
- PurchaseAvailabilityListenerImpl.h
- PurchaseInfoResponseListenerImpl.cpp.en
- PurchaseInfoResponseListenerImpl.cpp
- PurchaseInfoResponseListenerImpl.h.en
- PurchaseInfoResponseListenerImpl.h
- PurchasesResponseListenerImpl.cpp.en
- PurchasesResponseListenerImpl.cpp
- PurchasesResponseListenerImpl.h.en
- PurchasesResponseListenerImpl.h
- ResponseListener.h.en
- ResponseListener.h
- RuStoreBilling.Build.cs.en
- RuStoreBilling.Build.cs
- RuStoreBilling.cpp.en
- RuStoreBilling.cpp
- RuStoreBilling.h.en
- RuStoreBilling.h
- RuStoreBillingIntentFilterActivity.java.en
- RuStoreBillingIntentFilterActivity.java
- RuStoreBilling_Files.en
- RuStoreBilling_Files
- RuStoreCore.Build.cs.en
- RuStoreCore.Build.cs
- RuStoreCore.cpp.en
- RuStoreCore.cpp
- RuStoreCore.h.en
- RuStoreCore.h
- RuStoreCoreUtils.java.en
- RuStoreCoreUtils.java
- RuStoreCore_Files.en
- RuStoreCore_Files
- RuStoreImage.java.en
- RuStoreImage.java
- RuStoreListener.cpp.en
- RuStoreListener.cpp
- RuStoreListener.h.en
- RuStoreListener.h
- SimpleResponseListener.cpp.en
- SimpleResponseListener.cpp
- SimpleResponseListener.h.en
- SimpleResponseListener.h
- SimpleResponseListenerT.h.en
- SimpleResponseListenerT.h
- Source.en
- Source
- Source_Files.en
- Source_Files
- UCheckPurchasesAvailabilityNode.cpp.en
- UCheckPurchasesAvailabilityNode.cpp
- UCheckPurchasesAvailabilityNode.h.en
- UCheckPurchasesAvailabilityNode.h
- UConfirmPurchaseNode.cpp.en
- UConfirmPurchaseNode.cpp
- UConfirmPurchaseNode.h.en
- UConfirmPurchaseNode.h
- UDeletePurchaseNode.cpp.en
- UDeletePurchaseNode.cpp
- UDeletePurchaseNode.h.en
- UDeletePurchaseNode.h
- UGetAuthorizationStatusNode.cpp.en
- UGetAuthorizationStatusNode.cpp
- UGetAuthorizationStatusNode.h.en
- UGetAuthorizationStatusNode.h
- UGetProductsNode.h.en
- UGetProductsNode.h
- UGetProductstNode.cpp.en
- UGetProductstNode.cpp
- UGetPurchaseInfoNode.cpp.en
- UGetPurchaseInfoNode.cpp
- UGetPurchaseInfoNode.h.en
- UGetPurchaseInfoNode.h
- UGetPurchasesNode.cpp.en
- UGetPurchasesNode.cpp
- UGetPurchasesNode.h.en
- UGetPurchasesNode.h
- UPurchaseProductNode.cpp.en
- UPurchaseProductNode.cpp
- UPurchaseProductNode.h.en
- UPurchaseProductNode.h
- URuStoreBillingClient.cpp.en
- URuStoreBillingClient.cpp
- URuStoreBillingClient.h.en
- URuStoreBillingClient.h
- URuStoreCancelled.h.en
- URuStoreCancelled.h
- URuStoreCore.cpp.en
- URuStoreCore.cpp
- URuStoreCore.h.en
- URuStoreCore.h
- URuStoreFailure.h.en
- URuStoreFailure.h
- URuStoreInvalidPaymentState.h.en
- URuStoreInvalidPaymentState.h
- URuStorePaymentResultClass.h.en
- URuStorePaymentResultClass.h
- URuStoreSuccess.h.en
- URuStoreSuccess.h
- UTextureDownloader.cpp.en
- UTextureDownloader.cpp
- UTextureDownloader.h.en
- UTextureDownloader.h
- UnrealPlayerImpl.cpp.en
- UnrealPlayerImpl.cpp
- UnrealPlayerImpl.h.en
- UnrealPlayerImpl.h
- UnrealPlayerWrapper.java.en
- UnrealPlayerWrapper.java
- UserAuthorizationStatusListenerImpl.cpp.en
- UserAuthorizationStatusListenerImpl.cpp
- UserAuthorizationStatusListenerImpl.h.en
- UserAuthorizationStatusListenerImpl.h
- docs.en
- docs
- unreal_example.en
- unreal_example
- AndroidJavaClass.cpp.en
- AndroidJavaClass.cpp
- AndroidJavaClass.h.en
- AndroidJavaClass.h
- AndroidJavaLog.cpp.en
- AndroidJavaLog.cpp
- AndroidJavaLog.h.en
- AndroidJavaLog.h
- AndroidJavaObject.cpp.en
- AndroidJavaObject.cpp
- AndroidJavaObject.h.en
- AndroidJavaObject.h
- AsyncNodes.en
- AsyncNodes
- AsyncNodes_Files.en
- AsyncNodes_Files
- CallbackHandler.cpp.en
- CallbackHandler.cpp
- CallbackHandler.h.en
- CallbackHandler.h
- ConfirmPurchaseResponseListenerImpl.cpp.en
- ConfirmPurchaseResponseListenerImpl.cpp
- ConfirmPurchaseResponseListenerImpl.h.en
- ConfirmPurchaseResponseListenerImpl.h
- DataConverter.cpp.en
- DataConverter.cpp
- DataConverter.h.en
- DataConverter.h
- DeletePurchaseResponseListenerImpl.cpp.en
- DeletePurchaseResponseListenerImpl.cpp
- DeletePurchaseResponseListenerImpl.h.en
- DeletePurchaseResponseListenerImpl.h
- EURuStoreProductStatus.h.en
- EURuStoreProductStatus.h
- EURuStoreProductType.h.en
- EURuStoreProductType.h
- EURuStorePurchaseState.h.en
- EURuStorePurchaseState.h
- EURuStoreTheme.h.en
- EURuStoreTheme.h
- ErrorConverter.cpp.en
- ErrorConverter.cpp
- ErrorConverter.h.en
- ErrorConverter.h
- ErrorListener.cpp.en
- ErrorListener.cpp
- ErrorListener.h.en
- ErrorListener.h
- FURuStoreBillingClientConfig.h.en
- FURuStoreBillingClientConfig.h
- FURuStoreCancelled.h.en
- FURuStoreCancelled.h
- FURuStoreError.h.en
- FURuStoreError.h
- FURuStoreFailure.h.en
- FURuStoreFailure.h
- FURuStoreFeatureAvailabilityResult.h.en
- FURuStoreFeatureAvailabilityResult.h
- FURuStoreInvalidPaymentState.h.en
- FURuStoreInvalidPaymentState.h
- FURuStorePaymentResult.h.en
- FURuStorePaymentResult.h
- FURuStoreProduct.h.en
- FURuStoreProduct.h
- FURuStoreProductSubscription.h.en
- FURuStoreProductSubscription.h
- FURuStoreProductsResponse.h.en
- FURuStoreProductsResponse.h
- FURuStorePurchase.h.en
- FURuStorePurchase.h
- FURuStorePurchaseAvailabilityResult.h.en
- FURuStorePurchaseAvailabilityResult.h
- FURuStorePurchasesResponse.h.en
- FURuStorePurchasesResponse.h
- FURuStoreSubscriptionPeriod.h.en
- FURuStoreSubscriptionPeriod.h
- FURuStoreSuccess.h.en
- FURuStoreSuccess.h
- FURuStoreUserAuthorizationStatus.h.en
- FURuStoreUserAuthorizationStatus.h
- FeatureAvailabilityListenerImpl.cpp.en
- FeatureAvailabilityListenerImpl.cpp
- FeatureAvailabilityListenerImpl.h.en
- FeatureAvailabilityListenerImpl.h
- IAndroidClasses.h.en
- IAndroidClasses.h
- IRuStoreListener.java.en
- IRuStoreListener.java
- Java.en
- Java
- JavaActivity.cpp.en
- JavaActivity.cpp
- JavaActivity.h.en
- JavaActivity.h
- JavaApplication.cpp.en
- JavaApplication.cpp
- JavaApplication.h.en
- JavaApplication.h
- JavaMethodSignature.cpp.en
- JavaMethodSignature.cpp
- JavaMethodSignature.h.en
- JavaMethodSignature.h
- JavaTypeConverter.cpp.en
- JavaTypeConverter.cpp
- JavaTypeConverter.h.en
- JavaTypeConverter.h
- Java_Files.en
- Java_Files
- PaymentResultListenerImpl.cpp.en
- PaymentResultListenerImpl.cpp
- PaymentResultListenerImpl.h.en
- PaymentResultListenerImpl.h
- Plugins.en
- Plugins
- Private.en
- Private
- Private_Files.en
- Private_Files
- ProductsResponseListenerImpl.cpp.en
- ProductsResponseListenerImpl.cpp
- ProductsResponseListenerImpl.h.en
- ProductsResponseListenerImpl.h
- Public.en
- Public
- Public_Files.en
- Public_Files
- PurchaseAvailabilityListenerImpl.cpp.en
- PurchaseAvailabilityListenerImpl.cpp
- PurchaseAvailabilityListenerImpl.h.en
- PurchaseAvailabilityListenerImpl.h
- PurchaseInfoResponseListenerImpl.cpp.en
- PurchaseInfoResponseListenerImpl.cpp
- PurchaseInfoResponseListenerImpl.h.en
- PurchaseInfoResponseListenerImpl.h
- PurchasesResponseListenerImpl.cpp.en
- PurchasesResponseListenerImpl.cpp
- PurchasesResponseListenerImpl.h.en
- PurchasesResponseListenerImpl.h
- ResponseListener.h.en
- ResponseListener.h
- RuStoreBilling.Build.cs.en
- RuStoreBilling.Build.cs
- RuStoreBilling.cpp.en
- RuStoreBilling.cpp
- RuStoreBilling.h.en
- RuStoreBilling.h
- RuStoreBillingIntentFilterActivity.java.en
- RuStoreBillingIntentFilterActivity.java
- RuStoreBilling_Files.en
- RuStoreBilling_Files
- RuStoreCore.Build.cs.en
- RuStoreCore.Build.cs
- RuStoreCore.cpp.en
- RuStoreCore.cpp
- RuStoreCore.h.en
- RuStoreCore.h
- RuStoreCoreUtils.java.en
- RuStoreCoreUtils.java
- RuStoreCore_Files.en
- RuStoreCore_Files
- RuStoreImage.java.en
- RuStoreImage.java
- RuStoreListener.cpp.en
- RuStoreListener.cpp
- RuStoreListener.h.en
- RuStoreListener.h
- SimpleResponseListener.cpp.en
- SimpleResponseListener.cpp
- SimpleResponseListener.h.en
- SimpleResponseListener.h
- SimpleResponseListenerT.h.en
- SimpleResponseListenerT.h
- Source.en
- Source
- Source_Files.en
- Source_Files
- UCheckPurchasesAvailabilityNode.cpp.en
- UCheckPurchasesAvailabilityNode.cpp
- UCheckPurchasesAvailabilityNode.h.en
- UCheckPurchasesAvailabilityNode.h
- UConfirmPurchaseNode.cpp.en
- UConfirmPurchaseNode.cpp
- UConfirmPurchaseNode.h.en
- UConfirmPurchaseNode.h
- UDeletePurchaseNode.cpp.en
- UDeletePurchaseNode.cpp
- UDeletePurchaseNode.h.en
- UDeletePurchaseNode.h
- UGetAuthorizationStatusNode.cpp.en
- UGetAuthorizationStatusNode.cpp
- UGetAuthorizationStatusNode.h.en
- UGetAuthorizationStatusNode.h
- UGetProductsNode.h.en
- UGetProductsNode.h
- UGetProductstNode.cpp.en
- UGetProductstNode.cpp
- UGetPurchaseInfoNode.cpp.en
- UGetPurchaseInfoNode.cpp
- UGetPurchaseInfoNode.h.en
- UGetPurchaseInfoNode.h
- UGetPurchasesNode.cpp.en
- UGetPurchasesNode.cpp
- UGetPurchasesNode.h.en
- UGetPurchasesNode.h
- UPurchaseProductNode.cpp.en
- UPurchaseProductNode.cpp
- UPurchaseProductNode.h.en
- UPurchaseProductNode.h
- URuStoreBillingClient.cpp.en
- URuStoreBillingClient.cpp
- URuStoreBillingClient.h.en
- URuStoreBillingClient.h
- URuStoreCancelled.h.en
- URuStoreCancelled.h
- URuStoreCore.cpp.en
- URuStoreCore.cpp
- URuStoreCore.h.en
- URuStoreCore.h
- URuStoreFailure.h.en
- URuStoreFailure.h
- URuStoreInvalidPaymentState.h.en
- URuStoreInvalidPaymentState.h
- URuStorePaymentResultClass.h.en
- URuStorePaymentResultClass.h
- URuStoreSuccess.h.en
- URuStoreSuccess.h
- UTextureDownloader.cpp.en
- UTextureDownloader.cpp
- UTextureDownloader.h.en
- UTextureDownloader.h
- UnrealPlayerImpl.cpp.en
- UnrealPlayerImpl.cpp
- UnrealPlayerImpl.h.en
- UnrealPlayerImpl.h
- UnrealPlayerWrapper.java.en
- UnrealPlayerWrapper.java
- UserAuthorizationStatusListenerImpl.cpp.en
- UserAuthorizationStatusListenerImpl.cpp
- UserAuthorizationStatusListenerImpl.h.en
- UserAuthorizationStatusListenerImpl.h
- docs.en
- docs
- unreal_example.en
- unreal_example