CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
UserEvents.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/B/BSTSingleton.h"
5
6namespace RE
7{
8 class UserEvents : public BSTSingletonSDM<UserEvents>
9 {
10 public:
12 {
13 enum INPUT_CONTEXT_ID : std::uint32_t
14 {
32
33 kTotal = 17,
34
35 kNone = 18
36 };
37 };
39
40 enum class USER_EVENT_FLAG
41 {
42 kNone = 0,
43 kMovement = 1 << 0,
44 kLooking = 1 << 1,
45 kActivate = 1 << 2,
46 kMenu = 1 << 3,
47 kConsole = 1 << 4,
48 kPOVSwitch = 1 << 5,
49 kFighting = 1 << 6,
50 kSneaking = 1 << 7,
51 kMainFour = 1 << 8,
52 kWheelZoom = 1 << 9,
53 kJumping = 1 << 10,
54 kVATS = 1 << 11,
55 kInvalid = 1 << 31,
56
57 kAll = static_cast<std::underlying_type_t<USER_EVENT_FLAG>>(-1)
58 };
59
61
62 // members
63 std::uint8_t pad001; // 001
64 std::uint16_t pad002; // 002
65 std::uint32_t pad004; // 004
66 BSFixedString forward; // 008 - "Forward"
67 BSFixedString back; // 010 - "Back"
68 BSFixedString strafeLeft; // 018 - "Strafe Left"
69 BSFixedString strafeRight; // 020 - "Strafe Right"
70 BSFixedString move; // 028 - "Move"
71 BSFixedString look; // 030 - "Look"
72 BSFixedString activate; // 038 - "Activate"
73 BSFixedString leftAttack; // 040 - "Left Attack/Block"
74 BSFixedString rightAttack; // 048 - "Right Attack/Block"
75 BSFixedString dualAttack; // 050 - "Dual Attack"
76 BSFixedString forceRelease; // 058 - "ForceRelease"
77 BSFixedString pause; // 060 - "Pause"
78 BSFixedString readyWeapon; // 068 - "Ready Weapon"
79 BSFixedString togglePOV; // 070 - "Toggle POV"
80 BSFixedString jump; // 078 - "Jump"
81 BSFixedString journal; // 080 - "Journal"
82 BSFixedString sprint; // 088 - "Sprint"
83 BSFixedString sneak; // 090 - "Sneak"
84 BSFixedString shout; // 098 - "Shout"
85 BSFixedString kinectShout; // 0A0 - "KinectShout"
86 BSFixedString grab; // 0A8 - "Grab"
87 BSFixedString run; // 0B0 - "Run"
88 BSFixedString toggleRun; // 0B8 - "Toggle Always Run"
89 BSFixedString autoMove; // 0C0 - "Auto-Move"
90 BSFixedString quicksave; // 0C8 - "Quicksave"
91 BSFixedString quickload; // 0D0 - "Quickload"
92 BSFixedString newSave; // 0D8 - "NewSave"
93 BSFixedString inventory; // 0E0 - "Inventory"
94 BSFixedString stats; // 0E8 - "Stats"
95 BSFixedString map; // 0F0 - "Map"
96 BSFixedString screenshot; // 0F8 - "Screenshot"
97 BSFixedString multiScreenshot; // 100 - "Multi-Screenshot"
98 BSFixedString console; // 108 - "Console"
99 BSFixedString cameraPath; // 110 - "CameraPath"
100 BSFixedString tweenMenu; // 118 - "Tween Menu"
101 BSFixedString takeAll; // 120 - "Take All"
102 BSFixedString accept; // 128 - "Accept"
103 BSFixedString cancel; // 130 - "Cancel"
104 BSFixedString up; // 138 - "Up"
105 BSFixedString down; // 140 - "Down"
106 BSFixedString left; // 148 - "Left"
107 BSFixedString right; // 150 - "Right"
108 BSFixedString pageUp; // 158 - "PageUp"
109 BSFixedString pageDown; // 160 - "PageDown"
110 BSFixedString pick; // 168 - "Pick"
111 BSFixedString pickNext; // 170 - "PickNext"
112 BSFixedString pickPrevious; // 178 - "PickPrevious"
113 BSFixedString cursor; // 180 - "Cursor"
114 BSFixedString kinect; // 188 - "Kinect"
115 BSFixedString sprintStart; // 190 - "SprintStart"
116 BSFixedString sprintStop; // 198 - "SprintStop"
117 BSFixedString sneakStart; // 1A0 - "sneakStart"
118 BSFixedString sneakStop; // 1A8 - "sneakStop"
119 BSFixedString blockStart; // 1B0 - "blockStart"
120 BSFixedString blockStop; // 1B8 - "blockStop"
121 BSFixedString blockBash; // 1C0 - "blockBash"
122 BSFixedString attackStart; // 1C8 - "attackStart"
123 BSFixedString attackPowerStart; // 1D0 - "attackPowerStart"
124 BSFixedString reverseDirection; // 1D8 - "reverseDirection"
125 BSFixedString unequip; // 1E0 - "Unequip"
126 BSFixedString zoomIn; // 1E8 - "Zoom In"
127 BSFixedString zoomOut; // 1F0 - "Zoom Out"
128 BSFixedString rotateItem; // 1F8 - "RotateItem"
129 BSFixedString leftStick; // 200 - "Left Stick"
130 BSFixedString prevPage; // 208 - "PrevPage"
131 BSFixedString nextPage; // 210 - "NextPage"
132 BSFixedString prevSubPage; // 218 - "PrevSubPage"
133 BSFixedString nextSubPage; // 220 - "NextSubPage"
134 BSFixedString leftEquip; // 228 - "LeftEquip"
135 BSFixedString rightEquip; // 230 - "RightEquip"
136 BSFixedString toggleFavorite; // 238 - "ToggleFavorite"
137 BSFixedString favorites; // 240 - "Favorites"
138 BSFixedString hotkey1; // 248 - "Hotkey1"
139 BSFixedString hotkey2; // 250 - "Hotkey2"
140 BSFixedString hotkey3; // 258 - "Hotkey3"
141 BSFixedString hotkey4; // 260 - "Hotkey4"
142 BSFixedString hotkey5; // 268 - "Hotkey5"
143 BSFixedString hotkey6; // 270 - "Hotkey6"
144 BSFixedString hotkey7; // 278 - "Hotkey7"
145 BSFixedString hotkey8; // 280 - "Hotkey8"
146 BSFixedString quickInventory; // 288 - "Quick Inventory"
147 BSFixedString quickMagic; // 290 - "Quick Magic"
148 BSFixedString quickStats; // 298 - "Quick Stats"
149 BSFixedString quickMap; // 2A0 - "Quick Map"
150 BSFixedString toggleCursor; // 2A8 - "ToggleCursor"
151 BSFixedString wait; // 2B0 - "Wait"
152 BSFixedString click; // 2B8 - "Click"
153 BSFixedString mapLookMode; // 2C0 - "MapLookMode"
154 BSFixedString equip; // 2C8 - "Equip"
155 BSFixedString dropItem; // 2D0 - "DropItem"
156 BSFixedString rotate; // 2D8 - "Rotate"
157 BSFixedString nextFocus; // 2E0 - "NextFocus"
158 BSFixedString prevFocus; // 2E8 - "PreviousFocus"
159 BSFixedString setActiveQuest; // 2F0 - "SetActiveQuest"
160 BSFixedString placePlayerMarker; // 2F8 - "PlacePlayerMarker"
161 BSFixedString xButton; // 300 - "XButton"
162 BSFixedString yButton; // 308 - "YButton"
163 BSFixedString chargeItem; // 310 - "ChargeItem"
165 BSFixedString playerPosition; // 320 - "PlayerPosition"
166 BSFixedString localMap; // 328 - "LocalMap"
167 BSFixedString localMapMoveMode; // 330 - "LocalMapMoveMode"
168 BSFixedString itemZoom; // 338 - "Item Zoom"
169 };
170 static_assert(sizeof(UserEvents) == 0x340);
171}
Definition: UserEvents.h:9
BSFixedString newSave
Definition: UserEvents.h:92
BSFixedString activate
Definition: UserEvents.h:72
BSFixedString nextSubPage
Definition: UserEvents.h:133
BSFixedString chargeItem
Definition: UserEvents.h:163
BSFixedString togglePOV
Definition: UserEvents.h:79
BSFixedString run
Definition: UserEvents.h:87
BSFixedString prevSubPage
Definition: UserEvents.h:132
BSFixedString toggleCursor
Definition: UserEvents.h:150
BSFixedString inventory
Definition: UserEvents.h:93
BSFixedString leftStick
Definition: UserEvents.h:129
BSFixedString sneakStop
Definition: UserEvents.h:118
BSFixedString hotkey3
Definition: UserEvents.h:140
BSFixedString quicksave
Definition: UserEvents.h:90
BSFixedString toggleFavorite
Definition: UserEvents.h:136
BSFixedString strafeLeft
Definition: UserEvents.h:68
BSFixedString sprintStart
Definition: UserEvents.h:115
BSFixedString takeAll
Definition: UserEvents.h:101
BSFixedString rotateItem
Definition: UserEvents.h:128
BSFixedString wait
Definition: UserEvents.h:151
BSFixedString nextPage
Definition: UserEvents.h:131
BSFixedString multiScreenshot
Definition: UserEvents.h:97
BSFixedString pageUp
Definition: UserEvents.h:108
BSFixedString sprint
Definition: UserEvents.h:82
BSFixedString map
Definition: UserEvents.h:95
BSFixedString zoomIn
Definition: UserEvents.h:126
BSFixedString autoMove
Definition: UserEvents.h:89
BSFixedString screenshot
Definition: UserEvents.h:96
BSFixedString readyWeapon
Definition: UserEvents.h:78
BSFixedString dualAttack
Definition: UserEvents.h:75
BSFixedString setActiveQuest
Definition: UserEvents.h:159
BSFixedString attackStart
Definition: UserEvents.h:122
BSFixedString pause
Definition: UserEvents.h:77
BSFixedString strafeRight
Definition: UserEvents.h:69
BSFixedString move
Definition: UserEvents.h:70
BSFixedString left
Definition: UserEvents.h:106
BSFixedString mapLookMode
Definition: UserEvents.h:153
BSFixedString sprintStop
Definition: UserEvents.h:116
BSFixedString rotate
Definition: UserEvents.h:156
BSFixedString forceRelease
Definition: UserEvents.h:76
BSFixedString shout
Definition: UserEvents.h:84
BSFixedString pickPrevious
Definition: UserEvents.h:112
BSFixedString cancel
Definition: UserEvents.h:103
BSFixedString rightAttack
Definition: UserEvents.h:74
BSFixedString quickStats
Definition: UserEvents.h:148
BSFixedString click
Definition: UserEvents.h:152
BSFixedString quickMap
Definition: UserEvents.h:149
BSFixedString xButton
Definition: UserEvents.h:161
BSFixedString blockStart
Definition: UserEvents.h:119
BSFixedString unk318
Definition: UserEvents.h:164
BSFixedString placePlayerMarker
Definition: UserEvents.h:160
BSFixedString yButton
Definition: UserEvents.h:162
BSFixedString nextFocus
Definition: UserEvents.h:157
BSFixedString sneak
Definition: UserEvents.h:83
BSFixedString hotkey8
Definition: UserEvents.h:145
BSFixedString reverseDirection
Definition: UserEvents.h:124
BSFixedString hotkey4
Definition: UserEvents.h:141
BSFixedString quickMagic
Definition: UserEvents.h:147
BSFixedString jump
Definition: UserEvents.h:80
BSFixedString accept
Definition: UserEvents.h:102
BSFixedString zoomOut
Definition: UserEvents.h:127
BSFixedString equip
Definition: UserEvents.h:154
BSFixedString grab
Definition: UserEvents.h:86
std::uint16_t pad002
Definition: UserEvents.h:64
BSFixedString prevFocus
Definition: UserEvents.h:158
BSFixedString console
Definition: UserEvents.h:98
BSFixedString pickNext
Definition: UserEvents.h:111
BSFixedString itemZoom
Definition: UserEvents.h:168
BSFixedString hotkey5
Definition: UserEvents.h:142
BSFixedString forward
Definition: UserEvents.h:66
BSFixedString unequip
Definition: UserEvents.h:125
BSFixedString tweenMenu
Definition: UserEvents.h:100
BSFixedString hotkey1
Definition: UserEvents.h:138
BSFixedString cursor
Definition: UserEvents.h:113
BSFixedString back
Definition: UserEvents.h:67
BSFixedString leftAttack
Definition: UserEvents.h:73
BSFixedString prevPage
Definition: UserEvents.h:130
BSFixedString hotkey2
Definition: UserEvents.h:139
std::uint8_t pad001
Definition: UserEvents.h:63
BSFixedString pageDown
Definition: UserEvents.h:109
BSFixedString look
Definition: UserEvents.h:71
std::uint32_t pad004
Definition: UserEvents.h:65
BSFixedString kinectShout
Definition: UserEvents.h:85
BSFixedString down
Definition: UserEvents.h:105
BSFixedString stats
Definition: UserEvents.h:94
BSFixedString up
Definition: UserEvents.h:104
USER_EVENT_FLAG
Definition: UserEvents.h:41
BSFixedString blockBash
Definition: UserEvents.h:121
BSFixedString blockStop
Definition: UserEvents.h:120
BSFixedString localMapMoveMode
Definition: UserEvents.h:167
BSFixedString quickload
Definition: UserEvents.h:91
BSFixedString leftEquip
Definition: UserEvents.h:134
BSFixedString toggleRun
Definition: UserEvents.h:88
static UserEvents * GetSingleton()
BSFixedString hotkey7
Definition: UserEvents.h:144
BSFixedString journal
Definition: UserEvents.h:81
BSFixedString localMap
Definition: UserEvents.h:166
BSFixedString dropItem
Definition: UserEvents.h:155
BSFixedString sneakStart
Definition: UserEvents.h:117
BSFixedString quickInventory
Definition: UserEvents.h:146
BSFixedString cameraPath
Definition: UserEvents.h:99
BSFixedString kinect
Definition: UserEvents.h:114
BSFixedString pick
Definition: UserEvents.h:110
BSFixedString right
Definition: UserEvents.h:107
BSFixedString attackPowerStart
Definition: UserEvents.h:123
BSFixedString rightEquip
Definition: UserEvents.h:135
BSFixedString hotkey6
Definition: UserEvents.h:143
BSFixedString playerPosition
Definition: UserEvents.h:165
BSFixedString favorites
Definition: UserEvents.h:137
Definition: AbsorbEffect.h:6
Definition: BSTSingleton.h:50
Definition: UserEvents.h:12
INPUT_CONTEXT_ID
Definition: UserEvents.h:14
@ kMapDebug
Definition: UserEvents.h:29
@ kMap
Definition: UserEvents.h:22
@ kInventory
Definition: UserEvents.h:19
@ kCursor
Definition: UserEvents.h:24
@ kFavorites
Definition: UserEvents.h:21
@ kItemMenu
Definition: UserEvents.h:18
@ kMenuMode
Definition: UserEvents.h:16
@ kDebugOverlay
Definition: UserEvents.h:26
@ kNone
Definition: UserEvents.h:35
@ kBook
Definition: UserEvents.h:25
@ kDebugText
Definition: UserEvents.h:20
@ kConsole
Definition: UserEvents.h:17
@ kTotal
Definition: UserEvents.h:33
@ kStats
Definition: UserEvents.h:23
@ kLockpicking
Definition: UserEvents.h:30
@ kFavor
Definition: UserEvents.h:31
@ kTFCMode
Definition: UserEvents.h:28
@ kGameplay
Definition: UserEvents.h:15
@ kJournal
Definition: UserEvents.h:27