- 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
21 lines
542 B
C++
21 lines
542 B
C++
#pragma once
|
|
|
|
struct Il2CppObject;
|
|
struct Il2CppImage;
|
|
|
|
class Wrapper {
|
|
public:
|
|
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:
|
|
const Il2CppImage* GetImage(const char* image);
|
|
const Il2CppImage* image;
|
|
Il2CppObject* obj;
|
|
};
|