Navigation
API > API/Runtime > API/Runtime/IrisCore
Description
Deserializes what was serialized using SerializeSameValue.
| Name | UE::Net::DeserializeSameValue |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/Serialization/BitPacking.h |
| Include Path | #include "Iris/Serialization/BitPacking.h" |
namespace UE
{
namespace Net
{
template<typename T>
bool UE::Net::DeserializeSameValue
(
FNetBitStreamReader & Reader,
T & OutValue,
const T OtherValue
)
}
}
true if OutValue was set to OtherValue, false if not.
Parameters
| Name | Remarks |
|---|---|
| Reader | The bitstream to read from. |
| OutValue | Will be set to OtherValue if the read bit was 1, unset otherwise. |
| OtherValue | The value to set to OutValue if the read bit was 1. |
See Also
- SerializeSameValue