Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/DataStream
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataStream
- UDataStreamManager
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/DataStream/DataStream.h |
| Include | #include "Iris/DataStream/DataStream.h" |
Syntax
class UDataStream : public UObject
Remarks
DataStream is an interface that facilitates implementing the replication of custom data, such as bulky data or data with special delivery guarantees.
Destructors
| Type | Name | Description | |
|---|---|---|---|
~UDataStream () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| EWriteResult | BeginWrite () |
Called before any calls to potential WriteData, if it returns EWriteData::NoData no other calls will be made. | |
| void | EndWrite () |
Called after the final call to WriteData this frame, allowing the DataStream to cleanup data setup during BeginWrite. | |
| void | ProcessPacketDeliveryStatus
(
UE::Net::EPacketDeliveryStatus Status, |
For each packet into which we have written data we are guaranteed to get a call to ProcessPacketDeliveryStatus when it's known whether the packet was delivered or not. | |
| void | ReadData
(
UE::Net::FNetSerializationContext& Context |
Deserialize data that was written with WriteData. | |
| EWriteResult | WriteData
(
UE::Net::FNetSerializationContext& Context, |
Serialize data to a bitstream and optionally store record of what was serialized to a custom FDataStreamRecord. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EWriteResult |