C++: Add il2cppi_to_string() helpers
Refactor other helper names to il2cppi_*
This commit is contained in:
@@ -91,22 +91,24 @@ namespace Il2CppInspector.Properties {
|
||||
/// Looks up a localized string similar to // Generated C++ file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
|
||||
///// Helper functions
|
||||
///
|
||||
///#include "pch-il2cpp.h"
|
||||
///
|
||||
///#define WIN32_LEAN_AND_MEAN
|
||||
///#include <windows.h>
|
||||
///#include <string>
|
||||
///#include <codecvt>
|
||||
///#include "helpers.h"
|
||||
///
|
||||
///// Log file location
|
||||
///extern const LPCWSTR LOG_FILE;
|
||||
///
|
||||
///// Helper function to get the module base address
|
||||
///uintptr_t GetBaseAddress() {
|
||||
///uintptr_t il2cppi_get_base_address() {
|
||||
/// return (uintptr_t) GetModuleHandleW(L"GameAssembly.dll");
|
||||
///}
|
||||
///
|
||||
///// Helper function to append text to a file
|
||||
///void LogWrite(std::string text) {
|
||||
/// HANDLE hfile = CreateFileW(LOG [rest of string was truncated]";.
|
||||
///void il2cppi_l [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Cpp_HelpersCpp {
|
||||
get {
|
||||
@@ -125,16 +127,15 @@ namespace Il2CppInspector.Properties {
|
||||
///#include <iomanip>
|
||||
///
|
||||
///// Helper function to get the module base address
|
||||
///uintptr_t GetBaseAddress();
|
||||
///uintptr_t il2cppi_get_base_address();
|
||||
///
|
||||
///// Helper function to append text to a file
|
||||
///void LogWrite(std::string text);
|
||||
///void il2cppi_log_write(std::string text);
|
||||
///
|
||||
///// Helper function to open a new console window and redirect stdout there
|
||||
///void NewConsole();
|
||||
///void il2cppi_new_console();
|
||||
///
|
||||
///// Helper function to convert a pointer to hex
|
||||
///template<t [rest of string was truncated]";.
|
||||
///// Helper function to convert Il2CppString to st [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Cpp_HelpersH {
|
||||
get {
|
||||
@@ -164,7 +165,7 @@ namespace Il2CppInspector.Properties {
|
||||
///// Application-specific functions
|
||||
///#define DO_APP_FUNC(a, r, n, p) extern r (*n) p
|
||||
///namespace app {
|
||||
/// #incl [rest of string was truncated]";.
|
||||
/// #include "il2cpp-functions [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Cpp_Il2CppAppDataH {
|
||||
get {
|
||||
@@ -195,7 +196,7 @@ namespace Il2CppInspector.Properties {
|
||||
///#undef DO_APP_FUNC
|
||||
///
|
||||
///// TypeInfo pointers
|
||||
///# [rest of string was truncated]";.
|
||||
///#define DO_TYPEDEF(a, n [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Cpp_Il2CppInitCpp {
|
||||
get {
|
||||
@@ -284,7 +285,7 @@ namespace Il2CppInspector.Properties {
|
||||
///#ifndef PCH_IL2CPP_H
|
||||
///#define PCH_IL2CPP_H
|
||||
///
|
||||
///// add headers [rest of string was truncated]";.
|
||||
///// add headers that you [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Cpp_PCHIl2CppH {
|
||||
get {
|
||||
@@ -306,7 +307,8 @@ namespace Il2CppInspector.Properties {
|
||||
/// <Filter>framework</Filter>
|
||||
/// </ClCompile>
|
||||
/// <ClCompile Include="framework\il2cpp-init.cpp">
|
||||
/// <Filter>framework< [rest of string was truncated]";.
|
||||
/// <Filter>framework</Filter>
|
||||
/// [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string CppProjFilters {
|
||||
get {
|
||||
@@ -326,7 +328,7 @@ namespace Il2CppInspector.Properties {
|
||||
/// <Configuration>Release</Configuration>
|
||||
/// <Platform>Win32</Platform>
|
||||
/// </ProjectConfiguration>
|
||||
/// <ProjectCon [rest of string was truncated]";.
|
||||
/// <ProjectConfiguration [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string CppProjTemplate {
|
||||
get {
|
||||
|
||||
Reference in New Issue
Block a user