2015-09-30 02:56:11 +02:00
|
|
|
#ifndef _ENTITY_KEYBIND_HPP_
|
|
|
|
#define _ENTITY_KEYBIND_HPP_
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
#include "Entity.hpp"
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
namespace SqMod {
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* ...
|
|
|
|
*/
|
|
|
|
class CKeybind : public Reference< CKeybind >
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// --------------------------------------------------------------------------------------------
|
|
|
|
using RefType::Reference;
|
2015-10-29 21:09:53 +01:00
|
|
|
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
SQInt32 GetPrimary() const noexcept;
|
|
|
|
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
SQInt32 GetSecondary() const noexcept;
|
|
|
|
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
SQInt32 GetAlternative() const noexcept;
|
|
|
|
|
|
|
|
/* --------------------------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
bool IsRelease() const noexcept;
|
2015-09-30 02:56:11 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
} // Namespace:: SqMod
|
|
|
|
|
|
|
|
#endif // _ENTITY_KEYBIND_HPP_
|