Container responsible for managing the mute state of a player controller at the gameplay level (VoiceInterface handles actual muting) 更多...
#include <PlayerMuteList.h>
Public 成员函数 | |
| void | ClientMutePlayer (class APlayerController *OwningPC, const FUniqueNetIdRepl &MuteId) |
| Tell the client to mute a given player 更多... | |
| void | ClientUnmutePlayer (class APlayerController *OwningPC, const FUniqueNetIdRepl &UnmuteId) |
| Tell the client to unmute a given player 更多... | |
| void | GameplayMutePlayer (class APlayerController *OwningPC, const FUniqueNetIdRepl &MuteId) |
| Server muting based on gameplay rules 更多... | |
| void | GameplayUnmutePlayer (class APlayerController *OwningPC, const FUniqueNetIdRepl &UnmuteId) |
| Server unmuting based on gameplay rules 更多... | |
| bool | IsPlayerMuted (const class FUniqueNetId &PlayerId) |
| Is a given player currently muted 更多... | |
| void | ServerMutePlayer (class APlayerController *OwningPC, const FUniqueNetIdRepl &MuteId) |
| Tell the server to mute a given player 更多... | |
| void | ServerUnmutePlayer (class APlayerController *OwningPC, const FUniqueNetIdRepl &UnmuteId) |
| Tell the server to unmute a given player 更多... | |
Public 属性 | |
| bool | bHasVoiceHandshakeCompleted |
| Has server and client handshake completed | |
| TArray< TSharedRef< const FUniqueNetId > > | GameplayVoiceMuteList |
| List of player id's muted for gameplay reasons (teams, spectators, etc) | |
| TArray< TSharedRef< const FUniqueNetId > > | VoiceMuteList |
| List of player id's muted explicitly by the player | |
| TArray< TSharedRef< const FUniqueNetId > > | VoicePacketFilter |
| Combined list of the above for efficient processing of voice packets | |
Container responsible for managing the mute state of a player controller at the gameplay level (VoiceInterface handles actual muting)
| void FPlayerMuteList::ClientMutePlayer | ( | class APlayerController * | OwningPC, |
| const FUniqueNetIdRepl & | MuteId | ||
| ) |
Tell the client to mute a given player
| OwningPC | player controller that would like to mute another player |
| MuteId | player id that should be muted |
| void FPlayerMuteList::ClientUnmutePlayer | ( | class APlayerController * | OwningPC, |
| const FUniqueNetIdRepl & | UnmuteId | ||
| ) |
Tell the client to unmute a given player
| OwningPC | player controller that would like to unmute another player |
| UnmuteId | player id that should be unmuted |
| void FPlayerMuteList::GameplayMutePlayer | ( | class APlayerController * | OwningPC, |
| const FUniqueNetIdRepl & | MuteId | ||
| ) |
Server muting based on gameplay rules
| OwningPC | player controller that would like to mute another player |
| MuteId | player id that should be muted |
| void FPlayerMuteList::GameplayUnmutePlayer | ( | class APlayerController * | OwningPC, |
| const FUniqueNetIdRepl & | UnmuteId | ||
| ) |
Server unmuting based on gameplay rules
| OwningPC | player controller that would like to unmute another player |
| UnmuteId | player id that should be unmuted |
| bool FPlayerMuteList::IsPlayerMuted | ( | const class FUniqueNetId & | PlayerId | ) |
Is a given player currently muted
| PlayerId | player to query mute state |
| void FPlayerMuteList::ServerMutePlayer | ( | class APlayerController * | OwningPC, |
| const FUniqueNetIdRepl & | MuteId | ||
| ) |
Tell the server to mute a given player
| OwningPC | player controller that would like to mute another player |
| MuteId | player id that should be muted |
| void FPlayerMuteList::ServerUnmutePlayer | ( | class APlayerController * | OwningPC, |
| const FUniqueNetIdRepl & | UnmuteId | ||
| ) |
Tell the server to unmute a given player
| OwningPC | player controller that would like to unmute another player |
| UnmuteId | player id that should be unmuted |