fix the bluprint parse fucntion signature to accept OutGloveInfo by reference

This commit is contained in:
Mamadou Babaei
2024-02-08 07:47:52 +01:00
parent 1cf1a56611
commit 51ace68000
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
This is a bugfix release addressing mostly Blueprint API issues with ABI breaking changes inside the Blueprint layer, backported from the next major release of the plugin as documented below.
### Fixed
- Fix the Blueprint Parse function signature for the NovaGloveInfoKismetLibrary where the OutGloveInfo passed by the caller was never actually assigned as it was not getting passed by reference.
- Changelog formatting.
## [1.9.3] - 2024-02-03
@@ -54,7 +54,7 @@ USGNovaGloveInfo* USGNovaGloveInfoKismetLibrary::MakeNovaGloveInfo_DI_HV_FV_SFV_
}
bool USGNovaGloveInfoKismetLibrary::Parse(UObject* WorldContextObject,
const FString& ConstantsString, USGNovaGloveInfo* OutGloveInfo)
const FString& ConstantsString, USGNovaGloveInfo*& OutGloveInfo)
{
return USGNovaGloveInfo::Parse(WorldContextObject, ConstantsString, OutGloveInfo);
}
@@ -72,7 +72,7 @@ public:
*/
UFUNCTION(BlueprintCallable, Category="SenseGlove | Core | Nova | Nova Glove Info",
meta=(WorldContext="WorldContextObject"))
static bool Parse(UObject* WorldContextObject, const FString& ConstantsString, USGNovaGloveInfo* OutGloveInfo);
static bool Parse(UObject* WorldContextObject, const FString& ConstantsString, USGNovaGloveInfo*& OutGloveInfo);
/**
* Convert a string representation back into a NovaGloveInfo class.