I'm a doctor, not a mechanic

UE2:PlayerChatManager (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> PlayerChatManager
Package: 
Engine
Direct subclass:
UnrealPlayerChatManager

Created on: 08/29/2003 PlayerChatManager serves as a proxy between GameInfo and PlayerController to intercept and alter player chat.

All types of chat (text, speech, voice) must go through PlayerChatManager in order to reach the client.

Written by Ron Prestenback © 2003, Epic Games, Inc. All Rights Reserved

TODO: Allow players to restrict speech based on type (taunt, order, etc.)

Properties[edit]

PlayerOwner[edit]

Type: PlayerController


Default values[edit]

Property Value
RemoteRole ROLE_SimulatedProxy

Functions[edit]

Events[edit]

AcceptVoice[edit]

event bool AcceptVoice (PlayerReplicationInfo Sender)


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions[edit]

AcceptLocalized[edit]

function bool AcceptLocalized (Actor Sender, class<LocalMessageMessage, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object Obj)


AcceptSpeech[edit]

function bool AcceptSpeech (PlayerReplicationInfo Sender)


AcceptText[edit]

function bool AcceptText (PlayerReplicationInfo Sender, out string Msg, optional name Type)


AddRestriction[edit]

simulated function bool AddRestriction (string PlayerHash, byte Type)


AddRestrictionID[edit]

simulated function bool AddRestrictionID (int PlayerID, byte Type)


ChatDebug[edit]

simulated function ChatDebug ()


ClearRestriction[edit]

simulated function bool ClearRestriction (string PlayerHash, byte Type)


ClearRestrictionID[edit]

simulated function bool ClearRestrictionID (int PlayerID, byte Type)


ClientIsBanned[edit]

simulated function bool ClientIsBanned (string PlayerHash)


Count[edit]

simulated function int Count ()


GetPlayerRestriction[edit]

simulated function byte GetPlayerRestriction (int PlayerID)


IsBanned[edit]

function bool IsBanned (PlayerReplicationInfo PRI)


ReceiveBanInfo[edit]

simulated function ReceiveBanInfo (string S)


SetRestriction[edit]

simulated function bool SetRestriction (string PlayerHash, byte Type)


SetRestrictionID[edit]

simulated function bool SetRestrictionID (int PlayerID, byte Type)


TrackNewPlayer[edit]

simulated function TrackNewPlayer (int PlayerID, string PlayerHash, string PlayerAddress)


UnTrackPlayer[edit]

simulated function UnTrackPlayer (int PlayerID)