MyBlueprintFunctionLibrary.h 989 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2. #pragma once
  3. #include "CoreMinimal.h"
  4. #include "Kismet/BlueprintFunctionLibrary.h"
  5. #include "MyBlueprintFunctionLibrary.generated.h"
  6. /**
  7. *
  8. */
  9. UCLASS()
  10. class LOCALIZATIONMODULE_API UMyBlueprintFunctionLibrary : public UBlueprintFunctionLibrary
  11. {
  12. GENERATED_BODY()
  13. public:
  14. UFUNCTION(BlueprintCallable, Category = "MyUtilities")
  15. static void AdjustViewportSize(float OriginX, float OriginY, float SizeX, float SizeY);
  16. UFUNCTION(BlueprintCallable, Category="MyUtilities")
  17. static FColor HexToColor(FString HexString);
  18. UFUNCTION(BlueprintCallable, Category = "MyLibrary")
  19. static TArray<FString> GetCode(const FString& Condition);
  20. UFUNCTION(BlueprintCallable, Category = "MyLibrary")
  21. static FString ReplaceBoolean(const FString& Condition);
  22. UFUNCTION(BlueprintCallable, Category = "MyLibrary")
  23. static bool Solver(const TArray<FString>& ProductCodeList, const FString& Condition);
  24. };