Always snap to grid

UE2:AccessControl (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> AccessControl
Package: 
Engine
Direct subclass:
AccessControlIni
This class in other games:
U2, U2XMP, UE2Runtime, UT2003, UDK, UT3

AccessControl.

AccessControl is a helper class for GameInfo. The AccessControl class determines whether or not the player is allowed to login in the PreLogin() function, and also controls whether or not a player can enter as a spectator or a game administrator.

Constants[edit]

PROPNUM[edit]

Value: 4


Properties[edit]

ACDescText[edit]

Type: string

Array size: 4 (PROPNUM)

Modifiers: localized


Default value, index 0: "If this password is set, players will have to enter it to join this server."

Default value, index 1: "Specifies IP addresses or address ranges which have been banned."

Default value, index 2: "Password required to login with administrator privileges on this server."

Default value, index 3: "Number of seconds user must wait after an unsuccessful login attempt before able to login again."

ACDisplayText[edit]

Type: string

Array size: 4 (PROPNUM)

Modifiers: localized


Default value, index 0: "Game Password"

Default value, index 1: "Access Policies"

Default value, index 2: "Admin Password"

Default value, index 3: "Login Delay"

AdminClass[edit]

Type: class<AdminBase>


Default value: Class'Engine.Admin'

AdminName[edit]

Type: string

Modifiers: private


AdminPassword[edit]

Type: string

Modifiers: private, globalconfig

Password to receive bAdmin privileges.

AllPrivs[edit]

Type: string


BannedIDs[edit]

Type: array<string>

Modifiers: globalconfig

Holds information about how got banned

bBanByID[edit]

Type: bool

Modifiers: globalconfig

Set to true to ban by CDKey hash

bDontAddDefaultAdmin[edit]

Type: bool


bReplyToGUI[edit]

Type: bool


DefaultKickReason[edit]

Type: string

Modifiers: localized


Default value: "None specified"

GamePassword[edit]

Type: string

Modifiers: private, globalconfig

Password to enter game.

Groups[edit]

Type: xAdminGroupList


IdleKickReason[edit]

Type: string

Modifiers: localized


Default value: "Kicked for idling."

IPBanned[edit]

Type: string

Modifiers: localized


Default value: "Your IP address has been banned on this server."

IPPolicies[edit]

Type: array<string>

Modifiers: globalconfig


Default value: "ACCEPT;*"

KickedMsg[edit]

Type: string

Modifiers: localized


Default value: "You have been forcibly removed from the game."

LoggedAdmins[edit]

Type: array<AdminPlayer>

Modifiers: protected


LoginDelaySeconds[edit]

Type: float

Modifiers: globalconfig

Delay between login attempts

NeedPassword[edit]

Type: string

Modifiers: localized


Default value: "You need to enter a password to join this game."

PrivClasses[edit]

Type: array<class<xPrivilegeBase> >

Modifiers: config


PrivManagers[edit]

Type: array<xPrivilegeBase>


SessionBanned[edit]

Type: string

Modifiers: localized


Default value: "Your IP address has been banned from the current game session."

SessionBannedIDs[edit]

Type: array<string>

Modifiers: transient


SessionIPPolicies[edit]

Type: array<string>

Modifiers: transient

sjs

Users[edit]

Type: xAdminUserList


WrongPassword[edit]

Type: string

Modifiers: localized


Default value: "The password you entered is incorrect."

Structs[edit]

AdminPlayer[edit]

xAdminUser User 
PlayerReplicationInfo PRI 

Functions[edit]

Static events[edit]

GetDescriptionText[edit]

static event string GetDescriptionText (string PropName)

Overrides: Info.GetDescriptionText


Other static functions[edit]

FillPlayInfo[edit]

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: Info.FillPlayInfo


Events[edit]

PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


PreLogin[edit]

event PreLogin (string Options, string Address, string PlayerID, out string Error, out string FailCode, bool bSpectator)


Other instance functions[edit]

AdminEntered[edit]

function AdminEntered (PlayerController P, string Username)


AdminExited[edit]

function AdminExited (PlayerController P)


AdminLogin[edit]

function bool AdminLogin (PlayerController P, string Username, string Password)


AdminLogout[edit]

function bool AdminLogout (PlayerController P)


AllowPriv[edit]

function bool AllowPriv (string priv)


BanPlayer[edit]

function bool BanPlayer (PlayerController C, optional bool bSession)


CanPerform[edit]

function bool CanPerform (PlayerController P, string Action)


CheckID[edit]

function int CheckID (string CDHash)


CheckIPPolicy[edit]

function int CheckIPPolicy (string Address, optional bool bSilent)


CheckOptionsAdmin[edit]

function bool CheckOptionsAdmin (string Options)


GetAdmin[edit]

function xAdminUser GetAdmin (PlayerController PC)


GetAdminName[edit]

function string GetAdminName (PlayerController PC)


GetLoggedAdmin[edit]

function xAdminUser GetLoggedAdmin (PlayerController P)


GetUser[edit]

function xAdminUser GetUser (string uname)


InitPrivs[edit]

function InitPrivs ()


IsAdmin[edit]

function bool IsAdmin (PlayerController P)


Kick[edit]

function Kick (string S)


KickBan[edit]

function KickBan (string S)


KickBanPlayer[edit]

function bool KickBanPlayer (PlayerController P)


KickPlayer[edit]

function bool KickPlayer (PlayerController C)


RequiresPassword[edit]

function bool RequiresPassword ()


SaveAdmins[edit]

function SaveAdmins ()


SessionKickBan[edit]

function SessionKickBan (string S)


SetAdminFromURL[edit]

function SetAdminFromURL (string N, string P)


SetAdminPassword[edit]

function bool SetAdminPassword (string P)


SetGamePassword[edit]

function SetGamePassword (string P)


ValidLogin[edit]

function bool ValidLogin (string UserName, string Password)