Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
This class holds the data used in reading/writing online profile settings. Online profile settings are stored by an external service.
Core.Object | +-- Engine.OnlinePlayerStorage | +-- Engine.OnlineProfileSettings
UDKProfileSettings
Constants Summary |
---|
Inherited Contants from Core.Object |
---|
AspectRatio16x9, AspectRatio4x3, AspectRatio5x4, DegToRad, DegToUnrRot, INDEX_NONE, InvAspectRatio16x9, InvAspectRatio4x3, InvAspectRatio5x4, MaxInt, Pi, RadToDeg, RadToUnrRot, UnrRotToDeg, UnrRotToRad |
Variables Summary | |
---|---|
array<OnlineProfileSetting> | DefaultSettings |
array<IdToStringMapping> | OwnerMappings |
array<int> | ProfileSettingIds |
Inherited Variables from Engine.OnlinePlayerStorage |
---|
AsyncState, DeviceId, ProfileMappings, ProfileSettings, SaveCountSettingId, VersionNumber, VersionSettingsId |
Inherited Variables from Core.Object |
---|
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject |
Enumerations Summary | ||
---|---|---|
EProfileAutoAimOptions PAAO_Off, PAAO_On | ||
EProfileAutoCenterOptions PACO_Off, PACO_On | ||
EProfileControllerSensitivityOptions PCSO_Medium, PCSO_Low, PCSO_High, | ||
EProfileControllerVibrationToggleOptions PCVTO_Off, PCVTO_IgnoreThis, PCVTO_IgnoreThis2, PCVTO_On | ||
EProfileDifficultyOptions PDO_Normal, PDO_Easy, PDO_Hard, | ||
EProfileMovementControlOptions PMCO_L_Thumbstick, PMCO_R_Thumbstick | ||
EProfileOmniDirEvadeOptions PODI_Off, PODI_On | ||
EProfilePreferredColorOptions PPCO_None, PPCO_Black, PPCO_White, PPCO_Yellow, PPCO_Orange, PPCO_Pink, PPCO_Red, PPCO_Purple, PPCO_Blue, PPCO_Green, PPCO_Brown, PPCO_Silver, | ||
EProfileRaceAcceleratorControlOptions PRACO_Trigger, PRACO_Button | ||
EProfileRaceBrakeControlOptions PRBCO_Trigger, PRBCO_Button | ||
EProfileRaceCameraLocationOptions PRCLO_Behind, PRCLO_Front, PRCLO_Inside | ||
EProfileRaceTransmissionOptions PRTO_Auto, PRTO_Manual | ||
EProfileSettingID PSI_Unknown, PSI_ControllerVibration, PSI_YInversion, PSI_GamerCred, PSI_GamerRep, PSI_VoiceMuted, PSI_VoiceThruSpeakers, PSI_VoiceVolume, PSI_GamerPictureKey, PSI_GamerMotto, PSI_GamerTitlesPlayed, PSI_GamerAchievementsEarned, PSI_GameDifficulty, PSI_ControllerSensitivity, PSI_PreferredColor1, PSI_PreferredColor2, PSI_AutoAim, PSI_AutoCenter, PSI_MovementControl, PSI_RaceTransmission, PSI_RaceCameraLocation, PSI_RaceBrakeControl, PSI_RaceAcceleratorControl, PSI_GameCredEarned, PSI_GameAchievementsEarned, PSI_EndLiveIds, PSI_ProfileVersionNum, PSI_ProfileSaveCount | ||
EProfileVoiceThruSpeakersOptions PVTSO_Off, PVTSO_On, PVTSO_Both | ||
EProfileXInversionOptions PXIO_Off, PXIO_On | ||
EProfileYInversionOptions PYIO_Off, PYIO_On |
Inherited Enumerations from Engine.OnlinePlayerStorage |
---|
EOnlinePlayerStorageAsyncState, EOnlineProfilePropertyOwner |
Inherited Enumerations from Core.Object |
---|
AlphaBlendType, EAspectRatioAxisConstraint, EAutomatedRunResult, EAxis, EDebugBreakType, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup |
Structures Summary |
---|
Inherited Structures from Engine.OnlinePlayerStorage |
---|
OnlineProfileSetting |
Functions Summary | ||
---|---|---|
![]() | AppendVersionToReadIds () | |
![]() | bool | GetProfileSettingDefaultFloat (int ProfileSettingId, ut float DefaultFloat) |
![]() | bool | GetProfileSettingDefaultId (int ProfileSettingId, ut int DefaultId, out int ListIndex) |
![]() | bool | GetProfileSettingDefaultInt (int ProfileSettingId, ut int DefaultInt) |
![]() | ModifyAvailableProfileSettings () | |
![]() | SetToDefaults () |
Variables Detail |
---|
These are the settings to use when no setting has been specified yet for a given id. These values should be used by subclasses to fill in per game default settings
Mappings for owner information
Holds the list of profile settings to read from the service. NOTE: Only used for a read request and populated by the subclass
Enumerations Detail |
---|
Enum of auto aim preferences stored by the online service Used with Profile ID PSI_AutoAim
Enum of auto center preferences stored by the online service Used with Profile ID PSI_AutoCenter
Enum of controller sensitivity profile values stored by the online service Used with Profile ID PSI_ControllerSensitivity
PCVTO_Off, PCVTO_IgnoreThis, PCVTO_IgnoreThis2, PCVTO_On};
Enum of player's vibration preferences stored by the online service Used with Profile ID PSI_ControllerVibration
Enum of difficulty profile values stored by the online service Used with Profile ID PSI_GameDifficulty
Enum of movement stick preferences stored by the online service Used with Profile ID PSI_MovementControl
Enum of player's omnidirectional evade preferences stored by the online service Used with Profile ID OmniDirEvade
PPCO_None, PPCO_Black, PPCO_White, PPCO_Yellow, PPCO_Orange, PPCO_Pink, PPCO_Red, PPCO_Purple, PPCO_Blue, PPCO_Green, PPCO_Brown, PPCO_Silver,};
Enum of team color preferences stored by the online service Used with Profile ID PSI_PreferredColor1 & PSI_PreferredColor2
Enum of player's race gas control preferences stored by the online service Used with Profile ID PSI_RaceAcceleratorControl
Enum of player's race brake control preferences stored by the online service Used with Profile ID PSI_RaceCameraLocation
Enum of player's race camera preferences stored by the online service Used with Profile ID PSI_RaceCameraLocation
Enum of player's car transmission preferences stored by the online service Used with Profile ID PSI_RaceTransmission
PSI_Unknown, PSI_ControllerVibration, PSI_YInversion, PSI_GamerCred, PSI_GamerRep, PSI_VoiceMuted, PSI_VoiceThruSpeakers, PSI_VoiceVolume, PSI_GamerPictureKey, PSI_GamerMotto, PSI_GamerTitlesPlayed, PSI_GamerAchievementsEarned, PSI_GameDifficulty, PSI_ControllerSensitivity, PSI_PreferredColor1, PSI_PreferredColor2, PSI_AutoAim, PSI_AutoCenter, PSI_MovementControl, PSI_RaceTransmission, PSI_RaceCameraLocation, PSI_RaceBrakeControl, PSI_RaceAcceleratorControl, PSI_GameCredEarned, PSI_GameAchievementsEarned, PSI_EndLiveIds, PSI_ProfileVersionNum, PSI_ProfileSaveCount};
Enum of profile setting IDs
Enum of player's voice through speakers preference stored by the online service Used with Profile ID PSI_VoiceThruSpeakers
Enum of player's X axis invert preferences stored by the online service Used with Profile ID PSI_YInversion
Enum of player's Y axis invert preferences stored by the online service Used with Profile ID PSI_YInversion
Functions Detail |
---|
Adds the version id to the read ids if it is not present
Searches for the profile setting by id and gets the default value float
@param ProfileSettingId the id of the profile setting to return the default of
@param Value the out value of the default setting
@return true if the profile setting was found and retrieved the default float, false otherwise
Searches for the profile setting by id and gets the default value index
@param ProfileSettingId the id of the profile setting to return
@param DefaultId the out value of the default id
@param ListIndex the out value of the index where that value lies in the ValueMappings list
@return true if the profile setting was found and retrieved the default id, false otherwise
Searches for the profile setting by id and gets the default value int
@param ProfileSettingId the id of the profile setting to return the default of
@param Value the out value of the default setting
@return true if the profile setting was found and retrieved the default int, false otherwise
Hooks to allow child classes to dynamically adjust available profile settings or mappings based on e.g. ini values.
Sets all of the profile settings to their default values
Defaultproperties |
---|
defaultproperties { 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_Silver))) 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_Silver))) 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))) } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |