- object class removed
+ added some helper functions
This commit is contained in:
Jadis0x
2024-04-13 16:00:43 +03:00
parent ec7b62f51e
commit 9bc7092e5a
5 changed files with 174566 additions and 174580 deletions

19
lib/ClientHelper.cpp Normal file
View File

@@ -0,0 +1,19 @@
#include "pch-il2cpp.h"
#include "ClientHelper.h"
#include <iostream>
bool IsSinglePlayer()
{
return app::BoltNetwork_get_IsSinglePlayer(NULL);
}
bool IsOnline()
{
return not app::BoltNetwork_get_IsSinglePlayer(NULL);
}
bool IsHost()
{
return app::BoltNetwork_get_IsServer(NULL);
}