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

Engine.SessionSettingsProvider

Extends
UISettingsProvider
Modifiers
within UIDataStore_SessionSettings native ( inherit ) abstract

Provides the UI with read/write access to settings which affect gameplay, such as gameinfo, mutator, and maplist settings. Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. @todo - make this class also expose a copy of all settings as an array called "Settings" so that the UI can autogenerate lists of menu options, ala GUIMultiOptionList in UT2004. @fixme - not ready for use yet!

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIDataProvider
      |   
      +-- Engine.UIPropertyDataProvider
         |   
         +-- Engine.UISettingsProvider
            |   
            +-- Engine.SessionSettingsProvider

Direct Known Subclasses:

SessionSettingsProvider_GameInfo

Variables Summary
classProviderClient
class<UISettingsClient>ProviderClientClass
classProviderClientMetaClass
Inherited Variables from Engine.UISettingsProvider
ProviderTag
Inherited Variables from Engine.UIPropertyDataProvider
ComplexPropertyTypes

Functions Summary
functionbool BindProviderClient (class DataSourceClass)
functionbool CleanupDataProvider ()))
eventbool IsValidDataSourceClass (class PotentialDataSourceClass ))
event ProviderClientBound (class DataSourceClass)
event ProviderClientUnbound (class DataSourceClass)
functionbool UnbindProviderClient ()
Inherited Functions from Engine.UISettingsProvider
CleanupDataProvider, LoadPropertyValue, OnModifiedProperty, SavePropertyValue
Inherited Functions from Engine.UIPropertyDataProvider
GetCustomPropertyValue


Variables Detail

ProviderClient Source code

var const transient class ProviderClient;
the class that will provide the properties and metadata for the settings exposed in this provider. Set by calling BindProviderInstance.

ProviderClientClass Source code

var const private class<UISettingsClient> ProviderClientClass;
this is the UISettingsClient class that is used as the interface for retrieving metadata from data sources; only used by C++ to easily determine whether arbitrary classes implement the correct interface for use by this data provider

ProviderClientMetaClass Source code

var const class ProviderClientMetaClass;
The metaclass for this data provider. Classes indicate which properties are available for use by settings data stores by marking the property with a keyword. Must implement the UISettingsClient interface.


Functions Detail

BindProviderClient Source code

native final function bool BindProviderClient ( class DataSourceClass )
Associates this data provider with the specified class.
@param DataSourceClass a pointer to the specific child of Dataclass that this data provider should present data for.
@return TRUE if the class 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.

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.

ProviderClientBound Source code

event ProviderClientBound ( class DataSourceClass )
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.

ProviderClientUnbound Source code

event ProviderClientUnbound ( class DataSourceClass )
Called immediately after this data provider's DataSource is disassociated from this data provider.

UnbindProviderClient Source code

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


Defaultproperties

defaultproperties
{
   ProviderClientClass=Class'Engine.UISettingsClient'
   ProviderTag="SessionSettingsProvider"
   Name="Default__SessionSettingsProvider"
   ObjectArchetype=UISettingsProvider'Engine.Default__UISettingsProvider'
}

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