Constants

reapi.inc

Hookchain return types

enum
{
	HC_CONTINUE = 0, // Plugin didn't take any action
	HC_SUPERCEDE,    // Skip real function, use my return value
	HC_BREAK,        // Skip all forwards and real function, use my return value
                     // @note Warning: Be very careful, using this type of return will skip calls for all following AMXX plugins

	HC_BYPASS        // Skip calls for all following AMXX plugins, but call the original function
                     // @note Warning: In PRE skips all forwards including POST forwards
};

Hookchain argument types

AType
enum AType
{
	ATYPE_INTEGER = 0,
	ATYPE_FLOAT,
	ATYPE_STRING,
	ATYPE_CLASSPTR,
	ATYPE_EDICT,
	ATYPE_EVARS,
	ATYPE_BOOL,
	ATYPE_VECTOR,
	ATYPE_TRACE
};

enum HookChain
{
	INVALID_HOOKCHAIN = 0
};