Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerMuteList.h |
| Include | #include "GameFramework/PlayerMuteList.h" |
Syntax
struct FPlayerMuteList
Remarks
Container responsible for managing the mute state of a player controller at the gameplay level (VoiceInterface handles actual muting)
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHasVoiceHandshakeCompleted | Has server and client handshake completed | |
| int32 | VoiceChannelIdx | ||
| TUniqueNetIdMap< EVoiceBlockReasons > | VoicePacketFilterMap | Map of player ids and a bitfield containing filter reasons. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddVoiceBlockReason
(
const FUniqueNetIdPtr& PlayerId, |
Add a filter reason for an id to this player's mutelist | |
| void | GameplayMutePlayer
(
APlayerController* OwningPC, |
Server muting based on gameplay rules | |
| void | GameplayUnmuteAllPlayers
(
APlayerController* OwningPC |
Server unmuting all players muted based on gameplay rules | |
| void | GameplayUnmutePlayer
(
APlayerController* OwningPC, |
Server unmuting based on gameplay rules | |
| bool | IsPlayerMuted
(
const FUniqueNetId& PlayerId |
Is a given player currently muted | |
| bool | RemoveVoiceBlockReason
(
const FUniqueNetIdPtr& PlayerId, |
Remove a filter reason for an id from this player's mutelist | |
| void | ServerBlockPlayer
(
APlayerController* OwningPC, |
Tell the server to block a given player | |
| void | ServerMutePlayer
(
APlayerController* OwningPC, |
Tell the server to mute a given player | |
| void | ServerUnblockPlayer
(
APlayerController* OwningPC, |
Tell the server to unblock a given player | |
| void | ServerUnmutePlayer
(
APlayerController* OwningPC, |
Tell the server to unmute a given player |