UE3:Settings native functions (UT3)
- Settings native functions in other games:
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. |
Native functions
AppendContextsToURL
Appends contexts to the URL.
Parameters:
- OutURL - String to append contexts to.
AppendDataBindingsToURL
Appends databindings to the URL.
Parameters:
- OutURL - String to append bindings to.
AppendPropertiesToURL
Appends properties to the URL.
Parameters:
- OutURL - String to append properties to.
BuildURL
Builds an URL out of the string settings and properties
Parameters:
- URL - the string to populate
GetDataBindingProperties
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
Outputs the value of the specified databinding property, returning True if successful NOTE: This has the same restrictions on property types as 'GetDataBindingProperties'
Parameters:
- 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
Reads a property of type SDT_Float into the value specified. Does nothing if the property is not of the right type.
Parameters:
- PropertyId - the property to read the value of
- Value - the out value containing the property's value
Returns:
- true if found and is the right type, false otherwise
GetIntProperty
Reads a property of type SDT_Int32 into the value specified. Does nothing if the property is not of the right type.
Parameters:
- PropertyId - the property to change the value of
- Value - the out value containing the property's value
Returns:
- true if found and is the right type, false otherwise
GetPropertyAsString
Converts a property to a string. Searches by id
Parameters:
- PropertyId - the id to look up in the mappings table
Returns:
- the string form of the property value or an empty string if invalid/missing
GetPropertyAsStringByName
Converts a property to a string. Searches by name
Parameters:
- PropertyName - the name of the property to find
Returns:
- the string form of the property value or an empty string if invalid/missing
GetPropertyColumnHeader
Finds the localized column header text for the property
Parameters:
- PropertyId - the id to look up in the mappings table
Returns:
- the string to use as the list column header for the property that matches the id, or an empty string if not found.
GetPropertyId
Searches the property array for the matching property and returns the id
Parameters:
- PropertyName - the name of the property being searched for
- PropertyId - the id of the context that matches the name
Returns:
- true if the property was found, false otherwise
GetPropertyMappingType
Determines the mapping type for the specified property
Parameters:
- PropertyId - the ID to get the mapping type for
- OutType - the out var the value is placed in
Returns:
- TRUE if found, FALSE otherwise
GetPropertyName
Finds the human readable name for the property
Parameters:
- PropertyId - the id to look up in the mappings table
Returns:
- the name of the property that matches the id or NAME_None if not found
GetPropertyRange
Determines the min and max values of a property that is clamped to a range
Parameters:
- PropertyId - the ID to get the mapping type for
- OutMinValue - the out var the min value is placed in
- OutMaxValue - the out var the max value is placed in
- RangeIncrement - the amount the range can be adjusted by the UI in any single update
- bFormatAsInt - whether the range's value should be treated as an int.
Returns:
- TRUE if found and is a range property, FALSE otherwise
GetPropertyType
Determines the property type for the specified property id
Parameters:
- PropertyId - the property to change the value of
Returns:
- the type of property, or SDT_Empty if not found
GetQoSAdvertisedProperties
Scans the properties for the ones that need to be set via QoS data
Parameters:
- QoSProps - the out array holding the list of properties to advertise via QoS
GetQoSAdvertisedStringSettings
Scans the string settings for the ones that need to be set via QoS data
Parameters:
- QoSSettings - the out array holding the list of settings to advertise via QoS
GetRangedPropertyValue
Gets the value of a ranged property
Parameters:
- PropertyId - the ID to get the value of
- OutValue - the out var that receives the value
Returns:
- TRUE if found and is a range property, FALSE otherwise
GetStringProperty
Reads a property of type SDT_String into the value specified. Does nothing if the property is not of the right type.
Parameters:
- PropertyId - the property to change the value of
- Value - the out value containing the property's value
Returns:
- true if found and is the right type, false otherwise
GetStringSettingColumnHeader
Finds the localized column header text for the string setting
Parameters:
- StringSettingId - the id to look up in the mappings table
Returns:
- 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
Searches the context array for the matching string setting name and returns the id
Parameters:
- StringSettingName - the name of the string setting being searched for
- StringSettingId - the id of the context that matches the name
Returns:
- true if the seting was found, false otherwise
GetStringSettingName
Finds the human readable name for the localized string setting
Parameters:
- StringSettingId - the id to look up in the mappings table
Returns:
- the name of the string setting that matches the id or NAME_None if not found
GetStringSettingValue
Searches the localized string setting array for the matching id and returns its value
Parameters:
- StringSettingId - the string setting to find the value of
- ValueIndex - the out value that is set when found
Returns:
- true if found, false otherwise
GetStringSettingValueByName
Searches the localized string setting array for the matching name and returns its value
Parameters:
- StringSettingName - the setting name to find the value of
- ValueIndex - the out value that is set when found
Returns:
- true if found, false otherwise
GetStringSettingValueName
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
Parameters:
- StringSettingId - the id to look up in the mappings table
- ValueIndex - the value index to find the string value of
Returns:
- the name of the string setting value that matches the id & index or NAME_None if not found
GetStringSettingValueNameByName
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
Parameters:
- StringSettingName - the name of the string setting to find the string value of
Returns:
- the name of the string setting value that matches the name or NAME_None if not found
GetStringSettingValueNames
Searches the localized string setting array for the matching id and returns the list of possible values
Parameters:
- StringSettingId - the string setting to find the value of
- Values - the out value that is a list of value names and their ids
Returns:
- true if found, false otherwise
HasProperty
Determines if a given property is present for this object
Parameters:
- PropertyId - the ID to check on
Returns:
- TRUE if the property is part of this object, FALSE otherwise
HasStringSetting
Determines if a given localized string setting is present for this object
Parameters:
- SettingId - the ID to check on
Returns:
- TRUE if the setting is part of this object, FALSE otherwise
IsWildcardStringSetting
Determines if the value for the specified setting is a wildcard option
Parameters:
- StringSettingId - the id to check for being a wildcard
Returns:
- true if the current value is a wildcard, false otherwise
SetDataBindingValue
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
Sets a property of type SDT_Float to the value specified. Does nothing if the property is not of the right type.
Parameters:
- PropertyId - the property to change the value of
- Value - the new value to assign
SetIntProperty
Sets a property of type SDT_Int32 to the value specified. Does nothing if the property is not of the right type.
Parameters:
- PropertyId - the property to change the value of
- Value - the new value to assign
SetPropertyFromStringByName
Searches for the property by name and sets the property to the value contained in the string
Parameters:
- PropertyName - the name of the property to find
- NewValue - the string value to use
Returns:
- true if the property was found and the value was set, false otherwise
SetRangedPropertyValue
Sets the value of a ranged property, clamping to the min/max values
Parameters:
- PropertyId - the ID of the property to set
- NewValue - the new value to apply to the
Returns:
- TRUE if found and is a range property, FALSE otherwise
SetStringProperty
Sets a property of type SDT_String to the value specified. Does nothing if the property is not of the right type.
Parameters:
- PropertyId - the property to change the value of
- Value - the new value to assign
SetStringSettingValue
Searches the localized string setting array for the matching id and sets the value
Parameters:
- StringSettingId - the string setting to set the value for
- ValueIndex - the value of the string setting
- bShouldAutoAdd - whether to add the context if it is missing
SetStringSettingValueByName
Searches the localized string setting array for the matching name and sets the value
Parameters:
- StringSettingName - the setting name to set the value for
- ValueIndex - the value of the string setting
- bShouldAutoAdd - whether to add the string setting if it is missing
SetStringSettingValueFromStringByName
Searches for the string setting by name and sets the value index to the value contained in the string setting meta data
Parameters:
- StringSettingName - the name of the string setting to find
- NewValue - the string value to use
Returns:
- true if the string setting was found and the value was set, false otherwise
UpdateFromURL
Updates the game settings object from parameters passed on the URL
Parameters:
- URL - the URL to parse for settings
UpdateProperties
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.
Parameters:
- Props - the list of properties to update
- bShouldAddIfMissing - whether to automatically add the property if missing
UpdateStringSettings
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.
Parameters:
- Settings - the list of settings to update
- bShouldAddIfMissing - whether to automatically add the setting if missing