I'm a doctor, not a mechanic
Difference between revisions of "UE3:QHCurrent (UT3)"
(Auto-generated page) |
(Talk) |
||
(One intermediate revision by one other user not shown) | |||
Line 70: | Line 70: | ||
'''Type:''' [[string]] | '''Type:''' [[string]] | ||
− | + | CSS code to make HTML elements hidden. | |
'''Default value:''' "display: none;" | '''Default value:''' "display: none;" | ||
Line 77: | Line 77: | ||
'''Type:''' [[string]] | '''Type:''' [[string]] | ||
− | + | CSS code to make things visible. | |
====denyConsoleCommands==== | ====denyConsoleCommands==== | ||
Line 95: | Line 95: | ||
'''Default value, index 4:''' "set" | '''Default value, index 4:''' "set" | ||
+ | |||
+ | '''Default value, index 5:''' "get engine.accesscontrol" | ||
====denyUrlOptions==== | ====denyUrlOptions==== | ||
Line 115: | Line 117: | ||
'''Type:''' [[array]]<{{tl|FactionCharacters}}> | '''Type:''' [[array]]<{{tl|FactionCharacters}}> | ||
− | + | List of factions and their characters | |
====newUrl==== | ====newUrl==== | ||
Line 241: | Line 243: | ||
====handleCurrentPlayers==== | ====handleCurrentPlayers==== | ||
{{code|function '''handleCurrentPlayers''' ({{tl|WebAdminQuery|IQueryHandler}} '''q''')}} | {{code|function '''handleCurrentPlayers''' ({{tl|WebAdminQuery|IQueryHandler}} '''q''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====handleCurrentPlayersAction==== | ||
+ | {{code|function [[bool]] '''handleCurrentPlayersAction''' ({{tl|WebAdminQuery|IQueryHandler}} '''q''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====handleCurrentPlayersData==== | ||
+ | {{code|function '''handleCurrentPlayersData''' ({{tl|WebAdminQuery|IQueryHandler}} '''q''')}} | ||
<!-- enter function description --> | <!-- enter function description --> |
Revision as of 02:44, 26 July 2008
Object >> QHCurrent |
Contents
- 1 Properties
- 2 Structs
- 3 Functions
- 3.1 Static functions
- 3.2 Events
- 3.3 Other instance functions
- 3.3.1 banByHash
- 3.3.2 banByID
- 3.3.3 banByIP
- 3.3.4 BroadcastMessage
- 3.3.5 buildSortedPRI
- 3.3.6 cleanup
- 3.3.7 CreateTeamChatProxy
- 3.3.8 handleBots
- 3.3.9 handleConsole
- 3.3.10 handleCurrent
- 3.3.11 handleCurrentChange
- 3.3.12 handleCurrentChangeData
- 3.3.13 handleCurrentChat
- 3.3.14 handleCurrentChatData
- 3.3.15 handleCurrentPlayers
- 3.3.16 handleCurrentPlayersAction
- 3.3.17 handleCurrentPlayersData
- 3.3.18 handleQuery
- 3.3.19 init
- 3.3.20 procChatData
- 3.3.21 procCurrentChange
- 3.3.22 registerMenuItems
- 3.3.23 unhandledQuery
- Package:
- WebAdmin
- Implemented interfaces:
- IQueryHandler
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
The query handler that provides information about the current game. It will also set the start page for the webadmin.
Copyright 2008 Epic Games, Inc. All Rights Reserved
Author: Michiel 'elmuerte' Hendriks
Properties
adminCmdHandler
Type: AdminCommandHandler
Instance that handled "Admin" console command aliases.
AdminCommandHandlerClass
Type: string
Modifiers: config
The AdminCommandHandler class to use for handling the admin console command hack.
Default value: "WebAdmin.AdminCommandHandler"
bAdminConsoleCommandsHack
Type: bool
Modifiers: config
if true use the hack to access some special admin commands lick "kickban ...", "restartlevel". If false these commands would not be available
Default value: True
bConsoleEnabled
Type: bool
Modifiers: config
If true the management console will be available. This will allow users to directly enter console commands on the server. This means that the user will have the ability to shutdown the server or execute commands that change certain core variables.
Default value: True
bEnableTeamChat
Type: bool
Modifiers: config
if true team chat will be enabled.
Default value: True
ChatRefresh
Type: int
Modifiers: config
Refresh time of the chat console
Default value: 5000
cssHidden
Type: string
CSS code to make HTML elements hidden.
Default value: "display: none;"
cssVisible
Type: string
CSS code to make things visible.
denyConsoleCommands
Modifiers: config
Lists of console commands that are not allowed to be executed.
Default value, index 0: "say"
Default value, index 1: "obj"
Default value, index 2: "debug"
Default value, index 3: "flush"
Default value, index 4: "set"
Default value, index 5: "get engine.accesscontrol"
denyUrlOptions
Modifiers: config
Options in this list are not allowed to be set in the "change game" page. They will removed from the url.
Default value, index 0: "GamePassword"
Default value, index 1: "AdminPassword"
Default value, index 2: "Port"
Default value, index 3: "QueryPort"
factions
Type: array<FactionCharacters>
List of factions and their characters
newUrl
Type: string
Modifiers: private
Will hold the url where to switch the game to. Game switching a delayed for a few ms.
sortedPRI
Type: array<PlayerReplicationInfo>
Will hold a sorted player replication info list.
webadmin
Type: WebAdmin
Structs
FactionCharacters
- string factionName
- UTCustomChar_Data.FactionInfo fi
- array<UTCustomChar_Data.CharacterInfo> chars
Functions
Static functions
comparePRI
getPlayerKey
substPri
Events
ChangeGameTimer
Other instance functions
banByHash
banByID
banByIP
BroadcastMessage
buildSortedPRI
cleanup
Specified by: IQueryHandler.cleanup
Cleanup (prepare for being destroyed). If the implementation extends Object it should set all actor references to none.
CreateTeamChatProxy
handleBots
handleConsole
handleCurrent
handleCurrentChange
handleCurrentChangeData
handleCurrentChat
handleCurrentChatData
handleCurrentPlayers
handleCurrentPlayersAction
handleCurrentPlayersData
handleQuery
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.
init
Specified by: IQueryHandler.init
Called when the WebAdmin creates and initializes this query handler.
procChatData
procCurrentChange
registerMenuItems
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
Specified by: IQueryHandler.unhandledQuery
(Description copied from IQueryHandler.unhandledQuery)
Called in case of an unhandled path.
Returns:
- true when the query was handled.