1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-30 22:17:13 +02:00

Allow the user to controll when the null entity instances are created. Creating them before executing any scripts will lock entity classes and prevent the user from adding custom elements.

This commit is contained in:
Sandu Liviu Catalin
2020-03-21 13:54:38 +02:00
parent e1ce21962e
commit 863948eb2e
3 changed files with 28 additions and 9 deletions

View File

@ -767,6 +767,11 @@ public:
*/
bool Reload();
/* --------------------------------------------------------------------------------------------
* Create the null instances of entity classes. Thus, locking them from further changes.
*/
void EnableNullEntities();
/* --------------------------------------------------------------------------------------------
* Modify the current plug-in state.
*/