Mostly Harmless

UE2:AccessControl (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Info >> AccessControl
Package: 
Engine
This class in other games:
U2XMP, UE2Runtime, UT2003, UT2004, 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.

Properties[edit]

AdminClass[edit]

Type: class<Admin>


Default value: Class'Engine.Admin'

AdminPassword[edit]

Type: string

Modifiers: private, globalconfig

Password to receive bAdmin privileges.

bDontAddDefaultAdmin[edit]

Type: bool


GamePassword[edit]

Type: string

Modifiers: private, globalconfig

Password to enter game.

IPBanned[edit]

Type: string

Modifiers: localized


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

IPPolicies[edit]

Type: string

Array size: 50

Modifiers: globalconfig


Default value: "ACCEPT,*"

NeedPassword[edit]

Type: string

Modifiers: localized


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

WrongPassword[edit]

Type: string

Modifiers: localized


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

Functions[edit]

Events[edit]

PreLogin[edit]

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


Other instance functions[edit]

AdminLogin[edit]

function bool AdminLogin (PlayerController P, string Password)


CheckIPPolicy[edit]

function bool CheckIPPolicy (string Address)


ClearBanned[edit]

function ClearBanned ()


Kick[edit]

function Kick (PlayerReplicationInfo Kicked)


KickBan[edit]

function KickBan (PlayerReplicationInfo Kicked)


RequiresPassword[edit]

function bool RequiresPassword ()


SetAdminPassword[edit]

function SetAdminPassword (string P)


SetGamePassword[edit]

function SetGamePassword (string P)