various header files added/updated

- Created a header file called players. added a helper function to get the gameobject of all players, the gameobject of the local player and the NolanBehaviour component
- Added UnityCore file to make it easier for us to use unity functions
- Misc file fully updated
- Added Wrapper class to make it easier to use il2cpp functions
- ClientHelper updated
- color.hpp library was included in the project to make the console colorful
This commit is contained in:
Jadis0x
2024-05-16 21:37:01 +03:00
parent 17df650819
commit f69767f794
13 changed files with 1593 additions and 292 deletions

View File

@@ -1,15 +1,20 @@
#pragma once
#include <map>
struct Il2CppObject;
struct Il2CppImage;
class Wrapper {
public:
Wrapper();
const Il2CppAssembly* GetAssembly(const char* _assembly);
const Il2CppImage* GetImage(const char* _assembly);
Il2CppObject* GetObjectFromClass(const Il2CppImage* _image, const char* _namespaze, const char* _name);
Wrapper(const char* imageName);
Wrapper& find_class(const char* classNamespace, const char* className);
void get_fields(const char* classNamespace, const char* className);
void method_info(const char* classNamespace, const char* className);
void classList();
Il2CppObject* get_class();
const char* GetImageName();
const Il2CppImage* get_image();
private:
std::map<const char*, const Il2CppAssembly*> assemblyMap;
const Il2CppImage* GetImage(const char* image);
const Il2CppImage* image;
Il2CppObject* obj;
};