public void GameplayTagContainerTest(byte[] rawData, int bitCount) { var reader = new NetBitReader(rawData, bitCount); var tagcontainer = new FGameplayTagContainer(); tagcontainer.Serialize(reader); Assert.True(reader.AtEnd()); Assert.False(reader.IsError); }
public object GetValue() { return(Value switch { UObject uObject => uObject.GetJsonDict(), FAssetData fAssetData => fAssetData.GetValue(), FAssetDataTagMapSharedView fAssetDataTagMapSharedView => fAssetDataTagMapSharedView.Map, FAssetIdentifier fAssetIdentifier => fAssetIdentifier.GetValue(), FAssetPackageData fAssetPackageData => fAssetPackageData.GetValue(), FGameplayTagContainer fGameplayTagContainer => fGameplayTagContainer.GetValue(), FSoftObjectPath fSoftObjectPath => fSoftObjectPath.GetValue(), FGuid fGuid => fGuid.Hex, _ => Value });