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

Engine.DataStoreClient

Extends
UIRoot
Modifiers
native ( inherit ) Config ( Engine )

Creates and manages all globally accessible persistent data stores. Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.DataStoreClient

Constants Summary
Inherited Contants from Engine.UIRoot
ASPECTRATIO_Monitor, ASPECTRATIO_Normal, ASPECTRATIO_Widescreen, DEFAULT_SIZE_X, DEFAULT_SIZE_Y, MAX_SUPPORTED_GAMEPADS, PRIVATE_EditorNoDelete, PRIVATE_EditorNoRename, PRIVATE_EditorNoReparent, PRIVATE_KeepFocusedState, PRIVATE_ManagedStyle, PRIVATE_NotDockable, PRIVATE_NotEditorSelectable, PRIVATE_NotFocusable, PRIVATE_NotRotatable, PRIVATE_PropagateState, PRIVATE_Protected, PRIVATE_TreeHidden, PRIVATE_TreeHiddenRecursive, SCENE_DATASTORE_TAG, TEMP_SPLITSCREEN_INDEX
Inherited Contants from Core.Object
DegToRad, INDEX_NONE, MaxInt, Pi, RadToDeg

Variables Summary
array<string>GlobalDataStoreClasses
array<UIDataStore>GlobalDataStores
array<class<UIDataStore>>PlayerDataStoreClasses
array<string>PlayerDataStoreClassNames
array<PlayerDataStoreGroup>PlayerDataStores
Inherited Variables from Engine.UIRoot
CurrentMenuState, ModifierStack
Inherited Variables from Core.Object
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject

Enumerations Summary
Inherited Enumerations from Engine.UIRoot
EColumnHeaderState, EMaterialAdjustmentType, ENavigationLinkType, EPositionEvalType, ERotationAnchor, EScreenInputMode, ESplitscreenRenderMode, ETextAutoScaleMode, ETextClipMode, EUIAlignment, EUIAspectRatioConstraint, EUIAutoSizeConstraintType, EUIDataProviderFieldType, EUIDefaultPenColor, EUIDockPaddingEvalType, EUIExtentEvalType, EUIListElementState, EUIOrientation, EUIWidgetFace
Inherited Enumerations from Core.Object
EAxis, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup

Structures Summary
PlayerDataStoreGroup
PlayerOwner, DataStores
Inherited Structures from Engine.UIRoot
AutoSizeData, AutoSizePadding, DefaultEventSpecification, InputEventSubscription, InputKeyAction, PlayerInteractionData, RenderParameters, ScreenPositionRange, StateInputKeyAction, StyleReferenceId, STYLE_ID, TextAutoScaleValue, TextureCoordinates, UIAnchorPosition, UICombinedStyleData, UIDataStoreBinding, UIDockingNode, UIDockingSet, UIFocusPropagationData, UIImageAdjustmentData, UIImageStyleOverride, UIInputAliasClassMap, UIInputAliasMap, UIInputAliasStateMap, UIMouseBounds, UINavigationData, UIProviderFieldValue, UIProviderScriptFieldValue, UIRangeData, UIRenderingSubregion, UIRotation, UIScreenValue, UIScreenValue_AutoSizeRegion, UIScreenValue_Bounds, UIScreenValue_DockPadding, UIScreenValue_Extent, UIScreenValue_Position, UIStringCaretParameters, UIStringNodeModifier, UIStyleOverride, UIStyleReference, UIStyleSubscriberReference, UITextAttributes, UITextStyleOverride, WIDGET_ID
Inherited Structures from Core.Object
Box, BoxSphereBounds, Color, Cylinder, double, DynamicMap_Mirror, Guid, IndirectArray_Mirror, InterpCurveFloat, InterpCurvePointFloat, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, Rotator, TextureMipBulkData_Mirror, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Functions Summary
functionUIDataStore CreateDataStore (class<UIDataStore> DataStoreClass)
function DebugDumpDataStoreInfo (bool bVerbose ))
functionUIDataStore FindDataStore (name DataStoreTag, optional LocalPlayer PlayerOwner)
functionclass<UIDataStoreFindDataStoreClass (class RequiredMetaClass ))
functionint FindPlayerDataStoreIndex (LocalPlayer PlayerOwner ) con)
function GetAvailableDataStores (UIScene CurrentScene, out array out_DataStores ) con)
event NotifyGameSessionEnded ()))
functionbool RegisterDataStore (UIDataStore DataStore, optional LocalPlayer PlayerOwner)
functionbool UnregisterDataStore (UIDataStore DataStore)
Inherited Functions from Engine.UIRoot
<, =, ConvertWidgetIDToString, GetCurrentUIController, GetCursorPosition, GetCursorSize, GetDataStoreFieldValue, GetDataStoreStringValue, GetFaceOrientation, GetPrimitiveTransform, GetSceneClient, IsConsole, SetDataStoreFieldValue, SetDataStoreStringValue, SetMouseCaptureOverride
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClassIsChildOf, ClearConfig, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, Exp, FClamp, FCubicInterp, FindDeltaAngle, FindObject, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetDotDistance, GetEnum, GetFuncName, GetHeadingAngle, GetNetFuncName, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetSpecialValue, GetStateName, GetUnAxes, GotoState, InStr, IsA, IsChildState, IsInState, IsNetScript, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, OrthoRotation, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointInBox, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RandRange, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, SaveConfig, SClampRotAxis, ScriptTrace, SetSpecialValue, SetUTracing, Sin, Split, Sqrt, Square, StaticClearConfig, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Variables Detail

GlobalDataStoreClasses Source code

var config array<string> GlobalDataStoreClasses;
List of global data store class names to create when the data store client is created.

GlobalDataStores Source code

var const array<UIDataStore> GlobalDataStores;
The list of global persistent data stores.

PlayerDataStoreClasses Source code

var const private array<class<UIDataStore>> PlayerDataStoreClasses;
Stores the list of dynamic player data store classes that were loaded from PlayerDataStoreClassNames.

PlayerDataStoreClassNames Source code

var config array<string> PlayerDataStoreClassNames;
List of data store class names that should be loaded at initialization time, but not created. Instances of these data stores will be created as they are needed (i.e. PlayerOwner, etc.)

PlayerDataStores Source code

var const array<PlayerDataStoreGroup> PlayerDataStores;
the list of dynamic data stores that are created per-player.


Structures Detail

PlayerDataStoreGroup Source code

struct native PlayerDataStoreGroup
{
var const transient array<UIDataStore> DataStores;
var const transient LocalPlayer PlayerOwner;
};
Represents a collection of data stores that are linked to a specific player.
DataStores:
the list of data stores registered for this player.
PlayerOwner:
the player that this group is associated with.


Functions Detail

CreateDataStore Source code

native final coerce function UIDataStore CreateDataStore ( class<UIDataStore> DataStoreClass )
Creates and initializes an instance of the data store class specified.
@param DataStoreClass the data store class to create an instance of. DataStoreClass should be a child class of UUIDataStore
@return a pointer to an instance of the data store class specified.

DebugDumpDataStoreInfo Source code

final function DebugDumpDataStoreInfo ( bool bVerbose ) )

FindDataStore Source code

native final function UIDataStore FindDataStore ( name DataStoreTag, optional LocalPlayer PlayerOwner )
Finds the data store indicated by DataStoreTag and returns a pointer to it.
@param DataStoreTag A name corresponding to the 'Tag' property of a data store
@param PlayerOwner used for resolving the correct data stores in split-screen games.
@return a pointer to the data store that has a Tag corresponding to DataStoreTag, or NULL if no data were found with that tag.

FindDataStoreClass Source code

final function class<UIDataStore> FindDataStoreClass ( class<UIDataStore> RequiredMetaClass ) )
Searches the data store client's data store class arrays for a child of the specified meta class.
@param RequiredMetaClass the data store base class to search for.
@return a pointer to a child class of RequiredMetaClass that was specified in the ini.

FindPlayerDataStoreIndex Source code

native final const function int FindPlayerDataStoreIndex ( LocalPlayer PlayerOwner ) con )
Finds the index into the PlayerDataStores array for the data stores associated with the specified player.
@param PlayerOwner the player to search for associated data stores for.

GetAvailableDataStores Source code

native final const function GetAvailableDataStores ( UIScene CurrentScene, out array<UIDataStore> out_DataStores ) con )
Retrieve the list of currently available data stores, including any temporary data stores associated with the specified scene.
@param CurrentScene the scene to use as the context for determining which data stores are available
@param out_DataStores will be filled with the list of data stores which are available from the context of the specified scene

NotifyGameSessionEnded Source code

final event NotifyGameSessionEnded ( ) )
Called when the current map is being unloaded. Cleans up any references which would prevent garbage collection.

RegisterDataStore Source code

native final function bool RegisterDataStore ( UIDataStore DataStore, optional LocalPlayer PlayerOwner )
Adds a new data store to the GlobalDataStores array.
@param DataStore the data store to add
@param PlayerOwner if specified, the data store will be added to the list of PlayerDataStores, rather than the list of global data stores
@return TRUE if the data store was successfully added, or if the data store was already in the list.

UnregisterDataStore Source code

native final function bool UnregisterDataStore ( UIDataStore DataStore )
Removes a data store from the GlobalDataStores array.
@param DataStore the data store to remove
@return TRUE if the data store was successfully removed, or if the data store wasn't in the list.


Defaultproperties

defaultproperties
{
   GlobalDataStoreClasses(0)="Engine.UIDataStore_Strings"
   GlobalDataStoreClasses(1)="Engine.UIDataStore_Images"
   GlobalDataStoreClasses(2)="Engine.UIDataStore_GameResource"
   GlobalDataStoreClasses(3)="Engine.CurrentGameDataStore"
   GlobalDataStoreClasses(4)="Engine.UIDataStore_SessionSettings"
   GlobalDataStoreClasses(5)="Engine.UIDataStore_Fonts"
   GlobalDataStoreClasses(6)="Engine.UIDataStore_Color"
   GlobalDataStoreClasses(7)="Engine.UIDataStore_Gamma"
   GlobalDataStoreClasses(8)="Engine.UIDataStore_Registry"
   GlobalDataStoreClasses(9)="UTGame.UTUIDataStore_Options"
   GlobalDataStoreClasses(10)="UTGame.UTUIDataStore_MenuItems"
   GlobalDataStoreClasses(11)="UTGame.UTDataStore_GameSettingsDM"
   GlobalDataStoreClasses(12)="UTGame.UTDataStore_GameSearchDM"
   GlobalDataStoreClasses(13)="UTGame.UTUIDataStore_CustomChar"
   GlobalDataStoreClasses(14)="UTGame.UTUIDataStore_StringList"
   GlobalDataStoreClasses(15)="UTGame.UTDataStore_OnlineStats"
   GlobalDataStoreClasses(16)="UTGame.UTUIDataStore_StringAliasMap"
   GlobalDataStoreClasses(17)="UTGame.UTUIDataStore_Content"
   GlobalDataStoreClasses(18)="UTGame.UTUIDataStore_2DStringList"
   PlayerDataStoreClassNames(0)="Engine.PlayerOwnerDataStore"
   PlayerDataStoreClassNames(1)="Engine.UIDataStore_PlayerSettings"
   PlayerDataStoreClassNames(2)="Engine.UIDataStore_OnlinePlayerData"
   PlayerDataStoreClassNames(3)="UTGame.UTUIDataStore_StringAliasBindingsMap"
   Name="Default__DataStoreClient"
   ObjectArchetype=UIRoot'Engine.Default__UIRoot'
}

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