plugins/include/sourcemod.inc
changeset 1112 152ceef17866
parent 1069 8e475210cd4d
child 1124 a397d51fb986
     1.1 --- a/plugins/include/sourcemod.inc	Sat Jul 14 17:36:11 2007 +0000
     1.2 +++ b/plugins/include/sourcemod.inc	Sun Jul 15 01:04:34 2007 +0000
     1.3 @@ -329,5 +329,24 @@
     1.4   */
     1.5  native AutoExecConfig(bool:autoCreate=true, const String:name[]="", const String:folder[]="sourcemod");
     1.6  
     1.7 +/**
     1.8 + * Sets a native as optional, such that if it is unloaded, removed,
     1.9 + * or otherwise non-existent, the plugin will still work.  Calling
    1.10 + * removed natives results in a run-time error.
    1.11 + *
    1.12 + * @param name			Native name.
    1.13 + * @noreturn
    1.14 + */
    1.15 +native MarkNativeAsOptional(const String:name[]);
    1.16 +
    1.17 +/**
    1.18 + * Registers a library name for identifying as a dependency to 
    1.19 + * other plugins.
    1.20 + *
    1.21 + * @param name			Library name.
    1.22 + * @noreturn
    1.23 + */
    1.24 +native RegPluginLibrary(const String:name[]);
    1.25 +
    1.26  #include <helpers>
    1.27  #include <entity>