engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FVoicePacket类 参考abstract

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

构造及析构函数说明

◆ FVoicePacket()

FVoicePacket::FVoicePacket ( const FVoicePacket &  Other)
inline

Copies another packet and inits the ref count

参数
Otherpacket to copy
InRefCountthe starting ref count to use

成员函数说明

◆ GetBufferSize()

virtual uint16 FVoicePacket::GetBufferSize ( )
pure virtual
返回
the amount of space used by the internal voice buffer

◆ GetSender()

virtual TSharedPtr< const FUniqueNetId > FVoicePacket::GetSender ( )
pure virtual
返回
the sender of this voice packet

◆ GetTotalPacketSize()

virtual uint16 FVoicePacket::GetTotalPacketSize ( )
pure virtual
返回
the amount of space this packet will consume in a buffer

◆ IsReliable()

virtual bool FVoicePacket::IsReliable ( )
pure virtual
返回
true if this packet should be sent reliably

◆ Serialize()

virtual void FVoicePacket::Serialize ( class FArchive &  Ar)
pure virtual

Serialize the voice packet data to a buffer

参数
Arbuffer to write into

该类的文档由以下文件生成: