1.1 --- a/plugins/include/core.inc Thu Mar 15 04:45:33 2007 +0000
1.2 +++ b/plugins/include/core.inc Thu Mar 15 20:10:25 2007 +0000
1.3 @@ -43,6 +43,35 @@
1.4 filevers = SOURCEMOD_VERSION
1.5 };
1.6
1.7 +/**
1.8 + * Plugin status values.
1.9 + */
1.10 +enum PluginStatus
1.11 +{
1.12 + Plugin_Running=0, /**< Plugin is running */
1.13 + /* All states below are "temporarily" unexecutable */
1.14 + Plugin_Paused, /**< Plugin is loaded but paused */
1.15 + Plugin_Error, /**< Plugin is loaded but errored/locked */
1.16 + /* All states below do not have all natives */
1.17 + Plugin_Loaded, /**< Plugin has passed loading and can be finalized */
1.18 + Plugin_Failed, /**< Plugin has a fatal failure */
1.19 + Plugin_Created, /**< Plugin is created but not initialized */
1.20 + Plugin_Uncompiled, /**< Plugin is not yet compiled by the JIT */
1.21 + Plugin_BadLoad, /**< Plugin failed to load */
1.22 +};
1.23 +
1.24 +/**
1.25 + * Plugin information properties.
1.26 + */
1.27 +enum PluginInfo
1.28 +{
1.29 + PlInfo_Name, /**< Plugin name */
1.30 + PlInfo_Author, /**< Plugin author */
1.31 + PlInfo_Description, /**< Plugin description */
1.32 + PlInfo_Version, /**< Plugin verison */
1.33 + PlInfo_URL, /**< Plugin URL */
1.34 +};
1.35 +
1.36 struct Extension
1.37 {
1.38 const String:name[], /* Short name */