I'm a doctor, not a mechanic

UE2:AccessControl (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2003 Object >> Actor >> Info >> AccessControl

Contents

Package: 
Engine
Direct subclass:
AccessControlIni
This class in other games:
U2, U2XMP, UDK, UE2Runtime, UT2004, 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.

[edit] Properties

[edit] AdminClass

Type: class<AdminBase>


Default value: Class'Engine.Admin'

[edit] AdminName

Type: string

Modifiers: private


[edit] AdminPassword

Type: string

Modifiers: private

Password to receive bAdmin privileges.

[edit] AllPrivs

Type: string


[edit] BannedIDs

Type: array<string>

Modifiers: globalconfig

Holds information about how got banned

[edit] bBanByID

Type: bool

Modifiers: globalconfig

Set to true to ban by CDKey hash

[edit] bDontAddDefaultAdmin

Type: bool


[edit] bReplyToGUI

Type: bool


[edit] GamePassword

Type: string

Modifiers: private, globalconfig

Password to enter game.

[edit] Groups

Type: xAdminGroupList


[edit] IPBanned

Type: string

Modifiers: localized


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

[edit] IPPolicies

Type: array<string>

Modifiers: globalconfig


Default value: "ACCEPT,*"

[edit] KickedMsg

Type: string

Modifiers: localized


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

[edit] KickToMenu

Type: string

Modifiers: config

The name of the menu to kick this player too

[edit] LoggedAdmins

Type: array<AdminPlayer>

Modifiers: protected


[edit] NeedPassword

Type: string

Modifiers: localized


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

[edit] PrivClasses

Type: array<class<xPrivilegeBase> >

Modifiers: config


[edit] PrivManagers

Type: array<xPrivilegeBase>


[edit] SessionBanned

Type: string

Modifiers: localized


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

[edit] SessionBannedIDs

Type: array<string>

Modifiers: transient


[edit] SessionIPPolicies

Type: array<string>

Modifiers: transient

sjs

[edit] Users

Type: xAdminUserList


[edit] WrongPassword

Type: string

Modifiers: localized


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

[edit] Structs

[edit] AdminPlayer

xAdminUser User 
PlayerReplicationInfo PRI 

[edit] Functions

[edit] Static functions

[edit] FillPlayInfo

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: Info.FillPlayInfo


[edit] Events

[edit] PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


[edit] PreLogin

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


[edit] Other instance functions

[edit] AdminEntered

function AdminEntered (PlayerController P, string Username)


[edit] AdminExited

function AdminExited (PlayerController P)


[edit] AdminLogin

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


[edit] AdminLogout

function bool AdminLogout (PlayerController P)


[edit] AllowPriv

function bool AllowPriv (string priv)


[edit] BanPlayer

function bool BanPlayer (PlayerController C, optional bool bSession)


[edit] CanPerform

function bool CanPerform (PlayerController P, string Action)


[edit] CheckID

function bool CheckID (string CDHash)


[edit] CheckIPPolicy

function bool CheckIPPolicy (string Address, optional bool bSilent)


[edit] CheckOptionsAdmin

function bool CheckOptionsAdmin (string Options)


[edit] GetAdmin

function xAdminUser GetAdmin (PlayerController PC)


[edit] GetAdminName

function string GetAdminName (PlayerController PC)


[edit] GetLoggedAdmin

function xAdminUser GetLoggedAdmin (PlayerController P)


[edit] GetUser

function xAdminUser GetUser (string uname)


[edit] InitPrivs

function InitPrivs ()


[edit] IsAdmin

function bool IsAdmin (PlayerController P)


[edit] Kick

function Kick (string S)


[edit] KickBan

function KickBan (string S)


[edit] KickBanPlayer

function bool KickBanPlayer (PlayerController P)


[edit] KickPlayer

function bool KickPlayer (PlayerController C)


[edit] RequiresPassword

function bool RequiresPassword ()


[edit] SaveAdmins

function SaveAdmins ()


[edit] SessionKickBan

function SessionKickBan (string S)


[edit] SetAdminFromURL

function SetAdminFromURL (string N, string P)


[edit] SetAdminPassword

function bool SetAdminPassword (string P)


[edit] SetGamePassword

function SetGamePassword (string P)


[edit] ValidLogin

function bool ValidLogin (string UserName, string Password)


Personal tools