XII Release 0.1.0
Loading...
Searching...
No Matches
xiiMsgInputActionTriggered Struct Reference

xiiInputComponent raises this event when it detects input More...

#include <InputComponent.h>

Inheritance diagram for xiiMsgInputActionTriggered:
[legend]

Public Member Functions

 XII_DECLARE_MESSAGE_TYPE (xiiMsgInputActionTriggered, xiiEventMessage)
Public Member Functions inherited from xiiEventMessage
 XII_DECLARE_MESSAGE_TYPE (xiiEventMessage, xiiMessage)
XII_ALWAYS_INLINE void FillFromSenderComponent (const xiiComponent *pSenderComponent)
Public Member Functions inherited from xiiMessage
virtual xiiInt32 GetSortingKey () const
 Derived message types can override this method to influence sorting order. Smaller keys are processed first.
XII_ALWAYS_INLINE xiiMessageId GetId () const
 Returns the id for this message type.
XII_ALWAYS_INLINE xiiUInt16 GetSize () const
 Returns the size in byte of this message.
XII_ALWAYS_INLINE xiiUInt64 GetHash () const
 Calculates a hash of the message.
virtual void Serialize (xiiStreamWriter &ref_stream) const
virtual void Deserialize (xiiStreamReader &ref_stream, xiiUInt8 uiTypeVersion)
Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTI * GetDynamicRTTI () const
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
template<typename T>
XII_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.

Public Attributes

xiiHashedString m_sInputAction
 The input action string.
xiiEnum< xiiTriggerState > m_TriggerState
 The 'trigger state', depending on the key state and the configuration on the xiiInputComponent.
float m_fKeyPressValue
 For analog keys, how much they are pressed. Typically between 0 and 1.
Public Attributes inherited from xiiEventMessage
xiiGameObjectHandle m_hSenderObject
xiiComponentHandle m_hSenderComponent

Additional Inherited Members

Static Public Member Functions inherited from xiiMessage
static void PackageForTransfer (const xiiMessage &msg, xiiStreamWriter &ref_stream)
static xiiUniquePtr< xiiMessage > ReplicatePackedMessage (xiiStreamReader &ref_stream)
Static Public Member Functions inherited from xiiNoBase
static const xiiRTTI * GetStaticRTTI ()
Protected Member Functions inherited from xiiMessage
 xiiMessage (size_t messageSize)
Static Protected Member Functions inherited from xiiMessage
static XII_ALWAYS_INLINE xiiMessageId GetNextMsgId ()
Protected Attributes inherited from xiiMessage
xiiMessageId m_Id
xiiUInt16 m_uiSize
Static Protected Attributes inherited from xiiMessage
static xiiMessageId s_NextMsgId = 0

Detailed Description

xiiInputComponent raises this event when it detects input


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GameEngine/Components/GamePlay/InputComponent.h