12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- #pragma once
- #include "Wwise/CookedData/WwiseGroupValueCookedData.h"
- #include "WwiseSharedGroupValueKey.generated.h"
- USTRUCT(BlueprintType)
- struct WWISERESOURCELOADER_API FWwiseSharedGroupValueKey
- {
- GENERATED_BODY()
- TSharedRef<FWwiseGroupValueCookedData, ESPMode::ThreadSafe> GroupValueCookedData;
- FWwiseSharedGroupValueKey() :
- GroupValueCookedData(new FWwiseGroupValueCookedData)
- {}
- FWwiseSharedGroupValueKey(const FWwiseGroupValueCookedData& InGroupValueCookedData) :
- GroupValueCookedData(new FWwiseGroupValueCookedData(InGroupValueCookedData))
- {}
- bool operator==(const FWwiseSharedGroupValueKey& Rhs) const
- {
- return *GroupValueCookedData == *Rhs.GroupValueCookedData;
- }
- bool operator!=(const FWwiseSharedGroupValueKey& Rhs) const
- {
- return *GroupValueCookedData != *Rhs.GroupValueCookedData;
- }
- bool operator>=(const FWwiseSharedGroupValueKey& Rhs) const
- {
- return *GroupValueCookedData >= *Rhs.GroupValueCookedData;
- }
- bool operator>(const FWwiseSharedGroupValueKey& Rhs) const
- {
- return *GroupValueCookedData > *Rhs.GroupValueCookedData;
- }
- bool operator<=(const FWwiseSharedGroupValueKey& Rhs) const
- {
- return *GroupValueCookedData <= *Rhs.GroupValueCookedData;
- }
- bool operator<(const FWwiseSharedGroupValueKey& Rhs) const
- {
- return *GroupValueCookedData < *Rhs.GroupValueCookedData;
- }
- };
- inline uint32 GetTypeHash(const FWwiseSharedGroupValueKey& Id)
- {
- return GetTypeHash(*Id.GroupValueCookedData);
- }
|