Move menu natives from core to logic

This commit is contained in:
Nicholas Hastings
2014-09-05 08:24:40 -07:00
parent a1dc1101f7
commit ad7d920ce0
11 changed files with 146 additions and 90 deletions
+15
View File
@@ -333,6 +333,14 @@ namespace SourceMod
* @return Approximate number of bytes being used.
*/
virtual unsigned int GetApproxMemUsage() =0;
/**
* @brief Sets panel content directly
*
* @param str New panel contents.
* @return True if supported, otherwise false.
*/
virtual bool DirectSet(const char *str) =0;
};
/**
@@ -423,6 +431,13 @@ namespace SourceMod
* @return Approximate number of bytes being used.
*/
virtual unsigned int GetApproxMemUsage() =0;
/**
* @brief Returns whether or not this style is supported by the current game.
*
* @return True if supported, otherwise false.
*/
virtual bool IsSupported() =0;
};
/**