Skip to content

OnlineProfileSettings

Class in Engine · Engine.OnlineProfileSettings · native

Object › OnlinePlayerStorage › OnlineProfileSettings

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

Enums

EProfileAutoAimOptions

PAAO_Off = 0, PAAO_On = 1

EProfileAutoCenterOptions

PACO_Off = 0, PACO_On = 1

EProfileControllerSensitivityOptions

PCSO_Medium = 0, PCSO_Low = 1, PCSO_High = 2

EProfileControllerVibrationToggleOptions

PCVTO_Off = 0, PCVTO_IgnoreThis = 1, PCVTO_IgnoreThis2 = 2, PCVTO_On = 3

EProfileDifficultyOptions

PDO_Normal = 0, PDO_Easy = 1, PDO_Hard = 2

EProfileMovementControlOptions

PMCO_L_Thumbstick = 0, PMCO_R_Thumbstick = 1

EProfileOmniDirEvadeOptions

PODI_Off = 0, PODI_On = 1

EProfilePreferredColorOptions

PPCO_None = 0, PPCO_Black = 1, PPCO_White = 2, PPCO_Yellow = 3, PPCO_Orange = 4, PPCO_Pink = 5, PPCO_Red = 6, PPCO_Purple = 7, PPCO_Blue = 8, PPCO_Green = 9, PPCO_Brown = 10, PPCO_Silver = 11

EProfileRaceAcceleratorControlOptions

PRACO_Trigger = 0, PRACO_Button = 1

EProfileRaceBrakeControlOptions

PRBCO_Trigger = 0, PRBCO_Button = 1

EProfileRaceCameraLocationOptions

PRCLO_Behind = 0, PRCLO_Front = 1, PRCLO_Inside = 2

EProfileRaceTransmissionOptions

PRTO_Auto = 0, PRTO_Manual = 1

EProfileSettingID

PSI_Unknown = 0, PSI_ControllerVibration = 1, PSI_YInversion = 2, PSI_GamerCred = 3, PSI_GamerRep = 4, PSI_VoiceMuted = 5, PSI_VoiceThruSpeakers = 6, PSI_VoiceVolume = 7, PSI_GamerPictureKey = 8, PSI_GamerMotto = 9, PSI_GamerTitlesPlayed = 10, PSI_GamerAchievementsEarned = 11, PSI_GameDifficulty = 12, PSI_ControllerSensitivity = 13, PSI_PreferredColor1 = 14, PSI_PreferredColor2 = 15, PSI_AutoAim = 16, PSI_AutoCenter = 17, PSI_MovementControl = 18, PSI_RaceTransmission = 19, PSI_RaceCameraLocation = 20, PSI_RaceBrakeControl = 21, PSI_RaceAcceleratorControl = 22, PSI_GameCredEarned = 23, PSI_GameAchievementsEarned = 24, PSI_EndLiveIds = 25, PSI_ProfileVersionNum = 26, PSI_ProfileSaveCount = 27

EProfileVoiceThruSpeakersOptions

PVTSO_Off = 0, PVTSO_On = 1, PVTSO_Both = 2

EProfileXInversionOptions

PXIO_Off = 0, PXIO_On = 1

EProfileYInversionOptions

PYIO_Off = 0, PYIO_On = 1

Properties

NameTypeNotes
DefaultSettingsarray<OnlineProfileSetting>
OwnerMappingsarray<IdToStringMapping>const
ProfileSettingIdsarray

Functions

NameDeclaration
AppendVersionToReadIdsnative function AppendVersionToReadIds()
GetProfileSettingDefaultFloatnative function bool GetProfileSettingDefaultFloat(int ProfileSettingId, out float DefaultFloat)
GetProfileSettingDefaultIdnative function bool GetProfileSettingDefaultId(int ProfileSettingId, out int DefaultId, out int ListIndex)
GetProfileSettingDefaultIntnative function bool GetProfileSettingDefaultInt(int ProfileSettingId, out int DefaultInt)
ModifyAvailableProfileSettingsevent ModifyAvailableProfileSettings()
SetToDefaultsnative event SetToDefaults()

Default values

VersionNumber=-1
VersionSettingsId=PSI_ProfileVersionNum
OwnerMappings(0)=(Id=OPPO_None)
OwnerMappings(1)=(Id=OPPO_OnlineService)
OwnerMappings(2)=(Id=OPPO_Game)
ProfileMappings(0)=(Id=PSI_ControllerVibration,Name="Controller Vibration",MappingType=PVMT_IdMapped,ValueMappings=((Id=PCVTO_On),(Id=PCVTO_Off)))
ProfileMappings(1)=(Id=PSI_YInversion,Name="Invert Y",MappingType=PVMT_IdMapped,ValueMappings=((Id=PYIO_Off),(Id=PYIO_On)))
ProfileMappings(2)=(Id=PSI_VoiceMuted,Name="Mute Voice",MappingType=PVMT_IdMapped,ValueMappings=((Id=0),(Id=1)))
ProfileMappings(3)=(Id=PSI_VoiceThruSpeakers,Name="Voice Via Speakers",MappingType=PVMT_IdMapped,ValueMappings=((Id=PVTSO_Off),(Id=PVTSO_On),(Id=PVTSO_Both)))
ProfileMappings(4)=(Id=PSI_VoiceVolume,Name="Voice Volume",MappingType=PVMT_RawValue)
ProfileMappings(5)=(Id=PSI_GameDifficulty,Name="Difficulty Level",MappingType=PVMT_IdMapped,ValueMappings=((Id=PDO_Normal),(Id=PDO_Easy),(Id=PDO_Hard)))
ProfileMappings(6)=(Id=PSI_ControllerSensitivity,Name="Controller Sensitivity",MappingType=PVMT_IdMapped,ValueMappings=((Id=PCSO_Medium),(Id=PCSO_Low),(Id=PCSO_High)))
ProfileMappings(7)=(Id=PSI_PreferredColor1,Name="First Preferred Color",MappingType=PVMT_IdMapped,ValueMappings=((Id=PPCO_None),(Id=PPCO_Black),(Id=PPCO_White),(Id=PPCO_Yellow),(Id=PPCO_Orange),(Id=PPCO_Pink),(Id=PPCO_Red),(Id=PPCO_Purple),(Id=PPCO_Blue),(Id=PPCO_Green),(Id=PPCO_Brown),(Id=PPCO_S...
ProfileMappings(8)=(Id=PSI_PreferredColor2,Name="Second Preferred Color",MappingType=PVMT_IdMapped,ValueMappings=((Id=PPCO_None),(Id=PPCO_Black),(Id=PPCO_White),(Id=PPCO_Yellow),(Id=PPCO_Orange),(Id=PPCO_Pink),(Id=PPCO_Red),(Id=PPCO_Purple),(Id=PPCO_Blue),(Id=PPCO_Green),(Id=PPCO_Brown),(Id=PPCO_...
ProfileMappings(9)=(Id=PSI_AutoAim,Name="Auto Aim",MappingType=PVMT_IdMapped,ValueMappings=((Id=PAAO_Off),(Id=PAAO_On)))
ProfileMappings(10)=(Id=PSI_AutoCenter,Name="Auto Center",MappingType=PVMT_IdMapped,ValueMappings=((Id=PACO_Off),(Id=PACO_On)))
ProfileMappings(11)=(Id=PSI_MovementControl,Name="Movement Control",MappingType=PVMT_IdMapped,ValueMappings=((Id=PMCO_L_Thumbstick),(Id=PMCO_R_Thumbstick)))
ProfileMappings(12)=(Id=PSI_RaceTransmission,Name="Transmission Preference",MappingType=PVMT_IdMapped,ValueMappings=((Id=PRTO_Auto),(Id=PRTO_Manual)))
ProfileMappings(13)=(Id=PSI_RaceCameraLocation,Name="Race Camera Preference",MappingType=PVMT_IdMapped,ValueMappings=((Id=PRCLO_Behind),(Id=PRCLO_Front),(Id=PRCLO_Inside)))
ProfileMappings(14)=(Id=PSI_RaceBrakeControl,Name="Brake Preference",MappingType=PVMT_IdMapped,ValueMappings=((Id=PRBCO_Trigger),(Id=PRBCO_Button)))
ProfileMappings(15)=(Id=PSI_RaceAcceleratorControl,Name="Accelerator Preference",MappingType=PVMT_IdMapped,ValueMappings=((Id=PRACO_Trigger),(Id=PRACO_Button)))

Inherited

FromMembers
OnlinePlayerStorage7 properties, 32 functions
Object13 properties, 308 functions