UnrealGame.UnrealPlayerChatManager
- Extends
- PlayerChatManager
- Modifiers
- config ( ChatRestriction )
Core.Object
|
+-- Engine.Actor
|
+-- Engine.Info
|
+-- Engine.PlayerChatManager
|
+-- UnrealGame.UnrealPlayerChatManager
Structures Summary |
ChatBan PlayerID, PlayerHash, PlayerAddress, PlayerVoiceMask, Restriction |
StoredChatBan PlayerHash, Restriction |
Functions Summary |
 | bool | AcceptSpeech (PlayerReplicationInfo SenderPRI)
|
 | bool | AcceptText (PlayerReplicationInfo Sender, out string Msg, optional name Type)
|
 | bool | AcceptVoice (PlayerReplicationInfo SenderPRI)
|
 | bool | AddRestriction (string PlayerHash, byte Type)
|
 | bool | AddRestrictionID (int PlayerID, byte Type)
|
 | | ChatDebug ()
|
 | bool | ClearRestriction (string PlayerHash, byte Type)
|
 | bool | ClearRestrictionID (int PlayerID, byte Type)
|
 | bool | ClientIsBanned (string PlayerHash)
|
 | int | Count ()
|
 | int | GetHashIndex (string PlayerHash)
|
 | int | GetIDIndex (int PlayerID)
|
 | string | GetPlayerHash (int PlayerID)
|
 | byte | GetPlayerRestriction (int PlayerID)
|
 | bool | IsBanned (PlayerReplicationInfo PRI)
|
 | bool | IsLocal ()
|
 | bool | IsValid (int i)
|
 | bool | LoadChatBan (string PlayerHash, out byte OutRestriction)
|
 | | LogChatRestriction (int i)
|
 | bool | MergeRestriction (int Index, byte NewType)
|
 | | ReceiveBanInfo (string S)
|
 | bool | SetRestriction (string PlayerHash, byte Type)
|
 | bool | SetRestrictionID (int PlayerID, byte Type)
|
 | | StoreChatBan (string PlayerHash, byte Restriction)
|
 | | TrackNewPlayer (int PlayerID, string PlayerHash, string PlayerAddress)
|
 | bool | UnMergeRestriction (int Index, byte NewType)
|
 | | UnTrackPlayer (int PlayerID)
|
Inherited Functions from Engine.PlayerChatManager |
AcceptLocalized, AcceptSpeech, AcceptText, AcceptVoice, AddRestriction, AddRestrictionID, ChatDebug, ClearRestriction, ClearRestrictionID, ClientIsBanned, Count, GetPlayerRestriction, IsBanned, PostBeginPlay, ReceiveBanInfo, SetRestriction, SetRestrictionID, TrackNewPlayer, UnTrackPlayer |
const BANNED = 8;
const NOSPEECH = 2;
const NOTEXT = 1;
const NOVOICE = 4;
var protected array<
ChatBan> ChatRestrictions;
StoredChatRestrictions Source code
var globalconfig protected array<
StoredChatBan> StoredChatRestrictions;
struct ChatBan
{
var string PlayerAddress;
var string PlayerHash;
var int PlayerID;
var byte PlayerVoiceMask;
var byte Restriction;
};
struct StoredChatBan
{
var string PlayerHash;
var byte Restriction;
};
simulated function bool AddRestriction ( string PlayerHash, byte Type )
simulated function bool AddRestrictionID ( int PlayerID, byte Type )
simulated function ChatDebug ( )
simulated function bool ClearRestriction ( string PlayerHash, byte Type )
simulated function bool ClearRestrictionID ( int PlayerID, byte Type )
simulated function bool ClientIsBanned ( string PlayerHash )
simulated function int Count ( )
simulated protected function int GetHashIndex ( string PlayerHash )
simulated protected function int GetIDIndex ( int PlayerID )
simulated protected function string GetPlayerHash ( int PlayerID )
simulated function byte GetPlayerRestriction ( int PlayerID )
simulated function bool IsLocal ( )
simulated protected function bool IsValid ( int i )
simulated protected function bool LoadChatBan ( string PlayerHash, out byte OutRestriction )
simulated function LogChatRestriction ( int i )
simulated function bool MergeRestriction ( int Index, byte NewType )
simulated function ReceiveBanInfo ( string S )
simulated function bool SetRestriction ( string PlayerHash, byte Type )
simulated function bool SetRestrictionID ( int PlayerID, byte Type )
simulated protected function StoreChatBan ( string PlayerHash, byte Restriction )
simulated function TrackNewPlayer ( int PlayerID, string PlayerHash, string PlayerAddress )
simulated function bool UnMergeRestriction ( int Index, byte NewType )
simulated function UnTrackPlayer ( int PlayerID )
Creation time: Wed 7/2/2007 19:16:21.390 - Created with
UnCodeX