CommonLibSSE NG
Loading...
Searching...
No Matches
RE::ButtonEvent Class Reference

#include <ButtonEvent.h>

Inheritance diagram for RE::ButtonEvent:
RE::IDEvent RE::InputEvent

Public Member Functions

 ~ButtonEvent () override
 
constexpr float Value () const noexcept
 
constexpr float HeldDuration () const noexcept
 
constexpr bool IsPressed () const noexcept
 
constexpr bool IsRepeating () const noexcept
 
constexpr bool IsDown () const noexcept
 
constexpr bool IsHeld () const noexcept
 
constexpr bool IsUp () const noexcept
 
- Public Member Functions inherited from RE::IDEvent
 ~IDEvent () override
 
bool HasIDCode () const override
 
const BSFixedStringQUserEvent () const override
 
constexpr std::uint32_t GetIDCode () const noexcept
 
- Public Member Functions inherited from RE::InputEvent
virtual ~InputEvent ()
 
virtual bool HasIDCode () const
 
virtual const BSFixedStringQUserEvent () const
 
constexpr INPUT_EVENT_TYPE GetEventType () const noexcept
 
constexpr INPUT_DEVICE GetDevice () const noexcept
 
ButtonEventAsButtonEvent ()
 
const ButtonEventAsButtonEvent () const
 
IDEventAsIDEvent ()
 
const IDEventAsIDEvent () const
 

Static Public Member Functions

static ButtonEventCreate (INPUT_DEVICE a_inputDevice, const BSFixedString &a_userEvent, uint32_t a_idCode, float a_value, float a_heldDownSecs)
 

Public Attributes

float value
 
float heldDownSecs
 
- Public Attributes inherited from RE::IDEvent
BSFixedString userEvent
 
std::uint32_t idCode
 
std::uint32_t pad24
 
- Public Attributes inherited from RE::InputEvent
stl::enumeration< INPUT_DEVICE, std::uint32_t > device
 
stl::enumeration< INPUT_EVENT_TYPE, std::uint32_t > eventType
 
InputEventnext
 

Static Public Attributes

static constexpr auto RTTI = RTTI_ButtonEvent
 
static constexpr auto VTABLE = VTABLE_ButtonEvent
 
- Static Public Attributes inherited from RE::IDEvent
static constexpr auto RTTI = RTTI_IDEvent
 
- Static Public Attributes inherited from RE::InputEvent
static constexpr auto RTTI = RTTI_InputEvent
 

Constructor & Destructor Documentation

◆ ~ButtonEvent()

RE::ButtonEvent::~ButtonEvent ( )
override

Member Function Documentation

◆ Create()

static ButtonEvent * RE::ButtonEvent::Create ( INPUT_DEVICE  a_inputDevice,
const BSFixedString a_userEvent,
uint32_t  a_idCode,
float  a_value,
float  a_heldDownSecs 
)
inlinestatic

◆ HeldDuration()

constexpr float RE::ButtonEvent::HeldDuration ( ) const
inlineconstexprnoexcept

◆ IsDown()

constexpr bool RE::ButtonEvent::IsDown ( ) const
inlineconstexprnoexcept

◆ IsHeld()

constexpr bool RE::ButtonEvent::IsHeld ( ) const
inlineconstexprnoexcept

◆ IsPressed()

constexpr bool RE::ButtonEvent::IsPressed ( ) const
inlineconstexprnoexcept

◆ IsRepeating()

constexpr bool RE::ButtonEvent::IsRepeating ( ) const
inlineconstexprnoexcept

◆ IsUp()

constexpr bool RE::ButtonEvent::IsUp ( ) const
inlineconstexprnoexcept

◆ Value()

constexpr float RE::ButtonEvent::Value ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ heldDownSecs

float RE::ButtonEvent::heldDownSecs

◆ RTTI

constexpr auto RE::ButtonEvent::RTTI = RTTI_ButtonEvent
inlinestaticconstexpr

◆ value

float RE::ButtonEvent::value

◆ VTABLE

constexpr auto RE::ButtonEvent::VTABLE = VTABLE_ButtonEvent
inlinestaticconstexpr

The documentation for this class was generated from the following file: