1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 16:57:16 +01:00
SqMod/source/Entity/Keybind.hpp
2015-10-29 22:09:53 +02:00

42 lines
1.3 KiB
C++

#ifndef _ENTITY_KEYBIND_HPP_
#define _ENTITY_KEYBIND_HPP_
// ------------------------------------------------------------------------------------------------
#include "Entity.hpp"
// ------------------------------------------------------------------------------------------------
namespace SqMod {
/* ------------------------------------------------------------------------------------------------
* ...
*/
class CKeybind : public Reference< CKeybind >
{
public:
// --------------------------------------------------------------------------------------------
using RefType::Reference;
/* --------------------------------------------------------------------------------------------
*
*/
SQInt32 GetPrimary() const noexcept;
/* --------------------------------------------------------------------------------------------
*
*/
SQInt32 GetSecondary() const noexcept;
/* --------------------------------------------------------------------------------------------
*
*/
SQInt32 GetAlternative() const noexcept;
/* --------------------------------------------------------------------------------------------
*
*/
bool IsRelease() const noexcept;
};
} // Namespace:: SqMod
#endif // _ENTITY_KEYBIND_HPP_