Gah - a solution with more questions. – EntropicLqd

UE2:XWebQueryCurrent (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> xAdminBase >> xWebQueryHandler >> XWebQueryCurrent
Package: 
xWebAdmin
Within class: 
UTServerAdmin
This class in other games:
UT2003

WebAdmin handler for activities related to the game currently in progress on the server

Written by Michael Comeau Revised by Ron Prestenback © 2003,2004 Epic Games, Inc. All Rights Reserved

Properties[edit]

Added[edit]

Type: string

Modifiers: localized


Default value: "added."

BadGameType[edit]

Type: string

Modifiers: localized


Default value: "Unsupported Game Type"

BotList[edit]

Type: array<StringArray>

Sorted bot list by species

BotStatus[edit]

Type: string

Modifiers: localized


Default value: "bots were %Action%"

ConsoleRefreshTag[edit]

Type: string

Modifiers: config


Default value: "<meta http-equiv=\"refresh\" CONTENT=\"5; URL="

ConsoleUserlist[edit]

Type: string

Modifiers: localized


Default value: "Getting or setting admin accounts and groups is not allowed through the webadmin console. This action has been logged."

CurrentBotsPage[edit]

Type: string

Modifiers: config


Default value: "current_bots"

CurrentConsoleLogPage[edit]

Type: string

Modifiers: config


Default value: "current_console_log"

CurrentConsolePage[edit]

Type: string

Modifiers: config


Default value: "current_console"

CurrentConsoleSendPage[edit]

Type: string

Modifiers: config


Default value: "current_console_send"

CurrentGamePage[edit]

Type: string

Modifiers: config


Default value: "current_game"

CurrentIndexPage[edit]

Type: string

Modifiers: config

This is the page with the Menu

Default value: "current_menu"

CurrentLinks[edit]

Type: string

Array size: 6

Modifiers: localized


Default value, index 0: "Current Game"

Default value, index 1: "Player List"

Default value, index 2: "Server Console"

Default value, index 3: "Mutators"

Default value, index 4: "Bots"

Default value, index 5: "Restart Map"

CurrentMutatorsPage[edit]

Type: string

Modifiers: config


Default value: "current_mutators"

CurrentPlayersPage[edit]

Type: string

Modifiers: config


Default value: "current_players"

CurrentRestartPage[edit]

Type: string

Modifiers: config


Default value: "current_restart"

DefaultSendText[edit]

Type: string

Modifiers: config


Default value: "say "

GameTypeUnsupported[edit]

Type: string

Modifiers: localized


Default value: "The Game Type '%GameType%' does not use standard bots."

KickButtonText[edit]

Type: string

Array size: 3

Modifiers: localized


Default value, index 0: "Kick"

Default value, index 1: "Ban"

Default value, index 2: "Kick/Ban"

MutatorGroupMember[edit]

Type: string

Modifiers: config


Default value: "current_mutators_group_row"

MutatorGroupTitle[edit]

Type: string

Modifiers: config


Default value: "current_mutators_group"

MutatorTablePage[edit]

Type: string

Modifiers: config


Default value: "current_mutators_table"

NoBots[edit]

Type: string

Modifiers: localized


Default value: "You cannot add bots while World Stats Logging is enabled."

NoBotsTitle[edit]

Type: string

Modifiers: localized


Default value: "Bots unavailable"

NoPlayersConnected[edit]

Type: string

Modifiers: localized


Default value: "** No Players Connected **"

NoteBotsPage[edit]

Type: string

Modifiers: localized


Default value: "You may only add bots once the game has started. Adding bots has an adverse effect on the MinPlayers setting, and may cause this value to change. If stats are enabled, you may only add bots if bots are already in the game."

NoteConsolePage[edit]

Type: string

Modifiers: localized


Default value: "You may communicate with the players in the game by entering text at the text box and clicking 'Send'. You can also enter console commands to control the server. Game messages are shown in the log window, with the exception of team messages."

NoteGamePage[edit]

Type: string

Modifiers: localized


Default value: "You can view and select maps from other gametypes by using the combo box. Selecting maps from other gametypes will automatically switch the server to that gametype."

NoteMutatorsPage[edit]

Type: string

Modifiers: localized


Default value: "Select which mutators you want to be used when you hit the Restart Server Link"

NotePlayersPage[edit]

Type: string

Modifiers: localized


Default value: "In order to see the global ID for connected players, change the value for bBanbyID in the [Engine.AccessControl] section of your ini to 'True'. Bots cannot be banned."

PickMutators[edit]

Type: string

Modifiers: localized


Default value: "Select desired mutators"

PlayerListHeader[edit]

Type: string

Modifiers: config


Default value: "current_players_list_head"

PlayerListLinkedHeader[edit]

Type: string

Modifiers: config


Default value: "current_players_list_head_link"

PlayerListMinPlayers[edit]

Type: string

Modifiers: config


Default value: "current_players_minp"

Removed[edit]

Type: string

Modifiers: localized


Default value: "removed."

SelectedMutators[edit]

Type: string

Modifiers: localized


Default value: "Selected Mutators"

SingleBotStatus[edit]

Type: string

Modifiers: localized


Default value: "bot was %Action%"

SpeciesNames[edit]

Type: StringArray


StatTable[edit]

Type: string

Modifiers: config


Default value: "current_game_stat_table"

StatTableRow[edit]

Type: string

Modifiers: config


Default value: "current_game_stat_table_row"

Default values[edit]

Property Value
DefaultPage "currentframe"
NeededPrivs K|M|Xs|Xc|Xp|Xi|Kp|Kb|Ko|Mb|Mt|Mm|Mu|Ma"
Title "Current"

Instance functions[edit]

FindPlayingBot[edit]

function xBot FindPlayingBot (string BotName)


GetTeamColor[edit]

function string GetTeamColor (TeamInfo Team)


GetTeamName[edit]

function string GetTeamName (TeamInfo Team)


Query[edit]

function bool Query (WebRequest Request, WebResponse Response)

Overrides: xWebQueryHandler.Query


QueryCurrentBots[edit]

function QueryCurrentBots (WebRequest Request, WebResponse Response)


QueryCurrentConsole[edit]

function QueryCurrentConsole (WebRequest Request, WebResponse Response)


QueryCurrentConsoleLog[edit]

function QueryCurrentConsoleLog (WebRequest Request, WebResponse Response)


QueryCurrentConsoleSend[edit]

function QueryCurrentConsoleSend (WebRequest Request, WebResponse Response)


QueryCurrentFrame[edit]

function QueryCurrentFrame (WebRequest Request, WebResponse Response)


QueryCurrentGame[edit]

function QueryCurrentGame (WebRequest Request, WebResponse Response)


QueryCurrentMenu[edit]

function QueryCurrentMenu (WebRequest Request, WebResponse Response)


QueryCurrentMutators[edit]

function QueryCurrentMutators (WebRequest Request, WebResponse Response)


QueryCurrentPlayers[edit]

function QueryCurrentPlayers (WebRequest Request, WebResponse Response)