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

Engine.UIDynamicDataProvider

Extends
UIPropertyDataProvider
Modifiers
native ( inherit ) abstract

Provides data about a particular instance of an actor in the game. Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIDataProvider
      |   
      +-- Engine.UIPropertyDataProvider
         |   
         +-- Engine.UIDynamicDataProvider

Direct Known Subclasses:

GameInfoDataProvider, InventoryDataProvider, PickupDataProvider, PlayerDataProvider, TeamDataProvider, UIDataProvider_Settings

Variables Summary
classDataClass
ObjectDataSource
Inherited Variables from Engine.UIPropertyDataProvider
ComplexPropertyTypes
Inherited Variables from Engine.UIDataProvider
ProviderChangedNotifies, WriteAccessType

Enumerations Summary
Inherited Enumerations from Engine.UIDataProvider
EProviderAccessType

Structures Summary
Inherited Structures from Engine.UIDataProvider
UIDataProviderField

Functions Summary
functionbool BindProviderInstance (Object DataSourceInstance)
functionbool CleanupDataProvider ()))
functionObject GetDataSource ()))
eventbool IsValidDataSourceClass (class PotentialDataSourceClass ))
event ProviderInstanceBound (Object DataSourceInstance)
event ProviderInstanceUnbound (Object DataSourceInstance)
functionbool UnbindProviderInstance ()
Inherited Functions from Engine.UIPropertyDataProvider
GetCustomPropertyValue
Inherited Functions from Engine.UIDataProvider
AddPropertyNotificationChangeRequest, GenerateFillerData, GenerateScriptMarkupString, GetFieldValue, GetSupportedScriptFields, NotifyPropertyChanged, RemovePropertyNotificationChangeRequest, SetFieldValue


Variables Detail

DataClass Source code

var const class DataClass;
The metaclass for this data provider. Each instance of this class (including instances of child classes) will have a data provider that tells the UI which properties to provide for this class. Classes indicate which properties are available for use by dynamic data stores by marking the property with a keyword.

DataSource Source code

var const transient protected Object DataSource;
The object that this data provider is presenting data for. Set by calling BindProviderInstance.


Functions Detail

BindProviderInstance Source code

native final function bool BindProviderInstance ( Object DataSourceInstance )
Associates this data provider with the specified instance.
@param DataSourceInstance a pointer to the object instance that this data provider should present data for. DataSourceInstance must be of type DataClass.
@return TRUE if the instance specified was successfully associated with this data provider. FALSE if the object specified wasn't of the correct type or was otherwise invalid.

CleanupDataProvider Source code

function bool CleanupDataProvider ( ) )
Allows the data provider to clear any references that would interfere with garbage collection.
@return TRUE if the instance reference was successfully cleared.

GetDataSource Source code

final function Object GetDataSource ( ) )
Returns a reference to the data source associated with this data provider.

IsValidDataSourceClass Source code

event bool IsValidDataSourceClass ( class PotentialDataSourceClass ) )
Script hook for preventing a particular child of DataClass from being represented by this dynamic data provider.
@param PotentialDataSourceClass a child class of DataClass that is being considered as a candidate for binding by this provider.
@return return FALSE to prevent PotentialDataSourceClass's properties from being added to the UI editor's list of bindable properties for this data provider; also prevents any instances of PotentialDataSourceClass from binding to this provider at runtime.

ProviderInstanceBound Source code

event ProviderInstanceBound ( Object DataSourceInstance )
Called once BindProviderInstance has successfully verified that DataSourceInstance is of the correct type. Child classes can override this function to handle storing the reference, for example.

ProviderInstanceUnbound Source code

event ProviderInstanceUnbound ( Object DataSourceInstance )
Called immediately after this data provider's DataSource is disassociated from this data provider.

UnbindProviderInstance Source code

native final function bool UnbindProviderInstance ( )
Clears the instance associated with this data provider.
@return TRUE if the instance reference was successfully cleared.


Defaultproperties

defaultproperties
{
   Name="Default__UIDynamicDataProvider"
   ObjectArchetype=UIPropertyDataProvider'Engine.Default__UIPropertyDataProvider'
}

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