UE2:UnrealPlayerChatManager (UT2004)
Object >> Actor >> Info >> PlayerChatManager >> UnrealPlayerChatManager |
- Package:
- UnrealGame
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Created on: 08/29/2003 UnrealPlayerChatManager is responsible for tracking each player's chat preferences and restrictions. When a client joins the game, a new UnrealPlayerChatManager object is spawned for that player, and replicated to the client. When the UnrealPlayerChatManager object arrives on the client, it requests a list of player hashes for all players currently connected to the server. The hashes received from the server are matched against the local client's stored restrictions. When a match is found, UnrealPlayerChatManager updates the server's copy of the tracking information with the client's restriction.
Thereafter, when the client's copy of the UnrealPlayerChatManager object is notified that a new client has connected, it requests the hash information for that player in order to match it against the client's stored restrictions.
Written by Ron Prestenback © 2003, Epic Games, Inc. All Rights Reserved
Constants
NOTEXT
Value: 1
NOSPEECH
Value: 2
NOVOICE
Value: 4
BANNED
Value: 8
Properties
ChatRestrictions
Modifiers: protected
StoredChatRestrictions
Type: array<StoredChatBan>
Modifiers: globalconfig, protected
Structs
ChatBan
- int PlayerID
- string PlayerHash
- string PlayerAddress
- byte PlayerVoiceMask
- byte Restriction
- 1 - Text, 2 - Speech, 4 - Voice, 8 - Banned from private chat
StoredChatBan
Functions
Events
AcceptVoice
Overrides: PlayerChatManager.AcceptVoice
Other instance functions
AcceptSpeech
Overrides: PlayerChatManager.AcceptSpeech
AcceptText
Overrides: PlayerChatManager.AcceptText
AddRestriction
Overrides: PlayerChatManager.AddRestriction
AddRestrictionID
Overrides: PlayerChatManager.AddRestrictionID
ChatDebug
Overrides: PlayerChatManager.ChatDebug
ClearRestriction
Overrides: PlayerChatManager.ClearRestriction
ClearRestrictionID
Overrides: PlayerChatManager.ClearRestrictionID
ClientIsBanned
Overrides: PlayerChatManager.ClientIsBanned
Count
Overrides: PlayerChatManager.Count
GetHashIndex
GetIDIndex
GetPlayerHash
GetPlayerRestriction
Overrides: PlayerChatManager.GetPlayerRestriction
IsBanned
Overrides: PlayerChatManager.IsBanned
IsLocal
IsValid
LoadChatBan
LogChatRestriction
MergeRestriction
ReceiveBanInfo
Overrides: PlayerChatManager.ReceiveBanInfo
SetRestriction
Overrides: PlayerChatManager.SetRestriction
SetRestrictionID
Overrides: PlayerChatManager.SetRestrictionID
StoreChatBan
TrackNewPlayer
Overrides: PlayerChatManager.TrackNewPlayer
UnMergeRestriction
UnTrackPlayer
Overrides: PlayerChatManager.UnTrackPlayer