added event result types

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40489
This commit is contained in:
David Anderson 2007-02-13 06:26:01 +00:00
parent d5a7ba694c
commit fbeabce6bf

View File

@ -24,6 +24,16 @@ struct PlVers
version,
};
/**
* Specifies what to do after a hook completes.
*/
enum Result
{
Plugin_Continue = 0, /**< Continue with the original action */
Plugin_Handled = 3, /**< Handle the action at the end (don't call it) */
Plugin_Stop = 4, /**< Immediately stop the hook chain and handle the original */
}
public PlVers:__version =
{
version = SOURCEMOD_PLUGINAPI_VERSION,