added IsNull function

IsNull(app::Object_1*): detects whether objects are null, works more efficiently than a nullptr check.
This commit is contained in:
Jadis0x
2024-05-31 23:24:48 +03:00
parent 75b119170e
commit 58e36f2eb9
4 changed files with 45 additions and 22 deletions

View File

@@ -8,6 +8,7 @@ bool IsLocalPlayer(app::NolanBehaviour* player);
bool IsPlayerCrawling();
bool IsPlayerCrawling(app::GameObject* go);
bool IsInGame();
bool IsNull(app::Object_1* obj);
app::GameObject* GetAzazel(app::Survival* survival);