Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Net
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UVOIPTalker
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Net/VoiceConfig.h |
Include | #include "Net/VoiceConfig.h" |
Syntax
class UVOIPTalker : public UActorComponent
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FVoiceSettings | Settings | Configurable settings for this player's voice. When set, this will update the next time the player speaks. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UVOIPTalker
(
const FObjectInitializer& ObjectInitializer |
Constructor and destructor. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
~UVOIPTalker () |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | BPOnTalkingBegin
(
UAudioComponent* AudioComponent |
Blueprint native event for when this player starts speaking. |
![]() |
void | Blueprint native event for when this player stops speaking. | |
![]() ![]() |
UVOIPTalker * | CreateTalkerForPlayer
(
APlayerState* OwningState |
Function for creating and registering a UVOIPTalker. |
![]() |
float | Get the current level of how loud this player is speaking. | |
![]() |
void | OnAudioComponentEnvelopeValue
(
const UAudioComponent* InAudioComponent, |
This is used by the VoiceEngineImpl to notify this VOIPTalker what the voice audio component's current level is. |
![]() ![]() |
void | OnTalkingBegin
(
UAudioComponent* AudioComponent |
Override this function to implement custom functionality when this player begins talking. |
![]() ![]() |
void | OnTalkingEnd () |
Override this function to implement custom functionality when this player stops talking. |
![]() |
void | RegisterWithPlayerState
(
APlayerState* OwningState |
This function sets up this talker with a specific player. |
Overridden from UActorComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | OnComponentDestroyed
(
bool bDestroyingHierarchy |
Overridden to ensure that instances of UVOIPTalker unregister themselves from the static VoiceTalkerMap. |