CommonLibSSE (Parapets fork)
BSWin32SystemUtility.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSSystemUtility.h"
5 #include "RE/C/CCallback.h"
6 
7 class ISteamClient;
8 class ISteamUtils;
9 struct EncryptedAppTicketResponse_t;
10 struct FloatingGamepadTextInputDismissed_t;
11 struct GameOverlayActivated_t;
12 struct GamepadTextInputDismissed_t;
13 
14 using HSteamPipe = std::int32_t;
15 
16 namespace RE
17 {
19  {
20  public:
21  template <class P>
23  template <class P>
25 
26  using VirtualKeyboardDoneCallback = void(void*, const char*);
28 
29  virtual ~BSWin32SystemUtility(); // 00
30 
31  // override (BSSystemUtility)
32  void GetAuthenticationInfo(char*& a_userAuthID, std::uint64_t& a_size) override; // 02
33  void DoInitialize() override; // 04
34  void DoUpdate() override; // 06
35  void DoGetUserName(char* a_buffer, std::uint64_t a_size) override; // 08
36  void DoGetComputerName(char* a_buffer, std::uint64_t a_size) override; // 0D
37  void DoAuthenticateUser() override; // 10
38  bool Unk_12() override; // 12
39 
40  [[nodiscard]] static BSWin32SystemUtility* GetSingleton();
41 
42  // members
47  VirtualKeyboardDoneCallback* virtualKeyboardDone; // 1D0 - added in 1.6.1130
49  void* virtualKeyboardUserParam; // 1E0 - added in 1.6.1130
50  bool steamAPIInitialized; // 1E8
51  std::uint8_t pad1E9; // 1E9
52  std::uint16_t pad1EA; // 1EA
53  std::uint32_t pad1EC; // 1EC
54  ISteamClient* steamClient; // 1F0 - added in 1.6.1130
55  HSteamPipe steamPipe; // 1F8 - added in 1.6.1130
56  std::uint32_t pad1FC; // 1FC
57  ISteamUtils* steamUtils; // 200 - added in 1.6.1130
58  bool isRunningOnSteamDeck; // 208 - added in 1.6.1130
59  };
60  static_assert(sizeof(BSWin32SystemUtility) == 0x210);
61 }
std::int32_t HSteamPipe
Definition: BSWin32SystemUtility.h:14
Definition: BSSystemUtility.h:13
Definition: BSWin32SystemUtility.h:19
void DoUpdate() override
SteamCallback< GameOverlayActivated_t > steamcallback_GameOverlayActivated
Definition: BSWin32SystemUtility.h:43
SteamCallResult< EncryptedAppTicketResponse_t > steamcallresult_EncryptedAppTicketResponse
Definition: BSWin32SystemUtility.h:46
static BSWin32SystemUtility * GetSingleton()
std::uint16_t pad1EA
Definition: BSWin32SystemUtility.h:52
std::uint8_t pad1E9
Definition: BSWin32SystemUtility.h:51
bool steamAPIInitialized
Definition: BSWin32SystemUtility.h:50
void() VirtualKeyboardCancelCallback
Definition: BSWin32SystemUtility.h:27
void * virtualKeyboardUserParam
Definition: BSWin32SystemUtility.h:49
VirtualKeyboardDoneCallback * virtualKeyboardDone
Definition: BSWin32SystemUtility.h:47
bool isRunningOnSteamDeck
Definition: BSWin32SystemUtility.h:58
void DoGetUserName(char *a_buffer, std::uint64_t a_size) override
void DoAuthenticateUser() override
void DoInitialize() override
SteamCallback< GamepadTextInputDismissed_t > steamcallback_GamepadTextInputDismissed
Definition: BSWin32SystemUtility.h:45
ISteamClient * steamClient
Definition: BSWin32SystemUtility.h:54
ISteamUtils * steamUtils
Definition: BSWin32SystemUtility.h:57
VirtualKeyboardCancelCallback * virtualKeyboardCancel
Definition: BSWin32SystemUtility.h:48
HSteamPipe steamPipe
Definition: BSWin32SystemUtility.h:55
SteamCallback< FloatingGamepadTextInputDismissed_t > steamcallback_FloatingGamepadTextInputDismissed
Definition: BSWin32SystemUtility.h:44
std::uint32_t pad1EC
Definition: BSWin32SystemUtility.h:53
void DoGetComputerName(char *a_buffer, std::uint64_t a_size) override
void GetAuthenticationInfo(char *&a_userAuthID, std::uint64_t &a_size) override
bool Unk_12() override
void(void *, const char *) VirtualKeyboardDoneCallback
Definition: BSWin32SystemUtility.h:26
std::uint32_t pad1FC
Definition: BSWin32SystemUtility.h:56
Definition: CCallback.h:31
Definition: CCallback.h:49
Definition: AbsorbEffect.h:6