The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:UTProfileSettings instance functions (UT3)
Object >> OnlineProfileSettings >> UTProfileSettings (instance functions) |
Contents
- 1 Instance functions
- 1.1 ActionIsBound
- 1.2 AddModifierCard
- 1.3 AddPersistentKey
- 1.4 ApplyAllKeyBindings
- 1.5 ApplyKeyBinding
- 1.6 AreAnyChaptersUnlocked
- 1.7 bGameInProgress
- 1.8 BoneHasBeenVisited
- 1.9 ClearModifierCards
- 1.10 FindKeyEnum
- 1.11 FindKeyName
- 1.12 GetActionName
- 1.13 GetBoneMask
- 1.14 GetCampaignSkillLevel
- 1.15 GetChapterMask
- 1.16 GetCurrentMissionData
- 1.17 GetDBAFromCommand
- 1.18 GetDeck
- 1.19 GetProfileIDForDBA
- 1.20 HasModifierCard
- 1.21 HasPersistentKey
- 1.22 IsChapterUnlocked
- 1.23 NewGame
- 1.24 PatchDefaultKeyBindings
- 1.25 RemoveDBABindings
- 1.26 RemovePersistentKey
- 1.27 SetCampaignSkillLevel
- 1.28 SetChapterMask
- 1.29 SetCurrentMissionData
- 1.30 SetKeyBinding
- 1.31 SetKeyBindingUsingCommand
- 1.32 StoreKeysUsingPlayerInput
- 1.33 UnbindKey
- 1.34 UnlockChapter
- 1.35 UseModifierCard
- UTProfileSettings instance functions in other games:
- UDK
- Other member categories for this class:
- constants, defaults, enums, properties
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Instance functions[edit]
ActionIsBound[edit]
Whether an action has been bound or not.
AddModifierCard[edit]
Add Modifier Card
Parameters:
- Card - The Modifier Card to Add
AddPersistentKey[edit]
Add a PersistentKey
Parameters:
- AddKey - The Persistent Key to add
Returns:
- true if successful.
ApplyAllKeyBindings[edit]
Applies all possible bindings to the specified player input.
Parameters:
- InPlayerInput - PlayerInput to bind keys on
ApplyKeyBinding[edit]
Applies a key binding to the given player input, rebinds keys that are already bound, doesn't unbind keys already assigned to the action.
Parameters:
- InPlayerInput - PlayerInput to bind keys on
- KeyBinding - Action to bind keys for.
AreAnyChaptersUnlocked[edit]
bGameInProgress[edit]
Returns:
- true if a game is in progress
BoneHasBeenVisited[edit]
Flags a bone as having been visited
Parameters:
- BoneNAme - The Bone to flag
ClearModifierCards[edit]
Returns:
- true if the player has any of these cards
FindKeyEnum[edit]
Looks up a keybinding enum value given its name.
Parameters:
- KeyName - Key name to look up the enum for.
Returns:
- Returns the enum value for the key or INDEX_NONE if none was found.
FindKeyName[edit]
Looks up a keybinding name given an enum value
Parameters:
- KeyName - Key name to look up the enum for.
Returns:
- Returns the name for the key if it exists, or otherwise.
GetActionName[edit]
GetBoneMask[edit]
Checks to see if a bone has already been visited (ie: you have completed this mission
Parameters:
- MaskA - The Second part of the mask
GetCampaignSkillLevel[edit]
GetChapterMask[edit]
GetCurrentMissionData[edit]
Parameters:
- MissionID - Returns the Mission ID for the current mission
- MissionResult - Returns the results for the last mission.
GetDBAFromCommand[edit]
Attempts to find a digital button action enum using a string command
Parameters:
- Command - Command to find
Returns:
- an EDigitalButtonAction enum value if one exists, INDEX_NONE otherwise.
GetDeck[edit]
GetProfileIDForDBA[edit]
Returns the profile ID for a digital button action.
Parameters:
- KeyAction - Action to return a profile ID for.
Returns:
- Returns the profile ID for the action.
HasModifierCard[edit]
Returns:
- true if the player has any of these cards
HasPersistentKey[edit]
Check to see if a Persistent Key has been set.
Parameters:
- SearchKey - The Persistent Key to look for
- PSI_Index - Optional Out> returns the PSI Index for the slot holding the key
Returns:
- true if the key exists, false if it doesn't
IsChapterUnlocked[edit]
NewGame[edit]
Resets the single player game profile settings for a new game
PatchDefaultKeyBindings[edit]
RemoveDBABindings[edit]
Removes any binds the profile manages.
RemovePersistentKey[edit]
Remove a PersistentKey
Parameters:
- RemoveKey - The Persistent Key to remove
Returns:
- true if successful
SetCampaignSkillLevel[edit]
SetChapterMask[edit]
SetCurrentMissionData[edit]
SetKeyBinding[edit]
Sets a binding for a specified key action.
Parameters:
- KeyAction - DBA to bind
- KeyBinding1 - Key to bind #1
- KeyBinding2 - Key to bind #2
- KeyBinding3 - Key to bind #3
- KeyBinding4 - Key to bind #4
SetKeyBindingUsingCommand[edit]
Sets a binding for a specified command.
Parameters:
- KeyAction - DBA to bind
- KeyBinding1 - Key to bind #1
- KeyBinding2 - Key to bind #2
- KeyBinding3 - Key to bind #3
- KeyBinding4 - Key to bind #4
StoreKeysUsingPlayerInput[edit]
Stores key settings in the profile using the player input object provided.
Parameters:
- PInput - Player input to get bindings from.
UnbindKey[edit]
Unbinds the specified key.
Parameters:
- PInput - Player input to operate on
- BindName - Key to unbind
UnlockChapter[edit]
UseModifierCard[edit]
Use Modifier Card
Parameters:
- Card - The Modifier Card use