CommonLibSSE (Parapets fork)
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
 

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 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

◆ 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

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