engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FPlayerMuteList结构体 参考

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)

成员函数说明

◆ ClientMutePlayer()

void FPlayerMuteList::ClientMutePlayer ( class APlayerController *  OwningPC,
const FUniqueNetIdRepl &  MuteId 
)

Tell the client to mute a given player

参数
OwningPCplayer controller that would like to mute another player
MuteIdplayer id that should be muted

◆ ClientUnmutePlayer()

void FPlayerMuteList::ClientUnmutePlayer ( class APlayerController *  OwningPC,
const FUniqueNetIdRepl &  UnmuteId 
)

Tell the client to unmute a given player

参数
OwningPCplayer controller that would like to unmute another player
UnmuteIdplayer id that should be unmuted

◆ GameplayMutePlayer()

void FPlayerMuteList::GameplayMutePlayer ( class APlayerController *  OwningPC,
const FUniqueNetIdRepl &  MuteId 
)

Server muting based on gameplay rules

参数
OwningPCplayer controller that would like to mute another player
MuteIdplayer id that should be muted

◆ GameplayUnmutePlayer()

void FPlayerMuteList::GameplayUnmutePlayer ( class APlayerController *  OwningPC,
const FUniqueNetIdRepl &  UnmuteId 
)

Server unmuting based on gameplay rules

参数
OwningPCplayer controller that would like to unmute another player
UnmuteIdplayer id that should be unmuted

◆ IsPlayerMuted()

bool FPlayerMuteList::IsPlayerMuted ( const class FUniqueNetId &  PlayerId)

Is a given player currently muted

参数
PlayerIdplayer to query mute state
返回
true if the playerid is muted, false otherwise

◆ ServerMutePlayer()

void FPlayerMuteList::ServerMutePlayer ( class APlayerController *  OwningPC,
const FUniqueNetIdRepl &  MuteId 
)

Tell the server to mute a given player

参数
OwningPCplayer controller that would like to mute another player
MuteIdplayer id that should be muted

◆ ServerUnmutePlayer()

void FPlayerMuteList::ServerUnmutePlayer ( class APlayerController *  OwningPC,
const FUniqueNetIdRepl &  UnmuteId 
)

Tell the server to unmute a given player

参数
OwningPCplayer controller that would like to unmute another player
UnmuteIdplayer id that should be unmuted

该结构体的文档由以下文件生成: