Navigation
API > API/Runtime > API/Runtime/Engine
Defines the data involved in a voice packet
| Name | FVoicePacket |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Net/VoiceDataCommon.h |
| Include Path | #include "Net/VoiceDataCommon.h" |
Syntax
class FVoicePacket
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVoicePacket () |
Zeros members and validates the assumptions | Net/VoiceDataCommon.h | |
FVoicePacket
(
const FVoicePacket& Other |
Copies another packet and inits the ref count | Net/VoiceDataCommon.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FVoicePacket() |
Should only be used by TSharedPtr and FVoiceData | Net/VoiceDataCommon.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint16 GetBufferSize() |
Net/VoiceDataCommon.h | ||
virtual uint64 GetSampleCounter() |
Return the index of the first sample of this packet in the audio stream. | Net/VoiceDataCommon.h | |
FUniqueNetIdPtr GetSender() |
Net/VoiceDataCommon.h | ||
uint16 GetTotalPacketSize() |
Net/VoiceDataCommon.h | ||
bool IsReliable() |
Net/VoiceDataCommon.h | ||
void Serialize
(
FArchive& Ar |
Serialize the voice packet data to a buffer | Net/VoiceDataCommon.h |