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