Always snap to grid

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[edit]

additionalML[edit]

Type: AdditionalMapLists


AdditionalMLClass[edit]

Type: string

Modifiers: config


Default value: "WebAdmin.AdditionalMapLists"

classSettingsCache[edit]

Type: array<ClassSettingsCacheEntry>


GeneralSettingsClass[edit]

Type: string

Modifiers: config

Settings class used for the general, server wide, settings

Default value: "WebAdmin.GeneralSettings"

SettingsClasses[edit]

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[edit]

Type: array<SettingsInstance>


settingsRenderer[edit]

Type: SettingsRenderer


webadmin[edit]

Type: WebAdmin


Structs[edit]

ClassSettingsCacheEntry[edit]

string cls 
class<Settings> settingsCls 

ClassSettingsMapping[edit]

string className 
string settingsClass 

SettingsInstance[edit]

class<Settings> cls 
Settings instance 

Instance functions[edit]

applySettings[edit]

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

Apply the settings received from the response to the settings instance

cleanup[edit]

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[edit]

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

Find the settings class. package name could be empty

getSettingsClassByClass[edit]

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

Try to find the settings class for the provided class

getSettingsClassFqn[edit]

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

Get the settings class by the fully qualified name

getSettingsInstance[edit]

function Settings getSettingsInstance (class<Settingscls)


handleBans[edit]

function handleBans (IQueryHandler.WebAdminQuery q)


handleHashBans[edit]

function handleHashBans (IQueryHandler.WebAdminQuery q)


handleIPPolicy[edit]

function handleIPPolicy (IQueryHandler.WebAdminQuery q)


handleMapList[edit]

function handleMapList (IQueryHandler.WebAdminQuery q)


handleMapListAdditional[edit]

function handleMapListAdditional (IQueryHandler.WebAdminQuery q)


handleQuery[edit]

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[edit]

function handleSettingsGametypes (IQueryHandler.WebAdminQuery q)


handleSettingsGeneral[edit]

function handleSettingsGeneral (IQueryHandler.WebAdminQuery q)


handleSettingsMutators[edit]

function handleSettingsMutators (IQueryHandler.WebAdminQuery q)


handleSettingsPasswords[edit]

function handleSettingsPasswords (IQueryHandler.WebAdminQuery q)


init[edit]

function init (WebAdmin webapp)

Specified by: IQueryHandler.init

Called when the WebAdmin creates and initializes this query handler.

registerMenuItems[edit]

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[edit]

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.