Mostly Harmless
UE2:UnrealPlayerChatManager (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> Actor >> Info >> PlayerChatManager >> UnrealPlayerChatManager |
- Package:
- UnrealGame
| This is an auto-generated page and may need human attention. Please remove this 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
[edit] Constants
[edit] NOTEXT
Value: 1
[edit] NOSPEECH
Value: 2
[edit] NOVOICE
Value: 4
[edit] BANNED
Value: 8
[edit] Properties
[edit] ChatRestrictions
Modifiers: protected
[edit] StoredChatRestrictions
Type: array<StoredChatBan>
Modifiers: globalconfig, protected
[edit] Structs
[edit] ChatBan
- int PlayerID
- string PlayerHash
- string PlayerAddress
- byte PlayerVoiceMask
- byte Restriction
- 1 - Text, 2 - Speech, 4 - Voice, 8 - Banned from private chat
[edit] StoredChatBan
[edit] Functions
[edit] Events
[edit] AcceptVoice
Overrides: PlayerChatManager.AcceptVoice
[edit] Other instance functions
[edit] AcceptSpeech
Overrides: PlayerChatManager.AcceptSpeech
[edit] AcceptText
Overrides: PlayerChatManager.AcceptText
[edit] AddRestriction
Overrides: PlayerChatManager.AddRestriction
[edit] AddRestrictionID
Overrides: PlayerChatManager.AddRestrictionID
[edit] ChatDebug
Overrides: PlayerChatManager.ChatDebug
[edit] ClearRestriction
Overrides: PlayerChatManager.ClearRestriction
[edit] ClearRestrictionID
Overrides: PlayerChatManager.ClearRestrictionID
[edit] ClientIsBanned
Overrides: PlayerChatManager.ClientIsBanned
[edit] Count
Overrides: PlayerChatManager.Count
[edit] GetHashIndex
[edit] GetIDIndex
[edit] GetPlayerHash
[edit] GetPlayerRestriction
Overrides: PlayerChatManager.GetPlayerRestriction
[edit] IsBanned
Overrides: PlayerChatManager.IsBanned
[edit] IsLocal
[edit] IsValid
[edit] LoadChatBan
[edit] LogChatRestriction
[edit] MergeRestriction
[edit] ReceiveBanInfo
Overrides: PlayerChatManager.ReceiveBanInfo
[edit] SetRestriction
Overrides: PlayerChatManager.SetRestriction
[edit] SetRestrictionID
Overrides: PlayerChatManager.SetRestrictionID
[edit] StoreChatBan
[edit] TrackNewPlayer
Overrides: PlayerChatManager.TrackNewPlayer
[edit] UnMergeRestriction
[edit] UnTrackPlayer
Overrides: PlayerChatManager.UnTrackPlayer
