I'm a doctor, not a mechanic

UE3:UIPropertyDataProvider (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> UIRoot >> UIDataProvider >> UIPropertyDataProvider
Package: 
Engine
Direct subclasses:
UIDynamicDataProvider, UIResourceDataProvider, UISettingsProvider
This class in other games:
UT3

Base class for data providers which provide data pulled directly from member UProperties.

Properties[edit]

ComplexPropertyTypes[edit]

Type: array<class<Property> >

Modifiers: const

the list of property classes for which values cannot be automatically derived; if your script-only child class has a member var of one of these types, you'll need to provide the value yourself via the GetCustomPropertyValue event

Default value, index 0: Class'Core.StructProperty'

Default value, index 1: Class'Core.MapProperty'

Default value, index 2: Class'Core.ArrayProperty'

Default value, index 3: Class'Core.DelegateProperty'

Delegates[edit]

CanSupportComplexPropertyType[edit]

delegate bool CanSupportComplexPropertyType (Property UnsupportedProperty)

Allows script only data stores to indicate whether they'd like to handle a property which is not natively supported.

Parameters:

  • UnsupportedProperty - the property that isn't supported natively

Returns:

TRUE if this data provider wishes to perform custom logic to handle the property.

Events[edit]

GetCustomPropertyValue[edit]

event bool GetCustomPropertyValue (out UIRoot.UIProviderScriptFieldValue PropertyValue, optional int ArrayIndex)

Gets the value for the property specified. Child classes only need to override this function if it contains data fields which do not correspond to a member property in the class, or if the data corresponds to a complex data type, such as struct, array, etc.

Parameters:

  • PropertyValue - in] the name of the property to get the value for. [out] should be filled with the value for the specified property tag.
  • ArrayIndex - optional array index for use with data collections

Returns:

return TRUE if either the StringValue or ImageValue fields of PropertyValue were set by script.