I love the smell of UnrealEd crashing in the morning. – tarquin

UE3:SettingsRenderer (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> SettingsRenderer
Package: 
WebAdmin

This class provides the functionality to render a HTML page of a Settings instance.

Copyright 2008 Epic Games, Inc. All Rights Reserved

Author: Michiel 'elmuerte' Hendriks

Properties[edit]

curResponse[edit]

Type: WebResponse

Modifiers: protected


curSettings[edit]

Type: Settings

Modifiers: protected


groups[edit]

Type: array<SettingsGroup>


namePrefix[edit]

Type: string

Modifiers: protected

Prefix for variable names

path[edit]

Type: string

Modifiers: protected

The base path to load the include files from

prefix[edit]

Type: string

Modifiers: protected

Prefix of all include files.

Structs[edit]

SettingsGroup[edit]

string title 
array<SortedSetting> settings 
int pMin 
int pMax 
int lMin 
int lMax 

SortedSetting[edit]

string txt 
int idx 
index of this item in one of the whole lists
bool isLocalized 
if true it's a localized setting rather than a property

Instance functions[edit]

cleanup[edit]

function cleanup ()


createGroups[edit]

function createGroups ()

Creates the settings groups

defaultSubst[edit]

function defaultSubst (int settingId)

Set the default substitution parts for the current property

getFilePrefix[edit]

function string getFilePrefix ()


getLocalizedSettingText[edit]

function string getLocalizedSettingText (int settingId)

Get a readable name for the current localized property

getNamePrefix[edit]

function string getNamePrefix ()


getPath[edit]

function string getPath ()


getSettingText[edit]

function string getSettingText (int settingId)

Get a name for the current setting property.

init[edit]

function init (string basePath, optional string namePre, optional string filePrefix)

Initialization when the instance is created.

initEx[edit]

function initEx (Settings settings, WebResponse response)

Used to initialize the rendered for an IAdvWebAdminSettings instance

render[edit]

function render (Settings settings, WebResponse response, optional string substName)

Render all properties of the given settings instance

renderGroup[edit]

function string renderGroup (SettingsGroup group)

Render a selection of settings

renderIdMapped[edit]

function string renderIdMapped (int settingId, int idx)


renderLocalizedSetting[edit]

function string renderLocalizedSetting (int settingId)

Render a localized property

renderPredefinedValues[edit]

function string renderPredefinedValues (int settingId, int idx)


renderRanged[edit]

function string renderRanged (int settingId)


renderRaw[edit]

function string renderRaw (int settingId, int idx)


sortSettings[edit]

function sortSettings (int groupId)

Sort all settings based on their name