Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.Settings

Extends
Object
Modifiers
native abstract

Base class for any type of settings that can be manipulated by the UI

Core.Object
|   
+-- Engine.Settings

Direct Known Subclasses:

OnlineGameSearch, OnlineGameSettings, UTLeaderboardSettings

Constants Summary
Inherited Contants from Core.Object
DegToRad, INDEX_NONE, MaxInt, Pi, RadToDeg

Variables Summary
array<LocalizedStringSetting>LocalizedSettings
array<LocalizedStringSettingMetaData>LocalizedSettingsMappings
array<SettingsProperty>Properties
array<SettingsPropertyPropertyMetaData>PropertyMappings
Inherited Variables from Core.Object
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject

Enumerations Summary
EOnlineDataAdvertisementType
ODAT_DontAdvertise, ODAT_OnlineService, ODAT_QoS
EPropertyValueMappingType
PVMT_RawValue, PVMT_PredefinedValues, PVMT_Ranged, PVMT_IdMapped
ESettingsDataType
SDT_Empty, SDT_Int32, SDT_Int64, SDT_Double, SDT_String, SDT_Float, SDT_Blob, SDT_DateTime
Inherited Enumerations from Core.Object
EAxis, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup

Structures Summary
IdToStringMapping
Id, Name
LocalizedStringSetting
Id, ValueIndex, AdvertisementType
LocalizedStringSettingMetaData
Id, Name, ColumnHeaderText, ValueMappings
SettingsData
Type, Value1, Value2
SettingsProperty
PropertyId, Data, AdvertisementType
SettingsPropertyPropertyMetaData
Id, Name, ColumnHeaderText, MappingType, ValueMappings, PredefinedValues, MinVal, MaxVal, RangeIncrement
StringIdToStringMapping
Id, Name, bIsWildcard
Inherited Structures from Core.Object
Box, BoxSphereBounds, Color, Cylinder, double, DynamicMap_Mirror, Guid, IndirectArray_Mirror, InterpCurveFloat, InterpCurvePointFloat, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, Rotator, TextureMipBulkData_Mirror, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Functions Summary
function AppendContextsToURL (out string URL)
function AppendDataBindingsToURL (out string URL)
function AppendPropertiesToURL (out string URL)
function BuildURL (out string URL)
function EmptySettingsData (out SettingsData Data)
function GetDataBindingProperties (out array<name> DataBindingProperties)
functionbool GetDataBindingValue (name Property, out string Value, optional bool bIgnoreDefaults)
functionbool GetFloatProperty (int PropertyId, ut float Value)
functionbool GetIntProperty (int PropertyId, ut int Value)
functionstring GetPropertyAsString (int PropertyId)
functionstring GetPropertyAsStringByName (name PropertyName)
functionstring GetPropertyColumnHeader (int PropertyId)
functionbool GetPropertyId (name PropertyName, ut int PropertyId)
functionbool GetPropertyMappingType (int PropertyId, ut EPropertyValueMappingType OutType)
functionname GetPropertyName (int PropertyId)
functionbool GetPropertyRange (int PropertyId, ut float OutMinValue, ut float OutMaxValue, ut float RangeIncrement, ut byte bFormatAsInt)
functionESettingsDataType GetPropertyType (int PropertyId)
function GetQoSAdvertisedProperties (out array<SettingsProperty> QoSProps)
function GetQoSAdvertisedStringSettings (out array<LocalizedStringSetting> QoSSettings)
functionbool GetRangedPropertyValue (int PropertyId, ut float OutValue)
function GetSettingsDataBlob (out SettingsData Data, ut array<byte> OutBlob)
function GetSettingsDataDateTime (out SettingsData Data, ut int OutInt1, ut int OutInt2)
functionfloat GetSettingsDataFloat (out SettingsData Data)
functionint GetSettingsDataInt (out SettingsData Data)
functionstring GetSettingsDataString (out SettingsData Data)
functionbool GetStringProperty (int PropertyId, ut string Value)
functionstring GetStringSettingColumnHeader (int StringSettingId)
functionbool GetStringSettingId (name StringSettingName, ut int StringSettingId)
functionname GetStringSettingName (int StringSettingId)
functionbool GetStringSettingValue (int StringSettingId, ut int ValueIndex)
functionbool GetStringSettingValueByName (name StringSettingName, ut int ValueIndex)
functionname GetStringSettingValueName (int StringSettingId, nt ValueIndex)
functionname GetStringSettingValueNameByName (name StringSettingName)
functionbool GetStringSettingValueNames (int StringSettingId, ut array<IdToStringMapping> Values)
functionbool HasProperty (int PropertyId)
functionbool HasStringSetting (int SettingId)
functionbool IsWildcardStringSetting (int StringSettingId)
functionbool SetDataBindingValue (name Property, string Value)
function SetFloatProperty (int PropertyId, loat Value)
function SetIntProperty (int PropertyId, nt Value)
functionbool SetPropertyFromStringByName (name PropertyName, onst out string NewValue)
functionbool SetRangedPropertyValue (int PropertyId, loat NewValue)
function SetSettingsData (out SettingsData Data, ut SettingsData Data2Copy)
function SetSettingsDataBlob (out SettingsData Data, ut array<byte> InBlob)
function SetSettingsDataDateTime (out SettingsData Data, nt InInt1, nt InInt2)
function SetSettingsDataFloat (out SettingsData Data, loat InFloat)
function SetSettingsDataInt (out SettingsData Data, nt InInt)
function SetSettingsDataString (out SettingsData Data, tring InString)
function SetStringProperty (int PropertyId, tring Value)
function SetStringSettingValue (int StringSettingId, nt ValueIndex, ool bShouldAutoAdd)
function SetStringSettingValueByName (name StringSettingName, nt ValueIndex, ool bShouldAutoAdd)
functionbool SetStringSettingValueFromStringByName (name StringSettingName, onst out string NewValue)
function UpdateFromURL (const out string URL, GameInfo Game)
function UpdateProperties (const out array<SettingsProperty> Props, ool bShouldAddIfMissing = true)
function UpdateStringSettings (const out array<LocalizedStringSetting> Settings, ool bShouldAddIfMissing = true)
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClassIsChildOf, ClearConfig, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, Exp, FClamp, FCubicInterp, FindDeltaAngle, FindObject, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetDotDistance, GetEnum, GetFuncName, GetHeadingAngle, GetNetFuncName, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetSpecialValue, GetStateName, GetUnAxes, GotoState, InStr, IsA, IsChildState, IsInState, IsNetScript, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, OrthoRotation, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointInBox, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RandRange, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, SaveConfig, SClampRotAxis, ScriptTrace, SetSpecialValue, SetUTracing, Sin, Split, Sqrt, Square, StaticClearConfig, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Variables Detail

LocalizedSettings Source code

var array<LocalizedStringSetting> LocalizedSettings;
The various localized string settings to use with the session

LocalizedSettingsMappings Source code

var array<LocalizedStringSettingMetaData> LocalizedSettingsMappings;
Used to map a localized string setting to a human readable string

Properties Source code

var array<SettingsProperty> Properties;
The properties used by the derived settings class

PropertyMappings Source code

var array<SettingsPropertyPropertyMetaData> PropertyMappings;
Used to map a property to a human readable string and validate its range


Enumerations Detail

EOnlineDataAdvertisementType Source code

enum EOnlineDataAdvertisementType
{
ODAT_DontAdvertise, ODAT_OnlineService, ODAT_QoS
};
The types of advertisement of settings to use

EPropertyValueMappingType Source code

enum EPropertyValueMappingType
{
PVMT_RawValue, PVMT_PredefinedValues, PVMT_Ranged, PVMT_IdMapped
};
Used to indicate how the data should be retrieved for the UI

ESettingsDataType Source code

enum ESettingsDataType
{
SDT_Empty, SDT_Int32, SDT_Int64, SDT_Double, SDT_String, SDT_Float, SDT_Blob, SDT_DateTime
};
The supported data types that can be stored in the union


Structures Detail

IdToStringMapping Source code

struct IdToStringMapping
{
var const int Id;
var const localized name Name;
};
Maps an Id value to a string
Id:
Id for the given string
Name:
Human readable form of the Id

LocalizedStringSetting Source code

struct LocalizedStringSetting
{
var EOnlineDataAdvertisementType AdvertisementType;
var int Id;
var int ValueIndex;
};
Structure used to represent a string setting that has a restricted and localized set of value strings. For instance: GameType (id) Values = (0) Death Match, (1) Team Death Match, etc. This allows strings to be transmitted using only 8 bytes and each string is correct for the destination language irrespective of sender's language
AdvertisementType:
How this setting should be presented to requesting clients: online or QoS
Id:
The unique identifier for this localized string
ValueIndex:
The unique index into the list of localized strings

LocalizedStringSettingMetaData Source code

struct LocalizedStringSettingMetaData
{
var const localized string ColumnHeaderText;
var const int Id;
var const name Name;
var const array<StringIdToStringMapping> ValueMappings;
};
Contains the meta information for a given context
ColumnHeaderText:
Localized text used for list column headers
Id:
Id for the given string
Name:
Human readable form of the Id
ValueMappings:
Holds the mappings of localized string setting values to their human readable form

SettingsData Source code

struct SettingsData
{
var const ESettingsDataType Type;
var const int Value1;
var const transient native pointer Value2;
};
Structure to hold arbitrary data of a given type
Type:
Enum (byte) indicating the type of data held in the value fields
Value1:
This is a union of value types and should never be used in script
Value2:
This is a union of value types and should never be used in script NOTE: It's declared as a pointer for 64bit systems

SettingsProperty Source code

struct SettingsProperty
{
var EOnlineDataAdvertisementType AdvertisementType;
var SettingsData Data;
var int PropertyId;
};
Structure used to hold non-localized string data. Properties can be arbitrary types.
AdvertisementType:
How this setting should be presented to requesting clients: online or QoS
Data:
The data stored for the type
PropertyId:
The unique id for this property

SettingsPropertyPropertyMetaData Source code

struct SettingsPropertyPropertyMetaData
{
var const localized string ColumnHeaderText;
var const int Id;
var const EPropertyValueMappingType MappingType;
var const float MaxVal;
var const float MinVal;
var const name Name;
var const array<SettingsData> PredefinedValues;
var const float RangeIncrement;
var const array<IdToStringMapping> ValueMappings;
};
Contains the meta information needed to validate property data
ColumnHeaderText:
Localized text used for list column headers
Id:
Id for the given string
MappingType:
Whether the value is ID mapped or should be string-ized
MaxVal:
The max value for this property
MinVal:
The min value for this property
Name:
Human readable form of the Id
PredefinedValues:
Holds a set of predefined values for a property when freeform editing isn't desired
RangeIncrement:
The amount that this range can be incremented/decremented by
ValueMappings:
Holds the mappings of value IDs to their human readable form

StringIdToStringMapping Source code

struct StringIdToStringMapping
{
var const bool bIsWildcard;
var const int Id;
var const localized name Name;
};
Maps an Id value to a string
bIsWildcard:
Whether this id is used to indicate a wildcard value or not
Id:
Id for the given string
Name:
Human readable form of the Id


Functions Detail

AppendContextsToURL Source code

native function AppendContextsToURL ( out string URL )
Appends contexts to the URL.
@param OutURL String to append contexts to.

AppendDataBindingsToURL Source code

native function AppendDataBindingsToURL ( out string URL )
Appends databindings to the URL.
@param OutURL String to append bindings to.

AppendPropertiesToURL Source code

native function AppendPropertiesToURL ( out string URL )
Appends properties to the URL.
@param OutURL String to append properties to.

BuildURL Source code

native function BuildURL ( out string URL )
Builds an URL out of the string settings and properties
@param URL the string to populate

EmptySettingsData Source code

static native function EmptySettingsData ( out SettingsData Data )
Empties an SettingsData structure
@param Data the data structure to set the fields of

GetDataBindingProperties Source code

native final function GetDataBindingProperties ( out array<name> DataBindingProperties )
Outputs the names of properties in the class which are databinding, and which can be manipulated using GetDataBindingValue and SetDataBindingValue. Property types which are not returned are: Object, Delegate, Array and Struct

GetDataBindingValue Source code

native final function bool GetDataBindingValue ( name Property, out string Value, optional bool bIgnoreDefaults )
Outputs the value of the specified databinding property, returning True if successful NOTE: This has the same restrictions on property types as 'GetDataBindingProperties'
@param bIgnoreDefaults If true, then the function returns false and does not output a value if the property is still at it's default value

GetFloatProperty Source code

native function bool GetFloatProperty ( int PropertyId,out float Value )
Reads a property of type SDT_Float into the value specified. Does nothing if the property is not of the right type.
@param PropertyId the property to read the value of
@param Value the out value containing the property's value
@return true if found and is the right type, false otherwise

GetIntProperty Source code

native function bool GetIntProperty ( int PropertyId,out int Value )
Reads a property of type SDT_Int32 into the value specified. Does nothing if the property is not of the right type.
@param PropertyId the property to change the value of
@param Value the out value containing the property's value
@return true if found and is the right type, false otherwise

GetPropertyAsString Source code

native function string GetPropertyAsString ( int PropertyId )
Converts a property to a string. Searches by id
@param PropertyId the id to look up in the mappings table
@return the string form of the property value or an empty string if invalid/missing

GetPropertyAsStringByName Source code

native function string GetPropertyAsStringByName ( name PropertyName )
Converts a property to a string. Searches by name
@param PropertyName the name of the property to find
@return the string form of the property value or an empty string if invalid/missing

GetPropertyColumnHeader Source code

native function string GetPropertyColumnHeader ( int PropertyId )
Finds the localized column header text for the property
@param PropertyId the id to look up in the mappings table
@return the string to use as the list column header for the property that matches the id, or an empty string if not found.

GetPropertyId Source code

native function bool GetPropertyId ( name PropertyName,out int PropertyId )
Searches the property array for the matching property and returns the id
@param PropertyName the name of the property being searched for
@param PropertyId the id of the context that matches the name
@return true if the property was found, false otherwise

GetPropertyMappingType Source code

native function bool GetPropertyMappingType ( int PropertyId,out EPropertyValueMappingType OutType )
Determines the mapping type for the specified property
@param PropertyId the ID to get the mapping type for
@param OutType the out var the value is placed in
@return TRUE if found, FALSE otherwise

GetPropertyName Source code

native function name GetPropertyName ( int PropertyId )
Finds the human readable name for the property
@param PropertyId the id to look up in the mappings table
@return the name of the property that matches the id or NAME_None if not found

GetPropertyRange Source code

native function bool GetPropertyRange ( int PropertyId,out float OutMinValue,out float OutMaxValue,out float RangeIncrement,out byte bFormatAsInt )
Determines the min and max values of a property that is clamped to a range
@param PropertyId the ID to get the mapping type for
@param OutMinValue the out var the min value is placed in
@param OutMaxValue the out var the max value is placed in
@param RangeIncrement the amount the range can be adjusted by the UI in any single update
@param bFormatAsInt whether the range's value should be treated as an int.
@return TRUE if found and is a range property, FALSE otherwise

GetPropertyType Source code

native function ESettingsDataType GetPropertyType ( int PropertyId )
Determines the property type for the specified property id
@param PropertyId the property to change the value of
@return the type of property, or SDT_Empty if not found

GetQoSAdvertisedProperties Source code

native function GetQoSAdvertisedProperties ( out array<SettingsProperty> QoSProps )
Scans the properties for the ones that need to be set via QoS data
@param QoSProps the out array holding the list of properties to advertise via QoS

GetQoSAdvertisedStringSettings Source code

native function GetQoSAdvertisedStringSettings ( out array<LocalizedStringSetting> QoSSettings )
Scans the string settings for the ones that need to be set via QoS data
@param QoSSettings the out array holding the list of settings to advertise via QoS

GetRangedPropertyValue Source code

native function bool GetRangedPropertyValue ( int PropertyId,out float OutValue )
Gets the value of a ranged property
@param PropertyId the ID to get the value of
@param OutValue the out var that receives the value
@return TRUE if found and is a range property, FALSE otherwise

GetSettingsDataBlob Source code

static native function GetSettingsDataBlob ( out SettingsData Data,out array<byte> OutBlob )
Static function for copying data out the SettingsData union
@param Data the data structure to copy the data from
@param OutBlob the buffer to copy the data into

GetSettingsDataDateTime Source code

static native function GetSettingsDataDateTime ( out SettingsData Data,out int OutInt1,out int OutInt2 )
Static function for getting members of the SettingsData union
@param Data the data structure to get the fields of
@param OutInt1 first half of the data to get
@param OutInt2 second half of the data to get

GetSettingsDataFloat Source code

static native function float GetSettingsDataFloat ( out SettingsData Data )
Static function for copying data out of the SettingsData union
@param Data the data structure to copy the data from

GetSettingsDataInt Source code

static native function int GetSettingsDataInt ( out SettingsData Data )
Static function for copying data out of the SettingsData union
@param Data the data structure to copy the data from

GetSettingsDataString Source code

static native function string GetSettingsDataString ( out SettingsData Data )
Static function for copying data out of the SettingsData union.
@param Data the data structure to copy the data from

GetStringProperty Source code

native function bool GetStringProperty ( int PropertyId,out string Value )
Reads a property of type SDT_String into the value specified. Does nothing if the property is not of the right type.
@param PropertyId the property to change the value of
@param Value the out value containing the property's value
@return true if found and is the right type, false otherwise

GetStringSettingColumnHeader Source code

native function string GetStringSettingColumnHeader ( int StringSettingId )
Finds the localized column header text for the string setting
@param StringSettingId the id to look up in the mappings table
@return the string to use as the list column header for the string setting that matches the id, or an empty string if not found.

GetStringSettingId Source code

native function bool GetStringSettingId ( name StringSettingName,out int StringSettingId )
Searches the context array for the matching string setting name and returns the id
@param StringSettingName the name of the string setting being searched for
@param StringSettingId the id of the context that matches the name
@return true if the seting was found, false otherwise

GetStringSettingName Source code

native function name GetStringSettingName ( int StringSettingId )
Finds the human readable name for the localized string setting
@param StringSettingId the id to look up in the mappings table
@return the name of the string setting that matches the id or NAME_None if not found

GetStringSettingValue Source code

native function bool GetStringSettingValue ( int StringSettingId,out int ValueIndex )
Searches the localized string setting array for the matching id and returns its value
@param StringSettingId the string setting to find the value of
@param ValueIndex the out value that is set when found
@return true if found, false otherwise

GetStringSettingValueByName Source code

native function bool GetStringSettingValueByName ( name StringSettingName,out int ValueIndex )
Searches the localized string setting array for the matching name and returns its value
@param StringSettingName the setting name to find the value of
@param ValueIndex the out value that is set when found
@return true if found, false otherwise

GetStringSettingValueName Source code

native function name GetStringSettingValueName ( int StringSettingId,int ValueIndex )
Finds the human readable name for a string setting's value. Searches the string settings mappings for the specifc string setting and then searches the set of values for the specific value index and returns that value's human readable name
@param StringSettingId the id to look up in the mappings table
@param ValueIndex the value index to find the string value of
@return the name of the string setting value that matches the id & index or NAME_None if not found

GetStringSettingValueNameByName Source code

native function name GetStringSettingValueNameByName ( name StringSettingName )
Finds the human readable name for a string setting's value. Searches the string settings mappings for the specifc string setting and then searches the set of values for the specific value index and returns that value's human readable name
@param StringSettingName the name of the string setting to find the string value of
@return the name of the string setting value that matches the name or NAME_None if not found

GetStringSettingValueNames Source code

native function bool GetStringSettingValueNames ( int StringSettingId,out array<IdToStringMapping> Values )
Searches the localized string setting array for the matching id and returns the list of possible values
@param StringSettingId the string setting to find the value of
@param Values the out value that is a list of value names and their ids
@return true if found, false otherwise

HasProperty Source code

native function bool HasProperty ( int PropertyId )
Determines if a given property is present for this object
@param PropertyId the ID to check on
@return TRUE if the property is part of this object, FALSE otherwise

HasStringSetting Source code

native function bool HasStringSetting ( int SettingId )
Determines if a given localized string setting is present for this object
@param SettingId the ID to check on
@return TRUE if the setting is part of this object, FALSE otherwise

IsWildcardStringSetting Source code

native function bool IsWildcardStringSetting ( int StringSettingId )
Determines if the value for the specified setting is a wildcard option
@param StringSettingId the id to check for being a wildcard
@return true if the current value is a wildcard, false otherwise

SetDataBindingValue Source code

native final function bool SetDataBindingValue ( name Property, string Value )
Sets the value of the specified databinding property to the specified input value, returning True if successful NOTE: This has the same restrictions on property types as 'GetDataBindingProperties'

SetFloatProperty Source code

native function SetFloatProperty ( int PropertyId,float Value )
Sets a property of type SDT_Float to the value specified. Does nothing if the property is not of the right type.
@param PropertyId the property to change the value of
@param Value the new value to assign

SetIntProperty Source code

native function SetIntProperty ( int PropertyId,int Value )
Sets a property of type SDT_Int32 to the value specified. Does nothing if the property is not of the right type.
@param PropertyId the property to change the value of
@param Value the new value to assign

SetPropertyFromStringByName Source code

native function bool SetPropertyFromStringByName ( name PropertyName,const out string NewValue )
Searches for the property by name and sets the property to the value contained in the string
@param PropertyName the name of the property to find
@param NewValue the string value to use
@return true if the property was found and the value was set, false otherwise

SetRangedPropertyValue Source code

native function bool SetRangedPropertyValue ( int PropertyId,float NewValue )
Sets the value of a ranged property, clamping to the min/max values
@param PropertyId the ID of the property to set
@param NewValue the new value to apply to the
@return TRUE if found and is a range property, FALSE otherwise

SetSettingsData Source code

static native function SetSettingsData ( out SettingsData Data,out SettingsData Data2Copy )
Static function for setting members of the SettingsData union
@param Data the data structure to set the fields of
@param Data2Copy the SettingsData object to copy

SetSettingsDataBlob Source code

static native function SetSettingsDataBlob ( out SettingsData Data,out array<byte> InBlob )
Static function for setting members of the SettingsData union
@param Data the data structure to set the fields of
@param InBlob the 8 bytes to copy into the union

SetSettingsDataDateTime Source code

static native function SetSettingsDataDateTime ( out SettingsData Data,int InInt1,int InInt2 )
Static function for setting members of the SettingsData union
@param Data the data structure to set the fields of
@param InInt1 first half of the data to set
@param InInt2 second half of the data to set

SetSettingsDataFloat Source code

static native function SetSettingsDataFloat ( out SettingsData Data,float InFloat )
Static function for setting members of the SettingsData union
@param Data the data structure to set the fields of
@param InFloat the float data to set in the union

SetSettingsDataInt Source code

static native function SetSettingsDataInt ( out SettingsData Data,int InInt )
Static function for setting members of the SettingsData union
@param Data the data structure to set the fields of
@param InInt the 32 bit integer data to set in the union

SetSettingsDataString Source code

static native function SetSettingsDataString ( out SettingsData Data,string InString )
Static function for setting members of the SettingsData union.
@param Data the data structure to set the fields of
@param InString the string data to set in the union

SetStringProperty Source code

native function SetStringProperty ( int PropertyId,string Value )
Sets a property of type SDT_String to the value specified. Does nothing if the property is not of the right type.
@param PropertyId the property to change the value of
@param Value the new value to assign

SetStringSettingValue Source code

native function SetStringSettingValue ( int StringSettingId,int ValueIndex,bool bShouldAutoAdd )
Searches the localized string setting array for the matching id and sets the value
@param StringSettingId the string setting to set the value for
@param ValueIndex the value of the string setting
@param bShouldAutoAdd whether to add the context if it is missing

SetStringSettingValueByName Source code

native function SetStringSettingValueByName ( name StringSettingName,int ValueIndex,bool bShouldAutoAdd )
Searches the localized string setting array for the matching name and sets the value
@param StringSettingName the setting name to set the value for
@param ValueIndex the value of the string setting
@param bShouldAutoAdd whether to add the string setting if it is missing

SetStringSettingValueFromStringByName Source code

native function bool SetStringSettingValueFromStringByName ( name StringSettingName,const out string NewValue )
Searches for the string setting by name and sets the value index to the value contained in the string setting meta data
@param StringSettingName the name of the string setting to find
@param NewValue the string value to use
@return true if the string setting was found and the value was set, false otherwise

UpdateFromURL Source code

native function UpdateFromURL ( const out string URL, GameInfo Game )
Updates the game settings object from parameters passed on the URL
@param URL the URL to parse for settings

UpdateProperties Source code

native function UpdateProperties ( const out array<SettingsProperty> Props,bool bShouldAddIfMissing = true )
Using the specified array, updates the matching properties to the new values in that array. Optionally, it will add properties that aren't currently part of this object.
@param Props the list of properties to update
@param bShouldAddIfMissing whether to automatically add the property if missing

UpdateStringSettings Source code

native function UpdateStringSettings ( const out array<LocalizedStringSetting> Settings,bool bShouldAddIfMissing = true )
Using the specified array, updates the matching settings to the new values in that array. Optionally, it will add settings that aren't currently part of this object.
@param Settings the list of settings to update
@param bShouldAddIfMissing whether to automatically add the setting if missing


Defaultproperties

defaultproperties
{
   Name="Default__Settings"
   ObjectArchetype=Object'Core.Default__Object'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:44.120 - Created with UnCodeX