From f69767f79495ad10c412c0cb68536e6599fd6413 Mon Sep 17 00:00:00 2001
From: Jadis0x <49281043+jadis0x@users.noreply.github.com>
Date: Thu, 16 May 2024 21:37:01 +0300
Subject: [PATCH] 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
---
IL2CppDLL.vcxproj | 9 +-
IL2CppDLL.vcxproj.filters | 22 +-
include/color.hpp | 878 ++++++++++++++++++++++++++++++++++++
lib/ClientHelper.cpp | 280 +++---------
lib/ClientHelper.h | 14 +-
lib/UnityCore.cpp | 18 +
lib/UnityCore.h | 44 ++
lib/wrapper.cpp | 136 +++---
lib/wrapper.h | 21 +-
user/features/misc/misc.cpp | 356 ++++++++++++++-
user/features/misc/misc.h | 13 +-
user/players/players.cpp | 83 ++++
user/players/players.h | 11 +
13 files changed, 1593 insertions(+), 292 deletions(-)
create mode 100644 include/color.hpp
create mode 100644 lib/UnityCore.cpp
create mode 100644 lib/UnityCore.h
create mode 100644 user/players/players.cpp
create mode 100644 user/players/players.h
diff --git a/IL2CppDLL.vcxproj b/IL2CppDLL.vcxproj
index 24cb73a..74644b9 100644
--- a/IL2CppDLL.vcxproj
+++ b/IL2CppDLL.vcxproj
@@ -51,11 +51,13 @@
-
+
+
+
@@ -70,6 +72,7 @@
+
@@ -88,11 +91,13 @@
-
+
+
+
diff --git a/IL2CppDLL.vcxproj.filters b/IL2CppDLL.vcxproj.filters
index 2152a2d..0c412ac 100644
--- a/IL2CppDLL.vcxproj.filters
+++ b/IL2CppDLL.vcxproj.filters
@@ -16,7 +16,7 @@
framework
-
+
lib
@@ -73,6 +73,12 @@
user\features\misc
+
+ lib
+
+
+ user\players
+
@@ -108,7 +114,7 @@
framework
-
+
lib
@@ -180,6 +186,15 @@
user\features\misc
+
+ include
+
+
+ lib
+
+
+ user\players
+
@@ -218,5 +233,8 @@
{116f67d1-9398-4156-8fe3-93de590b3c57}
+
+ {54f72ffe-f8ca-4732-bd14-62d1a7a68267}
+
\ No newline at end of file
diff --git a/include/color.hpp b/include/color.hpp
new file mode 100644
index 0000000..6a65604
--- /dev/null
+++ b/include/color.hpp
@@ -0,0 +1,878 @@
+#ifndef COLOR_HPP
+#define COLOR_HPP
+
+#include
+#include
+#include
+#include