fix the bluprint parse fucntion signature to accept OutGloveInfo by reference
This commit is contained in:
@@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [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
|
### 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.
|
- Changelog formatting.
|
||||||
|
|
||||||
## [1.9.3] - 2024-02-03
|
## [1.9.3] - 2024-02-03
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ USGNovaGloveInfo* USGNovaGloveInfoKismetLibrary::MakeNovaGloveInfo_DI_HV_FV_SFV_
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool USGNovaGloveInfoKismetLibrary::Parse(UObject* WorldContextObject,
|
bool USGNovaGloveInfoKismetLibrary::Parse(UObject* WorldContextObject,
|
||||||
const FString& ConstantsString, USGNovaGloveInfo* OutGloveInfo)
|
const FString& ConstantsString, USGNovaGloveInfo*& OutGloveInfo)
|
||||||
{
|
{
|
||||||
return USGNovaGloveInfo::Parse(WorldContextObject, ConstantsString, OutGloveInfo);
|
return USGNovaGloveInfo::Parse(WorldContextObject, ConstantsString, OutGloveInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
UFUNCTION(BlueprintCallable, Category="SenseGlove | Core | Nova | Nova Glove Info",
|
UFUNCTION(BlueprintCallable, Category="SenseGlove | Core | Nova | Nova Glove Info",
|
||||||
meta=(WorldContext="WorldContextObject"))
|
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.
|
* Convert a string representation back into a NovaGloveInfo class.
|
||||||
|
|||||||
Reference in New Issue
Block a user