mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-05-23 15:22:28 +00:00
Update CppScripts.h
This commit is contained in:
parent
3fa5d4791d
commit
c09f46aadc
@ -359,6 +359,8 @@ namespace CppScripts {
|
|||||||
|
|
||||||
Script* const GetScript(Entity* parent, const std::string& scriptName);
|
Script* const GetScript(Entity* parent, const std::string& scriptName);
|
||||||
|
|
||||||
// This function only exists so there isn't a circular dependency between Entity and CppScripts
|
// Get the invalid script. Would be a static variable of the namespace, but that would be
|
||||||
|
// more cluttery to use. Also this allows us to control where this invalid script is defined and initialized
|
||||||
|
// since we dont want anyone externally modifying it.
|
||||||
Script* const GetInvalidScript();
|
Script* const GetInvalidScript();
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user