I don't need to test my programs. I have an error-correcting modem.
Difference between revisions of "UE2:AdminIni (UT2004)"
m (Reverted edits by 65.25.115.17 (Talk); changed back to last version by Wormbo) |
|||
Line 1: | Line 1: | ||
− | + | {{infobox class | |
+ | | package = XAdmin | ||
+ | | parent1 = AdminBase | ||
+ | | parent2 = Object | ||
+ | | within = PlayerController | ||
+ | }} | ||
+ | {{autogenerated}} | ||
+ | Class: XAdmin.AdminIni | ||
+ | Parent: Engine.Admin | ||
+ | |||
+ | TODO: Implement <cmd> help for inline help text ? | ||
+ | |||
+ | ==Properties== | ||
+ | ====AdminUser==== | ||
+ | '''Type:''' {{cl|xAdminUser}} | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | ====ConfigSet==== | ||
+ | '''Type:''' {{cl|GameConfigSet}} | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | ====Msg_AddedMutator==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Added '%Mutator%' to used mutator list." | ||
+ | |||
+ | ====Msg_AlreadyEdited==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Game Already being edited by Someone Else" | ||
+ | |||
+ | ====Msg_EditFailed==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Failed Starting To Edit" | ||
+ | |||
+ | ====Msg_EditingCancelled==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Editing Cancelled" | ||
+ | |||
+ | ====Msg_EditingClass==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Editing %Class%" | ||
+ | |||
+ | ====Msg_EditingCompleted==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Editing Completed" | ||
+ | |||
+ | ====Msg_ErrAddingMutator==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Error Adding '%Mutator%'To Used Mutator List" | ||
+ | |||
+ | ====Msg_ErrRemovingMutator==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Error Removing '%Mutator%' from used mutator List" | ||
+ | |||
+ | ====Msg_FinishGameEditFirst==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "You must finish your Game Edit before restarting the map" | ||
+ | |||
+ | ====Msg_FinishGameRestart==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "You must finish your Game Edit before changing or restarting the map" | ||
+ | |||
+ | ====Msg_GameNoSupportBots==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "The current Game Type does not support Bots" | ||
+ | |||
+ | ====Msg_MapListNeedGameEdit==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "You must use 'Game Edit' command before 'MapList' command" | ||
+ | |||
+ | ====Msg_MustEndGameEdit==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "You must end your Game Edit first" | ||
+ | |||
+ | ====Msg_MutNeedGameEdit==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "You must use 'Game Edit' command before 'Mutators' commands" | ||
+ | |||
+ | ====Msg_NoAddNamedBot==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Can only add named bots once the match has started" | ||
+ | |||
+ | ====Msg_NoBotGameFull==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Cannot add a bot, game is full." | ||
+ | |||
+ | ====Msg_NoBotsPlaying==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "No bots are currently playing" | ||
+ | |||
+ | ====Msg_NoMutatorInUse==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "No Mutators in use" | ||
+ | |||
+ | ====Msg_NotEditing==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "You are not editing Game Settings, use 'Game Edit' first" | ||
+ | |||
+ | ====Msg_NoUnusedMuts==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Found no unused mutators" | ||
+ | |||
+ | ====Msg_RemovedMutator==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Removed '%Mutator%' From Used Mutator List" | ||
+ | |||
+ | ====Msg_SetBotNeedVal==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "This command requires a numeric value between 0 and 32" | ||
+ | |||
+ | ====Msg_StatsNoBots==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' localized | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' "Cannot control bots when Worlds Stats are enabled" | ||
+ | |||
+ | ====NextGameType==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' protected | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | ====NextMutators==== | ||
+ | '''Type:''' [[string]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' protected | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | ====xManager==== | ||
+ | '''Type:''' {{cl|AccessControlIni}} | ||
+ | |||
+ | <!-- enter variable description --> | ||
+ | |||
+ | ==Functions== | ||
+ | ===Exec functions=== | ||
+ | ====Bots==== | ||
+ | {{code|exec function '''Bots''' ([[string]] '''Cmd''', [[string]] '''Extra''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====Game==== | ||
+ | {{code|exec function '''Game''' ([[string]] '''Cmd''', [[string]] '''Extra''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====Mutators==== | ||
+ | {{code|exec function '''Mutators''' ([[string]] '''Cmd''', [[string]] '''Extra''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====User==== | ||
+ | {{code|exec function '''User''' ([[string]] '''Cmd''', [[string]] '''Extra''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ===Events=== | ||
+ | ====Created==== | ||
+ | {{code|event '''Created''' ()}} | ||
+ | |||
+ | '''Overrides:''' {{tl|Created|AdminBase}} | ||
+ | |||
+ | <!-- enter event description --> | ||
+ | |||
+ | ===Other instance functions=== | ||
+ | ====CanPerform==== | ||
+ | {{code|protected function [[bool]] '''CanPerform''' ([[string]] '''priv''')}} | ||
+ | |||
+ | '''Overrides:''' {{tl|CanPerform|AdminBase}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====DoLogin==== | ||
+ | {{code|function '''DoLogin''' ([[string]] '''Username''', [[string]] '''Password''')}} | ||
+ | |||
+ | '''Overrides:''' {{tl|DoLogin|AdminBase}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====DoLogout==== | ||
+ | {{code|function '''DoLogout''' ()}} | ||
+ | |||
+ | '''Overrides:''' {{tl|DoLogout|AdminBase}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====DoSwitch==== | ||
+ | {{code|function '''DoSwitch''' ([[string]] '''URL''')}} | ||
+ | |||
+ | '''Overrides:''' {{tl|DoSwitch|AdminBase}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====GotoNextMap==== | ||
+ | {{code|function '''GotoNextMap''' ()}} | ||
+ | |||
+ | '''Overrides:''' {{tl|GoToNextMap|AdminBase}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====MakeBotsList==== | ||
+ | {{code|function '''MakeBotsList''' (out [[array]]<{{tl|PlayerRecord|xUtil}}> '''BotList''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====MapListCommand==== | ||
+ | {{code|function '''MapListCommand''' ([[string]] '''Cmd''', [[string]] '''Extra''')}} | ||
+ | |||
+ | '''Overrides:''' {{tl|MaplistCommand|AdminBase}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====RestartCurrentMap==== | ||
+ | {{code|function '''RestartCurrentMap''' ()}} | ||
+ | |||
+ | '''Overrides:''' {{tl|RestartCurrentMap|AdminBase}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====SendLoggedList==== | ||
+ | {{code|protected function '''SendLoggedList''' ()}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====SendUserList==== | ||
+ | {{code|protected function '''SendUserList''' ([[string]] '''mask''')}} | ||
+ | |||
+ | <!-- enter function description --> |
Latest revision as of 11:26, 23 January 2009
Contents
- 1 Properties
- 1.1 AdminUser
- 1.2 ConfigSet
- 1.3 Msg_AddedMutator
- 1.4 Msg_AlreadyEdited
- 1.5 Msg_EditFailed
- 1.6 Msg_EditingCancelled
- 1.7 Msg_EditingClass
- 1.8 Msg_EditingCompleted
- 1.9 Msg_ErrAddingMutator
- 1.10 Msg_ErrRemovingMutator
- 1.11 Msg_FinishGameEditFirst
- 1.12 Msg_FinishGameRestart
- 1.13 Msg_GameNoSupportBots
- 1.14 Msg_MapListNeedGameEdit
- 1.15 Msg_MustEndGameEdit
- 1.16 Msg_MutNeedGameEdit
- 1.17 Msg_NoAddNamedBot
- 1.18 Msg_NoBotGameFull
- 1.19 Msg_NoBotsPlaying
- 1.20 Msg_NoMutatorInUse
- 1.21 Msg_NotEditing
- 1.22 Msg_NoUnusedMuts
- 1.23 Msg_RemovedMutator
- 1.24 Msg_SetBotNeedVal
- 1.25 Msg_StatsNoBots
- 1.26 NextGameType
- 1.27 NextMutators
- 1.28 xManager
- 2 Functions
- Package:
- XAdmin
- Within class:
- PlayerController
- This class in other games:
- UT2003
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. |
Class: XAdmin.AdminIni Parent: Engine.Admin
TODO: Implement <cmd> help for inline help text ?
Properties[edit]
AdminUser[edit]
Type: xAdminUser
ConfigSet[edit]
Type: GameConfigSet
Msg_AddedMutator[edit]
Type: string
Modifiers: localized
Default value: "Added '%Mutator%' to used mutator list."
Msg_AlreadyEdited[edit]
Type: string
Modifiers: localized
Default value: "Game Already being edited by Someone Else"
Msg_EditFailed[edit]
Type: string
Modifiers: localized
Default value: "Failed Starting To Edit"
Msg_EditingCancelled[edit]
Type: string
Modifiers: localized
Default value: "Editing Cancelled"
Msg_EditingClass[edit]
Type: string
Modifiers: localized
Default value: "Editing %Class%"
Msg_EditingCompleted[edit]
Type: string
Modifiers: localized
Default value: "Editing Completed"
Msg_ErrAddingMutator[edit]
Type: string
Modifiers: localized
Default value: "Error Adding '%Mutator%'To Used Mutator List"
Msg_ErrRemovingMutator[edit]
Type: string
Modifiers: localized
Default value: "Error Removing '%Mutator%' from used mutator List"
Msg_FinishGameEditFirst[edit]
Type: string
Modifiers: localized
Default value: "You must finish your Game Edit before restarting the map"
Msg_FinishGameRestart[edit]
Type: string
Modifiers: localized
Default value: "You must finish your Game Edit before changing or restarting the map"
Msg_GameNoSupportBots[edit]
Type: string
Modifiers: localized
Default value: "The current Game Type does not support Bots"
Msg_MapListNeedGameEdit[edit]
Type: string
Modifiers: localized
Default value: "You must use 'Game Edit' command before 'MapList' command"
Msg_MustEndGameEdit[edit]
Type: string
Modifiers: localized
Default value: "You must end your Game Edit first"
Msg_MutNeedGameEdit[edit]
Type: string
Modifiers: localized
Default value: "You must use 'Game Edit' command before 'Mutators' commands"
Msg_NoAddNamedBot[edit]
Type: string
Modifiers: localized
Default value: "Can only add named bots once the match has started"
Msg_NoBotGameFull[edit]
Type: string
Modifiers: localized
Default value: "Cannot add a bot, game is full."
Msg_NoBotsPlaying[edit]
Type: string
Modifiers: localized
Default value: "No bots are currently playing"
Msg_NoMutatorInUse[edit]
Type: string
Modifiers: localized
Default value: "No Mutators in use"
Msg_NotEditing[edit]
Type: string
Modifiers: localized
Default value: "You are not editing Game Settings, use 'Game Edit' first"
Msg_NoUnusedMuts[edit]
Type: string
Modifiers: localized
Default value: "Found no unused mutators"
Msg_RemovedMutator[edit]
Type: string
Modifiers: localized
Default value: "Removed '%Mutator%' From Used Mutator List"
Msg_SetBotNeedVal[edit]
Type: string
Modifiers: localized
Default value: "This command requires a numeric value between 0 and 32"
Msg_StatsNoBots[edit]
Type: string
Modifiers: localized
Default value: "Cannot control bots when Worlds Stats are enabled"
NextGameType[edit]
Type: string
Modifiers: protected
NextMutators[edit]
Type: string
Modifiers: protected
xManager[edit]
Type: AccessControlIni
Functions[edit]
Exec functions[edit]
Bots[edit]
Game[edit]
Mutators[edit]
User[edit]
Events[edit]
Created[edit]
Overrides: AdminBase.Created
Other instance functions[edit]
CanPerform[edit]
Overrides: AdminBase.CanPerform
DoLogin[edit]
Overrides: AdminBase.DoLogin
DoLogout[edit]
Overrides: AdminBase.DoLogout
DoSwitch[edit]
Overrides: AdminBase.DoSwitch
GotoNextMap[edit]
Overrides: AdminBase.GoToNextMap
MakeBotsList[edit]
MapListCommand[edit]
Overrides: AdminBase.MaplistCommand
RestartCurrentMap[edit]
Overrides: AdminBase.RestartCurrentMap