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