2015-10-02 00:34:28 +02:00
|
|
|
#ifndef _SQMOD_EVENT_SHARED_HPP_
|
|
|
|
#define _SQMOD_EVENT_SHARED_HPP_
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
#include "Signal.hpp"
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
namespace SqMod {
|
|
|
|
|
2015-10-10 22:10:58 +02:00
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* ...
|
|
|
|
*/
|
|
|
|
const SQChar * GetEventName(SQInt32 type) noexcept;
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* ...
|
|
|
|
*/
|
|
|
|
bool IsEntityEvent(SQInt32 type) noexcept;
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* ...
|
|
|
|
*/
|
|
|
|
bool IsCreateEvent(SQInt32 type) noexcept;
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* ...
|
|
|
|
*/
|
|
|
|
bool IsDestroyEvent(SQInt32 type) noexcept;
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* ...
|
|
|
|
*/
|
|
|
|
bool IsCustomEvent(SQInt32 type) noexcept;
|
2015-10-02 00:34:28 +02:00
|
|
|
|
|
|
|
} // Namespace:: SqMod
|
|
|
|
|
|
|
|
#endif // _SQMOD_EVENT_SHARED_HPP_
|