Skip to content

OnlinePlayerStorage

Class in Engine · Engine.OnlinePlayerStorage · native

Object › OnlinePlayerStorage

Subclasses: OnlineProfileSettings

Using it from Lua
h7.find_all("OnlinePlayerStorage")            -- live instances
h7.find_class("Engine.OnlinePlayerStorage")   -- the class
h7.hook("Engine.OnlinePlayerStorage.AddSettingFloat", fn)

Enums

EOnlinePlayerStorageAsyncState

OPAS_NotStarted = 0, OPAS_Read = 1, OPAS_Write = 2, OPAS_Finished = 3

EOnlineProfilePropertyOwner

OPPO_None = 0, OPPO_OnlineService = 1, OPPO_Game = 2

Structs

OnlineProfileSetting

FieldType
OwnerEOnlineProfilePropertyOwner
ProfileSettingSettingsProperty

Properties

NameTypeNotes
AsyncStateEOnlinePlayerStorageAsyncStateconst
DeviceIDintno declaration: type is approximate
ProfileMappingsarray<SettingsPropertyPropertyMetaData>
ProfileSettingsarray<OnlineProfileSetting>
SaveCountSettingIdintconst
VersionNumberintconst
VersionSettingsIdintconst

Functions

NameDeclaration
AddSettingFloatnative function AddSettingFloat(int SettingId)
AddSettingIntnative function AddSettingInt(int SettingId)
AppendVersionToSettingsnative function AppendVersionToSettings()
FindDefaultProfileMappingIndexByNamestatic final native function int FindDefaultProfileMappingIndexByName(name ProfileSettingName)
FindProfileMappingIndexfinal native function int FindProfileMappingIndex(int ProfileSettingId)
FindProfileMappingIndexByNamefinal native function int FindProfileMappingIndexByName(name ProfileSettingName)
FindProfileSettingIndexfinal native function int FindProfileSettingIndex(int ProfileSettingId)
GetProfileSettingColumnHeadernative function string GetProfileSettingColumnHeader(int ProfileSettingId)
GetProfileSettingIdnative function bool GetProfileSettingId(name ProfileSettingName, out int ProfileSettingId)
GetProfileSettingMappingIdsstatic native function bool GetProfileSettingMappingIds(int ProfileId, out array Ids)
GetProfileSettingMappingTypenative function bool GetProfileSettingMappingType(int ProfileId, out EPropertyValueMappingType OutType)
GetProfileSettingNamenative function name GetProfileSettingName(int ProfileSettingId)
GetProfileSettingRangenative function bool GetProfileSettingRange(int ProfileId, out float OutMinValue, out float OutMaxValue, out float RangeIncrement, out byte bFormatAsInt)
GetProfileSettingValuenative function bool GetProfileSettingValue(int ProfileSettingId, out string Value, optional int ValueMapID = -1)
GetProfileSettingValueByNamenative function bool GetProfileSettingValueByName(name ProfileSettingName, out string Value)
GetProfileSettingValueFloatnative function bool GetProfileSettingValueFloat(int ProfileSettingId, out float Value)
GetProfileSettingValueFromListIndexnative function bool GetProfileSettingValueFromListIndex(int ProfileSettingId, int ListIndex, out int Value)
GetProfileSettingValueIdnative function bool GetProfileSettingValueId(int ProfileSettingId, out int ValueId, optional out int ListIndex)
GetProfileSettingValueIntnative function bool GetProfileSettingValueInt(int ProfileSettingId, out int Value)
GetProfileSettingValueNamenative function name GetProfileSettingValueName(int ProfileSettingId)
GetProfileSettingValuesnative function bool GetProfileSettingValues(int ProfileSettingId, out array Values)
GetRangedProfileSettingValuenative function bool GetRangedProfileSettingValue(int ProfileId, out float OutValue)
GetVersionNumbernative function int GetVersionNumber()
IsProfileSettingIdMappednative function bool IsProfileSettingIdMapped(int ProfileSettingId)
SetDefaultVersionNumbernative function SetDefaultVersionNumber()
SetProfileSettingValuenative function bool SetProfileSettingValue(int ProfileSettingId, const out string NewValue)
SetProfileSettingValueByNamenative function bool SetProfileSettingValueByName(name ProfileSettingName, const out string NewValue)
SetProfileSettingValueFloatnative function bool SetProfileSettingValueFloat(int ProfileSettingId, float Value)
SetProfileSettingValueIdnative function bool SetProfileSettingValueId(int ProfileSettingId, int Value)
SetProfileSettingValueIntnative function bool SetProfileSettingValueInt(int ProfileSettingId, int Value)
SetRangedProfileSettingValuenative function bool SetRangedProfileSettingValue(int ProfileId, float NewValue)
SetToDefaultsnative event SetToDefaults()

Default values

VersionNumber=-1
VersionSettingsId=0
SaveCountSettingId=1
DeviceId=-1

Inherited

FromMembers
Object13 properties, 308 functions