add missing bp function USGLibraryKismetLibrary::GetBackendType & ESGBackendType::AndroidStrings enumerator
This commit is contained in:
@@ -21,6 +21,8 @@ This minor release introduces a major IPC overhaul, significant inter-process co
|
||||
- Added third-party module `SGFlatBuffersThirdPartyLibs`.
|
||||
- Added third-party module `SGNngThirdPartyLibs`.
|
||||
- Added `SGBuildHacks/SGInclude_Core_DeviceTypes`.
|
||||
- Added missing `ESGBackendType::AndroidStrings` enumerator.
|
||||
- Added missing SenseGlove API Blueprint function `USGLibraryKismetLibrary::GetBackendType()`.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@@ -47,6 +47,11 @@ FString USGLibraryKismetLibrary::GetBackendVersion()
|
||||
return FSGLibrary::GetBackendVersion();
|
||||
}
|
||||
|
||||
ESGBackendType USGLibraryKismetLibrary::GetBackendType()
|
||||
{
|
||||
return FSGLibrary::GetBackendType();
|
||||
}
|
||||
|
||||
FString USGLibraryKismetLibrary::GetSGConnectVersion()
|
||||
{
|
||||
return FSGLibrary::GetSGConnectVersion();
|
||||
|
||||
@@ -63,6 +63,12 @@ public:
|
||||
UFUNCTION(BlueprintCallable, Category="SenseGlove | Core | Library")
|
||||
static FString GetBackendVersion();
|
||||
|
||||
/**
|
||||
* Check what back-end connections are used for this version of SGConnect.
|
||||
*/
|
||||
UFUNCTION(BlueprintCallable, Category="SenseGlove | Core | Library")
|
||||
static ESGBackendType GetBackendType();
|
||||
|
||||
/**
|
||||
* If possible, check what version of SGConnect is paired with this API.
|
||||
*/
|
||||
|
||||
@@ -48,6 +48,9 @@ enum class ESGBackendType : uint8
|
||||
|
||||
/* Back-end info comes from shared memory on the device. */
|
||||
SharedMemory UMETA(DisplayName = "Shared Memory"),
|
||||
|
||||
/* Back-end data comes from an Android library. */
|
||||
AndroidStrings,
|
||||
};
|
||||
|
||||
/* Connection type of this device, as detected by the SGConnect library. */
|
||||
|
||||
Reference in New Issue
Block a user