![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VoiceDataCommon.h>
Public Member Functions | |
| FVoicePacket () | |
| virtual | ~FVoicePacket () |
| FVoicePacket (const FVoicePacket &Other) | |
| virtual uint16 | GetTotalPacketSize ()=0 |
| virtual uint16 | GetBufferSize ()=0 |
| virtual FUniqueNetIdPtr | GetSender ()=0 |
| virtual bool | IsReliable ()=0 |
| virtual void | Serialize (class FArchive &Ar)=0 |
| virtual uint64 | GetSampleCounter () const |
Defines the data involved in a voice packet
|
inline |
Zeros members and validates the assumptions
|
inlinevirtual |
Should only be used by TSharedPtr and FVoiceData
|
inline |
Copies another packet and inits the ref count
| Other | packet to copy |
| InRefCount | the starting ref count to use |
Return the index of the first sample of this packet in the audio stream.
|
pure virtual |
Serialize the voice packet data to a buffer
| Ar | buffer to write into |