The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:UTMutator_WeaponReplacementSettings (UT3)

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

Settings for the UTMutator_Arena

Copyright 2008 Epic Games, Inc. All Rights Reserved

Author: Michiel 'elmuerte' Hendriks

Properties

weapons

Type: array<WeaponData>


Structs

WeaponData

name clsName 
name ammoClsName 
UTUIDataProvider_Weapon data 

Instance functions

cleanup

function cleanup ()

Specified by: IAdvWebAdminSettings.cleanup

Called when the instance is queued to be cleanup. It should be used to unset all actor references.

initSettings

function initSettings (WorldInfo worldinfo, DataStoreCache dscache)

Specified by: IAdvWebAdminSettings.initSettings

Called when the instance is created.

renderSettings

function renderSettings (WebResponse response, SettingsRenderer renderer, optional string substName)

Specified by: IAdvWebAdminSettings.renderSettings

Called to render the settings. This produce the HTML code for all settings this implementation should expose. You can use the given SettingsRenderer to perform standard rendering.

saveSettings

function bool saveSettings (WebRequest request, WebAdminMessages messages)

Specified by: IAdvWebAdminSettings.saveSettings

Called when the settings should be saved. Return true when the settings were saved. Use the webadmin reference to addMessage for feedback to the user about incorrect values and what not.