CommonLibSSE (Parapets fork)
BSVirtualKeyboardDevice.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
8  {
9  public:
10  struct kbInfo
11  {
12  using DoneCallback = void(void*, const char*);
13  using CancelCallback = void();
14 
15  const char* startingText; // 00
18  void* userParam; // 18
19  std::uint32_t maxChars; // 20
20  };
21 
22  inline static constexpr auto RTTI = RTTI_BSVirtualKeyboardDevice;
23 
24  ~BSVirtualKeyboardDevice() override; // 00
25 
26  // override (BSKeyboardDevice)
27  void Unk_09(void) override; // 09 - { return; }
28  void Unk_0A(void) override; // 0A - { return; }
29 
30  // add
31  virtual void Start(const kbInfo* a_info) = 0; // 0B
32  virtual void Stop() = 0; // 0C
33  virtual void UserCancelled() = 0; // 0D
34  };
35  static_assert(sizeof(BSVirtualKeyboardDevice) == 0x70);
36 }
Definition: BSKeyboardDevice.h:8
Definition: BSVirtualKeyboardDevice.h:8
virtual void Start(const kbInfo *a_info)=0
void Unk_09(void) override
void Unk_0A(void) override
virtual void UserCancelled()=0
static constexpr auto RTTI
Definition: BSVirtualKeyboardDevice.h:22
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSVirtualKeyboardDevice
Definition: Offsets_RTTI.h:3635
Definition: BSVirtualKeyboardDevice.h:11
std::uint32_t maxChars
Definition: BSVirtualKeyboardDevice.h:19
void * userParam
Definition: BSVirtualKeyboardDevice.h:18
const char * startingText
Definition: BSVirtualKeyboardDevice.h:15
DoneCallback * doneCallback
Definition: BSVirtualKeyboardDevice.h:16
CancelCallback * cancelCallback
Definition: BSVirtualKeyboardDevice.h:17
void(void *, const char *) DoneCallback
Definition: BSVirtualKeyboardDevice.h:12
void() CancelCallback
Definition: BSVirtualKeyboardDevice.h:13