I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE2:UnrealPlayerChatManager (UT2004)
Object >> Actor >> Info >> PlayerChatManager >> UnrealPlayerChatManager |
Contents
- 1 Constants
- 2 Properties
- 3 Structs
- 4 Functions
- 4.1 Events
- 4.2 Other instance functions
- 4.2.1 AcceptSpeech
- 4.2.2 AcceptText
- 4.2.3 AddRestriction
- 4.2.4 AddRestrictionID
- 4.2.5 ChatDebug
- 4.2.6 ClearRestriction
- 4.2.7 ClearRestrictionID
- 4.2.8 ClientIsBanned
- 4.2.9 Count
- 4.2.10 GetHashIndex
- 4.2.11 GetIDIndex
- 4.2.12 GetPlayerHash
- 4.2.13 GetPlayerRestriction
- 4.2.14 IsBanned
- 4.2.15 IsLocal
- 4.2.16 IsValid
- 4.2.17 LoadChatBan
- 4.2.18 LogChatRestriction
- 4.2.19 MergeRestriction
- 4.2.20 ReceiveBanInfo
- 4.2.21 SetRestriction
- 4.2.22 SetRestrictionID
- 4.2.23 StoreChatBan
- 4.2.24 TrackNewPlayer
- 4.2.25 UnMergeRestriction
- 4.2.26 UnTrackPlayer
- 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