Cogito, ergo sum

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

PlayerOwner

Type: PlayerController


Default values

Property Value
RemoteRole ROLE_SimulatedProxy

Functions

Events

AcceptVoice

event bool AcceptVoice (PlayerReplicationInfo Sender)


PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions

AcceptLocalized

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


AcceptSpeech

function bool AcceptSpeech (PlayerReplicationInfo Sender)


AcceptText

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


AddRestriction

simulated function bool AddRestriction (string PlayerHash, byte Type)


AddRestrictionID

simulated function bool AddRestrictionID (int PlayerID, byte Type)


ChatDebug

simulated function ChatDebug ()


ClearRestriction

simulated function bool ClearRestriction (string PlayerHash, byte Type)


ClearRestrictionID

simulated function bool ClearRestrictionID (int PlayerID, byte Type)


ClientIsBanned

simulated function bool ClientIsBanned (string PlayerHash)


Count

simulated function int Count ()


GetPlayerRestriction

simulated function byte GetPlayerRestriction (int PlayerID)


IsBanned

function bool IsBanned (PlayerReplicationInfo PRI)


ReceiveBanInfo

simulated function ReceiveBanInfo (string S)


SetRestriction

simulated function bool SetRestriction (string PlayerHash, byte Type)


SetRestrictionID

simulated function bool SetRestrictionID (int PlayerID, byte Type)


TrackNewPlayer

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


UnTrackPlayer

simulated function UnTrackPlayer (int PlayerID)