Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE3:QHDefaults (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> QHDefaults
Package: 
WebAdmin
Implemented interfaces
IQueryHandler

Query Handler for changing the default settings. It will try to find settings handles for all gametypes and mutators. Custom gametypes have to implement a subclass of the Settings class as name it: <GameTypeClass>Settings. for example the gametype: FooBarQuuxGame has a settings class FooBarQuuxGameSettings. See "UTTeamGameSettings" for an example implementation.

Copyright 2008 Epic Games, Inc. All Rights Reserved

Author: Michiel 'elmuerte' Hendriks

Properties

additionalML

Type: AdditionalMapLists


AdditionalMLClass

Type: string

Modifiers: config


Default value: "WebAdmin.AdditionalMapLists"

classSettingsCache

Type: array<ClassSettingsCacheEntry>


GeneralSettingsClass

Type: string

Modifiers: config

Settings class used for the general, server wide, settings

Default value: "WebAdmin.GeneralSettings"

SettingsClasses

Type: array<ClassSettingsMapping>

Modifiers: config

Mapping for classname to settings class. Will be used to resolve classnames for Settings classes that provide configuration possibilities for gametypes/ mutators when it can not be automatically found.

settingsInstances

Type: array<SettingsInstance>


settingsRenderer

Type: SettingsRenderer


webadmin

Type: WebAdmin


Structs

ClassSettingsCacheEntry

string cls 
class<Settings> settingsCls 

ClassSettingsMapping

string className 
string settingsClass 

SettingsInstance

class<Settings> cls 
Settings instance 

Instance functions

applySettings

function applySettings (Settings settings, WebRequest request, optional string prefix)

Apply the settings received from the response to the settings instance

cleanup

function cleanup ()

Specified by: IQueryHandler.cleanup

Cleanup (prepare for being destroyed). If the implementation extends Object it should set all actor references to none.

getSettingsClass

function class<SettingsgetSettingsClass (string pkgName, string clsName, optional bool bSilent)

Find the settings class. package name could be empty

getSettingsClassByClass

function class<SettingsgetSettingsClassByClass (Class forClass, optional bool bSilent)

Try to find the settings class for the provided class

getSettingsClassFqn

function class<SettingsgetSettingsClassFqn (string forClass, optional bool bSilent)

Get the settings class by the fully qualified name

getSettingsInstance

function Settings getSettingsInstance (class<Settingscls)


handleBans

function handleBans (IQueryHandler.WebAdminQuery q)


handleHashBans

function handleHashBans (IQueryHandler.WebAdminQuery q)


handleIPPolicy

function handleIPPolicy (IQueryHandler.WebAdminQuery q)


handleMapList

function handleMapList (IQueryHandler.WebAdminQuery q)


handleMapListAdditional

function handleMapListAdditional (IQueryHandler.WebAdminQuery q)


handleQuery

function bool handleQuery (IQueryHandler.WebAdminQuery q)

Specified by: IQueryHandler.handleQuery

(Description copied from IQueryHandler.handleQuery)
Called by the webadmin to request the query handler to handle this query.

Returns:

true when the query was handled.

handleSettingsGametypes

function handleSettingsGametypes (IQueryHandler.WebAdminQuery q)


handleSettingsGeneral

function handleSettingsGeneral (IQueryHandler.WebAdminQuery q)


handleSettingsMutators

function handleSettingsMutators (IQueryHandler.WebAdminQuery q)


handleSettingsPasswords

function handleSettingsPasswords (IQueryHandler.WebAdminQuery q)


init

function init (WebAdmin webapp)

Specified by: IQueryHandler.init

Called when the WebAdmin creates and initializes this query handler.

registerMenuItems

function registerMenuItems (WebAdminMenu menu)

Specified by: IQueryHandler.registerMenuItems

Called by the webadmin to request the query handler to add its menu items to the web admin menu. The menu is used to determine what query handler will be handle a given path. Paths not registered will be passed to all query handlers until one returns true.

unhandledQuery

function bool unhandledQuery (IQueryHandler.WebAdminQuery q)

Specified by: IQueryHandler.unhandledQuery

(Description copied from IQueryHandler.unhandledQuery)
Called in case of an unhandled path.

Returns:

true when the query was handled.