Cogito, ergo sum
UE3:Settings native functions (UT3)
Contents
- 1 Native functions
- 1.1 AppendContextsToURL
- 1.2 AppendDataBindingsToURL
- 1.3 AppendPropertiesToURL
- 1.4 BuildURL
- 1.5 GetDataBindingProperties
- 1.6 GetDataBindingValue
- 1.7 GetFloatProperty
- 1.8 GetIntProperty
- 1.9 GetPropertyAsString
- 1.10 GetPropertyAsStringByName
- 1.11 GetPropertyColumnHeader
- 1.12 GetPropertyId
- 1.13 GetPropertyMappingType
- 1.14 GetPropertyName
- 1.15 GetPropertyRange
- 1.16 GetPropertyType
- 1.17 GetQoSAdvertisedProperties
- 1.18 GetQoSAdvertisedStringSettings
- 1.19 GetRangedPropertyValue
- 1.20 GetStringProperty
- 1.21 GetStringSettingColumnHeader
- 1.22 GetStringSettingId
- 1.23 GetStringSettingName
- 1.24 GetStringSettingValue
- 1.25 GetStringSettingValueByName
- 1.26 GetStringSettingValueName
- 1.27 GetStringSettingValueNameByName
- 1.28 GetStringSettingValueNames
- 1.29 HasProperty
- 1.30 HasStringSetting
- 1.31 IsWildcardStringSetting
- 1.32 SetDataBindingValue
- 1.33 SetFloatProperty
- 1.34 SetIntProperty
- 1.35 SetPropertyFromStringByName
- 1.36 SetRangedPropertyValue
- 1.37 SetStringProperty
- 1.38 SetStringSettingValue
- 1.39 SetStringSettingValueByName
- 1.40 SetStringSettingValueFromStringByName
- 1.41 UpdateFromURL
- 1.42 UpdateProperties
- 1.43 UpdateStringSettings
- Settings native functions in other games:
- UDK
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[edit]
AppendContextsToURL[edit]
Appends contexts to the URL.
Parameters:
- OutURL - String to append contexts to.
AppendDataBindingsToURL[edit]
Appends databindings to the URL.
Parameters:
- OutURL - String to append bindings to.
AppendPropertiesToURL[edit]
Appends properties to the URL.
Parameters:
- OutURL - String to append properties to.
BuildURL[edit]
Builds an URL out of the string settings and properties
Parameters:
- URL - the string to populate
GetDataBindingProperties[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
Updates the game settings object from parameters passed on the URL
Parameters:
- URL - the URL to parse for settings
UpdateProperties[edit]
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[edit]
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