Defines the data involved in a voice packet 更多...
#include <VoiceDataCommon.h>
Public 成员函数 | |
| FVoicePacket () | |
| Zeros members and validates the assumptions | |
| FVoicePacket (const FVoicePacket &Other) | |
| Copies another packet and inits the ref count 更多... | |
| virtual uint16 | GetBufferSize ()=0 |
| virtual uint64 | GetSampleCounter () const |
| Return the index of the first sample of this packet in the audio stream. | |
| virtual TSharedPtr< const FUniqueNetId > | GetSender ()=0 |
| virtual uint16 | GetTotalPacketSize ()=0 |
| virtual bool | IsReliable ()=0 |
| virtual void | Serialize (class FArchive &Ar)=0 |
| Serialize the voice packet data to a buffer 更多... | |
| virtual | ~FVoicePacket () |
| Should only be used by TSharedPtr and FVoiceData | |
Defines the data involved in a voice packet
|
inline |
Copies another packet and inits the ref count
| Other | packet to copy |
| InRefCount | the starting ref count to use |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Serialize the voice packet data to a buffer
| Ar | buffer to write into |