diff --git a/.gitignore b/.gitignore index 71ffbd2..e5263ef 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,13 @@ *.user ScriptEngine/temp +DemoProject/Assets/ +DemoProject/build/ +ScriptEngine/Adapter/glue/ +ScriptEngine/Managed_orign/ +ScriptEngine/ScriptEngine.Android/build/ +ScriptEngine/Tools/*.txt +.vscode/ +ScriptEngine/Managed_il2cpp/Adapter.gen.dll +ScriptEngine/Managed_il2cpp/ +ScriptEngine/Managed_mono/ diff --git a/BindGenerater/BindGenerater.csproj b/BindGenerater/BindGenerater.csproj index c2bcadb..9a8e554 100644 --- a/BindGenerater/BindGenerater.csproj +++ b/BindGenerater/BindGenerater.csproj @@ -8,10 +8,11 @@ Exe BindGenerater Binder - v4.6.1 + v4.8 512 true true + AnyCPU @@ -77,6 +78,8 @@ + + diff --git a/BindGenerater/Generater/AOTGenerater.cs b/BindGenerater/Generater/AOTGenerater.cs index 50448b9..7ef1f1b 100644 --- a/BindGenerater/Generater/AOTGenerater.cs +++ b/BindGenerater/Generater/AOTGenerater.cs @@ -19,17 +19,19 @@ public static class AOTGenerater static string ManagedDir; static string AotDir; static bool needAOT; - public static void Init(string workDir) + static BindGenerater.BuildTargetPlatform targetPlatform; + + public static void Init(string workDir, BindGenerater.BuildTargetPlatform platform) { WorkDir = workDir; - - ManagedDir = Path.Combine(workDir, "Managed"); + targetPlatform = platform; + ManagedDir = Path.Combine(workDir, "Managed_mono"); NinjaWriter = new CodeWriter(File.CreateText(Path.Combine(ManagedDir, "build.ninja"))); NinjaWriter._eol = ""; AotDir = Path.Combine(workDir, "aot"); ModuleRegisterWriter = new CodeWriter(File.CreateText(Path.Combine(workDir, "generated", "aot_module_register.c"))); - needAOT = !Utils.IsWin32(); + needAOT = targetPlatform == BindGenerater.BuildTargetPlatform.iOS; } public static void AddAOTAssembly(string file) { diff --git a/BindGenerater/Generater/Binder.cs b/BindGenerater/Generater/Binder.cs index 5f7c26d..3eb5ecc 100644 --- a/BindGenerater/Generater/Binder.cs +++ b/BindGenerater/Generater/Binder.cs @@ -22,7 +22,7 @@ public static class Binder public static string OutDir; - public static Dictionary DecompilerDic = new Dictionary(); + private static Dictionary decompilerDic = new Dictionary(); public static DecompilerSettings DecompilerSetting; public static string ManagedDir; public static ModuleDefinition curModule; @@ -38,10 +38,25 @@ public static class Binder public static void Init(string outDir) { OutDir = outDir; - if (!Directory.Exists(outDir)) - Directory.CreateDirectory(outDir); + if (Directory.Exists(outDir)) + { + Directory.Delete(outDir, true); + } + Directory.CreateDirectory(outDir); Utils.IgnoreTypeSet.UnionWith(Config.Instance.CSharpIgnorTypes); + + Utils.IgnoreMethodsSet.UnionWith(Config.Instance.CSharpIgnorMethods); + Utils.CSharpForceRetainMethods.UnionWith(Config.Instance.CSharpForceRetainMethods); + + DecompilerSetting = new DecompilerSettings(LanguageVersion.CSharp7); + DecompilerSetting.ThrowOnAssemblyResolveErrors = false; + DecompilerSetting.UseExpressionBodyForCalculatedGetterOnlyProperties = false; + } + + public static void Start() + { + GenerateBindings.StartIL2CppAdpater(); } public static void End() @@ -59,10 +74,6 @@ public static void Bind(string dllPath) { var file = Path.GetFileName(dllPath); - DecompilerSetting = new DecompilerSettings(LanguageVersion.CSharp7); - DecompilerSetting.ThrowOnAssemblyResolveErrors = false; - DecompilerSetting.UseExpressionBodyForCalculatedGetterOnlyProperties = false; - ManagedDir = Path.GetDirectoryName(dllPath); DefaultAssemblyResolver resolver = new DefaultAssemblyResolver(); resolver.AddSearchDirectory(ManagedDir); @@ -72,18 +83,23 @@ public static void Bind(string dllPath) ReadSymbols = false, }; + var curAssem = AssemblyDefinition.ReadAssembly(dllPath, parameters); curModule = ModuleDefinition.ReadModule(dllPath, parameters); moduleSet.Add(curModule); ICallGenerater.AddWrapperAssembly(curModule.Assembly.Name.Name); - CSCGenerater.SetWrapper(file); - GenerateBindings.StartWraper(file); - CSCGenerater.AdapterCompiler.AddReference(curModule.Name); + var wrapperCompiler = CSCGeneraterManager.GetMonoWrapperCompiler(file, true); + GenerateBindings.StartMonoWraper(file, wrapperCompiler); + + var adapterCompiler = CSCGeneraterManager.GetIL2CppAdapterCompiler(); + adapterCompiler.AddReference(curModule.Name); foreach(var refAssembly in curModule.AssemblyReferences ) { - CSCGenerater.AdapterCompiler.AddReference(refAssembly.Name + ".dll"); - CSCGenerater.AdapterWrapperCompiler.AddReference(refAssembly.Name + ".dll"); + adapterCompiler.AddReference(refAssembly.Name + ".dll"); + wrapperCompiler.AddReference(refAssembly.Name + ".dll"); } - CSCGenerater.AdapterWrapperCompiler.RemoveReference(curModule.Name); + wrapperCompiler.RemoveReference(curModule.Name); + + wrapperCompiler.AddCustomAttributes(curAssem.CustomAttributes, Path.Combine(Binder.OutDir, "Mono_" + curAssem.Name.Name)); moduleTypes = new HashSet(curModule.Types); @@ -101,7 +117,7 @@ public static void Bind(string dllPath) { var gener = generaters.Dequeue(); if (gener != null) - gener.Gen(); + gener.GenerateCode(); } generaters.Clear(); @@ -120,8 +136,35 @@ public static void AddType(TypeDefinition type) if (!Utils.Filter(type)) return; - generaters.Enqueue(new ClassGenerater(type)); - + var compiler = CSCGeneraterManager.GetMonoWrapperCompiler(type.Module.Name, false); + var classGenerater = new ClassGenerater(type, compiler); + generaters.Enqueue(classGenerater); + classGenerater.Init(); + } + + public static void AddMethod(MethodReference method) + { + var type = method.DeclaringType; + if (type == null || !moduleTypes.Contains(type)) + return; + + if (!types.ContainsKey(type.FullName)) + { + AddType(type.Resolve()); + } + + ClassGenerater generater = null; + foreach (var x in generaters) + { + if(x is ClassGenerater && (x as ClassGenerater).GenType == type) + { + generater = x as ClassGenerater; + } + } + if (generater != null) + { + generater.AddMethodCalledByOthers(method); + } } public static void AddTypeRef(TypeReference type) @@ -137,12 +180,12 @@ public static CSharpDecompiler GetDecompiler(string module) { CSharpDecompiler decompiler = null; - if (DecompilerDic.TryGetValue(module, out decompiler)) + if (decompilerDic.TryGetValue(module, out decompiler)) return decompiler; var dllPath = Path.Combine(ManagedDir, module); decompiler = new CSharpDecompiler(dllPath, DecompilerSetting); - DecompilerDic[module] = decompiler; + decompilerDic[module] = decompiler; return decompiler; } diff --git a/BindGenerater/Generater/C/CTypeResolver.cs b/BindGenerater/Generater/C/CTypeResolver.cs index 6dbab56..cfee44e 100644 --- a/BindGenerater/Generater/C/CTypeResolver.cs +++ b/BindGenerater/Generater/C/CTypeResolver.cs @@ -304,14 +304,16 @@ public override string TypeName() public class ArrayResolver : BaseTypeResolver { bool isValueElement; + bool isPrimitiveElement; public ArrayResolver(TypeReference _type, bool _il2cppType) : base(_type, _il2cppType) { isValueElement = type.GetElementType().IsValueType; + isPrimitiveElement = type.GetElementType().IsPrimitive; } public override string Box(string name, bool previous = false) { - if (isValueElement) + if (isValueElement && !isPrimitiveElement) { return name; } @@ -330,7 +332,7 @@ public override string Box(string name, bool previous = false) } public override string Unbox(string name, bool previous = false) { - if (isValueElement) + if (isValueElement && !isPrimitiveElement) { return name; } @@ -345,7 +347,7 @@ public override string Unbox(string name, bool previous = false) } public override string TypeName() { - if (isValueElement) + if (isValueElement && !isPrimitiveElement) return "void*"; if (il2cppType) diff --git a/BindGenerater/Generater/C/CUtils.cs b/BindGenerater/Generater/C/CUtils.cs index 483d3cd..2abe123 100644 --- a/BindGenerater/Generater/C/CUtils.cs +++ b/BindGenerater/Generater/C/CUtils.cs @@ -210,12 +210,12 @@ public static bool IsNativeCallback(MethodDefinition method) { if (!method.HasBody) return false; - bool res = false; + bool ret = false; foreach (var attr in method.CustomAttributes) { if (attr.AttributeType.Name == "RequiredByNativeCodeAttribute") { - res = true; + ret = true; break; } } @@ -223,7 +223,7 @@ public static bool IsNativeCallback(MethodDefinition method) //if (!IsUnityObject(method.DeclaringType)) // res = false; - return res; + return ret; } public static bool IsEventCallback(MethodDefinition method) @@ -234,8 +234,8 @@ public static bool IsEventCallback(MethodDefinition method) return false; } - bool res = IsNativeCallback(method); - if (!res) + bool ret = IsNativeCallback(method); + if (!ret) return false; if (!method.HasBody) diff --git a/BindGenerater/Generater/C/ClassCacheGenerater.cs b/BindGenerater/Generater/C/ClassCacheGenerater.cs index 72fdc31..bbf8f24 100644 --- a/BindGenerater/Generater/C/ClassCacheGenerater.cs +++ b/BindGenerater/Generater/C/ClassCacheGenerater.cs @@ -155,8 +155,10 @@ public static void Gen() { CS.Writer.Start($"Il2CppClass* {GetClassDefine(desc, true)}"); CS.Writer.WriteLine("static Il2CppClass* klass"); - CS.Writer.WriteLine("if(!klass)", false); - CS.Writer.WriteLine("\t" + $"klass = il2cpp_get_class({GetImageDefine(desc.Assembly, true)},\"{desc.Namespace}\",\"{desc.Name}\")"); + CS.Writer.Start("if(!klass)"); + CS.Writer.WriteLine($"klass = il2cpp_get_class({GetImageDefine(desc.Assembly, true)},\"{desc.Namespace}\",\"{desc.Name}\")"); + CS.Writer.WriteLine($"if(klass == NULL){{ platform_log(\"il2cpp class not found: %s-%s\", \"{desc.Namespace}\", \"{desc.Name}\"); }}"); + CS.Writer.End(); CS.Writer.WriteLine("return klass"); CS.Writer.End(); } diff --git a/BindGenerater/Generater/C/ICallGenerater.cs b/BindGenerater/Generater/C/ICallGenerater.cs index 64e97a2..1e1fb1f 100644 --- a/BindGenerater/Generater/C/ICallGenerater.cs +++ b/BindGenerater/Generater/C/ICallGenerater.cs @@ -68,8 +68,24 @@ private static void ImplementBindMethod(MethodDefinition method) CS.Writer.WriteLine($"typedef {i2ReturnTypeName} (* ICallMethod) {CUtils.GetParamDefine(method, true)}"); CS.Writer.WriteLine("static ICallMethod icall"); - CS.Writer.WriteLine("if(!icall)",false); - CS.Writer.WriteLine("\t"+$"icall = (ICallMethod)il2cpp_resolve_icall(\"{CUtils.GetICallDescName(method)}\")"); + CS.Writer.Start("if(!icall)"); + CS.Writer.WriteLine($"icall = (ICallMethod)il2cpp_resolve_icall(\"{CUtils.GetICallDescName(method)}\")"); + CS.Writer.Start("if(!icall)"); + CS.Writer.WriteLine($"platform_log(\"{CUtils.GetICallDescName(method)} func not found\")"); + //CS.Writer.WriteLine($"return {method.ReturnType.IsVoid() ? "" : }"); + if (method.ReturnType.IsVoid()) //非void构造return value相对麻烦,不构造会直接导致崩溃 + { + CS.Writer.WriteLine($"return"); + }else if (method.ReturnType.IsPrimitive || method.ReturnType.Resolve().IsEnum) + { + CS.Writer.WriteLine($"return 0"); + } + else if (!method.ReturnType.IsValueType) + { + CS.Writer.WriteLine($"return NULL"); + } + CS.Writer.End(); + CS.Writer.End(); if (method.ReturnType.IsVoid()) CS.Writer.WriteLine("icall(", false); @@ -95,6 +111,13 @@ private static void ImplementBindMethod(MethodDefinition method) if (!method.ReturnType.IsVoid()) { var monoRes = CTypeResolver.Resolve(method.ReturnType).Box("i2res"); + if (i2ReturnTypeName.Contains("*")) + { + CS.Writer.Start($"if(i2res != NULL && {monoRes} == NULL)"); + CS.Writer.WriteLine($"platform_log(\"{CUtils.GetICallDescName(method)} fail to convert il2cpp obj to mono\")"); + CS.Writer.End(); + } + CS.Writer.WriteLine($"return {monoRes}"); } } diff --git a/BindGenerater/Generater/CSharp/CSCGenerater.cs b/BindGenerater/Generater/CSharp/CSCGenerater.cs index d77aee1..2015643 100644 --- a/BindGenerater/Generater/CSharp/CSCGenerater.cs +++ b/BindGenerater/Generater/CSharp/CSCGenerater.cs @@ -4,29 +4,31 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using Mono.Cecil; namespace Generater { - public class CSCGenerater + public class CSCGeneraterManager { - static string[] addtionFlag = new string[] + public static string[] addtionFlag = new string[] { "-t:library", "-unsafe", }; - static string[] addtionRef = new string[] + public static string[] addtionRef = new string[] { "mscorlib.dll", - "UnityEngine.CoreModule.dll", + "System.dll", + //"UnityEngine.CoreModule.dll", //"PureScript.dll", }; - private static string CSCPath = "csc"; + public static string CSCPath = "csc"; private static string[] AdapterSrc = new string[] { - "glue/Binder.impl.cs", + "glue/IL2Cpp/Binder.il2cpp.cs", "Tools/CustomBinder.cs", "Tools/ObjectStore.cs", }; @@ -36,103 +38,226 @@ public class CSCGenerater "Tools/CustomBinder.cs", "Tools/ObjectStore.wrapper.cs", "Tools/ScriptEngine.cs", - + }; - public static CSCGenerater AdapterCompiler; - public static CSCGenerater AdapterWrapperCompiler; - private static string OutDir; - private static string DllRefDir; - private static string AdapterDir; + private static CSCGenerater adapterCompiler; + //public static CSCGenerater AdapterWrapperCompiler; + private static string monoManagedDir; + private static string il2cppManagedDir; + public static string AdapterDir; + public static string OriginDir; private static HashSet IgnoreRefSet = new HashSet(); - private static Dictionary WrapperDic = new Dictionary(); + private static Dictionary wrapperDic = new Dictionary(); + private static Dictionary monoBehaviourProxyDic = new Dictionary(); + private static List asesemblyCheck; + public static Mono.Cecil.AssemblyDefinition corlib; + private static BindGenerater.BuildTargetPlatform targetPlatform; - public static void Init(string cscDir,string adapterDir, string outDir, HashSet ignoreRefSet) + public static void Init(string cscDir, string adapterDir, string originDir, string _monoManagedDir, string _il2cppManagedDir, BindGenerater.BuildTargetPlatform platform, HashSet ignoreRefSet, List assemblyChk) { - CSCPath = Path.Combine(cscDir, Utils.IsWin32() ? "csc.exe":"csc") ; - OutDir = outDir; - DllRefDir = outDir; + CSCPath = Path.Combine(cscDir, Utils.IsWin32() ? "csc.exe" : "csc"); + monoManagedDir = _monoManagedDir; + il2cppManagedDir = _il2cppManagedDir; AdapterDir = adapterDir; IgnoreRefSet = ignoreRefSet; - AdapterCompiler = new CSCGenerater(Path.Combine(outDir, "Adapter.gen.dll")); - - foreach(var file in AdapterSrc) - AdapterCompiler.AddSource(Path.Combine(adapterDir,file)); - AdapterCompiler.refSet.Add("PureScript.dll"); + OriginDir = originDir; + targetPlatform = platform; - SetWrapper("Adapter.wrapper.dll"); + var wrapperComp = GetMonoWrapperCompiler("Adapter.wrapper.dll", true); foreach (var file in AdapterWrapperSrc) - AdapterWrapperCompiler.AddSource(Path.Combine(adapterDir, file)); + wrapperComp.AddSource(Path.Combine(adapterDir, file)); + + asesemblyCheck = assemblyChk; + + corlib = AssemblyDefinition.ReadAssembly(Path.Combine(monoManagedDir, "mscorlib.dll")); + } + + public static CSCGenerater GetIL2CppAdapterCompiler() + { + if(adapterCompiler == null) + { + adapterCompiler = new CSCGenerater(Path.Combine(il2cppManagedDir, "Adapter.gen.dll"), DllRuntime.IL2Cpp, il2cppManagedDir); + adapterCompiler.AddPlatformDefine(targetPlatform); + + foreach (var file in AdapterSrc) + adapterCompiler.AddSource(Path.Combine(AdapterDir, file)); + adapterCompiler.refSet.Add("PureScript.dll"); + } + + return adapterCompiler; } - public static void SetWrapper(string dllName) + public static CSCGenerater GetMonoWrapperCompiler(string dllName, bool createWhenNULL = false) { - if (!WrapperDic.TryGetValue(dllName,out AdapterWrapperCompiler)) + if (!wrapperDic.TryGetValue(dllName, out var adapterWrapperCompiler)) { - AdapterWrapperCompiler = new CSCGenerater(Path.Combine(OutDir, dllName)); + if(!createWhenNULL) + { + return null; + } + adapterWrapperCompiler = new CSCGenerater(Path.Combine(monoManagedDir, dllName), DllRuntime.Mono, monoManagedDir); //foreach (var file in AdapterWrapperSrc) // AdapterWrapperCompiler.AddSource(Path.Combine(AdapterDir, file)); - AdapterWrapperCompiler.AddDefine("WRAPPER_SIDE"); - if (!Utils.IsWin32()) - AdapterWrapperCompiler.AddDefine("IOS"); + adapterWrapperCompiler.AddDefine("WRAPPER_SIDE"); + adapterWrapperCompiler.AddPlatformDefine(targetPlatform); - WrapperDic[dllName] = AdapterWrapperCompiler; + wrapperDic[dllName] = adapterWrapperCompiler; if (dllName != "Adapter.wrapper.dll") - AdapterWrapperCompiler.AddReference("Adapter.wrapper.dll"); + adapterWrapperCompiler.AddReference("Adapter.wrapper.dll"); } + return adapterWrapperCompiler; } - public static void End() + public static void CompileAdapterAndWrapperDll() { - AdapterCompiler.Gen(); + adapterCompiler.CompileDll(); //AdapterWrapperCompiler.Gen(); - var list = GetSortedList(); + var list = GetSortedList(wrapperDic); foreach (var wrapper in list) { - wrapper.Gen(); + wrapper.CompileDll(); + } + + for (var i = 0; i < asesemblyCheck.Count; i++) + { + var check = asesemblyCheck[i]; + var checker = new CSCGenerater(Path.Combine(monoManagedDir, check.Assembly), DllRuntime.Mono, monoManagedDir); + checker.AddReference(adapterCompiler.outName); + checker.AddReference("System.dll"); + checker.AddReference("System.Core.dll"); + foreach (var wrapper in list) + { + checker.AddReference(wrapper.outName); + } + for (int j = 0; j < i; j++) + { + checker.AddReference(Path.Combine(monoManagedDir, asesemblyCheck[j].Assembly)); + } + foreach (var f in Directory.GetFiles(check.Source, check.Filter, SearchOption.AllDirectories)) + { + checker.AddSource(f); + } + checker.AddPlatformDefine(targetPlatform); + checker.CompileDll(); + } + } + + public static void CompileIL2CppMonoBehaviourProxyDll() + { + var list = GetSortedList(monoBehaviourProxyDic); + foreach (var wrapper in list) + { + wrapper.CompileDll(); } } - private static List GetSortedList() + private static List GetSortedList(Dictionary dic) { - foreach (var wrapper in WrapperDic.Values) + foreach (var wrapper in dic.Values) { - CountRef(wrapper); + CountRef(wrapper, dic); } - var list = new List(WrapperDic.Values); + var list = new List(dic.Values); list.Sort((a, b) => { return b.RefCount - a.RefCount; }); return list; } - private static void CountRef(CSCGenerater gener) + private static void CountRef(CSCGenerater gener, Dictionary dic) { foreach (var depend in gener.refSet) { - if (WrapperDic.TryGetValue(depend, out var dependGener)) + if (dic.TryGetValue(depend, out var dependGener)) { dependGener.RefCount++; - CountRef(dependGener); + CountRef(dependGener, dic); } } } + public static CSCGenerater GetMonoBehaviourProxyWrapper(string dllName) + { + if (!monoBehaviourProxyDic.TryGetValue(dllName, out var monoBehaviourProxyCompiler)) + { + monoBehaviourProxyCompiler = new CSCGenerater(Path.Combine(il2cppManagedDir, dllName), DllRuntime.IL2Cpp, il2cppManagedDir); + //foreach (var file in AdapterWrapperSrc) + // AdapterWrapperCompiler.AddSource(Path.Combine(AdapterDir, file)); + monoBehaviourProxyCompiler.AddPlatformDefine(targetPlatform); + monoBehaviourProxyDic[dllName] = monoBehaviourProxyCompiler; + + monoBehaviourProxyCompiler.AddReference("PureScript.dll"); + if (dllName != "Adapter.gen.dll") + monoBehaviourProxyCompiler.AddReference("Adapter.gen.dll"); + } + + return monoBehaviourProxyCompiler; + } + + } + + public enum DllRuntime + { + None = 0, + Mono = 0x1, + IL2Cpp = 0x2, + MonoAndIL2Cpp = 0x3, + } + + public class CSCGenerater + { public string outName { get; private set; } public HashSet refSet = new HashSet(); public int RefCount = 0; HashSet srcSet = new HashSet(); HashSet defineSet = new HashSet(); + private string dllRefDir = null; + + public DllRuntime Runtime { private set; get; } - public CSCGenerater(string targetName) + public void SetDllRefDir(string dir) { - outName = Path.GetFullPath(targetName); + dllRefDir = dir; + } + + public CSCGenerater(string destPath, DllRuntime runtime, string refDir) + { + outName = Path.GetFullPath(destPath); + Runtime = runtime; + dllRefDir = refDir; + } + + public void SetRuntime(DllRuntime runtime) + { + Runtime = runtime; + } + + public void AddCustomAttributes(Mono.Collections.Generic.Collection customAttributes, string sourceDir) + { + var assemblyInfo = Path.Combine(sourceDir, "AssemblyInfo.cs"); + var writer = new CodeWriter(File.CreateText(assemblyInfo), Runtime == DllRuntime.Mono ? CodeWriter.CodeWriterType.MonoBind : CodeWriter.CodeWriterType.UnityBind); + writer.WriteLine("using System.Runtime.CompilerServices"); + writer.WriteLine("using UnityEngine"); + + foreach (var attr in customAttributes) + { + if(attr.AttributeType.Name == "InternalsVisibleToAttribute") + { + if(attr.ConstructorArguments.Count > 0) + { + writer.WriteLine($"[assembly: InternalsVisibleTo(\"{attr.ConstructorArguments[0].Value}\")]", false); + } + } + } + writer.Flush(); + AddSource(assemblyInfo); } public void AddReference(string target) { //if(!IgnoreRefSet.Contains(target)) - refSet.Add(target); + refSet.Add(target.Replace("\\", "/")); } public void RemoveReference(string target) { @@ -142,7 +267,7 @@ public void RemoveReference(string target) public void AddSource(string file) { - var path = Path.GetFullPath(file); + var path = Path.GetFullPath(file).Replace("\\", "/"); srcSet.Add(path); } @@ -151,32 +276,57 @@ public void AddDefine(string define) defineSet.Add(define); } - public void Gen() + public void AddPlatformDefine(BindGenerater.BuildTargetPlatform platform) + { + if (platform == BindGenerater.BuildTargetPlatform.iOS) + { + AddDefine("IOS"); + AddDefine("UNITY_IOS"); + } + else if(platform == BindGenerater.BuildTargetPlatform.Android) + { + AddDefine("UNITY_ANDROID"); + } + else if (platform == BindGenerater.BuildTargetPlatform.StandaloneWindows) + { + AddDefine("UNITY_WIN"); + } + else if (platform == BindGenerater.BuildTargetPlatform.StandaloneWindows64) + { + AddDefine("UNITY_WIN64"); + } + } + + public void CompileDll() { var fName = $"{Path.GetFileName(outName)}.txt"; - using(var config = File.CreateText(fName)) + using (var config = File.CreateText(fName)) { config.WriteLine($"-out:{outName}"); - foreach (var flag in addtionFlag) + foreach (var flag in CSCGeneraterManager.addtionFlag) config.WriteLine(flag); - foreach (var refFile in addtionRef) - config.WriteLine($"-r:{Path.Combine(DllRefDir, refFile)}"); + foreach (var refFile in CSCGeneraterManager.addtionRef) + config.WriteLine($"-r:{Path.GetFullPath(Path.Combine(dllRefDir, refFile))}"); foreach (var refFile in refSet) - config.WriteLine($"-r:{Path.Combine(DllRefDir, refFile)}"); + config.WriteLine($"-r:{Path.GetFullPath(Path.Combine(dllRefDir, refFile))}"); foreach (var define in defineSet) config.WriteLine($"-define:{define}"); + if(true) + { + config.WriteLine($"-debug:embedded"); + } - var netstandFile = Path.Combine(OutDir, "netstandard.dll"); + var netstandFile = Path.Combine(dllRefDir, "netstandard.dll"); if(File.Exists(netstandFile)) - config.WriteLine($"-r:{Path.Combine(DllRefDir, netstandFile)}"); + config.WriteLine($"-r:{Path.Combine(dllRefDir, netstandFile)}"); foreach (var src in srcSet) config.WriteLine(src); } - int res = Utils.RunCMD(CSCPath, new string[] { $"@{fName}" }); + int res = Utils.RunCMD(CSCGeneraterManager.CSCPath, new string[] { $"@{fName}" }); if (res != 0) - throw new Exception($"Run CSC error,with: {CSCPath} @{fName}"); + throw new Exception($"Run CSC error,with: {CSCGeneraterManager.CSCPath} @{fName}"); } /*public void AddTypeForwardedTo(string typeName) { diff --git a/BindGenerater/Generater/CSharp/ClassGenerater.cs b/BindGenerater/Generater/CSharp/ClassGenerater.cs index 99ab8e0..436cbf6 100644 --- a/BindGenerater/Generater/CSharp/ClassGenerater.cs +++ b/BindGenerater/Generater/CSharp/ClassGenerater.cs @@ -3,6 +3,7 @@ using System.Collections; using System.Collections.Generic; using System.IO; +using System.Linq; using ICSharpCode.Decompiler; using ICSharpCode.Decompiler.CSharp; @@ -20,8 +21,8 @@ public class ClassGenerater : CodeGenerater private List methods = new List(); private Dictionary nestType = new Dictionary(); private bool hasDefaultConstructor = false; - private bool isCopyOrignType; - private bool isFullRetainType; + private bool isCopyOrignNodes; + private bool isCopyFullOrignalNodes; private StreamWriter FileStream; public HashSet RefNameSpace = new HashSet(); @@ -30,54 +31,98 @@ public class ClassGenerater : CodeGenerater Dictionary retainDic = new Dictionary(); public TokenMapVisitor nodesCollector; - public ClassGenerater(TypeDefinition type, StreamWriter writer = null) + public Dictionary TokenMap { get { return nodesCollector.TokenMap; } } + public Dictionary RetainDic { get { return retainDic; } } + public TypeDefinition GenType { get { return genType; } } + + private ClassGenerater parent = null; + private CSCGenerater compiler = null; + + private CS curWriter = null; + + public ClassGenerater(TypeDefinition type, CSCGenerater compiler) { + this.compiler = compiler; genType = type; + //Init(); + } + + public ClassGenerater(TypeDefinition type, ClassGenerater parent = null) + { + this.parent = parent; + genType = type; + Init(); + } + + public void Init() + { RefNameSpace.Add("System"); RefNameSpace.Add("PureScript.Mono"); RefNameSpace.Add("System.Runtime.CompilerServices"); - - if (writer == null) + RefNameSpace.Add("System.Runtime.InteropServices"); + RefNameSpace.Add($"Binder.mono.{genType.Module.Name}".Replace(".dll", "").Replace(".", "_")); + + if (parent == null) { - var filePath = Path.Combine(Binder.OutDir, $"Gen.{TypeFullName()}.cs"); - CSCGenerater.AdapterWrapperCompiler.AddSource(filePath); + var dir = Path.Combine(Binder.OutDir, "Mono_" + genType.Module.Assembly.Name.Name); + if (!Directory.Exists(dir)) + { + Directory.CreateDirectory(dir); + } + var filePath = Path.Combine(dir, $"Gen.{TypeFullName()}.cs"); + compiler.AddSource(filePath); FileStream = File.CreateText(filePath); } else { - FileStream = writer; + FileStream = parent.FileStream; } - isCopyOrignType = IsCopyOrignType(genType); - CheckCopyOrignNodes(); - if (isFullRetainType) + isCopyOrignNodes = CheckCopyOrignNodes(genType); + GetCopyPartOrignNodes(); + if (isCopyFullOrignalNodes) + { return; + } - if (type.BaseType != null) - RefNameSpace.Add(type.BaseType.Namespace); + if (genType.BaseType != null) + { + RefNameSpace.Add(genType.BaseType.Namespace); + } - foreach (var t in type.NestedTypes) + foreach (var t in genType.NestedTypes) { if (t.Name.StartsWith("<") || !Utils.Filter(t)) continue; if ((t.IsPublic || t.IsNestedPublic) && !Utils.IsObsolete(t)) { - var nestGen = new ClassGenerater(t, FileStream); + var nestGen = new ClassGenerater(t, this); nestType[t] = nestGen; RefNameSpace.UnionWith(nestGen.RefNameSpace); } } - if (!isCopyOrignType) + if (!isCopyOrignNodes) { foreach (FieldDefinition field in genType.Fields) { // if (isFullValueType && !field.IsStatic) // continue; - if (field.IsPublic) + if (Utils.Filter(field)) { - properties.Add(new PropertyGenerater(field)); - RefNameSpace.Add(field.FieldType.Namespace); + if(field.FieldType.Resolve().IsDelegate()) + { + if (Utils.Filter(field.FieldType)) + { + events.Add(new DelegateGenerater(field, this)); + RefNameSpace.Add(field.FieldType.Namespace); + } + }else + { + properties.Add(new PropertyGenerater(field, this)); + RefNameSpace.Add(field.FieldType.Namespace); + } + } } @@ -87,7 +132,7 @@ public ClassGenerater(TypeDefinition type, StreamWriter writer = null) { if(Utils.Filter(e)) { - events.Add(new DelegateGenerater(e)); + events.Add(new DelegateGenerater(e, this)); RefNameSpace.Add(e.EventType.Namespace); } } @@ -99,12 +144,15 @@ public ClassGenerater(TypeDefinition type, StreamWriter writer = null) var pt = prop.PropertyType.Resolve(); if (pt.IsDelegate()) { - events.Add(new DelegateGenerater(prop)); + events.Add(new DelegateGenerater(prop, this)); } else { - properties.Add(new PropertyGenerater(prop)); - RefNameSpace.Add(prop.PropertyType.Namespace); + if (!HasProperty(prop)) + { + properties.Add(new PropertyGenerater(prop, this)); + RefNameSpace.Add(prop.PropertyType.Namespace); + } } } } @@ -113,82 +161,194 @@ public ClassGenerater(TypeDefinition type, StreamWriter writer = null) { foreach (MethodDefinition method in genType.Methods) { - if (method.IsConstructor && method.Parameters.Count == 0) - hasDefaultConstructor = true; + if (method.IsConstructor && method.Parameters.Count == 0) //防止base type的ctor被声明为private,子类无法定义默认的ctor + { + if (method.IsPublic) + { + hasDefaultConstructor = true; + } + } + if (IsCopyOrignNode(method)) + { continue; + } CheckInterface(method); - if ((method.IsPublic || genType.IsInterface) && !method.IsGetter && !method.IsSetter && !method.IsAddOn && !method.IsRemoveOn ) + if ((Utils.IsVisibleToOthers(method) || Utils.IsInternalCallVisibleToOthers(method)) && !method.IsGetter && !method.IsSetter && !method.IsAddOn && !method.IsRemoveOn && !HasMethod(method)) { - var methodGener = new MethodGenerater(method); - methods.Add(methodGener); + var methodGener = new MethodGenerater(method, this, false, methods); + //methods.Add(methodGener); RefNameSpace.UnionWith(Utils.GetNameSpaceRef(method)); } } } } + public void AddMethodCalledByOthers(MethodReference method) + { + var methodDef = method as MethodDefinition; + if (methodDef != null) + { + //默认会构造一个ctor,不用特殊引用 + if(methodDef.IsConstructor && methodDef.Parameters.Count == 0) + { + return; + } + if(methodDef.IsGetter || methodDef.IsSetter) + { + foreach(var p in methodDef.DeclaringType.Properties) + { + if((p.SetMethod != null && p.SetMethod.FullName == methodDef.FullName) || (p.GetMethod != null && p.GetMethod.FullName == methodDef.FullName)) + { + if(!HasProperty(p)) + { + properties.Add(new PropertyGenerater(p, this, true)); + RefNameSpace.Add(p.PropertyType.Namespace); + } + return; + } + } + } + if (!HasMethod(methodDef)) + { + new MethodGenerater(methodDef, this, true, methods); + RefNameSpace.UnionWith(Utils.GetNameSpaceRef(methodDef)); + } + } + } + + private bool HasMethod(MethodDefinition method) + { + return methods.Find(x => x.GenMethodDef.FullName == method.FullName) != null || retainDic.ContainsKey(method.MetadataToken.ToInt32()); + } + + private bool HasProperty(PropertyDefinition property) + { + return properties.Find(x => x.PropName == property.FullName) != null || retainDic.ContainsKey(property.MetadataToken.ToInt32()); + } + + public DllRuntime GetRuntime() + { + DllRuntime ret = DllRuntime.None; + if(compiler != null) + { + ret = compiler.Runtime; + } + else + { + var parent = this.parent; + while(parent != null) + { + if(parent.parent != null) + { + parent = parent.parent; + } + else + { + break; + } + } + if(parent != null) + { + ret = parent.GetRuntime(); + } + } + if(ret == DllRuntime.None) + { + throw new Exception("compiler must have a runtime"); + } + return ret; + } + public override string TypeFullName() { return genType.FullName.Replace("`","_"); } - private void GenNested() + private void GenNested(CS writer) { if (nestType.Count <= 0) + { return; + } - CS.Writer.Flush(); foreach (var t in nestType.Values) { - t.Gen(); + t.GenerateCode(writer); } + writer.CurWriter.Flush(); + } - public override void Gen() + public override void GenerateCode(CS writer) { - using (new CS(new CodeWriter(FileStream))) + bool newWriter = false; + if(writer == null) { - base.Gen(); + newWriter = true; + writer = new CS(new CodeWriter(FileStream)); + } + //using (new CS(new CodeWriter(FileStream))) + { + base.GenerateCode(); - if (isCopyOrignType) + if (isCopyOrignNodes) { - CopyType(genType); - CS.Writer.EndAll(); - if (!genType.IsStruct() || isFullRetainType) + GenerateFullOriginalNodes(); + if (newWriter) + { + writer.CurWriter.EndAll(); + } + else + { + if (genType.IsNested) //这里完全copy,不用手动end + { + //writer.CurWriter.End(); + } + } + //if (!genType.IsStruct() || isCopyFullOrignalNodes) + { + if (newWriter) + { + writer.Dispose(); + } return; + } } if(!genType.IsNested) { - if(!isCopyOrignType) + if(!isCopyOrignNodes) { + writer.CurWriter.CreateLinePoint("//namespace"); RefNameSpace.ExceptWith(Config.Instance.StripUsing); foreach (var ns in RefNameSpace) { if (!string.IsNullOrEmpty(ns)) { - CS.Writer.WriteLine($"using {ns}"); + writer.CurWriter.WriteLine($"using {ns}"); } } - CS.Writer.WriteLine("using System.Runtime.InteropServices"); - CS.Writer.WriteLine("using Object = UnityEngine.Object"); + writer.CurWriter.WriteLine("using System.Runtime.InteropServices"); + writer.CurWriter.WriteLine("using Object = UnityEngine.Object"); } if (!string.IsNullOrEmpty(genType.Namespace)) { - CS.Writer.Start($"namespace {genType.Namespace}"); + writer.CurWriter.Start($"namespace {genType.Namespace}"); } } //if (!isCopyOrignType) // CS.Writer.WriteLine($"[WrapperClass(\"{Binder.curModule.Name}\")]", false); - Utils.TokenMap = nodesCollector.TokenMap; - string classDefine = Utils.GetMemberDelcear(genType,stripInterfaceSet); + //Utils.TokenMap = nodesCollector.TokenMap; + string classDefine = Utils.GetMemberDelcear(genType, nodesCollector.TokenMap, stripInterfaceSet); if(Binder.retainTypes.Contains(genType.FullName)) + { classDefine = classDefine.Replace("internal ", "public "); + } bool isStatic = genType.IsAbstract && genType.IsSealed; if (genType.BaseType != null && !isStatic && !genType.IsStruct()) @@ -197,83 +357,109 @@ public override void Gen() { var index = classDefine.IndexOf(":"); if (index > 0) + { classDefine = classDefine.Replace(":", ": WObject,"); + } else + { classDefine += ": WObject"; + } } else + { Binder.AddType(genType.BaseType.Resolve()); + } } - CS.Writer.Start(classDefine); + writer.CurWriter.Start(classDefine); - CS.Writer.CreateLinePoint("//member"); + writer.CurWriter.CreateLinePoint("//member"); /*CS.Writer.Start($"internal {genType.Name}(int handle,IntPtr ptr): base(handle, ptr)"); CS.Writer.End();*/ foreach (var p in properties) { - p.Gen(); + p.GenerateCode(); } foreach(var e in events) { - e.Gen(); + e.GenerateCode(); } - if(!hasDefaultConstructor && !genType.IsSealed) + if(!hasDefaultConstructor && !genType.IsSealed && !genType.IsInterface) { - CS.Writer.WriteLine($"public {genType.Name}()" + " { }", false); + writer.CurWriter.WriteLine($"public {genType.Name}()" + " { }", false); } if(genType.IsClass && !genType.IsValueType && !isStatic) { - CS.Writer.WriteLine($"protected override System.Type GetWType() {{ return typeof({genType.Name}); }}", false); + writer.CurWriter.WriteLine($"protected override System.Type GetWType() {{ return typeof({genType.Name}); }}", false); } foreach (var m in methods) { - m.Gen(); + m.GenerateCode(); } - GenCopyOrignNodes(); + GeneratePartOriginalNodes(); + + GenNested(writer); - GenNested(); + if (newWriter) + { + writer.CurWriter.EndAll(); + }else + { + if (genType.IsNested) + { + writer.CurWriter.End(); + } + } + } - CS.Writer.EndAll(); + if (newWriter) + { + writer.Dispose(); } } - bool IsCopyOrignType(TypeDefinition type) + bool CheckCopyOrignNodes(TypeDefinition type) { + isCopyFullOrignalNodes = Binder.retainTypes.Contains(type.FullName); + isCopyFullOrignalNodes |= Binder.retainTypes.Contains(type.Namespace); + + isCopyFullOrignalNodes |= type.DoesSpecificTypeImplementInterface("IEnumerator"); + isCopyFullOrignalNodes |= Utils.IsAttribute(type); - isFullRetainType = Binder.retainTypes.Contains(type.FullName); - isFullRetainType |= Binder.retainTypes.Contains(type.Namespace); + isCopyFullOrignalNodes |= type.IsStruct(); - isFullRetainType |= type.DoesSpecificTypeImplementInterface("IEnumerator"); + isCopyFullOrignalNodes |= Utils.IsException(type); + //TODO: interface full retain + isCopyFullOrignalNodes |= type.IsInterface; - if (type.IsEnum || type.IsDelegate() || type.IsInterface) + if (type.IsEnum || type.IsDelegate() ||/* type.IsInterface || */Utils.IsAttribute(type) || type.IsStruct()) return true; - if (Utils.IsFullValueType(type) || isFullRetainType) + if (Utils.IsFullValueType(type) || isCopyFullOrignalNodes) return true; return false; } - void CopyType(TypeDefinition type ) + void GenerateFullOriginalNodes() { - bool isNested = type.IsNested; + bool isNested = genType.IsNested; HashSet IgnoreNestType = new HashSet(); //if (!(isNested && IsCopyOrignType(genType.DeclaringType))) { - var tName = type.FullName.Replace("/", "+"); + var tName = genType.FullName.Replace("/", "+"); var name = new FullTypeName(tName); - var decompiler = Binder.GetDecompiler(type.Module.Name); + var decompiler = Binder.GetDecompiler(genType.Module.Name); AstNode syntaxTree; if (isNested) @@ -290,12 +476,27 @@ void CopyType(TypeDefinition type ) StringWriter w = new StringWriter(); CustomOutputVisitor outVisitor; - if(isFullRetainType) - outVisitor = new CustomOutputVisitor(isNested, w, Binder.DecompilerSetting.CSharpFormattingOptions); + if(isCopyFullOrignalNodes) + { + if (genType.IsStruct()) + { + outVisitor = new StructOutputVisitor(this, decompiler, isNested, w, Binder.DecompilerSetting.CSharpFormattingOptions); + } + else if (genType.IsInterface) + { + outVisitor = new InterfaceOutputVisitor(this, decompiler, isNested, w, Binder.DecompilerSetting.CSharpFormattingOptions); + } + else + { + outVisitor = new CustomOutputVisitor(isNested, w, Binder.DecompilerSetting.CSharpFormattingOptions); + } + } else + { outVisitor = new BlittablePartOutputVisitor(isNested, w, Binder.DecompilerSetting.CSharpFormattingOptions); + } - outVisitor.isFullRetain = isFullRetainType; + outVisitor.isFullRetain = isCopyFullOrignalNodes; outVisitor.checkTypeRefVisitor = new CheckTypeRefVisitor(CheckRefType); bool isStatic = genType.IsAbstract && genType.IsSealed; if (genType.BaseType != null && !isStatic && genType.IsClass) @@ -305,27 +506,52 @@ void CopyType(TypeDefinition type ) } syntaxTree.AcceptVisitor(outVisitor); + + if (outVisitor is StructOutputVisitor) + { + var structVisitor = outVisitor as StructOutputVisitor; + var tmp1 = new HashSet(structVisitor.NamespaceRef); + tmp1.ExceptWith(RefNameSpace); + if (tmp1.Count > 0) + { + foreach (var t in tmp1) + { + if(!string.IsNullOrEmpty(t)) + { + CS.Writer.WriteHead($"using {t}"); + } + } + } + RefNameSpace.UnionWith(tmp1); + + foreach (var m in structVisitor.CalledMethods) + { + Binder.AddMethod(m); + } + } + if (!isNested) { RefNameSpace.UnionWith(outVisitor.nestedUsing); RefNameSpace.ExceptWith(Config.Instance.StripUsing); foreach (var ns in RefNameSpace) { - if(!string.IsNullOrEmpty(ns)) + if (!string.IsNullOrEmpty(ns)) + { CS.Writer.WriteHead($"using {ns}"); + } } } - + var txt = w.ToString(); CS.Writer.WriteLine(txt, false); AddRefType(outVisitor.InternalTypeRef); } - } - void CheckCopyOrignNodes() + void GetCopyPartOrignNodes() { var decompiler = Binder.GetDecompiler(genType.Module.Name); @@ -341,19 +567,62 @@ void CheckCopyOrignNodes() if (!Binder.UnityCoreModuleSet.Contains(genType.Module.Name)) return; - bool inUnsafeNS = genType.Namespace.Contains("LowLevel.Unsafe"); + bool inUnsafeNS = false; // genType.Namespace.Contains("LowLevel.Unsafe"); - var retainFilter = new RetainFilter(genType.MetadataToken.ToInt32(), decompiler); + var retainFilter = new RetainFilter(genType, decompiler); retainFilter.TokenMap = nodesCollector.TokenMap; retainFilter.InUnsafeNS = inUnsafeNS; - retainFilter.isFullValueType = isCopyOrignType; + retainFilter.isFullValueType = isCopyOrignNodes; st.AcceptVisitor(retainFilter); retainDic = retainFilter.RetainDic; + var keys = new List(retainDic.Keys); + foreach(var k in keys) + { + var m = Utils.GetMethodByToken(genType, k); + if(m != null && !Utils.FilterStructMethod(m, new List())) + { + retainDic.Remove(k); + } + } + if (retainDic.Count > 0) + { RefNameSpace.UnionWith(retainFilter.NamespaceRef); + } + + CheckStructMethodsCall(); } + + private void CheckStructMethodsCall() + { + if (!genType.IsStruct()) + { + return; + } + + var methods = genType.Methods; + foreach(var m in methods) + { + if (m.HasBody) + { + foreach(var inst in m.Body.Instructions) + { + if(inst.OpCode.Code == Mono.Cecil.Cil.Code.Call) + { + var cmethod = inst.Operand as MethodReference; + var def = cmethod.Resolve(); + if(!def.IsGetter && !def.IsSetter) + { + Binder.AddMethod(cmethod); + } + } + } + } + } + } + bool IsCopyOrignNode(MemberReference member) { if (retainDic.Count < 1) @@ -362,21 +631,25 @@ bool IsCopyOrignNode(MemberReference member) var token = member.MetadataToken.ToInt32(); return token != 0 && retainDic.ContainsKey(token); } - void GenCopyOrignNodes() + + void GeneratePartOriginalNodes() { if (retainDic.Count < 1) return ; - CS.Writer.WriteLine("// -- copy orign code nodes --"); - CS.Writer.Flush(); - var outputVisitor = new CustomOutputVisitor(genType.IsNested,CS.Writer.GetWriter(), Binder.DecompilerSetting.CSharpFormattingOptions); + CS.Writer.WriteLine("#region copy orign code nodes", false); + var sw = new StringWriter(); + var outputVisitor = new CustomOutputVisitor(genType.IsNested, sw, Binder.DecompilerSetting.CSharpFormattingOptions); foreach (var node in retainDic.Values) { node.AcceptVisitor(outputVisitor); } + CS.Writer.WriteLine(sw.ToString(), false); AddRefType(outputVisitor.InternalTypeRef); - + + CS.Writer.WriteLine("#endregion", false); + } void AddRefType(HashSet refSet) @@ -389,14 +662,23 @@ void AddRefType(HashSet refSet) { var tdDeclear = td.DeclaringType; if (tdDeclear != null && tdDeclear.MetadataToken == genType.MetadataToken) - nestType[td] = new ClassGenerater(td, FileStream); - else if(!Utils.Filter(td)) - CS.Writer.WriteLine($"internal class {td.Name}{{}}", false); + { + nestType[td] = new ClassGenerater(td, this); + } + else if (!Utils.Filter(td)) + { + //class define is invalid + CS.Writer.WriteLine($"{(genType.IsPublic ? "public" : "internal")} class {td.Name}{{}}", false); + } else + { Binder.AddType(td); + } } else if (genType.Module.TryGetTypeReference(tName, out var tref)) + { Binder.AddTypeRef(tref); + } } } @@ -420,10 +702,10 @@ void CheckInterface(MethodDefinition method) if(method.Name == "System.IDisposable.Dispose" && method.Parameters.Count == 0 && !method.IsPublic) stripInterfaceSet.Add("IDisposable"); - if(method.Name == "GetSurrogate" && method.Parameters.Count == 3 && !Utils.Filter(method)) + if(method.Name == "GetSurrogate" && method.Parameters.Count == 3 && !Utils.Filter(method, GetRuntime())) stripInterfaceSet.Add("ISurrogateSelector"); - if (method.Name == "GetEnumerator" && method.Parameters.Count == 0 && !Utils.Filter(method)) + if (method.Name == "GetEnumerator" && method.Parameters.Count == 0 && !Utils.Filter(method, GetRuntime())) stripInterfaceSet.Add("IEnumerable"); } } diff --git a/BindGenerater/Generater/CSharp/CodeGenerater.cs b/BindGenerater/Generater/CSharp/CodeGenerater.cs index 7e74550..728d80a 100644 --- a/BindGenerater/Generater/CSharp/CodeGenerater.cs +++ b/BindGenerater/Generater/CSharp/CodeGenerater.cs @@ -10,7 +10,7 @@ public virtual string TypeFullName() { return ""; } - public virtual void Gen() + public virtual void GenerateCode(CS writer = null) { } diff --git a/BindGenerater/Generater/CSharp/DelegateGenerater.cs b/BindGenerater/Generater/CSharp/DelegateGenerater.cs index 4cec4cf..e35e4d1 100644 --- a/BindGenerater/Generater/CSharp/DelegateGenerater.cs +++ b/BindGenerater/Generater/CSharp/DelegateGenerater.cs @@ -11,57 +11,107 @@ public class DelegateGenerater : CodeGenerater TypeReference declarType; bool isStatic; bool isEvent; + bool isField = false; MethodDefinition addMethod; MethodDefinition removeMethod; MethodDefinition setMethod; MethodDefinition getMethod; + bool genProxyDelegate = true; + ClassGenerater classGenerater; + List methods = new List(); - public DelegateGenerater(EventDefinition e) + public DelegateGenerater(EventDefinition e, ClassGenerater parent) { genName = e.Name; genType = e.EventType; declarType = e.DeclaringType; + classGenerater = parent; if (e.AddMethod != null) { addMethod = e.AddMethod; - methods.Add(new MethodGenerater(e.AddMethod)); + methods.Add(new MethodGenerater(e.AddMethod, parent)); isStatic = e.AddMethod.IsStatic; } if (e.RemoveMethod != null) { removeMethod = e.RemoveMethod; - methods.Add(new MethodGenerater(e.RemoveMethod)); + methods.Add(new MethodGenerater(e.RemoveMethod, parent)); isStatic = e.RemoveMethod.IsStatic; } isEvent = true; } - public DelegateGenerater(PropertyDefinition prop) + + public DelegateGenerater(PropertyDefinition prop, ClassGenerater parent) { genName = prop.Name; genType = prop.PropertyType; declarType = prop.DeclaringType; + classGenerater = parent; if (prop.SetMethod != null) { setMethod = prop.SetMethod; - methods.Add(new MethodGenerater(prop.SetMethod)); + methods.Add(new MethodGenerater(prop.SetMethod, parent)); isStatic = prop.SetMethod.IsStatic; } if (prop.GetMethod != null) { getMethod = prop.GetMethod; - //methods.Add(new MethodGenerater(prop.GetMethod)); + if(genProxyDelegate) //非proxy模式只需要生成简单的get + { + methods.Add(new MethodGenerater(prop.GetMethod, parent)); + } isStatic = prop.GetMethod.IsStatic; } isEvent = false; } - + + public DelegateGenerater(FieldDefinition field, ClassGenerater parent) + { + genName = field.Name; + genType = field.FieldType; + declarType = field.DeclaringType; + classGenerater = parent; + + if (!field.IsInitOnly) + { + //TODO:这里构造一个setter 和 getter,field的状态还是在il2cpp层持有 + var corlib = CSCGeneraterManager.corlib;// AssemblyDefinition.ReadAssembly(Path.Combine(Path.GetDirectoryName(genField.FieldType.Module.FileName), "mscorlib.dll")); + + setMethod = new MethodDefinition("set_" + genName, MethodAttributes.Public, corlib.MainModule.GetType("System", "Void")); + setMethod.DeclaringType = field.DeclaringType; + setMethod.Body = new Mono.Cecil.Cil.MethodBody(setMethod); + setMethod.IsSetter = true; + //setMethod.IsPublic = field.IsPublic; + setMethod.IsStatic = field.IsStatic; + //setMethod.IsCompilerControlled = true; + var parameters = setMethod.Parameters; + parameters.Add(new ParameterDefinition("value", ParameterAttributes.None, genType)); + methods.Add(new MethodGenerater(setMethod, parent, MethodType.GeneratedByDelegate)); + } + + + getMethod = new MethodDefinition("get_" + genName, MethodAttributes.Public, genType); + getMethod.DeclaringType = field.DeclaringType; + getMethod.Body = new Mono.Cecil.Cil.MethodBody(getMethod); + getMethod.IsGetter = true; + //getMethod.IsPublic = field.IsPublic; + getMethod.IsStatic = field.IsStatic; + //getMethod.IsCompilerControlled = true; + var parameters1 = getMethod.Parameters; + methods.Add(new MethodGenerater(getMethod, parent, MethodType.GeneratedByDelegate)); + + isStatic = field.IsStatic; + isEvent = false; + isField = true; + } + /* public static event global::UnityEngine.Application.LogCallback logMessageReceived @@ -87,7 +137,156 @@ public DelegateGenerater(PropertyDefinition prop) } } */ - public override void Gen() + public override void GenerateCode(CS writer = null) + { + if(genProxyDelegate) + { + _GenWithProxyDelegate(); + } + else + { + _Gen(); + } + } + public void _GenWithProxyDelegate() + { + var name = genName; + + var flag = isStatic ? "static" : ""; + flag += isEvent ? " event" : ""; + var type = genType; // LogCallback(string condition, string stackTrace, LogType type); + + var eventTypeName = TypeResolver.Resolve(type).RealTypeName(); + if (type.IsGenericInstance) + eventTypeName = Utils.GetGenericTypeName(type); + + //public static event LogCallback logMessageReceived + CS.Writer.Start($"public {flag} {eventTypeName} {name}"); + + if(isEvent) + { + GenEventMethods(name); + } + else + { + GenPropertyMethods(name); + } + + CS.Writer.End(); + } + + private void GenEventMethods(string name) + { + var type = genType; + IMemberDefinition context = null; + var targetHandle = isStatic ? "" : "this.Handle, "; + if (addMethod != null) + { + context = addMethod; + string _member = DelegateResolver.LocalMamberName(name, addMethod); // _logMessageReceived + + CS.Writer.Start("add"); + CS.Writer.WriteLine($"bool attach = ({_member} == null)"); + + CS.Writer.WriteLine($"{_member} += value"); + + CS.Writer.Start("if(attach)"); + + if (!isStatic) + CS.Writer.WriteLine($"ObjectStore.RefMember(this,ref {_member}_ref,{_member})"); // resist gc + + var res = TypeResolver.Resolve(type, context).BoxBeforeMarshal(name); + + CS.Writer.WriteLine(Utils.BindMethodName(addMethod, false, false) + $"({targetHandle}{res})"); + //var value_p = Marshal.GetFunctionPointerForDelegate(logMessageReceivedAction); + //MonoBind.UnityEngine_Application_add_logMessageReceived(value_p); + CS.Writer.WriteLine("ScriptEngine.CheckException()"); + CS.Writer.End(); //if(attach) + CS.Writer.End(); // add + } + if (removeMethod != null) + { + if(context == null) // add/remove share the same box member + { + context = removeMethod; + } + + string _member = DelegateResolver.LocalMamberName(name, removeMethod); // _logMessageReceived + + CS.Writer.Start("remove"); + CS.Writer.WriteLine($"{_member} -= value"); + + CS.Writer.Start($"if({_member} == null)"); + + if (!isStatic) + CS.Writer.WriteLine($"ObjectStore.RefMember(this,ref {_member}_ref,{_member})"); // resist gc + + var res = TypeResolver.Resolve(type, context).BoxBeforeMarshal(name); + CS.Writer.WriteLine(Utils.BindMethodName(removeMethod, false, false) + $"({targetHandle}{res})"); + CS.Writer.WriteLine("ScriptEngine.CheckException()"); + CS.Writer.End(); //if(attach) + CS.Writer.End(); // remove + } + } + + private void GenPropertyMethods(string name) + { + var type = genType; + IMemberDefinition context = null; + + bool shareSameMember = isField; + string _member = null; + if (setMethod != null) + { + context = setMethod; + _member = DelegateResolver.LocalMamberName(name, setMethod); // _logMessageReceived + + CS.Writer.Start("set"); + CS.Writer.WriteLine($"bool attach = ({_member} == null)"); + + CS.Writer.WriteLine($"{_member} = value"); + + CS.Writer.Start("if(attach)"); + + if (!isStatic) + CS.Writer.WriteLine($"ObjectStore.RefMember(this,ref {_member}_ref,{_member})"); // resist gc + + var res = TypeResolver.Resolve(type, context).BoxBeforeMarshal(name); + + var targetHandle = isStatic ? "" : "this.Handle, "; + CS.Writer.WriteLine(Utils.BindMethodName(setMethod, false, false) + $"({targetHandle}{res})"); + //var value_p = Marshal.GetFunctionPointerForDelegate(logMessageReceivedAction); + //MonoBind.UnityEngine_Application_add_logMessageReceived(value_p); + CS.Writer.WriteLine("ScriptEngine.CheckException()"); + CS.Writer.End(); //if(attach) + CS.Writer.End(); // add + } + if (getMethod != null) + { + context = getMethod; + if(!(shareSameMember && !string.IsNullOrEmpty(_member))) + { + _member = DelegateResolver.LocalMamberName(name, getMethod); // _logMessageReceived + } + + CS.Writer.Start("get"); + + var targetHandle = isStatic ? "" : "this.Handle"; + CS.Writer.WriteLine($"var {name}_p = {Utils.BindMethodName(getMethod, false, false)}({targetHandle})"); + var res = TypeResolver.Resolve(type, context).UnboxAfterMarhsal(name); + CS.Writer.WriteLine("ScriptEngine.CheckException()"); + //CS.Writer.WriteLine($"{_member} -= {res}"); // + //CS.Writer.WriteLine($"{_member} += {res}"); + + //if (!isStatic) + // CS.Writer.WriteLine($"ObjectStore.RefMember(this,ref {_member}_ref,{_member})"); // resist gc + + CS.Writer.WriteLine($"return {_member}"); + CS.Writer.End(); //get + } + } + + public void _Gen() { var name = genName; @@ -126,7 +325,7 @@ public override void Gen() if (!isStatic) CS.Writer.WriteLine($"ObjectStore.RefMember(this,ref {_member}_ref,{_member})"); // resist gc - var res = TypeResolver.Resolve(type, context).Box(name); + var res = TypeResolver.Resolve(type, context).BoxBeforeMarshal(name); CS.Writer.WriteLine(Utils.BindMethodName(method, false, false) + $"({targetHandle}{res})"); //var value_p = Marshal.GetFunctionPointerForDelegate(logMessageReceivedAction); @@ -150,7 +349,7 @@ public override void Gen() if (!isStatic) CS.Writer.WriteLine($"ObjectStore.RefMember(this,ref {_member}_ref,{_member})"); // resist gc - var res = TypeResolver.Resolve(type, context).Box(name); + var res = TypeResolver.Resolve(type, context).BoxBeforeMarshal(name); CS.Writer.WriteLine(Utils.BindMethodName(removeMethod, false, false) + $"({targetHandle}{res})"); CS.Writer.WriteLine("ScriptEngine.CheckException()"); CS.Writer.End(); //if(attach) diff --git a/BindGenerater/Generater/CSharp/GenerateBindings.cs b/BindGenerater/Generater/CSharp/GenerateBindings.cs index 57c083f..f71d3c3 100644 --- a/BindGenerater/Generater/CSharp/GenerateBindings.cs +++ b/BindGenerater/Generater/CSharp/GenerateBindings.cs @@ -31,7 +31,7 @@ public void AddDelegateDefine(string defineStr) delegateDefines.Add(defineStr); } - private void GenDefines() + private void GenDefines(bool isMonoBind = false) { // method define foreach (var method in methods) @@ -39,7 +39,7 @@ private void GenDefines() CS.Writer.WriteLine("[UnmanagedFunctionPointer(CallingConvention.Cdecl)]", false); //MethodResolver.Resolve(method).DefineDelegate(); var flag = Utils.IsUnsafeMethod(method) ? " unsafe " : " "; - CS.Writer.WriteLine($"public{flag}delegate {MethodResolver.Resolve(method).ReturnType()} {Utils.BindMethodName(method, true, false)}_Type {Utils.BindMethodParamDefine(method, true)}"); + CS.Writer.WriteLine($"public{flag}delegate {MethodResolver.Resolve(method).ReturnType()} {Utils.BindMethodName(method, true, false, isMonoBind)}_Type {Utils.BindMethodParamDefine(method, true, isMonoBind)}"); } // delegate define @@ -65,9 +65,13 @@ public void GenWrapper() { foreach (var ns in nsSet) + { CS.Writer.WriteLine($"using {ns}"); + } - GenDefines(); + CS.Writer.Start($"namespace {Name.Replace(".cs", "").Replace(".", "_")}"); + + GenDefines(true); // wrapper imple //CS.Writer.WriteLine("using PureScript.Mono"); @@ -76,7 +80,7 @@ public void GenWrapper() foreach (var method in methods) { - var methodName = Utils.BindMethodName(method, true, false); + var methodName = Utils.BindMethodName(method, true, false, true); CS.Writer.WriteLine($"public static {methodName}_Type {methodName}"); } @@ -91,7 +95,7 @@ public void GenWrapper() foreach (var method in methods) { - var methodName = Utils.BindMethodName(method, true, false); + var methodName = Utils.BindMethodName(method, true, false, true); CS.Writer.WriteLine($"{methodName} = Marshal.GetDelegateForFunctionPointer<{methodName}_Type>(Marshal.ReadIntPtr(memory, {Offset} * IntPtr.Size ))"); Offset++; } @@ -112,7 +116,7 @@ public void GenImpl() nsSet.Add("System"); - using (new CS(new CodeWriter(Writer))) + using (new CS(new CodeWriter(Writer, CodeWriter.CodeWriterType.UnityBind))) { foreach (var ns in nsSet) CS.Writer.WriteLine($"using {ns}"); @@ -152,7 +156,24 @@ public void GenImpl() CS.Writer.WriteLine("Exception __e = null"); CS.Writer.Start("try"); - var reName = MethodResolver.Resolve(method).Implement("_value"); + var reName = MethodResolver.Resolve(method).IL2CppImplement("_value"); + if (method.ReturnType != null) + { + if (method.ReturnType.IsArray) + { + CS.Writer.WriteLine($"__arrayLen = {reName} != null ? {reName}.Length : -1"); + CS.Writer.WriteLine($"if({reName} != null) {{ ObjectStore.GetReturnArrayToMono({reName}, ref __retArrayPtr); }} "); + reName = null; //return value is assigned with out parameter + } + else if (method.ReturnType.IsStruct(false)) + { + CS.Writer.WriteLine($"var {reName}_gchandle = GCHandle.Alloc(_value, GCHandleType.Pinned); "); + CS.Writer.WriteLine($"ObjectStore.GetReturnStructToMono({reName}_gchandle.AddrOfPinnedObject(), ref __retStructPtr, typeof({Utils.FullName(method.ReturnType)}), Marshal.SizeOf<{Utils.FullName(method.ReturnType)}>())"); + CS.Writer.WriteLine($"{reName}_gchandle.Free()"); + //outStruct = $"__retStruct = default({Utils.FullName(method.ReturnType)})"; + reName = null; //return value is assigned with out parameter + } + } if (!string.IsNullOrEmpty(reName)) CS.Writer.WriteLine($"return {reName}"); CS.Writer.End();//try @@ -160,8 +181,7 @@ public void GenImpl() CS.Writer.WriteLine("__e = _e_"); CS.Writer.End();//catch - CS.Writer.WriteLine("if(__e != null)", false); - CS.Writer.WriteLine("ScriptEngine.OnException(__e.ToString())"); + CS.Writer.WriteLine("if(__e != null) { ScriptEngine.OnException(__e); }", false); if (!string.IsNullOrEmpty(reName)) CS.Writer.WriteLine($"return default({MethodResolver.Resolve(method).ReturnType()})"); @@ -180,46 +200,57 @@ public void GenImpl() public static class GenerateBindings { - static BindingGenerater implGenerater; - static BindingGenerater wrapGenerater; + static BindingGenerater il2cppGenerater; + static BindingGenerater monoWrapGenerater; - public static void StartWraper(string file) + public static void StartMonoWraper(string file, CSCGenerater wrapperCompiler) { - if (implGenerater == null) - { - var implName = "Binder.impl.cs"; - var implWriter = File.CreateText(Path.Combine(Binder.OutDir, implName)); - implGenerater = new BindingGenerater("Binder.impl",0, implWriter); - } - - var name = $"Binder.{file.Replace(".dll",".cs")}"; - var path = Path.Combine(Binder.OutDir, name); + var name = $"Binder.mono.{file.Replace(".dll",".cs")}"; + file = file.Replace(".dll", ""); + var dir1 = Path.Combine(Binder.OutDir, "Mono_" + file); + Directory.CreateDirectory(dir1); + var path = Path.Combine(dir1, name); var writer = File.CreateText(path); - var offset = wrapGenerater != null ? wrapGenerater.Offset : 0; - wrapGenerater = new BindingGenerater(name, offset, writer); + var offset = monoWrapGenerater != null ? monoWrapGenerater.Offset : 0; + monoWrapGenerater = new BindingGenerater(name, offset, writer); + + wrapperCompiler.AddSource(path); + } - CSCGenerater.AdapterWrapperCompiler.AddSource(path); + public static void StartIL2CppAdpater() + { + var il2cppName = "Binder.il2cpp.cs"; + var dir = Path.Combine(Binder.OutDir, "IL2Cpp"); + if (!Directory.Exists(dir)) + { + Directory.CreateDirectory(dir); + } + var il2cppWriter = File.CreateText(Path.Combine(Binder.OutDir, "IL2Cpp", il2cppName)); + il2cppGenerater = new BindingGenerater("Binder.il2cpp", 0, il2cppWriter); } public static void AddMethod(MethodDefinition method) { - implGenerater.AddMethod(method); - wrapGenerater.AddMethod(method); + if(Utils.Filter(method, DllRuntime.IL2Cpp)) + { + il2cppGenerater.AddMethod(method); + monoWrapGenerater.AddMethod(method); + } } - public static void AddDelegateDefine(string defineStr) + public static void AddDelegateDefine(string defineStr, string wrapDefineStr) { - implGenerater.AddDelegateDefine(defineStr); - wrapGenerater.AddDelegateDefine(defineStr); + il2cppGenerater.AddDelegateDefine(defineStr); + monoWrapGenerater.AddDelegateDefine(wrapDefineStr); } public static void Gen() { - wrapGenerater.GenWrapper(); + monoWrapGenerater.GenWrapper(); } public static void End() { - implGenerater.GenImpl(); + il2cppGenerater.GenImpl(); } } } \ No newline at end of file diff --git a/BindGenerater/Generater/CSharp/MethodGenerater.cs b/BindGenerater/Generater/CSharp/MethodGenerater.cs index cb328f9..34226fb 100644 --- a/BindGenerater/Generater/CSharp/MethodGenerater.cs +++ b/BindGenerater/Generater/CSharp/MethodGenerater.cs @@ -5,26 +5,105 @@ namespace Generater { + public enum MethodType + { + None = 0, + GeneratedByDelegate = 1, + GeneratedByField = 2, + } + public class MethodGenerater : CodeGenerater { MethodDefinition genMethod; CodeWriter writer; + MethodType methodType; bool isNotImplement = false; - public MethodGenerater(MethodDefinition method) + ClassGenerater classGenerater; + bool isCalledByOthers = false; + bool isOnlyExeInMono = false; + + public MethodDefinition GenMethodDef { get { return genMethod; } } + + public MethodGenerater(MethodDefinition method, ClassGenerater parent, bool isCalledByOthers = false, List methods = null) + { + genMethod = method; + classGenerater = parent; + this.isCalledByOthers = isCalledByOthers; + if(methods != null) + { + methods.Add(this); + } + Init(); + } + + public MethodGenerater(MethodDefinition method, ClassGenerater parent, MethodType methodType) { genMethod = method; - isNotImplement = !Utils.Filter(method); + this.methodType = methodType; + classGenerater = parent; + Init(); + } + + private void Init() + { + //非public的函数或者internal type的public函数只能在mono内 + isOnlyExeInMono = false; + if (genMethod.IsInternalCall) + { + isOnlyExeInMono = true; + } + else + { + //作为binder层的优化,如果只调用了internal call,则可以不通过binder + var calledMethods = new List(); + if (genMethod.IsPublic) + { + if(genMethod.IsSetter || genMethod.IsGetter) + { + + }else + { + isOnlyExeInMono = Utils.CheckMethodOnlyCallInternal(genMethod, calledMethods); + if (calledMethods.Count(x => x.IsInternalCall) > 1) + { + + } + } + } + else + { + isOnlyExeInMono = Utils.CheckMethodNoAffectsToSelf(genMethod, calledMethods); + } + if (isOnlyExeInMono) + { + foreach (var m in calledMethods) + { + Binder.AddMethod(m); + } + } + } + + isNotImplement = !Utils.Filter(genMethod, classGenerater.GetRuntime()); + + isNotImplement |= genMethod.IsConstructor && genMethod.DeclaringType.IsSubclassOf("UnityEngine.Component"); // UnityEngine.Component cant be new.. - isNotImplement |= method.IsConstructor && method.DeclaringType.IsSubclassOf("UnityEngine.Component"); // UnityEngine.Component cant be new.. if (isNotImplement)//maybe generate a empty method? + { return; + } - if (!genMethod.IsPublic && !genMethod.DeclaringType.IsInterface) + + if (!CheckMethodNeedGen()) + { return; + } + if (genMethod.IsConstructor && genMethod.DeclaringType.IsAbstract) + { return; + } foreach (var p in genMethod.Parameters) { @@ -33,19 +112,36 @@ public MethodGenerater(MethodDefinition method) } Binder.AddType(genMethod.ReturnType.Resolve()); - if (!method.IsAbstract && !isNotImplement) + foreach(var gp in genMethod.GenericParameters) + { + foreach(var c in gp.Constraints) + { + Binder.AddType(c.ConstraintType.Resolve()); + } + } + + //binding的函数只能是public + //所有通过isCalledByOthers的函数,都不能通过bind层进行调用,只能在mono层内部调用 + if (!genMethod.IsAbstract && !isNotImplement && Utils.IsVisibleToOthers(genMethod)) + { GenerateBindings.AddMethod(genMethod); + } } - public override void Gen() + private bool CheckMethodNeedGen() { - if (isNotImplement) + return (isCalledByOthers || Utils.IsInternalCallVisibleToOthers(genMethod) || Utils.IsVisibleToOthers(genMethod) || genMethod.DeclaringType.IsInterface); + } + + public override void GenerateCode(CS _writer = null) + { + if (isNotImplement)// && !isOnlyExeInMono) return; writer = CS.Writer; - base.Gen(); + base.GenerateCode(); - if (!genMethod.IsPublic && !genMethod.DeclaringType.IsInterface) + if (!CheckMethodNeedGen()) return; if (genMethod.IsConstructor && genMethod.DeclaringType.IsAbstract) return; @@ -66,11 +162,18 @@ public override void Gen() void GenGeter() { - if(genMethod.IsAbstract) + if (genMethod.ImplAttributes == MethodImplAttributes.InternalCall) + { + writer.WriteLine("[MethodImpl(MethodImplOptions.InternalCall)]", false); + writer.WriteLine("get"); + return; + } + if (genMethod.IsAbstract) { writer.WriteLine("get"); return; } + writer.Start("get"); if(isNotImplement) { @@ -78,7 +181,7 @@ void GenGeter() } else { - var res = MethodResolver.Resolve(genMethod).Call("res"); + var res = MethodResolver.Resolve(genMethod).MonoImplement("ret"); writer.WriteLine("ScriptEngine.CheckException()"); writer.WriteLine($"return {res}"); } @@ -88,12 +191,19 @@ void GenGeter() void GenSeter() { + if (genMethod.ImplAttributes == MethodImplAttributes.InternalCall) + { + writer.WriteLine("[MethodImpl(MethodImplOptions.InternalCall)]", false); + writer.WriteLine("set"); + return; + } if (genMethod.IsAbstract) { writer.WriteLine("set"); return; } + writer.Start("set"); if (isNotImplement) { @@ -101,7 +211,7 @@ void GenSeter() } else { - MethodResolver.Resolve(genMethod).Call(""); + MethodResolver.Resolve(genMethod).MonoImplement(""); writer.WriteLine("ScriptEngine.CheckException()"); } @@ -117,7 +227,7 @@ void GenAddOn() } else { - MethodResolver.Resolve(genMethod).Call(""); + MethodResolver.Resolve(genMethod).MonoImplement(""); writer.WriteLine("ScriptEngine.CheckException()"); } @@ -133,7 +243,7 @@ void GenRemoveOn() } else { - MethodResolver.Resolve(genMethod).Call(""); + MethodResolver.Resolve(genMethod).MonoImplement(""); writer.WriteLine("ScriptEngine.CheckException()"); } writer.End(); @@ -142,12 +252,59 @@ void GenRemoveOn() void GenMethod() { var declear = GetMethodDelcear(); - if(!genMethod.HasBody) + if (!genMethod.HasBody) { + if (genMethod.CustomAttributes.Any(x => x.AttributeType.Name == "VisibleToOtherModulesAttribute")) + { + declear = declear.Replace("internal", "public"); + } writer.WriteLine(declear); return; } + //只在mono层存在的函数 + if (genMethod.HasGenericParameters || isOnlyExeInMono) + { + if(classGenerater.TokenMap.TryGetValue(genMethod.MetadataToken.ToInt32(), out var methodAst)) + { + var tmpWriter = new System.IO.StringWriter(); + var outputVisitor = new CustomOutputVisitor(false, tmpWriter, Binder.DecompilerSetting.CSharpFormattingOptions); + methodAst.AcceptVisitor(outputVisitor); + + //using(new LP(writer.GetLinePoint("//namespace"))) + //{ + // //foreach(var ns in outputVisitor.InternalTypeRef) + // //{ + // // if (!classGenerater.RefNameSpace.Contains(ns)) + // // { + // // classGenerater.RefNameSpace.Add(ns); + // // writer.WriteLine($"using {ns}"); + // // } + // //} + //} + writer.WriteLine(tmpWriter.ToString(), false); + } + else + { + if(genMethod.Name != ".ctor") //隐式的构造函数 + { + throw new System.Exception("Method SyntaxTree not found"); + } + } + return; + } + else + { + if (!(genMethod.IsPublic && (genMethod.DeclaringType.IsPublic || genMethod.DeclaringType.IsNestedPublic) && !Utils.IsMethodHasParamArgument(genMethod))) //binding的函数,declaring type必须为public + { + return; + } + } + //if(genMethod.CustomAttributes.Any(x=>x.AttributeType.Name == "RequiredByNativeCodeAttribute")) + //{ + // writer.WriteLine("[UnityEngine.Scripting.RequiredByNativeCode]", false); + //} + writer.Start(declear); if (isNotImplement) @@ -176,7 +333,7 @@ void GenMethod() } else { - var res = MethodResolver.Resolve(genMethod).Call("res"); + var res = MethodResolver.Resolve(genMethod).MonoImplement("res"); writer.WriteLine("ScriptEngine.CheckException()"); writer.WriteLine($"return {res}"); } @@ -192,10 +349,15 @@ void GenAbstract() string GetMethodDelcear() { - string declear = Utils.GetMemberDelcear(genMethod); + string declear = Utils.GetMemberDelcear(genMethod, classGenerater.TokenMap); - if (genMethod.IsConstructor && genMethod.DeclaringType.IsValueType) - declear += ":this()"; + if (genMethod.IsConstructor) + { + if(genMethod.DeclaringType.IsValueType) + { + declear += ":this()"; + } + } return declear; } diff --git a/BindGenerater/Generater/CSharp/MethodResolver.cs b/BindGenerater/Generater/CSharp/MethodResolver.cs index 950790d..6bc9ab6 100644 --- a/BindGenerater/Generater/CSharp/MethodResolver.cs +++ b/BindGenerater/Generater/CSharp/MethodResolver.cs @@ -47,7 +47,40 @@ public BaseMethodResolver(MethodDefinition _method) public virtual string ReturnType() { - return TypeResolver.Resolve(method.ReturnType).TypeName(); + if (CS.Writer.WriterType == CodeWriter.CodeWriterType.UnityBind) + { + if (method.ReturnType.IsArray || method.ReturnType.IsStruct(false)) + { + return "void"; + } + else + { + return TypeResolver.Resolve(method.ReturnType).TypeName(true); + } + } + else + { + if(Utils.IsBlittableType(method.ReturnType)) + { + return TypeResolver.Resolve(method.ReturnType).TypeName(); + } + else + { + if (method.ReturnType.IsVoid()) + { + return "void"; + } + else + { + return "IntPtr";// TypeResolver.Resolve(method.ReturnType).TypeName(); + } + } + } + } + + protected string GetParamName(ParameterDefinition parameter) + { + return Utils.GetParamName(parameter); } /// @@ -56,15 +89,15 @@ public virtual string ReturnType() /// return resObj; /// /// resObj - public virtual string Call(string name) + public virtual string MonoImplement(string name) { foreach (var param in method.Parameters) { var td = param.ParameterType.Resolve(); if (td != null && td.IsDelegate()) { - var _member = DelegateResolver.LocalMamberName(param.Name, method); - CS.Writer.WriteLine($"{_member} = {param.Name}"); + var _member = DelegateResolver.LocalMamberName(GetParamName(param), method); + CS.Writer.WriteLine($"{_member} = {GetParamName(param)}"); if (!method.IsStatic) CS.Writer.WriteLine($"ObjectStore.RefMember(this,ref {_member}_ref,{_member})"); // resist gc } @@ -76,10 +109,28 @@ public virtual string Call(string name) return ""; } - var reName = TypeResolver.Resolve(method.ReturnType).LocalVariable(name); + var retTypeResolver = TypeResolver.Resolve(method.ReturnType, method, MemberTypeSlot.ReturnType, MethodTypeSlot.GeneratedMethod); + var retName = retTypeResolver.LocalVariable(name, true); - CS.Writer.WriteLine($"{reName} = {Utils.BindMethodName(method)}"); - return TypeResolver.Resolve(method.ReturnType,method).Unbox(name); + if(method.ReturnType != null) + { + if (method.ReturnType.IsArray) + { + retName = null; + CS.Writer.WriteLine("int __arrayLen = -1"); + CS.Writer.WriteLine($"IntPtr __retArrayPtr = new IntPtr(0)"); + } + else if(method.ReturnType.IsStruct(false)) + { + retName = null; + //CS.Writer.WriteLine($"{Utils.FullName(method.ReturnType)} __retStruct"); + CS.Writer.WriteLine($"IntPtr __retStructPtr = new IntPtr(0)"); + } + } + + CS.Writer.WriteLine($"{(!string.IsNullOrEmpty(retName) ? (retName + " = ") : "")}{Utils.BindMethodName(method)}"); + retName = retTypeResolver.UnboxAfterMarhsal(name); + return retName; } /// @@ -89,7 +140,7 @@ public virtual string Call(string name) /// return value_h; /// /// value_h - public virtual string Implement(string name) + public virtual string IL2CppImplement(string name) { var thizObj = GetThizObj(); @@ -137,7 +188,7 @@ public virtual string Implement(string name) var lastP = method.Parameters.LastOrDefault(); foreach (var p in method.Parameters) { - var value = TypeResolver.Resolve(p.ParameterType,method).Unbox(p.Name, true); + var value = TypeResolver.Resolve(p.ParameterType, method, MemberTypeSlot.Parameter).UnboxAfterMarhsal(GetParamName(p), true); if (p.IsIn) value = value.Replace("ref ", "in "); @@ -147,7 +198,7 @@ public virtual string Implement(string name) } CS.Writer.Write(");"); - return TypeResolver.Resolve(method.ReturnType).Box(name); + return TypeResolver.Resolve(method.ReturnType).BoxBeforeMarshal(name); } protected string GetThizObj() @@ -155,7 +206,7 @@ protected string GetThizObj() if (method.IsStatic) return method.DeclaringType.FullName.Replace("/","."); else - return TypeResolver.Resolve(method.DeclaringType).Unbox("thiz", true); + return TypeResolver.Resolve(method.DeclaringType).UnboxAfterMarhsal("thiz", true); } } @@ -181,7 +232,7 @@ public override string ReturnType() /// return valueHandle; /// /// valueHandle - public override string Implement(string name) + public override string IL2CppImplement(string name) { if(!IsValueTypeConstructor) @@ -190,7 +241,7 @@ public override string Implement(string name) var lastP = method.Parameters.LastOrDefault(); foreach (var p in method.Parameters) { - var value = TypeResolver.Resolve(p.ParameterType, method).Unbox(p.Name, true); + var value = TypeResolver.Resolve(p.ParameterType, method, MemberTypeSlot.Parameter).UnboxAfterMarhsal(p.Name, true); if (p.IsIn) value = value.Replace("ref ", "in "); @@ -235,7 +286,7 @@ public override string Implement(string name) var lastP = method.Parameters.LastOrDefault(); foreach (var p in method.Parameters) { - CS.Writer.Write(TypeResolver.Resolve(p.ParameterType).Unbox(p.Name, true)); + CS.Writer.Write(TypeResolver.Resolve(p.ParameterType, method, MemberTypeSlot.Parameter).UnboxAfterMarhsal(p.Name, true)); if (lastP != p) CS.Writer.Write(","); } @@ -257,12 +308,12 @@ public SetterMethodResolver(MethodDefinition _method) : base(_method) /// thizObj.layer = value; /// /// valueHandle - public override string Implement(string name) + public override string IL2CppImplement(string name) { name = "value"; var thizObj = GetThizObj(); var propertyName = method.Name.Substring("set_".Length); - var valueName = TypeResolver.Resolve(method.Parameters.First().ParameterType).Unbox(name, true); + var valueName = TypeResolver.Resolve(method.Parameters.First().ParameterType, method, MemberTypeSlot.Parameter).UnboxAfterMarhsal(name, true); CS.Writer.WriteLine($"{thizObj}.{propertyName} = {valueName}"); return ""; } @@ -280,12 +331,12 @@ public GetterMethodResolver(MethodDefinition _method) : base(_method) /// return value; /// /// value - public override string Implement(string name) + public override string IL2CppImplement(string name) { var thizObj = GetThizObj(); var propertyName = method.Name.Substring("get_".Length); CS.Writer.WriteLine($"var {name} = {thizObj}.{propertyName}"); - return TypeResolver.Resolve(method.ReturnType).Box(name); + return TypeResolver.Resolve(method.ReturnType, method).BoxBeforeMarshal(name); } } @@ -311,7 +362,7 @@ static void UnityEngine_Application_logMessageReceived (IntPtr value_p) UnityEngine.Application.logMessageReceived += OnlogMessageReceived; } */ - public override string Implement(string name) + public override string IL2CppImplement(string name) { var isStatic = method.IsStatic; @@ -320,7 +371,7 @@ public override string Implement(string name) name = "value"; var thizObj = GetThizObj(); - var res = TypeResolver.Resolve(type,method).Unbox(name); + var res = TypeResolver.Resolve(type,method).UnboxAfterMarhsal(name); //CS.Writer.WriteLine($"{uniqueName} = Marshal.GetDelegateForFunctionPointer<{eventDeclear}>({name}_p)"); @@ -342,14 +393,14 @@ public RemoveOnMethodResolver(MethodDefinition _method) : base(_method) uniqueName = method.DeclaringType.Name.Replace("/", "_") + "_" + propertyName; } - public override string Implement(string name) + public override string IL2CppImplement(string name) { name = "value"; var thizObj = GetThizObj(); //var isStatic = method.IsStatic; var type = method.Parameters.FirstOrDefault().ParameterType; - var res = TypeResolver.Resolve(type,method).Unbox(name); + var res = TypeResolver.Resolve(type,method).UnboxAfterMarhsal(name); var actionTarget = res;// isStatic ? $"On{uniqueName}" : $"{thizObj}.On{uniqueName}"; CS.Writer.WriteLine($"{thizObj}.{propertyName} -= {actionTarget}"); @@ -380,7 +431,7 @@ public EventMethodResolver(MethodDefinition _method) : base(_method) public static bool IsUnityEventMethod(MethodDefinition _method) { var firstParam = _method.Parameters.FirstOrDefault()?.ParameterType?.Resolve(); - if (_method.Parameters.Count == 1 && firstParam.IsDelegate()) + if (_method.Parameters.Count == 1 && firstParam != null && firstParam.IsDelegate()) { if (_method.DeclaringType.IsSubclassOf("UnityEngine.Events.UnityEventBase")) { @@ -391,10 +442,10 @@ public static bool IsUnityEventMethod(MethodDefinition _method) return false; } - public override string Call(string name) + public override string MonoImplement(string name) { if(eventType == EventType.none) - return base.Call(name); + return base.MonoImplement(name); var firstParam = method.Parameters.FirstOrDefault(); string _member = DelegateResolver.LocalMamberName(firstParam.Name, method); @@ -413,7 +464,7 @@ public override string Call(string name) CS.Writer.Start($"if({_member} == null)"); } - res = base.Call(name); + res = base.MonoImplement(name); if (!method.IsStatic) CS.Writer.WriteLine($"ObjectStore.RefMember(this,ref {_member}_ref,{_member})"); // resist gc diff --git a/BindGenerater/Generater/CSharp/MonoBehaviorProxyGenerator.cs b/BindGenerater/Generater/CSharp/MonoBehaviorProxyGenerator.cs new file mode 100644 index 0000000..7458001 --- /dev/null +++ b/BindGenerater/Generater/CSharp/MonoBehaviorProxyGenerator.cs @@ -0,0 +1,297 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Mono.Cecil; +using System.IO; +using ICSharpCode.Decompiler; +using ICSharpCode.Decompiler.CSharp; +using ICSharpCode.Decompiler.TypeSystem; +using ICSharpCode.Decompiler.CSharp.Syntax; +namespace Generater +{ + /// + /// prefab或者场景资源的 脚本对象的反序列化过程是在Unity引擎内实现 + /// mono内运行的interp dlls无法实现这个过程,所以这些interp dlls内的MonoBehaviour/ScriptableObject必须在il2cpp一侧也要有此定义,不然无法正确进行反序列化 + /// 最后在实例化资源对象的过程中,再将il2cpp内的脚本对象的数据复制一份到mono + /// + public class MonoBehaviorProxyGenerator : CodeGenerater + { + private TypeDefinition genType; + + //private List properties = new List(); + //private List events = new List(); + private List methods = new List(); + private List fields = new List(); + private Dictionary nestType = new Dictionary(); + private bool hasDefaultConstructor = false; + private bool isCopyOrignType; + private bool isFullRetainType; + private StreamWriter FileStream; + + public HashSet RefNameSpace = new HashSet(); + + + Dictionary retainDic = new Dictionary(); + public TokenMapVisitor nodesCollector; + private CSharpDecompiler decompiler; + + private MonoBehaviorProxyGenerator parent = null; + private CSCGenerater compiler = null; + + public MonoBehaviorProxyGenerator(TypeDefinition type, CSCGenerater compiler) + { + this.compiler = compiler; + genType = type; + Init(); + } + + public MonoBehaviorProxyGenerator(TypeDefinition type, MonoBehaviorProxyGenerator parent = null) + { + this.parent = parent; + genType = type; + Init(); + } + + public void Init() + { + RefNameSpace.Add("System"); + RefNameSpace.Add("PureScriptProxy"); + RefNameSpace.Add("System.Runtime.CompilerServices"); + RefNameSpace.Add("System.Runtime.InteropServices"); + + if (parent == null) + { + var dir = Path.Combine(Binder.OutDir, "IL2Cpp_" + genType.Module.Assembly.Name.Name); + if (!Directory.Exists(dir)) + { + Directory.CreateDirectory(dir); + } + var filePath = Path.Combine(dir, $"Gen.{TypeFullName()}.cs"); + compiler.AddSource(filePath); + FileStream = File.CreateText(filePath); + } + else + { + FileStream = parent.FileStream; + } + + CheckNodes(); + + if (genType.BaseType != null) + { + RefNameSpace.Add(genType.BaseType.Namespace); + } + + foreach (var t in genType.NestedTypes) + { + if (t.Name.StartsWith("<")) // || !Utils.Filter(t)) + continue; + if ((t.IsPublic || t.IsNestedPublic) && !Utils.IsObsolete(t) && Utils.IsTypeSerializable(t)) + { + var nestGen = new MonoBehaviorProxyGenerator(t, this); + nestType[t] = nestGen; + RefNameSpace.UnionWith(nestGen.RefNameSpace); + } + } + + foreach (FieldDefinition field in genType.Fields) + { + // if (isFullValueType && !field.IsStatic) + // continue; + if (Utils.IsFieldSerializable(field)) + { + if (field.FieldType.Resolve().IsDelegate()) + { + //if (Utils.Filter(field.FieldType)) + //{ + // events.Add(new DelegateGenerater(field)); + // RefNameSpace.Add(field.FieldType.Namespace); + //} + } + else + { + //properties.Add(new PropertyGenerater(field)); + } + RefNameSpace.Add(field.FieldType.Namespace); + + fields.Add(field); + + MonoBehaviorProxyManager.AddType(field.DeclaringType); + } + + } + var tokens = new TokenMapVisitor(); + + var baseMethods = genType.BaseType.Resolve().Methods; + foreach (var method in baseMethods) + { + if (method.IsAbstract) + { + foreach(var m in genType.Methods) + { + if (m.CompareSignature(method)) + { + //var declear = Utils.GetMemberDelcear(m, nodesCollector.TokenMap); + methods.Add(m); + RefNameSpace.Add(m.ReturnType.Namespace); + foreach(var p in m.Parameters) + { + RefNameSpace.Add(p.ParameterType.Namespace); + } + } + } + } + } + + //foreach (var e in genType.Events) + //{ + // if (Utils.Filter(e)) + // { + // events.Add(new DelegateGenerater(e)); + // RefNameSpace.Add(e.EventType.Namespace); + // } + //} + + } + + void CheckNodes() + { + decompiler = MonoBehaviorProxyManager.GetDecompiler(genType.Module.Name); + + var tName = genType.FullName.Replace("/", "+"); + var name = new FullTypeName(tName); + ITypeDefinition typeInfo = decompiler.TypeSystem.MainModule.Compilation.FindType(name).GetDefinition(); + var tokenOfType = typeInfo.MetadataToken; + var st = decompiler.Decompile(tokenOfType); + + nodesCollector = new TokenMapVisitor(); + st.AcceptVisitor(nodesCollector); + + } + + public override void GenerateCode(CS writer = null) + { + using (new CS(new CodeWriter(FileStream))) + { + base.GenerateCode(); + + //write namespace + if (!genType.IsNested) + { + RefNameSpace.ExceptWith(Config.Instance.StripUsing); + foreach (var ns in RefNameSpace) + { + if (!string.IsNullOrEmpty(ns)) + { + CS.Writer.WriteLine($"using {ns}"); + } + } + CS.Writer.WriteLine("using System.Runtime.InteropServices"); + CS.Writer.WriteLine("using Object = UnityEngine.Object"); + CS.Writer.CreateLinePoint("//namespace"); + + if (!string.IsNullOrEmpty(genType.Namespace)) + { + CS.Writer.Start($"namespace {genType.Namespace}"); + } + } + + //var stripInterfaceSet = new HashSet(genType.Interfaces.Select(x => x.InterfaceType.Name)); + string classDefine = GetMemberDelcear(genType); //remove all interfaces + if (genType.BaseType.FullName == "UnityEngine.MonoBehaviour") + { + classDefine = classDefine.Replace("MonoBehaviour", "__MonoBehaviourProxy"); + } + CS.Writer.Start(classDefine); + + //write all serializable field + foreach (var f in fields) + { + CS.Writer.WriteLine(GetMemberDelcear(f), false); + } + + foreach(var m in methods) + { + CS.Writer.Start(GetMemberDelcear(m)); + if(m.ReturnType.FullName != "System.Void") + { + CS.Writer.WriteLine($"return default({m.ReturnType.FullName})"); + } + CS.Writer.End(); + } + + //var lp = CS.Writer.GetLinePoint("//namespace"); + //CS.Writer.UsePointer(lp); + //foreach (var ns in output.NamespaceRef) + //{ + // CS.Writer.WriteLine($"using {ns}"); + //} + //CS.Writer.UnUsePointer(lp); + + GenNested(); + + CS.Writer.EndAll(); + } + + } + + + private void GenNested() + { + if (nestType.Count <= 0) + return; + + CS.Writer.Flush(); + foreach (var t in nestType.Values) + { + t.GenerateCode(); + } + } + + public static void End() + { + //foreach (var m in moduleSet) + // m.Dispose(); + + //moduleSet.Clear(); + } + + + public string GetMemberDelcear(IMemberDefinition member) + { + var method = member as MethodDefinition; + if (method != null) + { + if (method.IsConstructor && method.Parameters.Count == 0) + { + return $"public {method.DeclaringType.Name}()"; + } + } + + var token = member.MetadataToken.ToInt32(); + StringWriter writer = new StringWriter(); + var output = new MonoProxyMemberDeclearVisitor(decompiler, writer, Binder.DecompilerSetting.CSharpFormattingOptions); + if (nodesCollector.TokenMap != null && nodesCollector.TokenMap.TryGetValue(token, out var map)) + { + map.AcceptVisitor(output); + if(output.NamespaceRef.Count > 0) + { + + } + } + else + { + Console.WriteLine("Key Not Found: " + member.ToString()); + } + //TokenMap[token].AcceptVisitor(output); + return writer.ToString(); + } + + public override string TypeFullName() + { + return genType.FullName.Replace("`", "_"); + } + } +} diff --git a/BindGenerater/Generater/CSharp/MonoBehaviorProxyManager.cs b/BindGenerater/Generater/CSharp/MonoBehaviorProxyManager.cs new file mode 100644 index 0000000..5ac7fc4 --- /dev/null +++ b/BindGenerater/Generater/CSharp/MonoBehaviorProxyManager.cs @@ -0,0 +1,144 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Mono.Cecil; +using System.IO; +using ICSharpCode.Decompiler; +using ICSharpCode.Decompiler.CSharp; +using ICSharpCode.Decompiler.TypeSystem; + +namespace Generater +{ + /// + /// prefab或者场景资源的 脚本对象的反序列化过程是在Unity引擎内实现 + /// mono内运行的interp dlls无法实现这个过程,所以这些interp dlls内的MonoBehaviour/ScriptableObject必须在il2cpp一侧也要有此定义,不然无法正确进行反序列化 + /// 最后在实例化资源对象的过程中,再将il2cpp内的脚本对象的数据复制一份到mono + /// + public class MonoBehaviorProxyManager + { + private static string originDir; + private static string dllRefDir; + private static string managedDir; + static HashSet moduleSet = new HashSet(); + static ModuleDefinition curModule; + static HashSet moduleTypes; + static Queue generaters = new Queue(); + static Dictionary types = new Dictionary(); + public static DecompilerSettings DecompilerSetting; + public static Dictionary DecompilerDic = new Dictionary(); + + public static string DllRefDir { get { return dllRefDir; } } + + public static void Init(string _originDir, string _managedDir, string _dllRefDir) + { + originDir = _originDir; + managedDir = _managedDir; + dllRefDir = _dllRefDir; + } + + public static void GenIL2CppImplement(string dll) + { + var dllPath = Path.Combine(originDir, dll); + + DecompilerSetting = new DecompilerSettings(LanguageVersion.CSharp7); + DecompilerSetting.ThrowOnAssemblyResolveErrors = false; + DecompilerSetting.UseExpressionBodyForCalculatedGetterOnlyProperties = false; + + DefaultAssemblyResolver resolver = new DefaultAssemblyResolver(); + resolver.AddSearchDirectory(originDir); + ReaderParameters parameters = new ReaderParameters() + { + AssemblyResolver = resolver, + ReadSymbols = false, + }; + + curModule = ModuleDefinition.ReadModule(dllPath, parameters); + moduleSet.Add(curModule); + + var compiler = CSCGeneraterManager.GetMonoBehaviourProxyWrapper(dll); + + foreach (var refAssembly in curModule.AssemblyReferences) + { + compiler.AddReference(refAssembly.Name + ".dll"); + } + //compiler.RemoveReference(curModule.Name); + moduleTypes = new HashSet(curModule.Types); + + + var monoBehaviourTypes = curModule.Types.ToList().FindAll(x => x.IsSubclassOf("UnityEngine.MonoBehaviour")); + var scriptableObjectTypes = curModule.Types.ToList().FindAll(x => x.IsSubclassOf("UnityEngine.ScriptableObject")); + + foreach (TypeDefinition type in monoBehaviourTypes) + { + if (!Utils.IsTypeSerializable(type)) + continue; + + AddType(type); + } + + foreach (TypeDefinition type in scriptableObjectTypes) + { + if (!Utils.IsTypeSerializable(type)) + continue; + + AddType(type); + } + + while (generaters.Count > 0) + { + var gener = generaters.Dequeue(); + if (gener != null) + gener.GenerateCode(); + } + generaters.Clear(); + + + //var file = $"Gen.il2cpp.MonoBehaviourProxy.cs"; + //var dir1 = Path.Combine(Binder.OutDir, "IL2Cpp", file); + //Directory.CreateDirectory(dir1); + //var path = Path.Combine(dir1, name); + //var writer = File.CreateText(path); + } + + public static void AddType(TypeDefinition type) + { + if (type == null || !moduleTypes.Contains(type)) + return; + + if (types.ContainsKey(type.FullName)) + return; + types[type.FullName] = type; + + if (!Utils.IsTypeSerializable(type)) + return; + + var compiler = CSCGeneraterManager.GetMonoBehaviourProxyWrapper(type.Module.Name); + generaters.Enqueue(new MonoBehaviorProxyGenerator(type, compiler)); + + } + + public static CSharpDecompiler GetDecompiler(string module) + { + CSharpDecompiler decompiler = null; + + if (DecompilerDic.TryGetValue(module, out decompiler)) + return decompiler; + + var dllPath = Path.Combine(originDir, module); + decompiler = new CSharpDecompiler(dllPath, DecompilerSetting); + DecompilerDic[module] = decompiler; + return decompiler; + } + + public static void End() + { + + foreach (var m in moduleSet) + m.Dispose(); + + moduleSet.Clear(); + } + } +} diff --git a/BindGenerater/Generater/CSharp/PropertyGenerater.cs b/BindGenerater/Generater/CSharp/PropertyGenerater.cs index edc9522..e0889b0 100644 --- a/BindGenerater/Generater/CSharp/PropertyGenerater.cs +++ b/BindGenerater/Generater/CSharp/PropertyGenerater.cs @@ -2,6 +2,7 @@ using System.Collections; using System.Collections.Generic; using System.IO; +using System.Linq; namespace Generater { @@ -14,58 +15,143 @@ public class PropertyGenerater : CodeGenerater bool isAbstract; bool isOverride; bool isVirtual; + bool isConst; + + ClassGenerater classGenerater; List methods = new List(); - public PropertyGenerater(PropertyDefinition property) + public string PropName { get { return genProperty != null ? genProperty.FullName : string.Empty; } } + + private bool isCalledByOthers = false; + + public PropertyGenerater(PropertyDefinition property, ClassGenerater parent, bool calledBy = false) { + isCalledByOthers = calledBy; genProperty = property; - if (genProperty.GetMethod != null && genProperty.GetMethod.IsPublic ) + classGenerater = parent; + if (genProperty.GetMethod != null && (genProperty.GetMethod.IsPublic || isCalledByOthers)) { isStatic = genProperty.GetMethod.IsStatic; isAbstract = genProperty.GetMethod.IsAbstract; isOverride = genProperty.GetMethod.IsOverride(); isVirtual = genProperty.GetMethod.IsVirtual && !genProperty.DeclaringType.IsValueType; - methods.Add(new MethodGenerater(genProperty.GetMethod)); + methods.Add(new MethodGenerater(genProperty.GetMethod, parent, isCalledByOthers)); } - if (genProperty.SetMethod != null && genProperty.SetMethod.IsPublic ) + if (genProperty.SetMethod != null && (genProperty.SetMethod.IsPublic || isCalledByOthers)) { isStatic = genProperty.SetMethod.IsStatic; isAbstract = genProperty.SetMethod.IsAbstract; isOverride = genProperty.SetMethod.IsOverride(); isVirtual = genProperty.SetMethod.IsVirtual && !genProperty.DeclaringType.IsValueType; - methods.Add(new MethodGenerater(genProperty.SetMethod)); + methods.Add(new MethodGenerater(genProperty.SetMethod, parent, isCalledByOthers)); } } - public PropertyGenerater(FieldDefinition field) + public PropertyGenerater(FieldDefinition field, ClassGenerater parent) {//TODO: PropertyGenerater(FieldDefinition field) genField = field; + classGenerater = parent; + if(!Utils.Filter(genField.FieldType) || Utils.IsDelegate(genField.DeclaringType)) //delegate是作为函数指针传递,mono只能传递static的delegate到unmanaged code + return; + + var genName = field.Name; + var genType = field.FieldType; + isConst = genField.HasConstant; + if(!genField.HasConstant) + { + if (!genField.IsInitOnly) + { + //TODO:这里构造一个setter 和 getter,field的状态还是在il2cpp层持有 + var corlib = CSCGeneraterManager.corlib;// AssemblyDefinition.ReadAssembly(Path.Combine(Path.GetDirectoryName(genField.FieldType.Module.FileName), "mscorlib.dll")); + + var setMethod = new MethodDefinition("set_" + genName, MethodAttributes.Public, corlib.MainModule.GetType("System", "Void")); + setMethod.DeclaringType = field.DeclaringType; + setMethod.Body = new Mono.Cecil.Cil.MethodBody(setMethod); + setMethod.IsSetter = true; + setMethod.IsPublic = genField.IsPublic; + setMethod.IsStatic = genField.IsStatic; + //setMethod.Attributes |= MethodAttributes.CompilerControlled; + var parameters = setMethod.Parameters; + parameters.Add(new ParameterDefinition("value", ParameterAttributes.None, genType)); + methods.Add(new MethodGenerater(setMethod, parent, MethodType.GeneratedByField)); + } + + + var getMethod = new MethodDefinition("get_" + genName, MethodAttributes.Public, genType); + getMethod.DeclaringType = field.DeclaringType; + getMethod.Body = new Mono.Cecil.Cil.MethodBody(getMethod); + getMethod.IsGetter = true; + getMethod.IsPublic = genField.IsPublic; + getMethod.IsStatic = genField.IsStatic; + //getMethod.Attributes |= MethodAttributes.CompilerControlled; + var parameters1 = getMethod.Parameters; + methods.Add(new MethodGenerater(getMethod, parent, MethodType.GeneratedByField)); + } + + isStatic = genField.IsStatic; + isAbstract = false; + isOverride = false; + isVirtual = !field.DeclaringType.IsValueType; } - - public override void Gen() + + public override void GenerateCode(CS writer = null) { - base.Gen(); - if (methods.Count < 1) + base.GenerateCode(); + if (!isConst && methods.Count < 1) return; if (genProperty != null) GenProperty(); + if(genField != null) + GenField(); + } void GenProperty() { - var declear = Utils.GetMemberDelcear(genProperty); + var declear = Utils.GetMemberDelcear(genProperty, classGenerater.TokenMap); + + //TODO:mono cecil库貌似无法获取到property的extern属性,所以假定internal call肯定是extern + if((genProperty.GetMethod != null && genProperty.GetMethod.ImplAttributes == MethodImplAttributes.InternalCall) + || (genProperty.SetMethod != null && genProperty.SetMethod.ImplAttributes == MethodImplAttributes.InternalCall)) + { + declear = declear.Replace("public", "public extern"); + } + CS.Writer.Start(declear); + + foreach (var m in methods) + m.GenerateCode(); + + CS.Writer.End(); + } + + void GenField() + { + var declear = Utils.GetMemberDelcear(genField, classGenerater.TokenMap); + if (isConst) + { + CS.Writer.Write(declear); + return; + } + //HACK: field需要转换为property的形式 + declear = declear.Replace("\r", "").Replace("\n", "").Replace(";", "") + .Replace("[NonSerialized]", "").Replace("[Serializable]", "") + .Replace("const", "static").Replace("readonly", ""); + if (declear.IndexOf("=") > 0) + { + declear = declear.Substring(0, declear.IndexOf("=")); + } CS.Writer.Start(declear); foreach (var m in methods) - m.Gen(); + m.GenerateCode(); CS.Writer.End(); } diff --git a/BindGenerater/Generater/CSharp/TypeResolver.cs b/BindGenerater/Generater/CSharp/TypeResolver.cs index c37068c..491a378 100644 --- a/BindGenerater/Generater/CSharp/TypeResolver.cs +++ b/BindGenerater/Generater/CSharp/TypeResolver.cs @@ -7,65 +7,166 @@ namespace Generater { + [Flags] + public enum MemberTypeSlot + { + None = 0, + + LocalVar = 0x1, + + Parameter = 0x2, + + ReturnType = 0x4, + } + + public enum MethodTypeSlot + { + None = 0, + + GeneratedMethod = 1, + + GeneratedDelegate = 2, + + GeneratedDelegateByField = 3, + } + + public class MemberTypeContext + { + private MemberTypeSlot typeSlot; + private MethodTypeSlot methodType; + private IMemberDefinition context; + + public MemberTypeContext(MemberTypeSlot typeSlot, MethodTypeSlot methodTypeSlot, IMemberDefinition memberDef) + { + this.typeSlot = typeSlot; + this.methodType = methodTypeSlot; + this.context = memberDef; + } + + public IMemberDefinition memberDefinition { get { return context; } } + + public bool IsGeneratedDelegate + { + get + { + return methodType == MethodTypeSlot.GeneratedDelegate || methodType == MethodTypeSlot.GeneratedDelegateByField; + } + } + + public bool IsGeneratedDelegateByField + { + get + { + return methodType == MethodTypeSlot.GeneratedDelegateByField; + } + } + + public bool IsGenerated + { + get + { + return methodType == MethodTypeSlot.GeneratedDelegate || methodType == MethodTypeSlot.GeneratedMethod; + } + } + + public bool IsReturnType + { + get + { + return (typeSlot & MemberTypeSlot.ReturnType) > 0; + } + } + + public bool IsParamerterType + { + get + { + return (typeSlot & MemberTypeSlot.Parameter) > 0; + } + } + + } + public class TypeResolver { public static bool WrapperSide; - public static BaseTypeResolver Resolve(TypeReference _type, IMemberDefinition context = null) + public static BaseTypeResolver Resolve(TypeReference _type, IMemberDefinition _context = null, MemberTypeSlot slot = 0, MethodTypeSlot methodType = 0) { var type = _type.Resolve(); + var context = new MemberTypeContext(slot, methodType, _context); if (Utils.IsDelegate(_type)) return new DelegateResolver(_type, context); - + if (_type.Name.Equals("Void")) - return new VoidResolver(_type); - - // if (_type.Name.StartsWith("List`")) - // return new ListResolver(_type); - - if (_type.Name.Equals("String") || _type.FullName.Equals("System.Object")) - return new StringResolver(_type); + return new VoidResolver(_type, context); + if (_type.IsArray) + return new ArrayResolver(_type, context); if (type != null && type.IsEnum) - return new EnumResolver(_type); + return new EnumResolver(_type, context); + // if (_type.Name.StartsWith("List`")) + // return new ListResolver(_type); + + if (_type.Name.Equals("String")) + return new StringResolver(_type, context); if (_type.IsGenericParameter || _type.IsGenericInstance || type == null) - return new GenericResolver(_type); + return new GenericResolver(_type, context); if (_type.IsPrimitive || _type.IsPointer) - return new BaseTypeResolver(_type); - - if (_type.FullName.StartsWith("System.")) - return new SystemResolver(_type); + return new BaseTypeResolver(_type, context); if (_type.IsValueType || (_type.IsByReference && _type.GetElementType().IsValueType)) - return new StructResolver(_type); + return new StructResolver(_type, context); + + if (_type.FullName.StartsWith("System.")) + return new SystemResolver(_type, context); - return new ClassResolver(_type); + return new ClassResolver(_type, context); } } public class BaseTypeResolver { + protected TypeReference type; + public object data; - public BaseTypeResolver(TypeReference _type) + + public MemberTypeContext context { get; private set; } + + public BaseTypeResolver(TypeReference _type, MemberTypeContext _context) { type = _type; + context = _context; } - public virtual string Paramer(string name) + + public virtual string ParamerSuffix() { - return $"{TypeName()} {name}"; + return string.Empty; } - public virtual string LocalVariable(string name) + public virtual string Paramer(string name, bool checkBlittable = false) { - return Paramer(name); + return $"{TypeName(checkBlittable)} {name}{ParamerSuffix()}"; } - public virtual string TypeName() + public virtual string LocalVariable(string name, bool checkBlittable = false) { - return RealTypeName(); + if(checkBlittable && !Utils.IsBlittableType(type) && context.IsReturnType) + { + return $"IntPtr {name}{ParamerSuffix()}"; + } + else + { + return Paramer(name, checkBlittable); + } + } + + public virtual string TypeName(bool checkBlittable = false) + { + return RealTypeName(checkBlittable); } protected string Alias() @@ -105,14 +206,14 @@ protected string Alias() return tName.Replace("/","."); } - public virtual string Unbox(string name,bool previous = false) + public virtual string UnboxAfterMarhsal(string name,bool previous = false) { if (type.IsByReference) return "ref " + name; else return name; } - public virtual string Box(string name) + public virtual string BoxBeforeMarshal(string name) { if (type.IsByReference) return "ref " + name; @@ -120,7 +221,7 @@ public virtual string Box(string name) return name; } - public string RealTypeName() + public string RealTypeName(bool checkBlittable = false) { var et = type.GetElementType(); @@ -135,16 +236,16 @@ public string RealTypeName() public class VoidResolver : BaseTypeResolver { - public VoidResolver(TypeReference type) : base(type) + public VoidResolver(TypeReference type, MemberTypeContext context) : base(type, context) { } - public override string Box(string name) + public override string BoxBeforeMarshal(string name) { return ""; } - public override string TypeName() + public override string TypeName(bool checkBlittable = false) { return $"void"; } @@ -152,11 +253,11 @@ public override string TypeName() public class EnumResolver : BaseTypeResolver { - public EnumResolver(TypeReference type) : base(type) + public EnumResolver(TypeReference type, MemberTypeContext context) : base(type, context) { } - public override string TypeName() + public override string TypeName(bool checkBlittable = false) { return "int"; } @@ -165,7 +266,7 @@ public override string TypeName() /// var type_e = (PrimitiveType)type; /// /// type_e - public override string Box(string name) + public override string BoxBeforeMarshal(string name) { CS.Writer.WriteLine($"var {name}_e = (int) {name}"); return $"{name}_e"; @@ -175,7 +276,7 @@ public override string Box(string name) /// var type_e = (int) type; /// /// type_e - public override string Unbox(string name,bool previous) + public override string UnboxAfterMarhsal(string name,bool previous) { var unboxCmd = $"var {name}_e = ({RealTypeName()}){name}"; if (previous) @@ -186,19 +287,143 @@ public override string Unbox(string name,bool previous) } } + public class ArrayResolver : BaseTypeResolver + { + public ArrayResolver(TypeReference type, MemberTypeContext context) : base(type, context) + { + + } + + public override string TypeName(bool checkBlittable = false) + { + if (checkBlittable) // && !Utils.IsBlittableType(type) && context.IsReturnType) + { + return "IntPtr"; + } + else + { + return base.TypeName(); + } + } + + /// + /// 理论上自动生成的delegate的,返回值是从mono传入到il2cpp,il2cpp再传回到mono,所以这里只需要传递gchandle + /// + /// + /// + /// + public override string UnboxAfterMarhsal(string name, bool previous) + { + if (CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind) + { + if (context.IsGenerated && !context.IsParamerterType) + { + if (context.IsGeneratedDelegate) + { + CS.Writer.WriteLine($"var {name}_gchandle = GCHandle.FromIntPtr({name})"); + CS.Writer.WriteLine($"var {name}_p = ({name}_gchandle != null) ? ({Utils.FullName(type)}){name}_gchandle.Target : null;"); + CS.Writer.WriteLine($"if({name}_gchandle != null){{ {name}_gchandle.Free();}}"); + //CS.Writer.WriteLine($"var {name}_p = ({Utils.FullName(type)})Marshal.PtrToStructure({name}, typeof({Utils.FullName(type)}))"); + return $"{name}_p"; + } + else + { + //下面的是internal call,internal call要注意gc时的内存 + CS.Writer.WriteLine($"var {name}_arr = ObjectStore.GetMonoObjectByPtr(__retArrayPtr) as {Utils.FullName(type)}"); + return $"{name}_arr"; + + } + } + else // as parameter + { + CS.Writer.WriteLine($"var {name}_arr = ObjectStore.GetMonoObjectByPtr({name}) as {Utils.FullName(type)}"); + return $"{name}_arr"; + } + } + else //unity bind + { + //if (context.IsParamerterType) + { + if (previous) + { + CS.Writer.WritePreviousLine($"var {name}_arr = ObjectStore.Get<{Utils.FullName(type)}>({name})"); + } + else + { + CS.Writer.WriteLine($"var {name}_arr = ObjectStore.Get<{Utils.FullName(type)}>({name})"); + } + return $"{name}_arr"; + } + //else + //{ + // return base.UnboxAfterMarhsal(name, previous); + //} + + //return base.Unbox(name, previous); + } + + } + + /// + /// 理论上自动生成的delegate的,返回值是从mono传入到il2cpp,il2cpp再传回到mono,所以这里只需要传递gchandle + /// + /// + /// + public override string BoxBeforeMarshal(string name) + { + if (CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind) + { + //if (context.IsGenerated && context.IsReturnType) + { + //CS.Writer.WriteLine($"var {name}_p = GCHandle.ToIntPtr(GCHandle.Alloc({name}))"); + CS.Writer.WriteLine($"var {name}_p = ObjectStore.ConvertObjectMonoToIL2Cpp({name})"); + return $"{name}_p"; + } + //else + //{ + // return base.BoxBeforeMarshal(name); + //} + } + else + { + if(context.IsGenerated) + { + CS.Writer.WriteLine($"var {name}_p = ObjectStore.Store({name})"); + //CS.Writer.WriteLine($"var {name}_p = Marshal.StructureToPtr({name}))"); + return $"{name}_p"; + } + else + { + return base.BoxBeforeMarshal(name); + } + } + } + } + + public class AttributeResolver : BaseTypeResolver + { + public AttributeResolver(TypeReference type, MemberTypeContext context) : base(type, context) + { + + } + } public class ClassResolver : BaseTypeResolver { - public ClassResolver(TypeReference type) : base(type) + public ClassResolver(TypeReference type, MemberTypeContext context) : base(type, context) { } - public override string Paramer(string name) + public override string ParamerSuffix() { - return $"{TypeName()} {name}_h"; + return "_h"; } + //public override string Paramer(string name) + //{ + // return $"{TypeName()} {name}_h"; + //} - public override string TypeName() + public override string TypeName(bool checkBlittable = false) { return "IntPtr"; } @@ -207,10 +432,19 @@ public override string TypeName() /// var value_h = ObjectStore.Store(value); /// /// value_h - public override string Box(string name) + public override string BoxBeforeMarshal(string name) { if(TypeResolver.WrapperSide) - CS.Writer.WriteLine($"var {name}_h = {name}.__GetHandle()"); + { + if (type.Resolve().IsInterface) + { + CS.Writer.WriteLine($"var {name}_h = ({name} as WObject).__GetHandle()"); + } + else + { + CS.Writer.WriteLine($"var {name}_h = {name}.__GetHandle()"); + } + } else CS.Writer.WriteLine($"var {name}_h = ObjectStore.Store({name})"); return $"{name}_h"; @@ -220,9 +454,17 @@ public override string Box(string name) /// var resObj = ObjectStore.Get(res); /// /// resObj - public override string Unbox(string name, bool previous) + public override string UnboxAfterMarhsal(string name, bool previous) { - var unboxCmd = $"var {name}Obj = ObjectStore.Get<{RealTypeName()}>({name}_h)"; + var unboxCmd = ""; + if (TypeResolver.WrapperSide && type.Resolve().IsInterface) + { + unboxCmd = $"var {name}Obj = ObjectStore.Get({name}_h) as {RealTypeName()}"; + } + else + { + unboxCmd = $"var {name}Obj = ObjectStore.Get<{RealTypeName()}>({name}_h)"; + } if (previous) CS.Writer.WritePreviousLine(unboxCmd); else @@ -235,35 +477,35 @@ public class ListResolver : BaseTypeResolver { BaseTypeResolver resolver; TypeReference genericType; - public ListResolver(TypeReference type) : base(type) + public ListResolver(TypeReference type, MemberTypeContext context) : base(type, context) { var genericInstace = type as GenericInstanceType; genericType = genericInstace.GenericArguments.First(); resolver = TypeResolver.Resolve(genericType); } - public override string TypeName() + public override string TypeName(bool checkBlittable = false) { return $"List<{resolver.TypeName()}>"; } - public override string Box(string name) + public override string BoxBeforeMarshal(string name) { CS.Writer.WriteLine($"{TypeName()} {name}_h = new {TypeName()}()"); CS.Writer.Start($"foreach (var item in { name})"); - var res = resolver.Box("item"); + var res = resolver.BoxBeforeMarshal("item"); CS.Writer.WriteLine($"{name}_h.add({res})"); CS.Writer.End(); return $"{name}_h"; } - public override string Unbox(string name, bool previous) + public override string UnboxAfterMarhsal(string name, bool previous) { using (new LP(CS.Writer.CreateLinePoint("//list unbox", previous))) { var relTypeName = $"List<{TypeResolver.Resolve(genericType).RealTypeName()}>"; CS.Writer.WriteLine($"{relTypeName} {name}_r = new {relTypeName}()"); CS.Writer.Start($"foreach (var item in { name})"); - var res = resolver.Unbox("item"); + var res = resolver.UnboxAfterMarhsal("item"); CS.Writer.WriteLine($"{name}_r.add({res})"); CS.Writer.End(); } @@ -288,38 +530,57 @@ private static string _Member(string name) { return $"_{name}"; } - private static string _Action(string name) + private static string _Marshal(string name) { - return $"{name}Action"; + return $"{name}Marshal"; } - public static string LocalMamberName(string name, MethodDefinition context) + public static string LocalMamberName(string name, MethodDefinition method) { - var uniq = FullMemberName(context); + var uniq = FullMemberName(new MemberTypeContext(MemberTypeSlot.None, MethodTypeSlot.None, method)); return _Member($"{uniq}_{name}"); } - public DelegateResolver(TypeReference type, IMemberDefinition context) : base(type) + public DelegateResolver(TypeReference type, MemberTypeContext context) : base(type, context) { - if(context != null) + var method = context.memberDefinition as MethodDefinition; + if (method != null) { - var method = context as MethodDefinition; - contextMember = method; - isStaticMember = method.IsStatic; - declarType = method.DeclaringType; - paramCount = method.Parameters.Count; - returnValue = !method.ReturnType.IsVoid(); - uniqueName = FullMemberName(method); + //if(!method.IsCompilerControlled) + { + contextMember = method; + isStaticMember = method.IsStatic; + declarType = method.DeclaringType; + paramCount = method.Parameters.Count; + returnValue = !method.ReturnType.IsVoid(); + uniqueName = FullMemberName(context); + } + } + else + { + isStaticMember = false; } } - static string FullMemberName(MethodDefinition method) + static string FullMemberName(MemberTypeContext context) { + var method = context.memberDefinition as MethodDefinition; var methodName = method.Name; - if (method.IsAddOn || method.IsSetter || method.IsGetter) + if (method.IsAddOn) // || method.IsSetter || method.IsGetter) + { methodName = methodName.Substring("add_".Length);//trim "add_" or "set_" + } else if (method.IsRemoveOn) + { methodName = methodName.Substring("remove_".Length);//trim "remove_" + } + else if(context.IsGeneratedDelegateByField) //field模拟的delegate用公用一个delegate成员 + { + if(method.IsSetter || method.IsGetter) + { + methodName = methodName.Substring("set_".Length);//trim "add_" or "set_" + } + } // Special to AddListener / RemoveListener else if (method.Parameters.Count == 1 && methodName.StartsWith("Add")) @@ -330,12 +591,16 @@ static string FullMemberName(MethodDefinition method) return method.DeclaringType.Name.Replace("/", "_") + "_" + methodName.Replace(".", "_"); } - public override string Paramer(string name) + public override string ParamerSuffix() { - return $"{TypeName()} {name}_p"; + return "_p"; } + //public override string Paramer(string name) + //{ + // return $"{TypeName()} {name}_p"; + //} - public override string TypeName() + public override string TypeName(bool checkBlittable = false) { return "IntPtr"; } @@ -348,44 +613,50 @@ static void OnlogMessageReceived(int arg0,int arg1,int arg2) _logMessageReceived(unbox(arg0), unbox(arg1), unbox(arg2)); } */ - void WriteBoxedMember(string name) + bool WriteBoxedMember(string name) { + bool isUnityBind = CS.Writer.WriterType == CodeWriter.CodeWriterType.UnityBind; if (contextMember == null) - return; + return false; var varName = uniqueName + name; if (BoxedMemberSet.Contains(varName)) - return; + return true; BoxedMemberSet.Add(varName); string _member = _Member(name);// _logMessageReceived - string _action = _Action(name);// logMessageReceivedAction + string _marshalFuncPointer = _Marshal(name);// logMessageReceivedAction - var flag = isStaticMember ? "static" : ""; - var eventTypeName = TypeResolver.Resolve(type).RealTypeName(); + var flag = (isUnityBind || isStaticMember) ? "static" : ""; + var eventTypeName = TypeResolver.Resolve(type, null, MemberTypeSlot.Parameter, MethodTypeSlot.GeneratedDelegate).RealTypeName(); if (type.IsGenericInstance) eventTypeName = Utils.GetGenericTypeName(type); var eventDeclear = Utils.GetDelegateWrapTypeName(type, isStaticMember ? null : declarType); //Action + var eventDeclearMarshal = Utils.GetDelegateWrapTypeName(type, isStaticMember ? null : declarType, true); //Action var paramTpes = Utils.GetDelegateParams(type, isStaticMember ? null : declarType, out var returnType); // string , string , LogType ,returnType - var returnTypeName = returnType != null ? TypeResolver.Resolve(returnType).TypeName() : "void"; + var returnTypeName = returnType != null ? TypeResolver.Resolve(returnType, null, MemberTypeSlot.ReturnType, MethodTypeSlot.GeneratedDelegate).TypeName(true) : "void"; //static event global::UnityEngine.Application.LogCallback _logMessageReceived; CS.Writer.WriteLine($"public {flag} {eventTypeName} {_member}"); - if(!isStaticMember) + if(!isUnityBind && !isStaticMember) CS.Writer.WriteLine($"public GCHandle {_member}_ref"); // resist gc //static Action logMessageReceivedAction = OnlogMessageReceived; - CS.Writer.WriteLine($"static {eventDeclear} {_action} = On{name}"); + CS.Writer.WriteLine($"static {eventDeclearMarshal} {_marshalFuncPointer} = On{name}"); //static void OnlogMessageReceived(int arg0,int arg1,int arg2) + if(isUnityBind) + { + CS.Writer.WriteLine($"[MonoPInvokeCallback(typeof({eventDeclearMarshal}))]", false); + } var eventFuncDeclear = $"static {returnTypeName} On{name}("; for (int i = 0; i < paramTpes.Count; i++) { var p = paramTpes[i]; - eventFuncDeclear += TypeResolver.Resolve(p).LocalVariable($"arg{i}"); + eventFuncDeclear += TypeResolver.Resolve(p, null, MemberTypeSlot.Parameter, MethodTypeSlot.GeneratedDelegate).LocalVariable($"arg{i}", true); if (i != paramTpes.Count - 1) { eventFuncDeclear += ","; @@ -399,15 +670,22 @@ void WriteBoxedMember(string name) //_logMessageReceived(unbox(arg0), unbox(arg1), unbox(arg2)); var callCmd = $"{_member}("; var targetObj = ""; - + var checkCond = ""; for (int i = 0; i < paramTpes.Count; i++) { var p = paramTpes[i]; - var param = TypeResolver.Resolve(p).Unbox($"arg{i}"); + var param = TypeResolver.Resolve(p, null, MemberTypeSlot.Parameter, MethodTypeSlot.GeneratedDelegate).UnboxAfterMarhsal($"arg{i}"); if (i == 0 && !isStaticMember) { - targetObj = param + "."; + if(isUnityBind) + { + checkCond = $"if({param} == {_member}.Target) "; + } + else + { + targetObj = param + "."; + } continue; } @@ -419,13 +697,19 @@ void WriteBoxedMember(string name) if (!string.IsNullOrEmpty(targetObj)) callCmd = targetObj + callCmd; + if (returnType != null) - callCmd = $"var res = " + callCmd; + { + CS.Writer.WriteLine($"var res = default({Utils.FullName(returnType)})"); + callCmd = $"res = " + callCmd; + } + if (!string.IsNullOrEmpty(checkCond)) + callCmd = checkCond + callCmd; CS.Writer.WriteLine(callCmd); if (returnType != null) { - var res = TypeResolver.Resolve(returnType).Box("res"); + var res = TypeResolver.Resolve(returnType, null, MemberTypeSlot.ReturnType, MethodTypeSlot.GeneratedDelegate).BoxBeforeMarshal("res"); CS.Writer.WriteLine($"return {res}"); } CS.Writer.End();//try @@ -433,12 +717,13 @@ void WriteBoxedMember(string name) CS.Writer.WriteLine("__e = e"); CS.Writer.End();//catch CS.Writer.WriteLine("if(__e != null)", false); - CS.Writer.WriteLine("ScriptEngine.OnException(__e.ToString())"); + CS.Writer.WriteLine("ScriptEngine.OnException(__e)"); if (returnType != null) CS.Writer.WriteLine($"return default({returnTypeName})"); CS.Writer.End();//method + return true; } /* @@ -450,31 +735,41 @@ static void OnlogMessageReceived(string arg0, string arg1, LogType arg2) } */ - void WriteUnboxedMember(string name) + bool WriteUnboxedMember(string name) { if (contextMember == null) - return; + return false; var varName = uniqueName + name; if (UnBoxedMemberSet.Contains(varName)) - return; + return false; UnBoxedMemberSet.Add(varName); string _member = _Member(name);// _logMessageReceived + string _marshalFuncPointer = _Marshal(name);// logMessageReceivedAction + var eventTypeName = TypeResolver.Resolve(type).RealTypeName(); var paramTpes = Utils.GetDelegateParams(type, isStaticMember ? null : declarType, out var returnType); // string , string , LogType ,returnType var returnTypeName = returnType != null ? TypeResolver.Resolve(returnType).RealTypeName() : "void"; var eventDeclear = Utils.GetDelegateWrapTypeName(type, isStaticMember ? null : declarType); //Action + var eventDeclearForMarshal = Utils.GetDelegateWrapTypeName(type, isStaticMember ? null : declarType, true); //Action //static void OnlogMessageReceived(string arg0, string arg1, LogType arg2) - var eventFuncDeclear = $"static {returnTypeName} On{name}("; + //mono bind内非static的delegate需要返回当前的实例对象而不是static的对象 + bool isMonoBind = CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind; + bool isMonoBindInstanceGetter = CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind && !isStaticMember && contextMember.IsGetter; + var eventFuncDeclear = $"{(isMonoBindInstanceGetter ? "" : "static")} {returnTypeName} On{name}("; for (int i = 0; i < paramTpes.Count; i++) { + if(isMonoBindInstanceGetter && i == 0) + { + continue; + } var p = paramTpes[i]; if (!isStaticMember && i == 0) eventFuncDeclear += "this "; - eventFuncDeclear += $"{TypeResolver.Resolve(p).RealTypeName()} arg{i}"; + eventFuncDeclear += $"{TypeResolver.Resolve(p).RealTypeName(true)} arg{i}"; if (i != paramTpes.Count - 1) { eventFuncDeclear += ","; @@ -482,15 +777,17 @@ void WriteUnboxedMember(string name) } eventFuncDeclear += ")"; - - CS.Writer.WriteLine($"static {eventDeclear} {_member}"); + //mono bind内非static的delegate需要返回当前的实例对象而不是static的对象 + CS.Writer.WriteLine($"{(isMonoBindInstanceGetter ? "" : "static")} {(isMonoBind ? eventTypeName : eventDeclear)} {_member}"); //mono层内自己的函数指针单独保存 + //这个的目的是用一个delegate单独存储指向il2cpp的函数指针, + CS.Writer.WriteLine($"{(isMonoBindInstanceGetter ? "" : "static")} {eventDeclearForMarshal} {_marshalFuncPointer}"); CS.Writer.Start(eventFuncDeclear); - var callCmd = $"{_member}("; + var callCmd = $"{_marshalFuncPointer}("; if (returnType != null) { - var localVar = TypeResolver.Resolve(returnType).Paramer("res"); + var localVar = TypeResolver.Resolve(returnType, null, MemberTypeSlot.ReturnType, MethodTypeSlot.GeneratedDelegate).Paramer("res", true); if(localVar.StartsWith("ref ")) localVar = localVar.Replace("ref ", ""); callCmd = localVar + " = " + callCmd; @@ -499,67 +796,90 @@ void WriteUnboxedMember(string name) for (int i = 0; i < paramTpes.Count; i++) { var p = paramTpes[i]; - callCmd += TypeResolver.Resolve(p).Box($"arg{i}"); + callCmd += TypeResolver.Resolve(p, null, MemberTypeSlot.Parameter, MethodTypeSlot.GeneratedDelegate).BoxBeforeMarshal(isMonoBindInstanceGetter && i == 0 ? "this" : $"arg{i}"); if (i != paramTpes.Count - 1) callCmd += ","; } callCmd += ")"; + CS.Writer.Start($"if({_marshalFuncPointer} != null)"); //start if CS.Writer.WriteLine(callCmd); CS.Writer.WriteLine("ScriptEngine.CheckException()"); if (returnType != null) { - var res = TypeResolver.Resolve(returnType).Unbox("res"); + var retResolver = TypeResolver.Resolve(returnType, null, MemberTypeSlot.ReturnType, MethodTypeSlot.GeneratedDelegate); + var res = retResolver.UnboxAfterMarhsal("res"); CS.Writer.WriteLine($"return {res}"); + CS.Writer.End(); //end if + CS.Writer.Start("else"); //start else + CS.Writer.WriteLine($"return default({retResolver.RealTypeName()})"); + CS.Writer.End(); //end else + } + else + { + CS.Writer.End(); //end if } CS.Writer.End(); - + return true; } - public override string Box(string name) + /// + /// + /// + /// + /// + public override string BoxBeforeMarshal(string name) { var memberUniqueName = $"{uniqueName}_{name}"; - using (new LP(CS.Writer.GetLinePoint("//member"))) + bool writeBoxed = false; + bool isUnityBind = CS.Writer.WriterType == CodeWriter.CodeWriterType.UnityBind; + using (new LP(CS.Writer.GetLinePoint(!isUnityBind ? "//member" : "//Method"))) { - WriteBoxedMember(memberUniqueName); + writeBoxed = WriteBoxedMember(memberUniqueName); } - var _action = _Action(memberUniqueName); + var _marshalFuncPointer = _Marshal(memberUniqueName); var _member = _Member(memberUniqueName); - - CS.Writer.WriteLine($"var {memberUniqueName}_p = Marshal.GetFunctionPointerForDelegate({_action})"); + if(isUnityBind) + { + CS.Writer.WriteLine($"{_member} = {name}"); + } + CS.Writer.WriteLine($"var {memberUniqueName}_p = {(writeBoxed ? _marshalFuncPointer : name)} != null ? Marshal.GetFunctionPointerForDelegate({(writeBoxed ? _marshalFuncPointer : name)}) : IntPtr.Zero"); return $"{memberUniqueName}_p"; } - public override string Unbox(string name, bool previous) + public override string UnboxAfterMarhsal(string name, bool previous) { var memberUniqueName = $"{uniqueName}_{name}"; - + bool writeUnboxed = false; + var isMonoBindInstanceGetter = CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind && !isStaticMember && contextMember.IsGetter; if(!contextMember.IsRemoveOn) { - using (new LP(CS.Writer.GetLinePoint("//Method"))) + var isMonoBindGetterSetter = CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind && contextMember != null && (contextMember.IsSetter || contextMember.IsGetter); + using (new LP(CS.Writer.GetLinePoint(isMonoBindGetterSetter ? "//member" : "//Method"))) { - WriteUnboxedMember(memberUniqueName); + writeUnboxed = WriteUnboxedMember(memberUniqueName); } + var _marshalFuncPointer = _Marshal(memberUniqueName); string _member = _Member(memberUniqueName);// _logMessageReceived string ptrName = $"{name}_p"; - var eventDeclear = Utils.GetDelegateWrapTypeName(type, isStaticMember ? null : declarType); + var eventDeclearforMarhsal = Utils.GetDelegateWrapTypeName(type, isStaticMember ? null : declarType, true); - var unboxCmd = $"{_member} = {ptrName} == IntPtr.Zero ? null: Marshal.GetDelegateForFunctionPointer<{eventDeclear}>({ptrName})"; + var unboxCmd = $"{_marshalFuncPointer} = {ptrName} == IntPtr.Zero ? null: Marshal.GetDelegateForFunctionPointer<{eventDeclearforMarhsal}>({ptrName})"; if (previous) CS.Writer.WritePreviousLine(unboxCmd); else CS.Writer.WriteLine(unboxCmd); - } + } var resCmd = $"On{memberUniqueName}"; - if (!isStaticMember) + if (!isStaticMember && !isMonoBindInstanceGetter) resCmd = "thizObj." + resCmd; return resCmd; @@ -568,40 +888,112 @@ public override string Unbox(string name, bool previous) public class StructResolver : BaseTypeResolver { - public StructResolver(TypeReference type) : base(type) + + public StructResolver(TypeReference type, MemberTypeContext context) : base(type, context) { } - public override string Paramer(string name) + public override string Paramer(string name, bool checkBlittable = false) { if(type.IsByReference) - return base.Paramer(name); + return base.Paramer(name, checkBlittable); else - return "ref " + base.Paramer(name); + return "ref " + base.Paramer(name, checkBlittable); } - public override string LocalVariable(string name) + public override string LocalVariable(string name, bool checkBlittable = false) { - return base.Paramer(name); + if(CS.Writer.WriterType == CodeWriter.CodeWriterType.UnityBind && checkBlittable && context.IsReturnType) + { + return $"IntPtr {name}{ParamerSuffix()}"; + } + else + { + return base.Paramer(name); + } + } - public override string Box(string name) + public override string BoxBeforeMarshal(string name) { - name = base.Box(name); - if (TypeResolver.WrapperSide && !name.StartsWith("ref ")) + name = base.BoxBeforeMarshal(name); + if (!context.IsGeneratedDelegate && TypeResolver.WrapperSide && !name.StartsWith("ref ")) + { name = "ref " + name; + } return name; } + + public override string UnboxAfterMarhsal(string name, bool previous = false) + { + if (context.IsGenerated && !context.IsParamerterType) //作为返回值 + { + if (context.IsGeneratedDelegate) + { + CS.Writer.WriteLine($"var {name}_gchandle = GCHandle.FromIntPtr({name})"); + CS.Writer.WriteLine($"var {name}_p = ({name}_gchandle != null) ? ({Utils.FullName(type)}){name}_gchandle.Target : null"); + CS.Writer.WriteLine($"if({name}_gchandle != null){{ {name}_gchandle.Free(); }}"); + //CS.Writer.WriteLine($"var {name}_p = ({Utils.FullName(type)})Marshal.PtrToStructure({name}, typeof({Utils.FullName(type)}))"); + return $"{name}_p"; + } + else + { + CS.Writer.WriteLine($"var {name}_st = ({Utils.FullName(type)})ObjectStore.GetMonoObjectByPtr(__retStructPtr)"); + //CS.Writer.WriteLine($"var {name}_p = ({Utils.FullName(type)})Marshal.PtrToStructure({name}, typeof({Utils.FullName(type)}))"); + return $"{name}_st"; + } + } + else + { + //if(CS.Writer.WriterType == CodeWriter.CodeWriterType.UnityBind) + //{ + // if(previous) + // { + // CS.Writer.WritePreviousLine($"var {name}_st = ObjectStore.GetObject({name})"); + // } + // else + // { + // CS.Writer.WriteLine($"var {name}_st = ObjectStore.GetObject({name})"); + // } + // return $"{name}_st"; + //} + //else + { + return base.UnboxAfterMarhsal(name, previous); + } + } + //if (CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind && !context.IsGeneratedDelegate) + //{ + // CS.Writer.WriteLine($"var {name}_p = {name} != null ? ({Utils.FullName(type)})Marshal.PtrToStructure({name}, typeof({Utils.FullName(type)})) : default({Utils.FullName(type)})"); + // return $"{name}_p"; + //} + //else + //{ + // return base.Unbox(name, previous); + //} + } } public class StringResolver : BaseTypeResolver { - public StringResolver(TypeReference type) : base(type) + public StringResolver(TypeReference type, MemberTypeContext context) : base(type, context) { } + public override string TypeName(bool checkBlittable = false) + { + if (CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind && checkBlittable && !context.IsParamerterType) + { + return "IntPtr"; + } + else + { + return base.TypeName(); + } + } + /*public override string TypeName() { if (type.Name.Equals("Object")) @@ -609,26 +1001,174 @@ public StringResolver(TypeReference type) : base(type) return base.TypeName(); }*/ + public override string UnboxAfterMarhsal(string name, bool previous = false) + { + //mono侧的生成的delegate的参数不用marshal + if(CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind && !context.IsParamerterType) + { + CS.Writer.WriteLine($"var {name}_p = Marshal.PtrToStringAnsi({name})"); + return $"{name}_p"; + }else + { + return base.UnboxAfterMarhsal(name, previous); + } + + } + + public override string BoxBeforeMarshal(string name) + { + //mono侧的生成的delegate的参数不用marshal + if (CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind && context.IsReturnType) + { + CS.Writer.WriteLine($"var {name}_p = Marshal.StringToHGlobalAnsi({name})"); + return $"{name}_p"; + } + else + { + return base.BoxBeforeMarshal(name); + } + } } public class SystemResolver : BaseTypeResolver { - public SystemResolver(TypeReference type) : base(type) + public SystemResolver(TypeReference type, MemberTypeContext context) : base(type, context) { } - /* public override string TypeName() + public override string TypeName(bool checkBlittable = false) + { + if(checkBlittable && !Utils.IsBlittableType(type)) + { + return "IntPtr"; + } + else + { + return base.TypeName(checkBlittable); + } + } + public override string BoxBeforeMarshal(string name) { - if (type.Name.Equals("Object")) - return "object"; - return base.TypeName(); - }*/ + if (type.Name == "Object") + { + if (CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind) + { + //先转换为WObject,如果不是,那么传入空ptr + CS.Writer.WriteLine($"var {name}_w = {name} as WObject"); + CS.Writer.WriteLine($"var {name}_wh = {name}_w != null ? {name}_w.__GetHandle() : ObjectStore.ConvertObjectMonoToIL2Cpp({name})"); + return $"{name}_wh"; + } + else + { + CS.Writer.WriteLine($"var {name}_h = ObjectStore.Store({name})"); + return $"{name}_h"; + } + } else if (type.Name == "Type") + { + if (CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind) + { + CS.Writer.WriteLine($"var {name}_h = ObjectStore.ConvertObjectMonoToIL2Cpp({name})"); + return $"{name}_h"; + } + else + { + CS.Writer.WriteLine($"var {name}_h = ObjectStore.Store({name})"); + return $"{name}_h"; + } + } + else if (type.FullName.StartsWith("System.IO") || type.FullName.StartsWith("System.Reflection")) + { + CS.Writer.WriteLine($"throw new Exception(\"the type {type.FullName} is not supported to transfer between mono and il2cpp\")", true); + CS.Writer.WriteLine($"var {name}_null = default({TypeName(true)})", true); + return $"{name}_null"; + } + else + { + if (!Utils.IsBlittableType(type)) + { + if (CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind) + { + CS.Writer.WriteLine($"var {name}_h = ObjectStore.ConvertObjectMonoToIL2Cpp({name})"); + return $"{name}_h"; + } + else + { + CS.Writer.WriteLine($"var {name}_h = ObjectStore.Store({name})"); + return $"{name}_h"; + } + } + else + { + return base.BoxBeforeMarshal(name); + } + } + } + + public override string UnboxAfterMarhsal(string name, bool previous = false) + { + if(!Utils.IsBlittableType(type) && CS.Writer.WriterType == CodeWriter.CodeWriterType.MonoBind) + { + if (type.IsStruct(false)) + { + CS.Writer.WriteLine($"var {name}_st = ({Utils.FullName(type)})ObjectStore.GetMonoObjectByPtr(__retStructPtr)"); + //CS.Writer.WriteLine($"var {name}_p = ({Utils.FullName(type)})Marshal.PtrToStructure({name}, typeof({Utils.FullName(type)}))"); + return $"{name}_st"; + } + else + { + CS.Writer.WriteLine($"var {name}_p = ({Utils.FullName(type)})Marshal.PtrToStructure({name}, typeof({Utils.FullName(type)}))"); + //CS.Writer.WriteLine($"var {name}_p = ({Utils.FullName(type)})Marshal.PtrToStructure({name}, typeof({Utils.FullName(type)}))"); + return $"{name}_p"; + } + } + else + { + Action writeFunc = null; + if (previous) + { + writeFunc = CS.Writer.WritePreviousLine; + } + else + { + writeFunc = CS.Writer.WriteLine; + } + if (type.Name == "Object") + { + writeFunc($"var {name}Obj = ObjectStore.Get<{RealTypeName()}>({name})", true); + return $"{name}Obj"; + } + else if (type.Name == "Type") + { + writeFunc($"var {name}Obj = ObjectStore.Get<{RealTypeName()}>({name})", true); + return $"{name}Obj"; + } + else if(type.FullName.StartsWith("System.IO") || type.FullName.StartsWith("System.Reflection")) + { + writeFunc($"throw new Exception(\"the type {type.FullName} is not supported to transfer between mono and il2cpp\")", true); + writeFunc($"var {name}_null = default({RealTypeName()})", true); + return $"{name}_null"; + } + else + { + if(!Utils.IsBlittableType(type)) + { + writeFunc($"throw new Exception(\"the type {type.FullName} is not supported to transfer between mono and il2cpp\")", true); + writeFunc($"var {name}_null = default({RealTypeName()})", true); + return $"{name}_null"; + } + else + { + return base.UnboxAfterMarhsal(name, previous); + } + } + } + } } public class GenericResolver : BaseTypeResolver { - public GenericResolver(TypeReference type) : base(type) + public GenericResolver(TypeReference type, MemberTypeContext context) : base(type, context) { } diff --git a/BindGenerater/Generater/CodeWriter.cs b/BindGenerater/Generater/CodeWriter.cs index ad36f3e..e1b1f02 100644 --- a/BindGenerater/Generater/CodeWriter.cs +++ b/BindGenerater/Generater/CodeWriter.cs @@ -15,14 +15,19 @@ public class CS : IDisposable private static Stack writers = new Stack(); public static CodeWriter Writer { get { return writers.Peek(); } } private bool AutoFlush = false; + + public CodeWriter CurWriter { private set; get; } + public CS(CodeWriter writer, bool autoFlush = true) { + CurWriter = writer; writers.Push(writer); AutoFlush = autoFlush; } public void Dispose() { + CurWriter = null; var writer = writers.Pop(); if (AutoFlush) writer.Flush(); @@ -54,6 +59,12 @@ public void Dispose() public class CodeWriter { + public enum CodeWriterType + { + MonoBind, + UnityBind, + } + public string _start = "{"; public string _end = "}"; public string _eol = ";"; @@ -67,8 +78,11 @@ public class CodeWriter private Stack pointers = new Stack(); private Dictionary pointerDic = new Dictionary(); - public CodeWriter(TextWriter _writer) + public CodeWriterType WriterType { get; private set; } + + public CodeWriter(TextWriter _writer, CodeWriterType writerType = CodeWriterType.MonoBind) { + WriterType = writerType; writer = _writer; UsePointer(CreateLinePoint("// auto gengerated !")); } @@ -78,7 +92,7 @@ public CodeWriter(TextWriter _writer) public void Write(string str) { if (lines.Count == 0) - WriteLine(str,false); + WriteLine(str, false); else pointer.Last().Value.Write(str); } @@ -96,7 +110,7 @@ public void WriteLine(string str, bool endCode = true) if (endCode) str = str + _eol; - pointer.Move(lines.AddAfter(pointer.Last(),new Line(str,deeps))); + pointer.Move(lines.AddAfter(pointer.Last(), new Line(str, deeps))); } public void WritePreviousLine(string str, bool endCode = true) @@ -109,7 +123,7 @@ public void WritePreviousLine(string str, bool endCode = true) else { var lastLine = pointer.Last(); - if(lastLine.Value.Code.Equals(_start)) + if (lastLine.Value.Code.Equals(_start)) WriteLine(str, false); else { @@ -119,7 +133,7 @@ public void WritePreviousLine(string str, bool endCode = true) lines.AddBefore(pointer.Last(), new Line(str, pd)); } } - + } public void WriteHead(string str, bool endCode = true) @@ -136,28 +150,28 @@ public void WriteHead(string str, bool endCode = true) public void Start(string str = null) { if (str != null) - WriteLine(str,false); + WriteLine(str, false); - WriteLine(_start,false); + WriteLine(_start, false); deeps++; } public void End(bool newLine = true) { deeps--; - WriteLine(_end,false); + WriteLine(_end, false); } public void EndAll(bool newLine = true) { int count = deeps; - for(int i= 0;i< count; i++) + for (int i = 0; i < count; i++) End(newLine); Flush(); } - public LinePointer CreateLinePoint(string name,bool previous = false) + public LinePointer CreateLinePoint(string name, bool previous = false) { var line = new Line("", deeps); LinkedListNode node; diff --git a/BindGenerater/Generater/Config.cs b/BindGenerater/Generater/Config.cs index f7cd0ee..d515fa7 100644 --- a/BindGenerater/Generater/Config.cs +++ b/BindGenerater/Generater/Config.cs @@ -15,6 +15,16 @@ public class Config /// public HashSet IgnoreAssemblySet; + /// + /// 强制保留的函数 + /// + public HashSet CSharpForceRetainMethods; + + /// + /// 不支持的一些函数 + /// + public HashSet CSharpIgnorMethods; + /// /// 黑名单,排除一些不支持的类型,这里是匹配规则,即可以排除整个命名空间,如:UnityEditor / UnityEngine.TestTools /// diff --git a/BindGenerater/Generater/TypeDefinitionExtensions.cs b/BindGenerater/Generater/TypeDefinitionExtensions.cs index 7fbea36..1bef480 100644 --- a/BindGenerater/Generater/TypeDefinitionExtensions.cs +++ b/BindGenerater/Generater/TypeDefinitionExtensions.cs @@ -139,6 +139,24 @@ public static bool IsGeneric(this TypeReference type) return false; } + public static bool IsGenericParameter(this TypeReference type) + { + var dt = type.Resolve(); + if (type.HasGenericParameters || type.IsGenericParameter) //|| (dt != null && dt.IsGeneric()) + { + return true; + } + if (type.IsByReference) + { + return ((ByReferenceType)type).ElementType.IsGenericParameter(); + } + if (type.IsArray) + { + return ((ArrayType)type).ElementType.IsGenericParameter(); + } + return false; + } + public static bool HasGenericArgumentFromMethod(this TypeReference type) { if (type.IsGenericParameter) @@ -198,6 +216,10 @@ public static bool IsVoid(this TypeReference type) return type.Name.Equals("Void"); } + public static bool IsString(this TypeReference type) + { + return type.FullName.Equals("System.String"); + } public static bool IsOverride(this MethodReference self) { if (self == null) @@ -347,9 +369,29 @@ public static TypeReference BaseType(this TypeReference self) return td.BaseType; } - public static bool IsStruct(this TypeDefinition type) + public static bool IsStruct(this TypeDefinition type, bool includeVoid = true) { - return type.IsValueType && !type.IsEnum && !type.IsPrimitive; + if (!includeVoid) + { + if(type.IsVoid()) + { + return false; + } + } + return type.IsValueType && !type.IsEnum && !type.IsPrimitive && !type.IsArray; + + } + + public static bool IsStruct(this TypeReference type, bool includeVoid = true) + { + if (!includeVoid) + { + if (type.IsVoid()) + { + return false; + } + } + return type.IsValueType && !type.IsPrimitive && !type.IsArray && !type.Resolve().IsEnum; } } \ No newline at end of file diff --git a/BindGenerater/Generater/Utils.cs b/BindGenerater/Generater/Utils.cs index ae4ecb8..89757bc 100644 --- a/BindGenerater/Generater/Utils.cs +++ b/BindGenerater/Generater/Utils.cs @@ -20,10 +20,12 @@ public static void Log(string str) } public static HashSet IgnoreTypeSet = new HashSet(); + public static HashSet IgnoreMethodsSet = new HashSet(); + public static HashSet CSharpForceRetainMethods = new HashSet(); //declear : static void UnityEngine_GameObject_SetActive (int thiz_h, System.Boolean value) //or: MonoBind.UnityEngine_GameObject_SetActive(this.Handle, value) - public static string BindMethodName(MethodDefinition method, bool declear = false,bool withParam = true) + public static string BindMethodName(MethodDefinition method, bool declear = false,bool withParam = true, bool isInMono = false) { var name = method.DeclaringType.FullName + "_" + GetSignName(method); @@ -32,14 +34,14 @@ public static string BindMethodName(MethodDefinition method, bool declear = fals res = "MonoBind." + res; if (withParam) - res += BindMethodParamDefine(method, declear); + res += BindMethodParamDefine(method, declear, isInMono); return res; } //declear : (int thiz_h, System.Boolean value) //or:(this.Handle, value) - public static string BindMethodParamDefine(MethodDefinition method, bool declear = false) + public static string BindMethodParamDefine(MethodDefinition method, bool declear = false, bool isInMono = false) { var param = "("; @@ -65,34 +67,60 @@ public static string BindMethodParamDefine(MethodDefinition method, bool declear if (method.HasParameters) param += ", "; } - - - } var lastP = method.Parameters.LastOrDefault(); foreach (var p in method.Parameters) { + var pname = GetParamName(p); + if (declear) { - param += TypeResolver.Resolve(p.ParameterType).Paramer(p.Name) + (p == lastP ? "" : ", "); + param += TypeResolver.Resolve(p.ParameterType, method, MemberTypeSlot.Parameter).Paramer(pname, true) + (p == lastP ? "" : ", "); } else { - param += TypeResolver.Resolve(p.ParameterType, method).Box(p.Name) + (p == lastP ? "" : ", "); + param += TypeResolver.Resolve(p.ParameterType, method, MemberTypeSlot.Parameter).BoxBeforeMarshal(pname) + (p == lastP ? "" : ", "); } } + if(method.ReturnType != null) + { + if(method.ReturnType.IsArray) + { + //delegate defines in mono can have array other than IntPtr + param += $"{(!method.IsStatic || method.HasParameters ? ", " : "")}ref {(declear ? (isInMono ? "IntPtr" : "IntPtr") : "")} __retArrayPtr, ref {(declear ? "int" : "")} __arrayLen"; + } + else if(method.ReturnType.IsStruct(false)) //add struct as ref parameter + { + param += $"{(!method.IsStatic || method.HasParameters ? ", " : "")}ref {(declear ? (isInMono ? "IntPtr" : "IntPtr") : "")} __retStructPtr"; + } + } + param += ")"; return param; } + public static string GetParamName(ParameterDefinition parameter) + { + //if (parameter.ParameterType is GenericInstanceType) + //{ + // var gp = parameter.ParameterType as GenericInstanceType; + // return $"{parameter.Name}_{gp.GenericArguments.Count}ga"; + //} + return parameter.Name; + } public static string ReName(string name) { return name.Replace("::", "_").Replace(".", "_").Replace("/","_"); } + public static string FullName(TypeReference type) + { + return type.FullName.Replace("/", "."); + } + static Dictionary> NameDic = new Dictionary>(); static string GetSignName(MethodDefinition method) { @@ -129,10 +157,32 @@ static string GetSignName(MethodDefinition method) return name; } + public static bool Filter(FieldDefinition property) + { + if (!property.IsPublic) + { + return false; + } + foreach (var attr in property.CustomAttributes) + { + if (attr.AttributeType.Name.Equals("ObsoleteAttribute")) + return false; + } + return true; + } + public static bool Filter(PropertyDefinition property) { + bool hasPublicOrNoneGetterSetter = (property.GetMethod == null && property.SetMethod == null) + || ((property.GetMethod != null && property.GetMethod.IsPublic) || (property.SetMethod != null && property.SetMethod.IsPublic)); + + if(!hasPublicOrNoneGetterSetter) + { + return false; + } + if(property.HasThis && property.Name == "Item") - {//TODO:indexer + {//TODO: this indexer return false; } @@ -147,29 +197,577 @@ public static bool Filter(PropertyDefinition property) return true; } - public static bool Filter(MethodDefinition method) + public static bool IsGenericMethodWithoutGenericType(MethodReference methodRef, List calledMethods, List refMethods = null) + { + if(refMethods == null) + { + refMethods = new List(16); + } + var method = methodRef.Resolve(); + + if(methodRef is GenericInstanceMethod) + { + var methodInst = (GenericInstanceMethod)methodRef; + foreach(var g in methodInst.GenericArguments) + { + if(g is GenericInstanceType) + { + var gt = (GenericInstanceType)g; + if (gt.HasGenericArguments) + { + return false; + } + } + } + } + if (method.HasBody) + { + for (int i = 0; i < method.Body.Instructions.Count; i++) + { + var il = method.Body.Instructions[i]; + if (il.OpCode.Code == Mono.Cecil.Cil.Code.Call || il.OpCode.Code == Mono.Cecil.Cil.Code.Callvirt) + { + var cmethod = il.Operand as MethodReference; + var methodDef = cmethod.Resolve(); + if (refMethods.Contains(methodDef)) + { + continue; + } + else + { + refMethods.Add(methodDef); + } + if (!methodDef.DeclaringType.FullName.StartsWith("System.Nullable") && !Utils.Filter(methodDef.DeclaringType)) + { + return false; + } + //if (cmethod.DeclaringType.HasGenericParameters) + //{ + // Console.WriteLine("ignoreMethod: " + cmethod.FullName); + // return false; + //} + if (cmethod.FullName.StartsWith("System.Reflection")) + { + return false; + } + if (methodDef.IsConstructor) + { + //System以外的对象不能被直接进行构造。存在下面两种情况: + //如果要在mono/il2cpp之间进行传递,WObject的ctor不能直接使用。 + //如果只在mono层内存在的对象,则不建议在wrapper层使用 + if (!methodDef.DeclaringType.FullName.StartsWith("System")) + { + return false; + } + } + if (methodDef.IsInternalCall) + { + //Binder.AddMethod(cmethod); + calledMethods.Add(cmethod.Resolve()); + continue; + } + if (cmethod.GenericParameters != null && cmethod.GenericParameters.Count > 0) + { + if (!IsGenericMethodWithoutGenericType(cmethod, calledMethods, refMethods)) + { + return false; + } + } + else + { + //if (methodDef.IsGetter || methodDef.IsSetter) + //{ + // //TODO: property + // return false; + //} + if (!Filter(methodDef, DllRuntime.Mono, refMethods)) + { + return false; + } + + if (methodDef.IsPublic) + { + //Binder.AddMethod(cmethod); + calledMethods.Add(cmethod.Resolve()); + } + else + { + if (CheckMethodNoAffectsToSelf(methodDef, calledMethods, refMethods)) + { + //Binder.AddMethod(cmethod); + calledMethods.Add(cmethod.Resolve()); + } + else + { + return false; + } + } + } + } + else if (il.OpCode.Code == Mono.Cecil.Cil.Code.Ldsfld || il.OpCode.Code == Mono.Cecil.Cil.Code.Stsfld) //访问泛型的static field字段,泛型类型不支持 + { + var fieldRef = il.Operand as FieldReference; + if(fieldRef.DeclaringType is GenericInstanceType) + { + return false; + } + } + else if (il.OpCode.Code == Mono.Cecil.Cil.Code.Ldfld || il.OpCode.Code == Mono.Cecil.Cil.Code.Stfld + || il.OpCode.Code == Mono.Cecil.Cil.Code.Ldflda) //访问自身的field + { + var fieldRef = il.Operand as FieldReference; + if (fieldRef.DeclaringType.FullName == method.DeclaringType.FullName) + { + return false; + } + } + else if (il.OpCode.Code == Mono.Cecil.Cil.Code.Sizeof) //mono和il2cpp的类型字段不一样,用sizeof会有问题 + { + if (il.Operand is GenericParameter) + { + return false; + } + } + else if (il.OpCode.Code == Mono.Cecil.Cil.Code.Initobj) + { + var initobj = il.Operand as TypeReference; + if (initobj.HasGenericParameters) + { + Console.WriteLine("ignoreMethod: " + initobj.FullName); + return false; + } + } + + } + } + return true; + } + + public static bool CheckMethodOnlyCallInternal(MethodDefinition method, List calledMethods, List refMethods = null) { - if (!Filter(method.ReturnType) || !Filter(method.DeclaringType) || method.DeclaringType.IsNotPublic) + if (refMethods == null) + { + refMethods = new List(16); + } + if (method.HasBody) + { + for (int i = 0; i < method.Body.Instructions.Count; i++) + { + var il = method.Body.Instructions[i]; + if (il.OpCode.Code == Mono.Cecil.Cil.Code.Call || il.OpCode.Code == Mono.Cecil.Cil.Code.Callvirt) + { + var cmethod = il.Operand as MethodReference; + var methodDef = cmethod.Resolve(); + if (refMethods.Contains(methodDef)) + { + continue; + } + else + { + refMethods.Add(methodDef); + } + + //{T}/{T[]}类型的参数可以作为函数返回值 + if (!methodDef.ReturnType.IsGenericParameter()) + { + if (!Utils.Filter(methodDef.ReturnType)) + { + return false; + } + } + + if (methodDef.IsInternalCall) + { + //Binder.AddMethod(methodDef); + calledMethods.Add(methodDef); + } + else + { + //调用自身的pulic函数可以优化 + if(methodDef.IsPublic && methodDef.DeclaringType == method.DeclaringType && (!methodDef.DeclaringType.IsNested || methodDef.DeclaringType.IsNestedPublic) && Utils.Filter(methodDef, DllRuntime.Mono, refMethods)) + { + calledMethods.Add(methodDef); + } + else + { + if (!CheckMethodOnlyCallInternal(methodDef, calledMethods, refMethods)) + { + return false; + } + else + { + //Binder.AddMethod(methodDef); + calledMethods.Add(methodDef); + } + } + + } + } + else + { + if (il.OpCode.Code == Mono.Cecil.Cil.Code.Ldfld || il.OpCode.Code == Mono.Cecil.Cil.Code.Ldsfld + || il.OpCode.Code == Mono.Cecil.Cil.Code.Ldflda || il.OpCode.Code == Mono.Cecil.Cil.Code.Ldsflda + || il.OpCode.Code == Mono.Cecil.Cil.Code.Stfld || il.OpCode.Code == Mono.Cecil.Cil.Code.Stsfld + || il.OpCode.Code == Mono.Cecil.Cil.Code.Initobj || il.OpCode.Code == Mono.Cecil.Cil.Code.Newobj + || il.OpCode.Code == Mono.Cecil.Cil.Code.Newarr) + { + return false; + } + } + } + } + return true; + } + + /// + /// 函数不访问自身的field,这样的函数可以安全的only in mono。 + /// + /// + /// + /// + public static bool CheckMethodNoAffectsToSelf(MethodDefinition method, List calledMethods, List refMethods = null) + { + if(refMethods == null) + { + refMethods = new List(16); + } + if (method.HasBody) + { + for (int i = 0; i < method.Body.Instructions.Count; i++) + { + var il = method.Body.Instructions[i]; + if (il.OpCode.Code == Mono.Cecil.Cil.Code.Ldfld || il.OpCode.Code == Mono.Cecil.Cil.Code.Ldsfld + || il.OpCode.Code == Mono.Cecil.Cil.Code.Ldflda || il.OpCode.Code == Mono.Cecil.Cil.Code.Ldsflda) + { + var field = il.Operand as FieldReference; + //访问自身的成员 + if (field.DeclaringType.FullName == method.DeclaringType.FullName) + { + return false; + } + } + else if (il.OpCode.Code == Mono.Cecil.Cil.Code.Stfld || il.OpCode.Code == Mono.Cecil.Cil.Code.Stsfld) + { + var field = il.Operand as FieldReference; + //访问自身的成员 + if (field.DeclaringType.FullName == method.DeclaringType.FullName) + { + return false; + } + } + else if (il.OpCode.Code == Mono.Cecil.Cil.Code.Callvirt || il.OpCode.Code == Mono.Cecil.Cil.Code.Call) + { + var cmethod = il.Operand as MethodReference; + var methodDef = cmethod.Resolve(); + if (refMethods.Contains(methodDef)) + { + continue; + } + else + { + refMethods.Add(methodDef); + } + if (methodDef.IsInternalCall) + { + //Binder.AddMethod(methodDef); + calledMethods.Add(methodDef); + continue; + } + + //访问non public函数 + if(!methodDef.IsPublic || (methodDef.DeclaringType.IsNotPublic && (methodDef.IsPublic || methodDef.IsFamily))) + { + //if (methodDef.DeclaringType.FullName == method.DeclaringType.FullName) + { + if (!CheckMethodNoAffectsToSelf(methodDef, calledMethods, refMethods)) + { + return false; + } + return false; + } + } + + //mono侧内不能用reflection,访问到的函数或者字段可能有误 + if (cmethod.FullName.Contains("System.Reflection")) + { + return false; + } + + //interface的函数 + //if (methodDef.DeclaringType.IsInterface) + //{ + // if (!Filter(methodDef, DllRuntime.Mono, methods)) + // { + // return false; + // } + //} + + //if (!Filter(methodDef, DllRuntime.Mono) || !CheckMethodNoAffectsToSelf(methodDef)) + //{ + // return false; + //} + }else if(il.OpCode.Code == Mono.Cecil.Cil.Code.Newobj) + { + var ctorMethod = (il.Operand as MethodReference).Resolve(); + if (ctorMethod != null) + { + calledMethods.Add(ctorMethod); + //Binder.AddMethod(ctorMethod); + } + + } + } + } + + return true; + } + + public static bool IsMethodHasParamArgument(MethodDefinition method) + { + foreach(var p in method.Parameters) + { + if(p.IsOut || p.CustomAttributes.Any(x => x.AttributeType.Name == "ParamArrayAttribute")) + { + return true; + } + } + return false; + } + + public static bool IsMethodImplInterface(MethodDefinition method) + { + foreach(var i in method.DeclaringType.Interfaces) + { + foreach(var m in i.InterfaceType.Resolve().Methods) + { + if(m.CompareSignature(method)) + { + return true; + } + } + } + return false; + } + + public static bool IsMethodCalledBySelf(MethodDefinition method) + { + var dt = method.DeclaringType; + foreach (var m in dt.Methods) + { + if (m.HasBody) + { + for (int i = 0; i < m.Body.Instructions.Count; i++) + { + var il = m.Body.Instructions[i]; + if (il.OpCode.Code == Mono.Cecil.Cil.Code.Callvirt || il.OpCode.Code == Mono.Cecil.Cil.Code.Call) + { + var cmethod = il.Operand as MethodReference; + if (cmethod.MetadataToken.ToInt32() == method.MetadataToken.ToInt32()) + { + return true; + } + } + } + } + } + return false; + } + + //public static bool IsMethodOnlyExeInMono(MethodDefinition method) + //{ + // return method.IsInternalCall || ((!method.IsPublic || (method.DeclaringType.IsNotPublic && (method.IsPublic || method.IsFamily))) && Utils.CheckMethodNoAffectsToSelf(method)); + //} + + public static MethodDefinition GetMethodByToken(TypeDefinition typeDefinition, int token) + { + foreach (var m in typeDefinition.Methods) + { + if (m.MetadataToken.ToInt32() == token) + { + return m; + } + } + return null; + } + + public static bool FilterStructMethod(MethodDefinition method, List calledMethods = null) + { + if(method == null) + { return false; + } + foreach(var m in IgnoreMethodsSet) + { + if (method.FullName.StartsWith(m)) + { + return false; + } + } + + if (method.HasGenericParameters) + { + if (Utils.IsGenericMethodWithoutGenericType(method, calledMethods)) + { + return true; + } + } + else + { + if (method.IsInternalCall) + { + if(calledMethods != null) + { + calledMethods.Add(method); + } + return true; + } + else + { + HashSet calledM = new HashSet(4); + if (method.HasBody) + { + for (int i = 0; i < method.Body.Instructions.Count; i++) + { + var il = method.Body.Instructions[i]; + if (il.OpCode.Code == Mono.Cecil.Cil.Code.Call || il.OpCode.Code == Mono.Cecil.Cil.Code.Callvirt) + { + var methodDef = (il.Operand as Mono.Cecil.MethodReference).Resolve(); + if (!methodDef.DeclaringType.FullName.StartsWith("System.Nullable") && !Utils.Filter(methodDef.DeclaringType)) + { + return false; + } + if (methodDef != null && methodDef.HasGenericParameters) + { + if (!Utils.IsGenericMethodWithoutGenericType(methodDef, calledMethods)) + { + return false; + } + } + calledM.Add(methodDef); + } + } + } + + if (/*Utils.Filter(m, DllRuntime.Mono) && */(method.IsPublic || method.IsAssembly || (method.IsPrivate && (method.IsConstructor || Utils.IsMethodCalledBySelf(method) || Utils.IsMethodImplInterface(method))))) + { + if(calledMethods != null) + { + calledMethods.AddRange(calledM); + } + return true; + } + } + } + return false; + } + + public static bool Filter(MethodDefinition method, DllRuntime runtime, List checkedMethods = null) + { + foreach (var m in IgnoreMethodsSet) + { + if (method.FullName.StartsWith(m)) + { + return false; + } + } + if (checkedMethods == null) + { + checkedMethods = new List(16); + } + if (!Filter(method.DeclaringType)) + { + return false; + } + + if (runtime == DllRuntime.IL2Cpp) + { + if (method.DeclaringType.IsNotPublic) + { + return false; + } + }else if(runtime == DllRuntime.Mono) + { + if (!(method.IsInternalCall || method.DeclaringType.IsPublic || method.DeclaringType.IsNestedPublic || (method.DeclaringType.IsNotPublic && (method.IsFamily || method.IsPublic)))) + { + return false; + } + } + + //generic parameter vs generic instance + if (!method.ReturnType.IsGenericParameter) + { + if (!Filter(method.ReturnType)) + { + return false; + } + } if (IsObsolete(method)) return false; if (method.GenericParameters != null && method.GenericParameters.Count > 0) - return false; + { + if(runtime == DllRuntime.Mono) + { + var calledMethods = new List(); + if (!IsGenericMethodWithoutGenericType(method, calledMethods, checkedMethods)) + { + return false; + } + else + { + foreach(var m in calledMethods) + { + Binder.AddMethod(m); + } + } + } + else //il2cpp侧不支持泛型函数 + { + return false; + } + } foreach (var p in method.Parameters) { + //TODO: params关键字修饰的参数不支持(只在mono侧的可以) + if ((method.IsConstructor || runtime == DllRuntime.IL2Cpp) && p.CustomAttributes.Any(x => x.AttributeType.Name == "ParamArrayAttribute")) + { + return false; + } if (p.ParameterType.IsByReference && !p.ParameterType.GetElementType().IsValueType) + { return false; + } if (p.ParameterType.IsPointer && method.IsConstructor && method.DeclaringType.IsStruct()) + { + return false; + } + if (method.IsConstructor && p.ParameterType.Resolve().IsDelegate()) //ctor不支持带delegate的参数 + { return false; + } if (p.IsOut) - return false; - - if (!Filter(p.ParameterType)) - return false; + { + var refType = p.ParameterType.Resolve(); + if (runtime == DllRuntime.Mono && (refType.IsValueType || refType.IsSubclassOf("UnityEngine.Object") || (refType.IsArray && (p.ParameterType as Mono.Cecil.ArrayType).ElementType.Resolve().IsSubclassOf("UnityEngine.Object")))) + { + + } + else + { + return false; + } + } + if (!p.ParameterType.IsGenericParameter) + { + if (!Filter(p.ParameterType)) + { + return false; + } + } + } if (method.ReturnType.FullName == "System.Threading.Tasks.Task") // async @@ -224,15 +822,27 @@ public static bool IsObsolete(ICustomAttributeProvider method) public static bool Filter(TypeReference type) { if (DropTypes.Contains(type)) + { return false; + } + if (Binder.retainTypes.Contains(type.FullName)) + { return true; + } + + //mono的stream对象和il2cpp的stream对象不兼容 + if (type.FullName.StartsWith("System.IO.Stream")) + { + return false; + } foreach (var t in IgnoreTypeSet) { if (type.FullName.Contains(t)) { + Log("ignorType: " + type.FullName); DropTypes.Add(type); return false; } @@ -246,6 +856,7 @@ public static bool Filter(TypeReference type) { if(t != null && !Utils.Filter(t)) { + Log("ignorType: " + type.FullName); DropTypes.Add(type); return false; } @@ -254,43 +865,124 @@ public static bool Filter(TypeReference type) if (type.IsGeneric() && !(IsDelegate(type))) // { - Log("ignorType: " + type.FullName); - DropTypes.Add(type); - return false; + + var typeDef = type.Resolve(); + if (typeDef != null && typeDef.IsInterface) //nullable作为特殊的泛型可以支持 + { + var a = 1; + } + else + { + //if (type.IsGenericParameter) + //{ + // var b = 1; + //}else + { + Log("ignorType: " + type.FullName); + DropTypes.Add(type); + return false; + } + + } + } - if(IsException(type)) + if (IsException(type)) { - Log("ignorType: " + type.FullName); - DropTypes.Add(type); - return false; + if(type.FullName != "System.Exception") + { + var exType = type.Resolve(); + foreach (var f in exType.Fields) + { + var ft = f.FieldType.Resolve(); + if (!(ft.IsPrimitive || ft.FullName == "System.String" || ft.IsEnum)) + { + Log("ignorType: " + type.FullName); + DropTypes.Add(type); + return false; + } + } + } } + var td = type.Resolve(); if (type.IsArray) { - DropTypes.Add(type); - return false; + var arrayType = type as Mono.Cecil.ArrayType; + var eleType = arrayType.ElementType; + if(IsDelegate(eleType) || eleType.IsArray || !Utils.Filter(eleType) || arrayType.Rank != 1) + { + Log("ignorType: " + type.FullName); + DropTypes.Add(type); + return false; + } } - if (IsAttribute(type)) + //if (IsAttribute(type)) + //{ + // var atype = type.Resolve(); + // foreach (var f in atype.Fields) + // { + // var ft = f.FieldType.Resolve(); + // if (!(ft.IsPrimitive || ft.FullName == "System.String" || ft.IsEnum)) + // { + // Log("ignorType: " + type.FullName); + // DropTypes.Add(type); + // return false; + // } + // } + //} + + if (td != null && (IsObsolete(td)))// || td.IsInterface)) { + Log("ignorType: " + type.FullName); DropTypes.Add(type); return false; } - - - var td = type.Resolve(); - if (td != null && (IsObsolete(td) || td.IsInterface)) - { - DropTypes.Add(type); - return false; - } + //if(td != null && td.IsInterface) + //{ + // foreach(var f in td.Fields) + // { + // if(f.FieldType.Resolve() != td && !Utils.Filter(f.FieldType)) + // { + // DropTypes.Add(type); + // return false; + // } + // } + + // foreach (var f in td.Properties) + // { + // if (f.PropertyType.Resolve() != td && !Utils.Filter(f.PropertyType)) + // { + // DropTypes.Add(type); + // return false; + // } + // } + + // foreach (var f in td.Methods) + // { + // foreach(var p in f.Parameters) + // { + // if(p.ParameterType.Resolve() != td && !Utils.Filter(p.ParameterType)) + // { + // DropTypes.Add(type); + // return false; + // } + // } + // if (f.ReturnType.Resolve() != td && !Utils.Filter(f.ReturnType)) + // { + // DropTypes.Add(type); + // return false; + // } + // } + //} if (td != null && td.IsStruct()) { if(!IsFullValueType(td)) { + Log("ignorType: " + type.FullName); DropTypes.Add(type); return false; } @@ -298,6 +990,7 @@ public static bool Filter(TypeReference type) { if (!f.IsStatic && !Utils.Filter(f.FieldType)) { + Log("ignorType: " + type.FullName); DropTypes.Add(type); return false; } @@ -306,10 +999,16 @@ public static bool Filter(TypeReference type) var ct = type.BaseType(); - while(ct != null) + while (ct != null) { + //exception不用检查 + if (ct != null && ct.FullName == "System.Exception") + { + break; + } if (!Filter(ct)) { + Log($"ignorType: {type.FullName} base {ct.FullName}"); DropTypes.Add(type); return false; } @@ -524,17 +1223,19 @@ public static List GetDelegateParams(TypeReference type, TypeRefe if (type.IsGenericInstance) { var gType = type as GenericInstanceType; - types.AddRange(gType.GenericArguments); - returnType = null; - - if (type.Name.StartsWith("Func")) - { - returnType = types.Last(); - types.Remove(returnType); - } - return types; + invokMethod = gType.Resolve().Methods.Where(m => m.Name == "Invoke").FirstOrDefault(); + //types.AddRange(gType.GenericArguments); + //returnType = null; + + //if (type.Name.StartsWith("Func")) + //{ + // returnType = types.Last(); + // types.Remove(returnType); + //} + //return types; } - else if(invokMethod != null) + + if(invokMethod != null) { foreach (var p in invokMethod.Parameters) { @@ -559,7 +1260,7 @@ public static List GetDelegateParams(TypeReference type, TypeRefe static Dictionary delegateSignDic = new Dictionary(); - public static string GetDelegateWrapTypeName(TypeReference type, TypeReference delegateTarget) + public static string GetDelegateWrapTypeName(TypeReference type, TypeReference delegateTarget, bool forMarshal = false) { var paramTpes = Utils.GetDelegateParams(type, delegateTarget, out var returnType); @@ -567,14 +1268,18 @@ public static string GetDelegateWrapTypeName(TypeReference type, TypeReference d for (int i = 0; i < paramTpes.Count; i++) { var p = paramTpes[i]; - paramDeclear += $"{TypeResolver.Resolve(p).TypeName()} arg{i} "; + paramDeclear += $"{TypeResolver.Resolve(p, null, MemberTypeSlot.Parameter).TypeName(forMarshal)} arg{i} "; //TODO: TypeResolver.Resolve(p).Paramer($"arg{i}"); if (i != paramTpes.Count - 1) paramDeclear += ","; } paramDeclear += ")"; - var returnName = returnType == null ? "void" : TypeResolver.Resolve(returnType).TypeName(); - var sign = paramDeclear + returnName; + var retTypeResolver = returnType != null ? TypeResolver.Resolve(returnType, null, MemberTypeSlot.ReturnType, MethodTypeSlot.GeneratedMethod) : null; + //il2cpp内的定义仍然保持原样,因为在生成cpp文件时,非blittable都以指针形式存在 + var returnName = returnType == null ? "void" : retTypeResolver.TypeName(forMarshal); + //mono内的delegate,如果返回值是非blittable类型,必须要定义为IntPtr,避免Marshal将返回值释放掉,返回空指针。 + //var returnNameWrap = returnType == null ? "void" : retTypeResolver.TypeName(true); + var sign = type.FullName + paramDeclear + returnName + (forMarshal ? "_forMarshal" : ""); var delegateName = ""; if(!delegateSignDic.TryGetValue(sign,out delegateName)) { @@ -583,8 +1288,9 @@ public static string GetDelegateWrapTypeName(TypeReference type, TypeReference d } var define = $"public delegate {returnName} {delegateName} {paramDeclear}"; + //var wrapDefine = $"public delegate {returnNameWrap} {delegateName} {paramDeclear}"; - GenerateBindings.AddDelegateDefine(define); + GenerateBindings.AddDelegateDefine(define, define); return delegateName; } @@ -673,6 +1379,23 @@ public static bool IsFullValueType(TypeReference _type) return true; } + + public static bool IsBlittableType(TypeReference _type) + { + if (_type.IsPointer) + _type = _type.GetElementType(); + var type = _type.Resolve(); + + if (type == null) + return false; + + if (!_type.IsArray && (_type.IsPrimitive || type.IsEnum)) + { + return true; + } + return false; + } + public static bool IsUnsafeMethod(MethodDefinition method) { if (method.ReturnType.IsPointer) @@ -766,8 +1489,113 @@ public static bool IsUnityICallBind(TypeReference _type) return false; } + public static bool IsVisibleToOthers(MethodDefinition method) + { + return method.IsPublic;// || (method.IsInternalCall || method.CustomAttributes.Any(x => x.AttributeType.Name == "VisibleToOtherModulesAttribute")); + } + + + public static bool IsInternalCallVisibleToOthers(MethodDefinition method) + { + return method.IsInternalCall && ((method.CustomAttributes.Any(x => x.AttributeType.Name == "VisibleToOtherModulesAttribute")) || CSharpForceRetainMethods.Any(x=>method.FullName.StartsWith(x)));// || method.IsAssembly); + } + + + public static bool IsFieldSerializable(FieldDefinition field) + { + if(field.IsPublic || field.CustomAttributes.Any(x=>x.AttributeType.Name == "SerializeFieldAttribute") || (field.FieldType.IsStruct() && field.FieldType.Resolve().CustomAttributes.Any(x => x.AttributeType.Name == "SerializableAttribute"))) + { + if(field.HasConstant || field.IsStatic || field.IsInitOnly) + { + return false; + } + + var dt = field.FieldType; + if(dt.IsArray) + { + var arrayType = dt as Mono.Cecil.ArrayType; + var eleType = arrayType.ElementType; + if(IsTypeSerializable(eleType)) + { + return true; + } + return false; + } + else + { + return IsTypeSerializable(dt); + } + } + + return false; + } + + public static bool IsTypeSerializable(TypeReference type) + { + var td = type.Resolve(); + if (!td.IsValueType) + { + if (td.IsSubclassOf("UnityEngine.Object")) + { + return true; + } + else if(td.IsString()) + { + return true; + } + else + { + //non-static class which has SerializableAttribute + if (!(td.IsSealed && td.IsAbstract) && td.CustomAttributes.Any(x => x.AttributeType.Name == "SerializableAttribute")) + { + return true; + } + else + { + return false; + } + } + } + else if (td.IsStruct(false)) + { + //Unity doest not support custom struct for serialization, use class with SerializableAttribute + if (td.FullName.StartsWith("UnityEngine.") || td.CustomAttributes.Any(x => x.AttributeType.Name == "SerializableAttribute")) + { + return true; + } + else + { + return false; + } + } + else + { + if (td.IsString() || td.IsEnum || IsBlittableType(td)) + { + return true; + } + return false; + } + } + + public static bool IsClassSerializable(TypeReference type) + { + var td = type.Resolve(); + if(!td.IsClass) + { + return false; + } + if (td.IsSubclassOf("UnityEngine.Object")) + { + return true; + } + if (!(td.IsSealed && td.IsAbstract) && td.CustomAttributes.Any(x => x.AttributeType.Name == "SerializableAttribute")) + { + return true; + } + return true; + } - public static int RunCMD(string cmd, string[] args, string workdir = null) { @@ -820,16 +1648,17 @@ public static void CollectMonoAssembly(string entry, string dir, HashSet if (!refName.EndsWith(".dll")) refName += ".dll"; - if (adapterSet.Contains(refName)) - continue; + //TODO:为啥Adapter的引用不计算在内,实际上entry.dll会依赖于adapter.dll + //if (adapterSet.Contains(refName)) + // continue; CollectMonoAssembly(refName, dir, adapterSet, outSet); } } - public static Dictionary TokenMap; - public static string GetMemberDelcear(IMemberDefinition member, HashSet stripInterface = null) + //public static Dictionary TokenMap; + public static string GetMemberDelcear(IMemberDefinition member, Dictionary tokenMap = null, HashSet stripInterface = null) { var method = member as MethodDefinition; if(method != null) @@ -844,8 +1673,17 @@ public static string GetMemberDelcear(IMemberDefinition member, HashSet StringWriter writer = new StringWriter(); var output = new MemberDeclearVisitor(false, writer, Binder.DecompilerSetting.CSharpFormattingOptions); if (stripInterface != null) + { output.stripInterfaceSet = stripInterface; - TokenMap[token].AcceptVisitor(output); + } + if (tokenMap != null && tokenMap.TryGetValue(token, out var map)) + { + map.AcceptVisitor(output); + }else + { + Log("Key Not Found: " + member.ToString()); + } + //TokenMap[token].AcceptVisitor(output); return writer.ToString(); } @@ -864,6 +1702,7 @@ public static void CopyDir(string src,string tar,string postfix) } } } + } public class NameCounter diff --git a/BindGenerater/Generater/Visitor/CustomOutputVisitor.cs b/BindGenerater/Generater/Visitor/CustomOutputVisitor.cs index 9b32685..3e3cbbb 100644 --- a/BindGenerater/Generater/Visitor/CustomOutputVisitor.cs +++ b/BindGenerater/Generater/Visitor/CustomOutputVisitor.cs @@ -4,6 +4,7 @@ using ICSharpCode.Decompiler.CSharp.Transforms; using ICSharpCode.Decompiler.Semantics; using ICSharpCode.Decompiler.TypeSystem; +using ICSharpCode.Decompiler.CSharp; using System; using System.Collections.Generic; using System.IO; @@ -25,7 +26,7 @@ public class CustomOutputVisitor : CSharpOutputVisitor public bool AddWObject = false; public bool isFullRetain = false; - string curTypeName = null; + protected string curTypeName = null; public CheckTypeRefVisitor checkTypeRefVisitor; public CustomOutputVisitor(bool _isNested, TextWriter textWriter, CSharpFormattingOptions formattingPolicy) : base(textWriter, formattingPolicy) @@ -114,7 +115,8 @@ protected void ResolveTypeDeclear(TypeDeclaration typeDeclaration) var res = t.Annotation(); var td = res.Type.GetDefinition(); var fullName = td == null ? res.Type.FullName : td.FullTypeName.ReflectionName; - if ((res.Type.Kind == TypeKind.Interface && !res.Type.Namespace.StartsWith("System") && !Binder.retainTypes.Contains(fullName)) || stripInterfaceSet.Contains(res.Type.Name)) + //struct的接口不进行裁剪 + if ((res.Type.Kind == TypeKind.Interface && typeDeclaration.ClassType != ClassType.Struct && !res.Type.Namespace.StartsWith("System") && !Binder.retainTypes.Contains(fullName)) || stripInterfaceSet.Contains(res.Type.Name)) dList.Add(t); } foreach (var t in dList) @@ -135,7 +137,8 @@ public override void VisitTypeDeclaration(TypeDeclaration typeDeclaration) { if (!string.IsNullOrEmpty(curTypeName) && !isFullRetain) return; - + //nested type + var prevName = curTypeName; curTypeName = typeDeclaration.Name; var type = typeDeclaration.Annotation().Type; if (IgnoreNestType.Contains(type.Name)) @@ -144,6 +147,7 @@ public override void VisitTypeDeclaration(TypeDeclaration typeDeclaration) ResolveTypeDeclear(typeDeclaration); base.VisitTypeDeclaration(typeDeclaration); + curTypeName = prevName; } public override void VisitMethodDeclaration(MethodDeclaration methodDeclaration) @@ -162,16 +166,197 @@ public override void VisitMethodDeclaration(MethodDeclaration methodDeclaration) public override void VisitSimpleType(SimpleType simpleType) { var res = simpleType.Resolve() as TypeResolveResult; - if(res != null ) + if (res != null) { var td = res.Type.GetDefinition(); - if(td != null && !td.Namespace.StartsWith("System")) + if (td != null && !td.Namespace.StartsWith("System")) InternalTypeRef.Add(td.FullTypeName.ReflectionName); } base.VisitSimpleType(simpleType); } } +public class StructOutputVisitor : CustomOutputVisitor +{ + public HashSet NamespaceRef = new HashSet(); + public List CalledMethods = new List(); + //public HashSet CopyedMethods = new HashSet(); + + ClassGenerater classGenerater; + private MetadataModule module; + + public StructOutputVisitor(ClassGenerater generater, CSharpDecompiler decompiler, bool _isNested, TextWriter textWriter, CSharpFormattingOptions formattingPolicy) : base(_isNested, textWriter, formattingPolicy) + { + classGenerater = generater; + module = decompiler.TypeSystem.MainModule; + } + + public override void VisitFieldDeclaration(FieldDeclaration fieldDeclaration) + { + + //if (fieldDeclaration.HasModifier(Modifiers.Static) && !fieldDeclaration.HasModifier(Modifiers.Readonly)) + // return; + + //if (fieldDeclaration.HasModifier(Modifiers.Static) && fieldDeclaration.HasModifier(Modifiers.Readonly) && !fieldDeclaration.HasModifier(Modifiers.Public)) + // return; + + base.VisitFieldDeclaration(fieldDeclaration); + } + + public override void VisitIndexerDeclaration(IndexerDeclaration indexerDeclaration) + { + base.VisitIndexerDeclaration(indexerDeclaration); + } + + public override void VisitConstructorDeclaration(ConstructorDeclaration constructorDeclaration) + { + var curType = classGenerater.GenType; + if (curTypeName != classGenerater.GenType.Name) + { + foreach (var nt in classGenerater.GenType.NestedTypes) + { + if (nt.Name == curTypeName) + { + curType = nt; + } + } + } + var m = Utils.GetMethodByToken(curType, constructorDeclaration.GetToken()); + if (Utils.FilterStructMethod(m, CalledMethods)) + { + base.VisitConstructorDeclaration(constructorDeclaration); + } + else + { + CalledMethods.Clear(); + } + } + + public override void VisitOperatorDeclaration(OperatorDeclaration operatorDeclaration) + { + base.VisitOperatorDeclaration(operatorDeclaration); + } + + public override void VisitMethodDeclaration(MethodDeclaration methodDeclaration) + { + //if (classGenerater.RetainDic.ContainsKey(methodDeclaration.GetToken())) + //{ + // return; + //} + var curType = classGenerater.GenType; + if (curTypeName != classGenerater.GenType.Name) + { + foreach (var nt in classGenerater.GenType.NestedTypes) + { + if(nt.Name == curTypeName) + { + curType = nt; + } + } + } + var m = Utils.GetMethodByToken(curType, methodDeclaration.GetToken()); + if (Utils.FilterStructMethod(m, CalledMethods)) + { + VisitMethod(methodDeclaration); + } + else if (m.IsPublic) + { + var strWriter = new StringWriter(); + using (new CS(new CodeWriter(strWriter))) + { + var methodGen = new MethodGenerater(m, classGenerater); + methodGen.GenerateCode(); + } + + writer.WritePrimitiveType(strWriter.ToString()); + } + } + + private void VisitMethod(MethodDeclaration methodDeclaration) + { + var member = methodDeclaration.Resolve() as MemberResolveResult; + RequiredNamespaceCollector.CollectNamespaces(member.Member, module, NamespaceRef); + base.VisitMethodDeclaration(methodDeclaration); + return; + } + + + public override void VisitPropertyDeclaration(PropertyDeclaration propertyDeclaration) + { + base.VisitPropertyDeclaration(propertyDeclaration); + } + //public override void VisitAttribute(Attribute attribute) + //{ + // var res = attribute.Type.Resolve() as TypeResolveResult; + // if (res != null) + // { + // var td = res.Type.GetDefinition(); + // if (td != null) + // { + // InternalTypeRef.Add(td.FullTypeName.ReflectionName); + // } + // } + // base.VisitAttribute(attribute); + //} +} + +public class InterfaceOutputVisitor : CustomOutputVisitor +{ + public HashSet NamespaceRef = new HashSet(); + + ClassGenerater classGenerater; + private MetadataModule module; + + public InterfaceOutputVisitor(ClassGenerater generater, CSharpDecompiler decompiler, bool _isNested, TextWriter textWriter, CSharpFormattingOptions formattingPolicy) : base(_isNested, textWriter, formattingPolicy) + { + classGenerater = generater; + module = decompiler.TypeSystem.MainModule; + } + + public override void VisitFieldDeclaration(FieldDeclaration fieldDeclaration) + { + return; + } + + public override void VisitIndexerDeclaration(IndexerDeclaration indexerDeclaration) + { + return; + } + + public override void VisitConstructorDeclaration(ConstructorDeclaration constructorDeclaration) + { + return; + } + + public override void VisitOperatorDeclaration(OperatorDeclaration operatorDeclaration) + { + base.VisitOperatorDeclaration(operatorDeclaration); + } + + public override void VisitMethodDeclaration(MethodDeclaration methodDeclaration) + { + //var member = methodDeclaration.Resolve() as MemberResolveResult; + foreach(var m in classGenerater.GenType.Methods) + { + if(m.MetadataToken.ToInt32() == methodDeclaration.GetToken() && Utils.Filter(m, classGenerater.GetRuntime())) + { + base.VisitMethodDeclaration(methodDeclaration); + } + } + } + public override void VisitPropertyDeclaration(PropertyDeclaration propertyDeclaration) + { + foreach (var p in classGenerater.GenType.Properties) + { + if (p.MetadataToken.ToInt32() == propertyDeclaration.GetToken() && Utils.Filter(p)) + { + base.VisitPropertyDeclaration(propertyDeclaration); + } + } + } +} + + public class BlittablePartOutputVisitor : CustomOutputVisitor { public BlittablePartOutputVisitor(bool _isNested, TextWriter textWriter, CSharpFormattingOptions formattingPolicy) : base(_isNested, textWriter, formattingPolicy) @@ -235,7 +420,170 @@ protected override void WriteMethodBody(BlockStatement body, BraceStyle style) public override void VisitConstructorInitializer(ConstructorInitializer constructorInitializer) { if (!hasBodyBlock) + { return; + } + base.VisitConstructorInitializer(constructorInitializer); + } + + public override void VisitPropertyDeclaration(PropertyDeclaration propertyDeclaration) + { + if (!hasBodyBlock) + { + StartNode(propertyDeclaration); + WriteAttributes(propertyDeclaration.Attributes); + WriteModifiers(propertyDeclaration.ModifierTokens); + propertyDeclaration.ReturnType.AcceptVisitor(this); + Space(); + WritePrivateImplementationType(propertyDeclaration.PrivateImplementationType); + WriteIdentifier(propertyDeclaration.NameToken); + EndNode(propertyDeclaration); + return; + } + base.VisitPropertyDeclaration(propertyDeclaration); + } + + public override void VisitTypeDeclaration(TypeDeclaration typeDeclaration) + { + ResolveTypeDeclear(typeDeclaration); + + if (!hasBodyBlock) + { + StartNode(typeDeclaration); + WriteModifiers(typeDeclaration.ModifierTokens); + BraceStyle braceStyle; + switch (typeDeclaration.ClassType) + { + case ClassType.Enum: + WriteKeyword(Roles.EnumKeyword); + braceStyle = policy.EnumBraceStyle; + break; + case ClassType.Interface: + WriteKeyword(Roles.InterfaceKeyword); + braceStyle = policy.InterfaceBraceStyle; + break; + case ClassType.Struct: + WriteKeyword(Roles.StructKeyword); + braceStyle = policy.StructBraceStyle; + break; + default: + WriteKeyword(Roles.ClassKeyword); + braceStyle = policy.ClassBraceStyle; + break; + } + WriteIdentifier(typeDeclaration.NameToken); + WriteTypeParameters(typeDeclaration.TypeParameters); + if (typeDeclaration.BaseTypes.Any()) + { + Space(); + WriteToken(Roles.Colon); + Space(); + WriteCommaSeparatedList(typeDeclaration.BaseTypes); + } + + return; + } + + base.VisitTypeDeclaration(typeDeclaration); + } + +} + +public class MonoProxyMemberDeclearVisitor : CustomOutputVisitor +{ + bool hasBodyBlock; + public HashSet NamespaceRef; + private MetadataModule module; + + public MonoProxyMemberDeclearVisitor(CSharpDecompiler decompiler, TextWriter textWriter, CSharpFormattingOptions formattingPolicy) : base(false, textWriter, formattingPolicy) + { + hasBodyBlock = false; + NamespaceRef = new HashSet(16); + module = decompiler.TypeSystem.MainModule; + } + + protected void ResolveTypeDeclear(TypeDeclaration typeDeclaration) + { + List dList = new List(); + foreach (var t in typeDeclaration.BaseTypes) + { + var res = t.Annotation(); + //mono proxy接口全裁剪 + if (res.Type.Kind == TypeKind.Interface) + { + dList.Add(t); + } + } + foreach (var t in dList) + { + typeDeclaration.BaseTypes.Remove(t); + } + } + + protected override void WriteMethodBody(BlockStatement body, BraceStyle style) + { + if (!hasBodyBlock) + return; + base.WriteMethodBody(body, style); + } + + public override void VisitMethodDeclaration(MethodDeclaration methodDeclaration) + { + var member = methodDeclaration.Resolve() as MemberResolveResult; + RequiredNamespaceCollector.CollectNamespaces(member.Member, module, NamespaceRef); + base.VisitMethodDeclaration(methodDeclaration); + } + + public override void VisitFieldDeclaration(FieldDeclaration fieldDeclaration) + { + //var member = fieldDeclaration.Resolve() as MemberResolveResult; + //RequiredNamespaceCollector.CollectNamespaces(member.Member, module, NamespaceRef); + if (!hasBodyBlock) + { + StartNode(fieldDeclaration); + WriteAttributes(fieldDeclaration.Attributes); + WriteModifiers(fieldDeclaration.ModifierTokens); + var res = fieldDeclaration.Annotation(); + + if (res.Type.Kind == TypeKind.Enum) + { + writer.WritePrimitiveType("int"); + } + else + { + fieldDeclaration.ReturnType.AcceptVisitor(this); + + } + Space(); + //WriteCommaSeparatedList(fieldDeclaration.Variables); + bool flag = true; + foreach (VariableInitializer item in fieldDeclaration.Variables) + { + if (flag) + { + flag = false; + } + else + { + Comma(item); + } + + //item.AcceptVisitor(this); + writer.WritePrimitiveType(item.Name); + } + Semicolon(); + EndNode(fieldDeclaration); + return; + } + base.VisitFieldDeclaration(fieldDeclaration); + } + + public override void VisitConstructorInitializer(ConstructorInitializer constructorInitializer) + { + if (!hasBodyBlock) + { + return; + } base.VisitConstructorInitializer(constructorInitializer); } diff --git a/BindGenerater/Generater/Visitor/RetainFilter.cs b/BindGenerater/Generater/Visitor/RetainFilter.cs index 4cdc5a4..4286aba 100644 --- a/BindGenerater/Generater/Visitor/RetainFilter.cs +++ b/BindGenerater/Generater/Visitor/RetainFilter.cs @@ -5,6 +5,7 @@ using System.Text; using System.Threading.Tasks; using Generater; +using Mono.Cecil; using ICSharpCode.Decompiler.CSharp; using ICSharpCode.Decompiler.CSharp.OutputVisitor; using ICSharpCode.Decompiler.CSharp.Resolver; @@ -15,7 +16,7 @@ using AstAttribute = ICSharpCode.Decompiler.CSharp.Syntax.Attribute; -public class RetainFilter :DepthFirstAstVisitor +public class RetainFilter : DepthFirstAstVisitor { public Dictionary RetainDic = new Dictionary(); public HashSet NamespaceRef = new HashSet(); @@ -26,12 +27,14 @@ public class RetainFilter :DepthFirstAstVisitor private string curTypeName; public bool InUnsafeNS; public bool isFullValueType; + public TypeDefinition typeDefinition; - public RetainFilter(int tarTypeToken, CSharpDecompiler decompiler) + public RetainFilter(TypeDefinition type, CSharpDecompiler decompiler) { + typeDefinition = type; module = decompiler.TypeSystem.MainModule; - targetTypeToken = tarTypeToken; + targetTypeToken = type.MetadataToken.ToInt32(); } // return true if need Wrap @@ -111,6 +114,10 @@ public override bool VisitConstructorDeclaration(ConstructorDeclaration construc var retain = !base.VisitConstructorDeclaration(constructorDeclaration); if (retain) { + if(!constructorDeclaration.HasModifier(Modifiers.Public) && constructorDeclaration.Parameters.Count == 0) + { + return false; + } var res = constructorDeclaration.Resolve() as MemberResolveResult; RetainDic[res.Member.MetadataToken.GetHashCode()] = constructorDeclaration; RequiredNamespaceCollector.CollectNamespaces(res.Member, module, NamespaceRef); @@ -125,7 +132,7 @@ public override bool VisitIndexerDeclaration(IndexerDeclaration indexerDeclarati if (retain) { var res = indexerDeclaration.Resolve() as MemberResolveResult; - RetainDic[res.Member.MetadataToken.GetHashCode()] = indexerDeclaration; + RetainDic[res.Member.MetadataToken.GetHashCode()] = indexerDeclaration; RequiredNamespaceCollector.CollectNamespaces(res.Member, module, NamespaceRef); } diff --git a/BindGenerater/Program.cs b/BindGenerater/Program.cs index 7bdedda..1a4fab6 100644 --- a/BindGenerater/Program.cs +++ b/BindGenerater/Program.cs @@ -12,6 +12,21 @@ namespace BindGenerater { + public class AsesemblyCheck + { + public string Assembly; + public string Source; + public string Filter; + } + + public enum BuildTargetPlatform + { + Android, + iOS, + StandaloneWindows, + StandaloneWindows64, + } + class Program { @@ -21,6 +36,7 @@ class BindOptions public HashSet AdapterSet; public HashSet InterpSet; public HashSet Entry; + public List AssembliesCheck; } public enum BindTarget { @@ -33,6 +49,8 @@ public enum BindTarget public static string ToolsetPath; public static BindTarget Mode; + public static BuildTargetPlatform Platform; + private static string il2cppOriginDir; static int Main(string[] args) { @@ -47,26 +65,53 @@ static int Main(string[] args) StartBinder(args); //StartTestBinder(); Utils.Log("Binder All Done.."); + } catch(Exception e) { Console.Error.WriteLine(e.ToString()); + //Console.ReadKey(); return 2; - } + } return 0; } static void StartBinder(string[] args) { if (args.Length < 2) + { return; + } var configFile = args[0]; ToolsetPath = args[1]; + if (args.Length >= 3) - Mode = (BindTarget)Enum.Parse(typeof(BindTarget), args[2]); + { + il2cppOriginDir = args[2]; + } else + { + throw new Exception("IL2Cpp origin directory not found"); + } + if (args.Length >= 4) + { + Mode = (BindTarget)Enum.Parse(typeof(BindTarget), args[3]); + } + else + { Mode = BindTarget.All; + } + + Mode = BindTarget.All; + if (args.Length >= 5) + { + Platform = (BuildTargetPlatform)Enum.Parse(typeof(BuildTargetPlatform), args[4]); + } + else + { + Platform = BuildTargetPlatform.Android; + } Console.WriteLine("start binder.."); Directory.SetCurrentDirectory(Path.GetDirectoryName(configFile)); @@ -74,26 +119,47 @@ static void StartBinder(string[] args) var json = File.ReadAllText(configFile); options = JsonConvert.DeserializeObject(json); - string managedDir = Path.Combine(options.ScriptEngineDir, "Managed"); + string monoManagedDir = Path.Combine(options.ScriptEngineDir, "Managed_mono"); + string il2cppManagedDir = Path.Combine(options.ScriptEngineDir, "Managed_il2cpp"); string orignDir = Path.Combine(options.ScriptEngineDir, "Managed_orign"); string adapterDir = Path.Combine(options.ScriptEngineDir, "Adapter"); + string platformLibDir = Path.Combine(options.ScriptEngineDir, "Tools"); + + //copy origin dll to dir + CreateOrCleanDirectory(orignDir); + Utils.CopyDir(il2cppOriginDir, orignDir, ".dll"); - Utils.CopyDir(orignDir,managedDir, ".dll"); - ReplaceMscorlib("lib", managedDir); + //clean + CreateOrCleanDirectory(monoManagedDir); + CreateOrCleanDirectory(il2cppManagedDir); + //copy to mono and il2cpp + Utils.CopyDir(orignDir, monoManagedDir, ".dll"); + Utils.CopyDir(orignDir, il2cppManagedDir, ".dll"); + ReplaceMscorlib("lib", monoManagedDir); + ReplaceMscorlib("lib", il2cppManagedDir); Binder.Init(Path.Combine(adapterDir, "glue")); - CSCGenerater.Init(ToolsetPath, adapterDir,managedDir, options.AdapterSet); + CSCGeneraterManager.Init(ToolsetPath, adapterDir, orignDir, monoManagedDir, il2cppManagedDir, Platform, options.AdapterSet, options.AssembliesCheck); + MonoBehaviorProxyManager.Init(orignDir, il2cppManagedDir, orignDir); CBinder.Init(Path.Combine(options.ScriptEngineDir, "generated")); - AOTGenerater.Init(options.ScriptEngineDir); + AOTGenerater.Init(options.ScriptEngineDir, Platform); + + foreach(var assembly in options.InterpSet) + { + MonoBehaviorProxyManager.GenIL2CppImplement(assembly); + } + MonoBehaviorProxyManager.End(); var assemblySet = new HashSet(); foreach(var entry in options.Entry) { Utils.CollectMonoAssembly(entry, orignDir, options.AdapterSet, assemblySet); } + CSCGeneraterManager.CompileIL2CppMonoBehaviourProxyDll(); - options.AdapterSet.UnionWith(assemblySet.Where(assem => assem.StartsWith("UnityEngine."))); + options.AdapterSet.UnionWith(assemblySet.Where(assem => assem.StartsWith("UnityEngine.") || assem.StartsWith("Unity."))); + Binder.Start(); foreach (var assembly in options.AdapterSet) { if (Config.Instance.IgnoreAssemblySet.Contains(assembly)) @@ -108,13 +174,13 @@ static void StartBinder(string[] args) } Binder.End(); - CSCGenerater.End(); + CSCGeneraterManager.CompileAdapterAndWrapperDll(); if (Mode == BindTarget.All) { // CBinder.Bind(CSCGenerater.AdapterWrapperCompiler.outName); - foreach (var filePath in Directory.GetFiles(managedDir)) + foreach (var filePath in Directory.GetFiles(monoManagedDir)) { var file = Path.GetFileName(filePath); if (file.EndsWith(".dll") && !Config.Instance.IgnoreAssemblySet.Contains(file)) @@ -141,12 +207,28 @@ static void StartBinder(string[] args) AOTGenerater.End(); } + //after build + BackupDir(il2cppOriginDir, true); + + //replace adapter by generated assembly + var il2cppCopyBack = new List(options.InterpSet); + il2cppCopyBack.Add("Adapter.gen.dll"); + foreach(var dll in il2cppCopyBack) + { + var newDll = Path.Combine(il2cppManagedDir, dll); + var oldDll = Path.Combine(il2cppOriginDir, dll); + if (File.Exists(newDll)) + { + File.Copy(newDll, oldDll, true); + //File.Delete(generatedAdapter); + } + } } public static void ReplaceMscorlib(string libDir, string outDir) { - var srcDir = Path.Combine(libDir, Utils.IsWin32() ? "win32" : "iOS"); + var srcDir = Path.Combine(libDir, Platform == BuildTargetPlatform.Android ? "Android" : (Platform == BuildTargetPlatform.iOS ? "iOS" : "win32"));// Path.Combine(libDir, Utils.IsWin32() ? "win32" : "iOS"); DirectoryInfo dir = new DirectoryInfo(srcDir); @@ -161,7 +243,50 @@ public static void ReplaceMscorlib(string libDir, string outDir) } } + static void CreateOrCleanDirectory(string dir) + { + if (Directory.Exists(dir)) + Directory.Delete(dir, true); + Directory.CreateDirectory(dir); + } + + public static void BackupDir(string workingDirectory, bool revert = false) + { + string BackupDir = workingDirectory + "_back"; + if (revert) + { + if (Directory.Exists(BackupDir)) + { + CopyManagedFile(BackupDir, workingDirectory); + Directory.Delete(BackupDir, true); + } + } + else + { + CopyManagedFile(workingDirectory, BackupDir); + } + } + + public static void CopyManagedFile(string workDir, string managedPath) + { + CreateOrCleanDirectory(managedPath); + + if (string.IsNullOrEmpty(workDir)) + { + Console.WriteLine(" ============ workDir is null"); + return; + } + + Console.WriteLine("copy dir : " + workDir); + var files = Directory.GetFiles(workDir); + foreach (string fi in files) + { + string fname = Path.GetFileName(fi); + string targetfname = Path.Combine(managedPath, fname); + File.Copy(fi, targetfname); + } + } static void StartTestBinder() { @@ -208,7 +333,7 @@ static void TestWriter() CS.Writer.Start("LinePointTest"); CS.Writer.WriteLine("aa 1"); CS.Writer.WriteLine("aa 2"); - var resolverRes = new ClassResolver(null).Box("testObj"); + var resolverRes = new ClassResolver(null, new MemberTypeContext(MemberTypeSlot.None, MethodTypeSlot.None, null)).BoxBeforeMarshal("testObj"); CS.Writer.WriteLine($"return {resolverRes}"); CS.Writer.End(); } diff --git a/BindGenerater/Tools/ScriptEngine.cs b/BindGenerater/Tools/ScriptEngine.cs index b36ed3d..fc0965a 100644 --- a/BindGenerater/Tools/ScriptEngine.cs +++ b/BindGenerater/Tools/ScriptEngine.cs @@ -16,9 +16,10 @@ public class ScriptEngine [DllImport(XMONO_LIB, CallingConvention = CallingConvention.Cdecl)] public static extern IntPtr GetFuncPointer(); - [DllImport(XMONO_LIB, EntryPoint = "OnExceptionMono", CallingConvention = CallingConvention.Cdecl)] - public static extern void OnException(string msg); - [DllImport(XMONO_LIB, EntryPoint = "CheckExceptionIl2cpp", CallingConvention = CallingConvention.Cdecl)] + [MethodImpl(MethodImplOptions.InternalCall)] + public static extern void OnException(Exception e); + + [MethodImpl(MethodImplOptions.InternalCall)] public static extern void CheckException(); } } diff --git a/DemoProject/Assets/Plugins/PureScript/Editor/PureScriptBuilder.cs b/DemoProject/Assets/Plugins/PureScript/Editor/PureScriptBuilder.cs index 3e881ed..b35c93e 100644 --- a/DemoProject/Assets/Plugins/PureScript/Editor/PureScriptBuilder.cs +++ b/DemoProject/Assets/Plugins/PureScript/Editor/PureScriptBuilder.cs @@ -171,7 +171,7 @@ public static void CallBinder(string mode) if (binder.ExitCode != 0) { - Debug.LogError("Run: " + argStr); + Debug.LogError("Run: " + monoPath + " " + argStr); var errorInfo = "Binder.exe run error. \n" + binder.StandardError.ReadToEnd(); UnityEngine.Debug.LogError(errorInfo); throw new Exception(errorInfo); diff --git a/DemoProject/Assets/Plugins/PureScript/ScriptEngine/ScriptEngine.cs b/DemoProject/Assets/Plugins/PureScript/ScriptEngine/ScriptEngine.cs index c3becdb..3b6f02c 100644 --- a/DemoProject/Assets/Plugins/PureScript/ScriptEngine/ScriptEngine.cs +++ b/DemoProject/Assets/Plugins/PureScript/ScriptEngine/ScriptEngine.cs @@ -7,6 +7,9 @@ #endif namespace PureScript { + /// + /// 这部分代码运行在il2cpp内 + /// public class ScriptEngine { #if UNITY_IOS diff --git a/ScriptEngine/Adapter/Tools/ObjectStore.cs b/ScriptEngine/Adapter/Tools/ObjectStore.cs index 39351bf..7ab3f29 100644 --- a/ScriptEngine/Adapter/Tools/ObjectStore.cs +++ b/ScriptEngine/Adapter/Tools/ObjectStore.cs @@ -10,14 +10,27 @@ internal static class ObjectStore { [MethodImpl(MethodImplOptions.InternalCall)] - private static extern object GetObject(IntPtr ptr); + public static extern object GetObject(IntPtr ptr); + [MethodImpl(MethodImplOptions.InternalCall)] private static extern IntPtr GetObjectPtr(object obj); + [MethodImpl(MethodImplOptions.InternalCall)] + public static extern void GetReturnArrayToMono(Array src, ref IntPtr dest); + + [MethodImpl(MethodImplOptions.InternalCall)] + public static extern void GetReturnStructToMono(IntPtr src, ref IntPtr dest, Type structType, int size); + + [MethodImpl(MethodImplOptions.InternalCall)] + public static extern IntPtr ConvertObjectIl2CppToMono(object obj); + public static IntPtr Store(object obj) { - if (obj == null) - return IntPtr.Zero; + // if (obj == null) + // { + // UnityEngine.Debug.LogError("ObjectStore.Store() obj is null"); + // return IntPtr.Zero; + // } return GetObjectPtr(obj); } @@ -25,8 +38,11 @@ public static IntPtr Store(object obj) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static T Get(IntPtr handle) where T : class { - if (handle == IntPtr.Zero) - return null; + // if (handle == IntPtr.Zero) + // { + // UnityEngine.Debug.LogError("ObjectStore.Get() handle is IntPtr.Zero"); + // return null; + // } var obj = GetObject(handle); return obj as T; diff --git a/ScriptEngine/Adapter/Tools/ObjectStore.wrapper.cs b/ScriptEngine/Adapter/Tools/ObjectStore.wrapper.cs index 2b8dd7b..398c64d 100644 --- a/ScriptEngine/Adapter/Tools/ObjectStore.wrapper.cs +++ b/ScriptEngine/Adapter/Tools/ObjectStore.wrapper.cs @@ -42,7 +42,13 @@ public static class ObjectStore [MethodImpl(MethodImplOptions.InternalCall)] private static extern object OnException(Exception e); + + [MethodImpl(MethodImplOptions.InternalCall)] + public static extern object GetMonoObjectByPtr(IntPtr ptr); + [MethodImpl(MethodImplOptions.InternalCall)] + public static extern IntPtr ConvertObjectMonoToIL2Cpp(object obj); + /* public static int Store(object obj) { @@ -51,8 +57,8 @@ public static int Store(object obj) public static IntPtr Store(WObject obj,IntPtr handle) { - if (obj == null) - return IntPtr.Zero; + // if (obj == null) + // return IntPtr.Zero; return StoreObject(obj,handle); } @@ -60,8 +66,8 @@ public static IntPtr Store(WObject obj,IntPtr handle) public static T Get(IntPtr handle) where T : WObject { - if (handle == IntPtr.Zero) - return null; + // if (handle == IntPtr.Zero) + // return null; var obj = GetObject(handle); return obj as T; diff --git a/ScriptEngine/Adapter/Tools/ScriptEngine.cs b/ScriptEngine/Adapter/Tools/ScriptEngine.cs index 861efde..b53422c 100644 --- a/ScriptEngine/Adapter/Tools/ScriptEngine.cs +++ b/ScriptEngine/Adapter/Tools/ScriptEngine.cs @@ -1,6 +1,7 @@ using System.Runtime.InteropServices; using System; using System.Reflection; +using System.Runtime.CompilerServices; namespace PureScript.Mono { @@ -15,9 +16,10 @@ public class ScriptEngine [DllImport(XMONO_LIB, CallingConvention = CallingConvention.Cdecl)] public static extern IntPtr GetFuncPointer(); - [DllImport(XMONO_LIB, EntryPoint = "OnExceptionMono", CallingConvention = CallingConvention.Cdecl)] - public static extern void OnException(string msg); - [DllImport(XMONO_LIB, EntryPoint = "CheckExceptionIl2cpp", CallingConvention = CallingConvention.Cdecl)] + [MethodImpl(MethodImplOptions.InternalCall)] + public static extern void OnException(Exception e); + + [MethodImpl(MethodImplOptions.InternalCall)] public static extern void CheckException(); private static int Main(string[] args) diff --git a/ScriptEngine/Managed/build.ninja b/ScriptEngine/Managed/build.ninja deleted file mode 100644 index 1d8ecca..0000000 --- a/ScriptEngine/Managed/build.ninja +++ /dev/null @@ -1,43 +0,0 @@ - -include ../tools/config.ninja -src_dir = . -out_dir = ../aot -build $out_dir/libAssembly-CSharp.dll.a : aot_build $src_dir/Assembly-CSharp.dll -build $out_dir/libMono.Security.dll.a : aot_build $src_dir/Mono.Security.dll -build $out_dir/libSystem.Configuration.dll.a : aot_build $src_dir/System.Configuration.dll -build $out_dir/libSystem.Core.dll.a : aot_build $src_dir/System.Core.dll -build $out_dir/libSystem.Diagnostics.StackTrace.dll.a : aot_build $src_dir/System.Diagnostics.StackTrace.dll -build $out_dir/libSystem.Globalization.Extensions.dll.a : aot_build $src_dir/System.Globalization.Extensions.dll -build $out_dir/libSystem.Xml.dll.a : aot_build $src_dir/System.Xml.dll -build $out_dir/libSystem.dll.a : aot_build $src_dir/System.dll -build $out_dir/libUnityEngine.AIModule.dll.a : aot_build $src_dir/UnityEngine.AIModule.dll -build $out_dir/libUnityEngine.AndroidJNIModule.dll.a : aot_build $src_dir/UnityEngine.AndroidJNIModule.dll -build $out_dir/libUnityEngine.AnimationModule.dll.a : aot_build $src_dir/UnityEngine.AnimationModule.dll -build $out_dir/libUnityEngine.AssetBundleModule.dll.a : aot_build $src_dir/UnityEngine.AssetBundleModule.dll -build $out_dir/libUnityEngine.AudioModule.dll.a : aot_build $src_dir/UnityEngine.AudioModule.dll -build $out_dir/libUnityEngine.CoreModule.dll.a : aot_build $src_dir/UnityEngine.CoreModule.dll -build $out_dir/libUnityEngine.DirectorModule.dll.a : aot_build $src_dir/UnityEngine.DirectorModule.dll -build $out_dir/libUnityEngine.GameCenterModule.dll.a : aot_build $src_dir/UnityEngine.GameCenterModule.dll -build $out_dir/libUnityEngine.GridModule.dll.a : aot_build $src_dir/UnityEngine.GridModule.dll -build $out_dir/libUnityEngine.IMGUIModule.dll.a : aot_build $src_dir/UnityEngine.IMGUIModule.dll -build $out_dir/libUnityEngine.InputLegacyModule.dll.a : aot_build $src_dir/UnityEngine.InputLegacyModule.dll -build $out_dir/libUnityEngine.InputModule.dll.a : aot_build $src_dir/UnityEngine.InputModule.dll -build $out_dir/libUnityEngine.ParticleSystemModule.dll.a : aot_build $src_dir/UnityEngine.ParticleSystemModule.dll -build $out_dir/libUnityEngine.Physics2DModule.dll.a : aot_build $src_dir/UnityEngine.Physics2DModule.dll -build $out_dir/libUnityEngine.PhysicsModule.dll.a : aot_build $src_dir/UnityEngine.PhysicsModule.dll -build $out_dir/libUnityEngine.SharedInternalsModule.dll.a : aot_build $src_dir/UnityEngine.SharedInternalsModule.dll -build $out_dir/libUnityEngine.SubsystemsModule.dll.a : aot_build $src_dir/UnityEngine.SubsystemsModule.dll -build $out_dir/libUnityEngine.TerrainModule.dll.a : aot_build $src_dir/UnityEngine.TerrainModule.dll -build $out_dir/libUnityEngine.TextRenderingModule.dll.a : aot_build $src_dir/UnityEngine.TextRenderingModule.dll -build $out_dir/libUnityEngine.TilemapModule.dll.a : aot_build $src_dir/UnityEngine.TilemapModule.dll -build $out_dir/libUnityEngine.UIElementsModule.dll.a : aot_build $src_dir/UnityEngine.UIElementsModule.dll -build $out_dir/libUnityEngine.UIModule.dll.a : aot_build $src_dir/UnityEngine.UIModule.dll -build $out_dir/libUnityEngine.UnityWebRequestModule.dll.a : aot_build $src_dir/UnityEngine.UnityWebRequestModule.dll -build $out_dir/libUnityEngine.VFXModule.dll.a : aot_build $src_dir/UnityEngine.VFXModule.dll -build $out_dir/libUnityEngine.VRModule.dll.a : aot_build $src_dir/UnityEngine.VRModule.dll -build $out_dir/libUnityEngine.VideoModule.dll.a : aot_build $src_dir/UnityEngine.VideoModule.dll -build $out_dir/libUnityEngine.XRModule.dll.a : aot_build $src_dir/UnityEngine.XRModule.dll -build $out_dir/libUnityEngine.dll.a : aot_build $src_dir/UnityEngine.dll -build $out_dir/libmscorlib.dll.a : aot_build $src_dir/mscorlib.dll -build $out_dir/libnetstandard.dll.a : aot_build $src_dir/netstandard.dll - diff --git a/ScriptEngine/ScriptEngine.Android/Android.mk b/ScriptEngine/ScriptEngine.Android/Android.mk new file mode 100644 index 0000000..77d9854 --- /dev/null +++ b/ScriptEngine/ScriptEngine.Android/Android.mk @@ -0,0 +1,49 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_MODULE := il2cpp +LOCAL_SRC_FILES := E:/Projects/Project_LZ/client/Build/Android/unityLibrary/src/main/jniLibs/$(TARGET_ARCH_ABI)/libil2cpp.so +include $(PREBUILT_SHARED_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_MODULE := MonoPosixHelper +LOCAL_SRC_FILES := $(LOCAL_PATH)/../lib/$(TARGET_ARCH_ABI)/libMonoPosixHelper.a +include $(PREBUILT_STATIC_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_MODULE := monosgen-2.0 +LOCAL_EXPORT_C_INCLUDES := ./include +LOCAL_SRC_FILES := $(LOCAL_PATH)/../lib/$(TARGET_ARCH_ABI)/libmonosgen-2.0.a +include $(PREBUILT_STATIC_LIBRARY) + +# LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) + +IL2CPP_INCLUDE_DIR := $(UnityEditorPath)/Data/il2cpp/libil2cpp +# $(warning $(IL2CPP_INCLUDE_DIR)) +# $(warning $(APP_ABI)) + +FILE_LIST := $(wildcard $(LOCAL_PATH)/custom/*.cpp) +FILE_LIST := $(wildcard $(LOCAL_PATH)/custom/*.c) +FILE_LIST += $(wildcard $(LOCAL_PATH)/generated/*.cpp) +FILE_LIST += $(wildcard $(LOCAL_PATH)/generated/*.c) +FILE_LIST += $(wildcard $(LOCAL_PATH)/main/*.cpp) +FILE_LIST += $(wildcard $(LOCAL_PATH)/main/*.c) +FILE_LIST += $(wildcard $(LOCAL_PATH)/*.c) + +LOCAL_MODULE := ScriptEngine +LOCAL_SRC_FILES := $(FILE_LIST:$(LOCAL_PATH)/%=%) + +LOCAL_C_INCLUDES += ./ \ + $(IL2CPP_INCLUDE_DIR) \ + ./include \ + +LOCAL_CFLAGS += -pie -fPIC -Wall -Wno-comment -fno-strict-aliasing +# LOCAL_LDFLAGS += -pie -fPIC +# LOCAL_ALLOW_UNDEFINED_SYMBOLS := true + +LOCAL_SHARED_LIBRARIES := il2cpp +LOCAL_STATIC_LIBRARIES := MonoPosixHelper monosgen-2.0 +LOCAL_LDLIBS := -lm -llog -landroid -lz + +include $(BUILD_SHARED_LIBRARY) \ No newline at end of file diff --git a/ScriptEngine/ScriptEngine.Android/AndroidManifest.xml b/ScriptEngine/ScriptEngine.Android/AndroidManifest.xml new file mode 100644 index 0000000..49029ea --- /dev/null +++ b/ScriptEngine/ScriptEngine.Android/AndroidManifest.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ScriptEngine/ScriptEngine.Android/Application.mk b/ScriptEngine/ScriptEngine.Android/Application.mk new file mode 100644 index 0000000..488c35a --- /dev/null +++ b/ScriptEngine/ScriptEngine.Android/Application.mk @@ -0,0 +1,6 @@ +# 不写 APP_ABI 会生成全部支持的平台,目前支持:armeabi arm64-v8a armeabi-v7a +# APP_ABI := armeabi arm64-v8a armeabi-v7a mips mips64 x86 x86_64 + +APP_PLATFORM := android-16 +APP_ABI := arm64-v8a #armeabi-v7a x86 +# APP_STL := c++_shared \ No newline at end of file diff --git a/ScriptEngine/ScriptEngine.Android/build_arm.bat b/ScriptEngine/ScriptEngine.Android/build_arm.bat new file mode 100644 index 0000000..8e870aa --- /dev/null +++ b/ScriptEngine/ScriptEngine.Android/build_arm.bat @@ -0,0 +1,57 @@ +echo --------------Build Pure Script Start---------------- + +set NDK_ROOT="E:\Software\android-ndk-r21d-windows-x86_64\android-ndk-r21d" + +cd /d %~dp0 +set /a startsecond=time:~0,1%*10+%time:~1,1%)*3600+(%time:~3,1%*10+%time:~4,1%)*60+(%time:~6,1%*10+%time:~7,1%) +set ScriptEnginePath=%~dp0\.. +set AndroidPath=%~dp0 +echo %ScriptEnginePath% +set BuildPath=%~dp0\build + +rd /q /s %BuildPath%\jni +rd /q /s %BuildPath%\libs\armeabi-v7a +rd /q /s %BuildPath%\obj\local\armeabi-v7a +rd /q /s %BuildPath%\libs\arm64-v8a +rd /q /s %BuildPath%\obj\local\arm64-v8a + +md %BuildPath%\jni +md %BuildPath%\jni\cusotm +md %BuildPath%\jni\generated +md %BuildPath%\jni\main +md %BuildPath%\lib + +xcopy /s /e /q %ScriptEnginePath%\custom %BuildPath%\jni\custom\ +xcopy /s /e /q %ScriptEnginePath%\generated %BuildPath%\jni\generated\ +xcopy /s /e /q %ScriptEnginePath%\main %BuildPath%\jni\main\ +xcopy /s /e /q %ScriptEnginePath%\lib\include %BuildPath%\jni\include\ +xcopy /s /e /q /Y %ScriptEnginePath%\lib\Android\* %BuildPath%\lib\ + +copy /Y %ScriptEnginePath%\ScriptEngine.c %BuildPath%\jni\ + +copy /Y %AndroidPath%\Android.mk %BuildPath%\jni\Android.mk +copy /Y %AndroidPath%\Application.mk %BuildPath%\jni\Application.mk + +cd %BuildPath%\jni + +set CPP_ADDITIONAL_MACROS="" +echo CPP_ADDITIONAL_MACROS=%CPP_ADDITIONAL_MACROS% + +if "%NDK_DEBUG%" == "1" ( +echo NDK_DEBUG=1 +set DEBUG_CMD="NDK_DEBUG=1" +) else ( +echo NDK_DEBUG=0 +set DEBUG_CMD="NDK_DEBUG=0" +) + +call %NDK_ROOT%\ndk-build clean +call %NDK_ROOT%\ndk-build -j 16 "%DEBUG_CMD%" MY_ADDITIONAL_MACROS="%CPP_ADDITIONAL_MACROS%" + +if "%errorlevel%" NEQ "0" ( +echo "C++ Compile Failed!!" +exit /B %errorlevel% +) else ( +echo "C++ Compile Success!!" +@REM copy /Y %BuildPath%\libs\armeabi-v7a\* %GameCorePath%\..\Project\Assets\Plugins\Android\libs\armeabi-v7a\ +) \ No newline at end of file diff --git a/ScriptEngine/ScriptEngine.Android/modify_il2cpp_to_plug_mono.ps1 b/ScriptEngine/ScriptEngine.Android/modify_il2cpp_to_plug_mono.ps1 new file mode 100644 index 0000000..961ace7 --- /dev/null +++ b/ScriptEngine/ScriptEngine.Android/modify_il2cpp_to_plug_mono.ps1 @@ -0,0 +1,90 @@ +$rootDir = [System.IO.Path]::GetDirectoryName($myInvocation.MyCommand.Definition) +if(Test-Path(Join-Path $rootDir unityLibrary)){ + $sourceCodeDir = Join-Path $rootDir unityLibrary\src\main\Il2CppOutputProject\IL2CPP\ +}else { + $sourceCodeDir = $rootDir +} +Write-Host $sourceCodeDir + +$il2cpp_api_type = Join-Path $sourceCodeDir libil2cpp/il2cpp-api-types.h +$content = Get-Content -Path $il2cpp_api_type +$match = $content | Select-String -Pattern 'Il2CppThreadAttachCallback' +# Write-Host $content +if($match.Matches.Count -eq 0) +{ + Add-Content $il2cpp_api_type "typedef void (*Il2CppThreadAttachCallback)(Il2CppThread* thread);" +} + +$il2cpp_api_functions = Join-Path $sourceCodeDir libil2cpp/il2cpp-api-functions.h +$content = Get-Content -Path $il2cpp_api_functions +$match = $content | Select-String -Pattern 'il2cpp_set_thread_attach_detach_callback' +# Write-Host $content +if($match.Matches.Count -eq 0) +{ + Set-Content -Path $il2cpp_api_functions $content.Replace('// thread', "// thread`r`nDO_API(void, il2cpp_set_thread_attach_detach_callback, (Il2CppThreadAttachCallback attach, Il2CppThreadAttachCallback detach));`r`n") +} + +$il2cpp_api = Join-Path $sourceCodeDir libil2cpp/il2cpp-api.cpp +$content = Get-Content -Path $il2cpp_api +$match = $content | Select-String -Pattern 'il2cpp_set_thread_attach_detach_callback' +# Write-Host $content +if($match.Matches.Count -eq 0) +{ + $content = $content.Replace('Il2CppThread *il2cpp_thread_attach(Il2CppDomain *domain)', 'Il2CppThread *il2cpp_thread_attach_deprecated(Il2CppDomain *domain)') + $content = $content.Replace('void il2cpp_thread_detach(Il2CppThread *thread)', 'void il2cpp_thread_detach_deprecated(Il2CppThread *thread)') + $content = $content.Replace('// thread', ` + ( +"// thread +static Il2CppThreadAttachCallback attach_callback; +static Il2CppThreadAttachCallback detach_callback; + +void il2cpp_set_thread_attach_detach_callback(Il2CppThreadAttachCallback attach, Il2CppThreadAttachCallback detach) +{ + attach_callback = attach; + detach_callback = detach; +} +Il2CppThread *il2cpp_thread_attach(Il2CppDomain *domain) +{ + Il2CppThread* thread = Thread::Attach(domain); + if(attach_callback != nullptr) + { + attach_callback(thread); + } + return thread; +} + +void il2cpp_thread_detach(Il2CppThread *thread) +{ + if(detach_callback != nullptr) + { + detach_callback(thread); + } + Thread::Detach(thread); +}")) + + Set-Content -Path $il2cpp_api $content +} + +# Modify Thread Signal +$gcPrivPath = Join-Path $sourceCodeDir external/bdwgc/include/private/gc_priv.h +$content = Get-Content -Path $gcPrivPath +# Write-Host $content +$destContent = '# define SIG_SUSPEND SIGRTMIN + 6 //SIG_SUSPEND SIGPWR' +$match = $content | Select-String -Pattern $destContent +if($match.Matches.Count -eq 0) +{ + $content = $content.Replace('# define SIG_SUSPEND SIGPWR', $destContent) + Write-Host 'Set SIG_SUSPEND from SIGPWR to SIGRTMIN + 6' + Set-Content -Path $gcPrivPath $content +} + +$pthreadStopWorldPath = Join-Path $sourceCodeDir external/bdwgc/pthread_stop_world.c +$content = Get-Content -Path $pthreadStopWorldPath +$destContent = '# define SIG_THR_RESTART SIGRTMIN + 5 //SIG_THR_RESTART SIGXCPU' +$match = $content | Select-String -Pattern $destContent +if($match.Matches.Count -eq 0) +{ + $content = $content.Replace('# define SIG_THR_RESTART SIGXCPU', $destContent) + Write-Host 'Set SIG_THR_RESTART from SIGXCPU to SIGRTMIN + 5' + Set-Content -Path $pthreadStopWorldPath $content +} diff --git a/ScriptEngine/ScriptEngine.c b/ScriptEngine/ScriptEngine.c index 7ebb7ec..27c9601 100644 --- a/ScriptEngine/ScriptEngine.c +++ b/ScriptEngine/ScriptEngine.c @@ -12,8 +12,7 @@ #define DLLEXPORT #endif -const char* il2cpp_exception = NULL; -const char* mono_exception = NULL; + void* g_manageFuncPtr = NULL; DLLEXPORT void SetupMono(char* bundleDir, const char* dllName) @@ -35,34 +34,3 @@ DLLEXPORT void* GetFuncPointer() { return g_manageFuncPtr; } - -DLLEXPORT void OnExceptionIl2cpp(const char* msg) -{ - //raise_mono_exception_runtime(msg); - il2cpp_exception = msg; -} -DLLEXPORT void CheckExceptionIl2cpp() -{ - if (il2cpp_exception) - { - MonoException* exc = mono_exception_from_name_msg(mono_get_corlib(), "System", "Exception", il2cpp_exception); - il2cpp_exception = NULL; - mono_raise_exception(exc); - } -} - -DLLEXPORT void OnExceptionMono(const char* msg) -{ - //raise_il2cpp_exception_runtime(msg); - mono_exception = msg; -} - -DLLEXPORT void CheckExceptionMono() -{ - if (mono_exception) - { - Il2CppException* exc = il2cpp_exception_from_name_msg(il2cpp_get_corlib(), "System", "Exception", mono_exception); - mono_exception = NULL; - il2cpp_raise_exception(exc); - } -} diff --git a/ScriptEngine/ScriptEngine.vcxproj.filters b/ScriptEngine/ScriptEngine.vcxproj.filters index b0e65d2..71b3b0a 100644 --- a/ScriptEngine/ScriptEngine.vcxproj.filters +++ b/ScriptEngine/ScriptEngine.vcxproj.filters @@ -51,6 +51,9 @@ 源文件 + + 源文件 + @@ -77,5 +80,8 @@ 头文件 + + 头文件 + \ No newline at end of file diff --git a/ScriptEngine/Tools/binder.json b/ScriptEngine/Tools/binder.json index 725a130..8536ab4 100644 --- a/ScriptEngine/Tools/binder.json +++ b/ScriptEngine/Tools/binder.json @@ -2,9 +2,43 @@ "IgnoreAssemblySet": [ "PureScript.dll", "Adapter.gen.dll", - "UnityEngine.UnityAnalyticsModule.dll", - "UnityEngine.AndroidJNIModule.dll" ], + "UnityEngine.UnityAnalyticsModule.dll" + ], + + "CSharpForceRetainMethods":[ + "System.Boolean UnityEngine.AI.NavMesh::IsValidLinkHandle", + "System.Boolean UnityEngine.AI.NavMesh::IsValidNavMeshDataHandle", + "UnityEngine.Object UnityEngine.AI.NavMesh::InternalGetOwner", + "UnityEngine.Object UnityEngine.AI.NavMesh::InternalGetLinkOwner", + "System.Boolean UnityEngine.AI.NavMesh::InternalSetOwner", + "System.Boolean UnityEngine.AI.NavMesh::InternalSetLinkOwner", + "System.Void UnityEngine.AI.NavMesh::RemoveLinkInternal", + "System.Void UnityEngine.AI.NavMesh::RemoveNavMeshDataInternal" + ], + + "CSharpIgnorMethods":[ + "System.Boolean UnityEngine.PhysicsScene2D::Simulate", + "System.Void UnityEngine.PhysicsScene::Simulate", + "System.Single UnityEngine.ParticleSystem/Particle::GetCurrentSize", + "UnityEngine.Vector3 UnityEngine.ParticleSystem/Particle::GetCurrentSize3D", + "UnityEngine.Color32 UnityEngine.ParticleSystem/Particle::GetCurrentColor", + "System.Int32 UnityEngine.ParticleSystem/Particle::GetMeshIndex", + "System.String UnityEngine.UIElements.StyleColor::ToString", + "System.String UnityEngine.UIElements.StyleFloat::ToString", + "System.String UnityEngine.UIElements.StyleInt::ToString", + "System.Void UnityEngine.GUIUtility::ExitGUI", + "System.Void UnityEngine.GUIStyle::Draw", + "System.Collections.IEnumerator UnityEngine.Animation::GetEnumerator", + "System.Void NGUITools::SetActiveChildren", + "System.Boolean UnityEngine.Physics::SphereCast", + "System.Void NGUITools::ImmediatelyCreateDrawCalls", + "TimelineEventPlayable::OnBehaviourPlay", + + "UnityEngine.Audio.AudioPlayableOutput UnityEngine.Audio.AudioPlayableOutput::Create", + "System.Void UnityEngine.ArticulationReducedSpace::.ctor" + ], + "CSharpIgnorTypes": [ "System.Collections", "UnityEditor", @@ -17,18 +51,93 @@ "UnityEngine.Handheld", "UnityEngine.Social", "UnityEngine.LowLevel", - "UnityEngine.Rendering.DelegateUtility", + "UnityEngine.Timeline.SignalEmitter", + "UnityEngine.Scripting.APIUpdating.MovedFromAttribute", + "NSpeex.PcmWaveWriter", + "UnityEngine.Experimental.AI.NavMeshQuery", + "UnityEngine.Android.Permission", + "UnityEngine.Rendering.DelegateUtility", "StageRuntimeInterface", - "Unity.Profiling"], + "UnityEngine.EventSystems.ExecuteEvents", + "System.Runtime.CompilerServices.Unsafe", + "Spine.AnimationPairComparer", + "Spine.AnimationStateData", + "Spine.MeshAttachment", + "Spine.Unity.WaitForSpineEvent", + "Spine.PathAttachment", + "Spine.ClippingAttachment", + "Spine.BoundingBoxAttachment", + "Spine.BoneMatrix", + "mygame.JsonData", + "mygame.SDownloadFileResult", + "UnityEngine.UIElements.GenericDropdownMenu", + "NSpeex.OggCrc", + "ICSharpCode.SharpZipLib.Core.ProgressEventArgs", + "ICSharpCode.SharpZipLib.BZip2.BZip2InputStream", + "ICSharpCode.SharpZipLib.BZip2.BZip2OutputStream", + "ICSharpCode.SharpZipLib.Zip.FastZip", + "ICSharpCode.SharpZipLib.Lzw.LzwInputStream", + "ICSharpCode.SharpZipLib.Tar.TarInputStream", + "ICSharpCode.SharpZipLib.Tar.TarOutputStream", + "ICSharpCode.SharpZipLib.Core.ScanEventArgs", + "LitJson.JsonData", + "ICSharpCode.SharpZipLib.Core.ScanFailureEventArgs", + "ICSharpCode.SharpZipLib.Encryption.PkzipClassicManaged", + "ICSharpCode.SharpZipLib.Encryption.PkzipClassic", + "ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream", + "ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream", + "ICSharpCode.SharpZipLib.Zip.KeysRequiredEventArgs", + "Unity.Profiling", + "UnityEngine.Rendering.CullingResults", + "UnityEngine.GUILayout", + "UnityEngine.Experimental.GlobalIllumination.LightmapperUtils", + // "Unity.Collections.NativeArray", + "Unity.Collections.LowLevel.Unsafe.UnsafeUtility", + "UnityEngine.Animations.AnimationScriptPlayable", + "UnityEngine.ObjectGUIState", + "UnityEngine.Mesh/MeshDataArray", + "UnityEngine.Android.PermissionCallbacks", + "UnityEngine.Android.AndroidJNI", + "UnityEngine.ExitGUIException", + "UnityEngine._AndroidJNIHelper", + // "UnityEngine.AndroidJNIHelper", + "UnityEngine.Device.Application", + "UnityEngine.UIElements.Length", + "UnityEngine.UIElements.IMGUIContainer"], "ForceRetainTypes": [ "UnityEngine.Transform", + "UnityEngine.MonoBehaviour", + // "UnityEngine.Object", + "UnityEngine.Ray", + "UnityEngine.AssetBundle", + "UnityEngine.GameObject", + "UnityEngine.Component", + "System.Collections.IEnumerator", + "UnityEngine.Bindings.IgnoreAttribute", + "UnityEngine.Networking.UnityWebRequest/UnityWebRequestError", + // "UnityEngine.Rendering.CullingResults", + // "UnityEngine.WWW", + // "UnityEngine.Networking.DownloadHandler", + "UnityEngine.CastHelper`1", + "UnityEngine.Events.InvokableCall", + "UnityEngine.Events.BaseInvokableCall", + // "UnityEngine.Events.UnityEvent`1", + // "UnityEngine.Events.UnityEvent`1", + // "UnityEngine.Events.UnityEvent`1", + // "UnityEngine.Events.UnityEvent`1", + // "Unity.Collections.NativeArray`1", + // "UnityEngine.Playables.Playable", + "UnityEngine.Playables.INotification", + "UnityEngine.Timeline.IPropertyCollector", + "UnityEngine.Timeline.IPropertyPreview", "UnityEngine.Debug", "UnityEngine.ILogger", "UnityEngine.ILogHandler", "UnityEngine.Logger", "UnityEngine.DebugLogHandler", + // "UnityEngine.Renderer", "UnityEngine.Resources", "UnityEngine.ResourcesAPI", "UnityEngine.ResourceRequest", @@ -38,9 +147,13 @@ "UnityEngine.UnityException", "UnityEngine.UnityString", "UnityEngine.CastHelper`1", - "UnityEngineInternal.MathfInternal", + "UnityEngine.AssetBundleLoadingCache", + "UnityEngine.Playables.IPlayableAsset", + "UnityEngineInternal.MathfInternal", "UnityEngine.UnityString", "Unity.Mathematics", + "UnityEngine.Animations.AnimationPlayableGraphExtensions", + "UnityEngine.Scripting.RequiredByNativeCodeAttribute", "UnityEngine.Rendering.BitArray8", "UnityEngine.Rendering.BitArray16", "UnityEngine.Rendering.BitArray32", diff --git a/ScriptEngine/Tools/config.json b/ScriptEngine/Tools/config.json index 1c310a4..fc1b79a 100644 --- a/ScriptEngine/Tools/config.json +++ b/ScriptEngine/Tools/config.json @@ -1,6 +1,8 @@ { "ScriptEngineDir": "..", - "AdapterSet": [ "AdapterTest.dll" ], - "InterpSet": ["TestEntry.dll","Code.dll"], - "Entry":["TestEntry.dll","Code.dll"] + "AdapterSet": [ "ThirdParty.dll" ], + "AOTSet" : [], + "InterpSet": ["Scripts.dll" ], + "Entry":["Scripts.dll"], + "AssembliesCheck": [{"Assembly" : "Scripts.dll" , "Source" : "E:/Projects/Project_LZ/client1/client/Art/Assets/Source/Scripts", "Filter" : "*.cs"}] } \ No newline at end of file diff --git a/ScriptEngine/Tools/lib/android/Mono.Security.dll b/ScriptEngine/Tools/lib/android/Mono.Security.dll new file mode 100644 index 0000000..73384f3 Binary files /dev/null and b/ScriptEngine/Tools/lib/android/Mono.Security.dll differ diff --git a/ScriptEngine/Tools/lib/android/System.Core.dll b/ScriptEngine/Tools/lib/android/System.Core.dll new file mode 100644 index 0000000..ae243e0 Binary files /dev/null and b/ScriptEngine/Tools/lib/android/System.Core.dll differ diff --git a/ScriptEngine/Tools/lib/android/System.Net.Http.dll b/ScriptEngine/Tools/lib/android/System.Net.Http.dll new file mode 100644 index 0000000..7b62d6e Binary files /dev/null and b/ScriptEngine/Tools/lib/android/System.Net.Http.dll differ diff --git a/ScriptEngine/Tools/lib/android/System.Net.dll b/ScriptEngine/Tools/lib/android/System.Net.dll new file mode 100644 index 0000000..dcce3b5 Binary files /dev/null and b/ScriptEngine/Tools/lib/android/System.Net.dll differ diff --git a/ScriptEngine/Tools/lib/android/System.Numerics.Vectors.dll b/ScriptEngine/Tools/lib/android/System.Numerics.Vectors.dll new file mode 100644 index 0000000..f1840a0 Binary files /dev/null and b/ScriptEngine/Tools/lib/android/System.Numerics.Vectors.dll differ diff --git a/ScriptEngine/Tools/lib/android/System.Numerics.dll b/ScriptEngine/Tools/lib/android/System.Numerics.dll new file mode 100644 index 0000000..14c4cbe Binary files /dev/null and b/ScriptEngine/Tools/lib/android/System.Numerics.dll differ diff --git a/ScriptEngine/Tools/lib/android/System.dll b/ScriptEngine/Tools/lib/android/System.dll new file mode 100644 index 0000000..44db739 Binary files /dev/null and b/ScriptEngine/Tools/lib/android/System.dll differ diff --git a/ScriptEngine/Tools/lib/android/mscorlib.dll b/ScriptEngine/Tools/lib/android/mscorlib.dll new file mode 100644 index 0000000..c47d347 Binary files /dev/null and b/ScriptEngine/Tools/lib/android/mscorlib.dll differ diff --git a/ScriptEngine/Tools/lib/android/mscorlib.pdb b/ScriptEngine/Tools/lib/android/mscorlib.pdb new file mode 100644 index 0000000..0ae29f5 Binary files /dev/null and b/ScriptEngine/Tools/lib/android/mscorlib.pdb differ diff --git a/ScriptEngine/custom/event_binding.c b/ScriptEngine/custom/event_binding.c index e7b657c..12cf1a1 100644 --- a/ScriptEngine/custom/event_binding.c +++ b/ScriptEngine/custom/event_binding.c @@ -2,7 +2,6 @@ #include "engine_include.h" #include "event_binding.h" - void init_event_method(EventMethodDesc* desc, MonoClass *monoklass, Il2CppClass* ilklass, const char* method_name, int param_count, Il2CppMethodPointer hook2) { if(monoklass == NULL || ilklass == NULL) @@ -12,10 +11,176 @@ void init_event_method(EventMethodDesc* desc, MonoClass *monoklass, Il2CppClass* } void init_event_gen(); - +void add_object_instantiate_proxy_method(); void init_event() { init_event_gen(); + add_object_instantiate_proxy_method(); +} + +//forward declearation +Il2CppObject* UnityEngine_Object_Internal_CloneSingle_hook(Il2CppObject*); +Il2CppObject* UnityEngine_Object_Internal_CloneSingleWithoutAwake_hook(Il2CppObject*); +Il2CppObject* UnityEngine_Object_Internal_CloneSingleWithParent_hook(Il2CppObject* data, Il2CppObject* parent, bool worldPositionStays); +Il2CppObject* UnityEngine_Object_INTERNAL_CALL_Internal_InstantiateSingleWithParent_hook(Il2CppObject* data, Il2CppObject* parent, void* pos, void* rot); //Vector3 pos, Quaternion rot +Il2CppObject* UnityEngine_Object_Internal_InstantiateSingle_Injected_hook(Il2CppObject* data, void* pos, void* rot); //Vector3 pos, Quaternion rot +Il2CppObject* UnityEngine_Object_Internal_InstantiateSingleWithParent_Injected_hook(Il2CppObject* data, Il2CppObject* parent, void* pos, void* rot); //Vector3 pos, Quaternion rot +void UnityEngine_SceneManagement_SceneManager_Internal_SceneLoaded(void* scene, int32_t mode, const MethodInfo* imethod); //Vector3 pos, Quaternion rot + +EventMethodDesc instantiate_proxy_methods[10]; +void add_object_instantiate_proxy_method() +{ + //il2cpp_get_class_UnityEngine_Object() ȡclassᵼSEGV_MAPERRıʱԭ + //Il2CppClass* klass = il2cpp_get_class_UnityEngine_Object(); + //platform_log("class ptr: %d", klass); + Il2CppClass* klass = il2cpp_search_class("UnityEngine.CoreModule.dll", "UnityEngine", "Object"); + platform_log("class ptr: %d", klass); + instantiate_proxy_methods[0].orign = hook_icall_method("UnityEngine.Object::Internal_CloneSingle", (Il2CppMethodPointer)UnityEngine_Object_Internal_CloneSingle_hook); + instantiate_proxy_methods[1].orign = hook_icall_method("UnityEngine.Object::Internal_CloneSingleWithoutAwake", (Il2CppMethodPointer)UnityEngine_Object_Internal_CloneSingleWithoutAwake_hook); + instantiate_proxy_methods[2].orign = hook_icall_method("UnityEngine.Object::Internal_CloneSingleWithParent", (Il2CppMethodPointer)UnityEngine_Object_Internal_CloneSingleWithParent_hook); + //instantiate_proxy_methods[3].orign = hook_method2(klass, "INTERNAL_CALL_Internal_InstantiateSingleWithParent", 4, (Il2CppMethodPointer)UnityEngine_Object_INTERNAL_CALL_Internal_InstantiateSingleWithParent); + + instantiate_proxy_methods[4].orign = hook_icall_method("UnityEngine.Object::Internal_InstantiateSingle_Injected", (Il2CppMethodPointer)UnityEngine_Object_Internal_InstantiateSingle_Injected_hook); + instantiate_proxy_methods[5].orign = hook_icall_method("UnityEngine.Object::Internal_InstantiateSingleWithParent_Injected", (Il2CppMethodPointer)UnityEngine_Object_Internal_InstantiateSingleWithParent_Injected_hook); + + + klass = il2cpp_search_class("UnityEngine.dll", "UnityEngine.SceneManagement", "SceneManager"); + platform_log("class ptr: %d", klass); + instantiate_proxy_methods[6].orign = hook_method2(klass, "Internal_SceneLoaded", 2, (Il2CppMethodPointer)UnityEngine_SceneManagement_SceneManager_Internal_SceneLoaded); + +} + +//private static extern UnityEngine.Object Internal_CloneSingle([NotNull("NullExceptionObject")] UnityEngine.Object data); +Il2CppObject* UnityEngine_Object_Internal_CloneSingle_hook(Il2CppObject* data) +{ + const int index = 0; + typedef Il2CppObject* (*THUNK_METHOD RuntimeMethod) (Il2CppObject* data); + static RuntimeMethod thunk; + if (!thunk) + thunk = instantiate_proxy_methods[index].orign; + Il2CppObject* ret = thunk(data); + platform_log("UnityEngine_Object_Internal_CloneSingle_hook: %s", il2cpp_class_get_name(il2cpp_object_get_class(ret))); + process_proxy_component(ret); + return ret; +} + +Il2CppObject* UnityEngine_Object_Internal_CloneSingleWithoutAwake_hook(Il2CppObject* data) +{ + const int index = 1; + typedef Il2CppObject* (*THUNK_METHOD RuntimeMethod) (Il2CppObject* data); + static RuntimeMethod thunk; + if (!thunk) + thunk = instantiate_proxy_methods[index].orign; + Il2CppObject* ret = thunk(data); + platform_log("UnityEngine_Object_Internal_CloneSingleWithoutAwake_hook: %s", il2cpp_class_get_name(il2cpp_object_get_class(ret))); + process_proxy_component(ret); + return ret; +} + +Il2CppObject* UnityEngine_Object_Internal_CloneSingleWithParent_hook(Il2CppObject* data, Il2CppObject* parent, bool worldPositionStays) +{ + const int index = 2; + typedef Il2CppObject* (*THUNK_METHOD RuntimeMethod) (Il2CppObject* data, Il2CppObject* parent, bool worldPositionStays); + static RuntimeMethod thunk; + if (!thunk) + thunk = instantiate_proxy_methods[index].orign; + Il2CppObject* ret = thunk(data, parent, worldPositionStays); + platform_log("UnityEngine_Object_Internal_CloneSingleWithParent_hook: %s", il2cpp_class_get_name(il2cpp_object_get_class(ret))); + process_proxy_component(ret); + return ret; } +Il2CppObject* UnityEngine_Object_INTERNAL_CALL_Internal_InstantiateSingleWithParent_hook(Il2CppObject* data, Il2CppObject* parent, void* pos, void* rot) +{ + const int index = 3; + typedef Il2CppObject* (*THUNK_METHOD RuntimeMethod) (Il2CppObject* data, Il2CppObject* parent, void* pos, void* rot); + static RuntimeMethod thunk; + if (!thunk) + thunk = instantiate_proxy_methods[index].orign; + Il2CppObject* ret = thunk(data, parent, pos, rot); + platform_log("UnityEngine_Object_INTERNAL_CALL_Internal_InstantiateSingleWithParent_hook: %s", il2cpp_class_get_name(il2cpp_object_get_class(ret))); + process_proxy_component(ret); + return ret; +} + +Il2CppObject* UnityEngine_Object_Internal_InstantiateSingle_Injected_hook(Il2CppObject* data, void* pos, void* rot) +{ + const int index = 4; + typedef Il2CppObject* (*THUNK_METHOD RuntimeMethod) (Il2CppObject* data, void* pos, void* rot); + static RuntimeMethod thunk; + if (!thunk) + thunk = instantiate_proxy_methods[index].orign; + Il2CppObject* ret = thunk(data, pos, rot); + platform_log("UnityEngine_Object_Internal_InstantiateSingle_Injected_hook: %s", il2cpp_class_get_name(il2cpp_object_get_class(ret))); + process_proxy_component(ret); + return ret; +} + +Il2CppObject* UnityEngine_Object_Internal_InstantiateSingleWithParent_Injected_hook(Il2CppObject* data, Il2CppObject* parent, void* pos, void* rot) +{ + const int index = 5; + typedef Il2CppObject* (*THUNK_METHOD RuntimeMethod) (Il2CppObject* data, Il2CppObject* parent, void* pos, void* rot); + static RuntimeMethod thunk; + if (!thunk) + thunk = instantiate_proxy_methods[index].orign; + Il2CppObject* ret = thunk(data, parent, pos, rot); + platform_log("UnityEngine_Object_Internal_InstantiateSingleWithParent_Injected_hook: %s", il2cpp_class_get_name(il2cpp_object_get_class(ret))); + process_proxy_component(ret); + return ret; +} + +void UnityEngine_SceneManagement_SceneManager_Internal_SceneLoaded(void* scene, int32_t mode, const MethodInfo* imethod) +{ + const int index = 6; + typedef void (*THUNK_METHOD RuntimeMethod) (void* scene, int32_t mode, MethodInfo* imethod); + static RuntimeMethod thunk; + if (!thunk) + thunk = instantiate_proxy_methods[index].orign; + + typedef int32_t (*ICallMethod1) (int32_t handle); + static ICallMethod1 icall_roots_count; + if (!icall_roots_count) + icall_roots_count = il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetRootCountInternal"); + + platform_log("scene loaded handle: %d", scene); + int32_t handle = (int)scene; //sceneʵѾһstructˣָ + int32_t count = icall_roots_count(handle); + platform_log("scene loaded roots count: %d", count); + + //typedef void (*ICallMethod2) (int32_t handle, Il2CppObject* resultRootList, MethodInfo* imethod); + //static ICallMethod2 icall_roots; + //if (!icall_roots) + // icall_roots = il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetRootGameObjectsInternal"); + + //Il2CppClass* klass = il2cpp_search_class("UnityEngine.dll", "UnityEngine", "GameObject"); + //Il2CppArray* retArr = il2cpp_array_new(klass, count); + //Il2CppArray** refArg = &retArr; + //icall_roots(handle, refArg); //IJListҪָָ룬ʽôһַʽ + + Il2CppClass* klass = il2cpp_search_class("UnityEngine.dll", "UnityEngine.SceneManagement", "Scene"); + typedef Il2CppArray* (*ICallMethod2) (Il2CppObject* scene); + static ICallMethod2 icall_roots; + if (!icall_roots) + { + Il2CppMethodPointer* method = il2cpp_get_native_method_ptr(klass, "GetRootGameObjects", 0);// + icall_roots = method; + } + + Il2CppObject* sceneObj = il2cpp_object_new(klass); + //platform_log("scene loaded roots count1: %s-%d-%d", il2cpp_class_get_name(klass), il2cpp_class_instance_size(klass), sizeof(Il2CppObject)); + void* field = (char*)sceneObj + sizeof(Il2CppObject); + il2cpp_gc_wbarrier_set_field(sceneObj, (void**)field, handle); + platform_log("scene loaded roots count2: %d", * (int*)field); + Il2CppArray* retArr = icall_roots(sceneObj); + + platform_log("scene loaded roots complete"); + + for (int i = 0; i < count; i++) + { + Il2CppObject* obj = il2cpp_array_get(retArr, Il2CppObject*, i); + process_proxy_component(obj); + } + + thunk(scene, mode, imethod); +} \ No newline at end of file diff --git a/ScriptEngine/custom/icall_binding.c b/ScriptEngine/custom/icall_binding.c index 684f476..f6d7ea6 100644 --- a/ScriptEngine/custom/icall_binding.c +++ b/ScriptEngine/custom/icall_binding.c @@ -1,14 +1,30 @@ #include "engine_include.h" #include "wrapper.h" +#include "mono/metadata/exception.h" MonoObject* MonoGetObject(void* ptr) { + if (ptr == NULL) + { + platform_log("MonoGetObject handle ptr is null"); + return NULL; + } Il2CppObject * i2Obj = (Il2CppObject *)ptr; - return get_mono_object_impl(i2Obj, NULL,TRUE); + MonoObject* ret = get_mono_object_impl(i2Obj, NULL,TRUE); + if (ret == NULL) + { + platform_log("mono object is null"); + } + return ret; } void* MonoStoreObject(MonoObject* obj, void* ptr) { + if (obj == NULL) + { + platform_log("MonoStoreObject object is null"); + return NULL; + } if (ptr == NULL) { Il2CppClass* i2Class = get_il2cpp_class(mono_object_get_class(obj)); @@ -23,14 +39,246 @@ void* MonoStoreObject(MonoObject* obj, void* ptr) Il2CppObject* Il2cppGetObject(void* ptr) { +#if DEBUG + if (ptr == NULL) + { + platform_log("Il2cppGetObject ptr is null"); + } +#endif return (Il2CppObject *)ptr; } void* Il2cppGetObjectPtr(Il2CppObject * obj) { +#if DEBUG + if (obj == NULL) + { + platform_log("il2cpp object is null when convert to IntPtr"); + } +#endif return obj; } +void GetReturnArrayToMono(Il2CppArray* ilArray, MonoArray** monoArray) +{ + *monoArray = get_mono_array(ilArray); +#if DEBUG + platform_log("array length: mono-%d, il2cpp-%d", mono_array_length(*monoArray), il2cpp_array_length(ilArray)); +#endif +} + +void GetReturnStructToMono(void* i2struct, MonoObject** monoStruct, Il2CppReflectionType* i2type, int32_t i2size) +{ +#if DEBUG + //ע˽ӿڻڴ + + //char* typename = il2cpp_type_get_name(i2type->type); + //platform_log("get return struct, addr: %d, name: %s", i2struct, typename); + //il2cpp_free(typename); + //platform_log("get return struct, addr: %d, name1: %s", i2struct, il2cpp_class_get_name(il2cpp_object_get_class(i2struct))); +#endif + get_mono_struct_raw(i2struct, monoStruct, i2type, i2size); +} + +Il2CppObject* GetMonoObjectByPtr(void* ptr) +{ + return (MonoObject*)ptr; +} + +Il2CppObject* ConvertObjectMonoToIL2Cpp(MonoObject* monoObj) +{ + if (monoObj == NULL) + { + return NULL; + } + MonoClass* klass = mono_object_get_class(monoObj); + char* kname = mono_class_get_name(klass); + MonoType* type = mono_class_get_type(klass); + if (is_primitive(type) || type->type == MONO_TYPE_ENUM) + { + Il2CppClass* i2class = get_il2cpp_class(klass); +#if DEBUG + platform_log("primitive type %s size: mono-%d, il2cpp-%d", mono_class_get_name(klass), mono_class_instance_size(klass), i2class != NULL ? il2cpp_class_instance_size(i2class) : -1); +#endif + if (i2class == NULL) + { + return NULL; + } + Il2CppObject* i2obj = il2cpp_object_new(i2class); + //il2cpp_gc_wbarrier_set_field(i2obj, *((char*)i2obj + sizeof(Il2CppObject)), (char*)monoObj + sizeof(MonoObject)); + memcpy((char*)i2obj + sizeof(Il2CppObject), (char*)monoObj + sizeof(MonoObject), il2cpp_class_instance_size(i2class) - sizeof(Il2CppObject)); + return i2obj; + } + else if (type->type == MONO_TYPE_STRING) //string + { + Il2CppString* str = get_il2cpp_string((MonoString*)monoObj); + return (Il2CppObject*)str; + } + else if (is_struct_type(type)) + { + Il2CppObject** i2obj = NULL; + get_il2cpp_struct(monoObj, i2obj, mono_type_get_object(g_domain, type), mono_class_value_size(klass, NULL)); + return i2obj; //structby valueʽݣԲbind + } + else if (type->type == MONO_TYPE_SZARRAY) // + { + //TODO: to implement + MonoClass* eklass = mono_class_get_element_class(klass); + Il2CppArray* i2Array = get_il2cpp_array((MonoArray*)monoObj); + //arraybindΪbind element㹻 + /*if (i2Array != NULL) + { + bind_mono_il2cpp_object(monoObj, (Il2CppObject*)i2Array); + }*/ + return (Il2CppObject*)i2Array; + } + else if(type->type == MONO_TYPE_CLASS) + { + //System.Type + if (strcmp(kname, "RuntimeType") == 0) + { + return (void*)get_il2cpp_reflection_type((MonoReflectionType*)monoObj); + } + else if (mono_class_is_subclass_of(klass, get_wobject_class(), 0)) + { + Il2CppClass* i2class = get_il2cpp_class(klass); + WObjectHead* monoHead = (WObjectHead*)(monoObj); + if (monoHead->objectPtr == NULL) + { + platform_log("[ConvertObjectMonoToIL2Cpp] get il2cpp object from mono fail, type:%s", kname); + return NULL; + //return NULL; + } + return get_il2cpp_object_with_ptr(monoHead->objectPtr); + } + else + { + platform_log("[ConvertObjectMonoToIL2Cpp] array element class must be subclass of WObject: %s", kname); + return NULL; + } + } + else + { + platform_log("convert object mono to il2cpp fail, type not support: %s", kname); + return NULL; + } + +} + +static char il2cpp_exception[1024]; +static bool caught_il2cpp = 0; +static char mono_exception[1024]; +static bool caught_mono = 0; +//note: this function is neccessary, the function stack is in il2cpp at this time +// should raise mono exception when back to mono +void CatchIL2CppException(Il2CppException* exception) +{ + if (exception == NULL) + { + platform_log("il2cpp exception is null"); + return; + } + + Il2CppString* message = (Il2CppString*)il2cpp_exception_property((Il2CppObject*)exception, "get_Message", 1); + Il2CppString* trace = (Il2CppString*)il2cpp_exception_property((Il2CppObject*)exception, "get_StackTrace", 1); + + caught_il2cpp = 1; + MonoString* _message = get_mono_string(message); + char* _msg = mono_string_to_utf8(_message); + sprintf_s(il2cpp_exception, sizeof(il2cpp_exception), "%s", _msg); + + mono_free(_msg); + if (trace != NULL) + { + MonoString* _stack = get_mono_string(trace); + char* _stk = mono_string_to_utf8(_stack); +#if DEBUG + platform_log("il2cpp exception stack: %s", _stk); +#endif + mono_free(_stk); + } + //MonoString* _stack = get_mono_string(trace); +} + + +void RaiseMonoExceptionFromIL2Cpp() +{ + if (caught_il2cpp) + { + MonoException* exc = mono_exception_from_name_msg(mono_get_corlib(), "System", "Exception", il2cpp_exception); + caught_il2cpp = 0; + if (exc != NULL) + { + mono_raise_exception(exc); + } + else + { + platform_log("raise mono exception failed: %s", il2cpp_exception); + } + } +} + +void CatchMonoException(MonoException* exception) +{ + //raise_mono_exception_runtime(msg); + if (exception == NULL) + { + platform_log("mono exception is null"); + return; + } + //mono_exception_property(exception, ""); + MonoString* message = (MonoString*)mono_exception_property((MonoObject*)exception, "get_Message", 1); + MonoString* trace = (MonoString*)mono_exception_property((MonoObject*)exception, "get_StackTrace", 1); + + caught_mono = 1; + char* msgStr = mono_string_to_utf8(message); + char* traceStr = mono_string_to_utf8(trace); + sprintf_s(mono_exception, sizeof(mono_exception), "%s", msgStr); + + mono_free(msgStr); +#if DEBUG + platform_log("mono exception: %s", mono_exception); +#endif + if (traceStr != NULL) + { +#if DEBUG + platform_log("il2cpp exception stack: %s", traceStr); +#endif + mono_free(traceStr); + } + +} + +void RaiseIL2CppExceptionFromMono() +{ + if (caught_mono) + { + Il2CppException* exc = il2cpp_exception_from_name_msg(il2cpp_get_corlib(), "System", "Exception", mono_exception); + caught_mono = 0; + il2cpp_raise_exception(exc); + } +} + +#if __ANDROID__ +#include +#include +#endif +MonoArray* GetFileBinaryData(MonoObject* this, MonoString* path, void* handle) +{ + int size = 0; + +#if __ANDROID__ + //JavaVM* vm = GetJavaVm(); + //Assert(vm); + //JNIEnv* env; + //int ret = vm->AttachCurrentThread(&env, 0); + //if (ret == 0) + //{ + // //env + //} +#endif + MonoArray* data = mono_array_new(g_domain, mono_get_byte_class(), size); +} /* MonoObject* NewObject(MonoReflectionType* type) @@ -180,6 +428,7 @@ float UnityEngine_Time_GetTime() return res; }*/ + MonoObject* UnityEngine_GameObject_Internal_AddComponentWithType(MonoObject* obj, MonoReflectionType* type) { typedef Il2CppObject* (*AddComponentWithType) (Il2CppObject*, Il2CppReflectionType*); @@ -187,7 +436,7 @@ MonoObject* UnityEngine_GameObject_Internal_AddComponentWithType(MonoObject* obj if (!icall) icall = (AddComponentWithType)il2cpp_resolve_icall("UnityEngine.GameObject::Internal_AddComponentWithType"); - Il2CppObject* il2cppObj = get_il2cpp_object(obj,NULL); + Il2CppObject* il2cppObj = get_il2cpp_object(obj, NULL); MonoType* monoType = mono_reflection_type_get_type(type); MonoClass * mclass = mono_class_from_mono_type(monoType); @@ -211,9 +460,30 @@ MonoArray* UnityEngine_GameObject_GetComponentsInternal(MonoObject* obj, MonoRef Il2CppObject* il2cppObj = get_il2cpp_object(obj, NULL); Il2CppReflectionType* il2cppType = get_il2cpp_reflection_type(type); + if (il2cppObj == NULL || il2cppType == NULL) + { + platform_log("type not found: %s", mono_class_get_name(mono_class_from_mono_type(mono_reflection_type_get_type(type)))); + } Il2CppArray* res = icall(il2cppObj, il2cppType, useSearchTypeAsArrayReturnType, recursive, includeInactive, reverse, NULL);//resultList - MonoArray* monoRes = get_mono_array(res); + MonoArray* monoRes = get_mono_array_with_type(res, mono_reflection_type_get_type(type)); +#if DEBUG + MonoClass* klass = mono_class_from_mono_type(mono_reflection_type_get_type(type)); + char* name = mono_class_get_name(klass); + if (strcmp(name, "LineTrail") == 0) + { + MonoObject* ret = mono_array_addr(monoRes, MonoObject, 0); + MonoClassField* field = mono_class_get_field_from_name(klass, "posOffsets"); + MonoArray* value; + mono_field_get_value(ret, field, &value); + for (int i = 0; i < mono_array_length(monoRes); i++) + { + MonoObject* o = mono_array_get(monoRes, MonoObject*, i); + platform_log("getcomponents: %d-%d/%d", o, value, value != NULL ? *(int*)((char*)value + sizeof(MonoObject) + sizeof(void*)) : -1); + } + } +#endif + return monoRes; } @@ -230,7 +500,7 @@ void UnityEngine_GameObject_GetComponentFastPath(MonoObject* obj, MonoReflection if (objs != NULL) { size_t len = mono_array_length(objs); - + int totalCnt = 0; for (int i = 0; i < len; i++) { MonoObject* monoObj = mono_array_get(objs, MonoObject*, i); @@ -239,13 +509,129 @@ void UnityEngine_GameObject_GetComponentFastPath(MonoObject* obj, MonoReflection MonoClass * tclass = mono_object_get_class(monoObj); if (mono_object_isinst(monoObj, mclass)) { - mono_gc_wbarrier_generic_store(objPtr, monoObj); - break; + if (totalCnt == 0) + { + mono_gc_wbarrier_generic_store(objPtr, monoObj); + } + else + { + + } + //break; } } + + if (totalCnt > 1) + { + platform_log("UnityEngine_GameObject_GetComponentFastPath has %d componet with type %s", totalCnt, mono_class_get_name(mclass)); + } } } +MonoObject* UnityEngine_GameObject_GetComponentInChildren(MonoObject* thiz, MonoReflectionType* type, bool includeInactive) +{ + typedef Il2CppObject* (*ICallMethod) (Il2CppObject* thiz, Il2CppReflectionType* type, bool includeInactive); + static ICallMethod icall; + if (!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::GetComponentInChildren"); + if (!icall) + { + platform_log("UnityEngine.GameObject::GetComponentInChildren func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz, il2cpp_get_class_UnityEngine_GameObject()); + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + MonoObject* monoi2res = NULL; + if (i2type == get_monobehaviour_wrapper_rtype()) //monoУҪcomponentsб + { + MonoArray* arr = UnityEngine_GameObject_GetComponentsInternal(thiz, type, TRUE, TRUE, TRUE, FALSE, NULL); + int len = 0; + if (arr != NULL && (len = mono_array_length(arr)) > 0) + { + MonoType* monoType = mono_reflection_type_get_type(type); + MonoClass* mclass = mono_class_from_mono_type(monoType); + for (int i = 0; i < len; i++) + { + MonoObject* monoObj = mono_array_get(arr, MonoObject*, i); + if (monoObj == NULL) + continue; + MonoClass* tclass = mono_object_get_class(monoObj); + if (mono_object_isinst(monoObj, mclass)) + { + monoi2res = monoObj; + break; + } + } + } + } + else + { + Il2CppObject* i2res = icall(i2thiz, i2type, includeInactive); + MonoType* monoType = mono_reflection_type_get_type(type); + MonoClass* mclass = mono_class_from_mono_type(monoType); + monoi2res = get_mono_object(i2res, mclass); + if (i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.GameObject::GetComponentInChildren fail to convert il2cpp obj to mono"); + } + } + return monoi2res; +} +MonoObject* UnityEngine_GameObject_GetComponentInParent(MonoObject* thiz, MonoReflectionType* type, bool includeInactive) +{ + typedef Il2CppObject* (*ICallMethod) (Il2CppObject* thiz, Il2CppReflectionType* type, bool includeInactive); + static ICallMethod icall; + if (!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::GetComponentInParent"); + if (!icall) + { + platform_log("UnityEngine.GameObject::GetComponentInParent func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz, il2cpp_get_class_UnityEngine_GameObject()); + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + MonoObject* monoi2res = NULL; + if (i2type == get_monobehaviour_wrapper_rtype()) //monoУҪcomponentsб + { + MonoArray* arr = UnityEngine_GameObject_GetComponentsInternal(thiz, type, TRUE, TRUE, FALSE, TRUE, NULL); + int len = 0; + if (arr != NULL && (len = mono_array_length(arr)) > 0) + { + MonoType* monoType = mono_reflection_type_get_type(type); + MonoClass* mclass = mono_class_from_mono_type(monoType); + for (int i = 0; i < len; i++) + { + MonoObject* monoObj = mono_array_get(arr, MonoObject*, i); + if (monoObj == NULL) + continue; + MonoClass* tclass = mono_object_get_class(monoObj); + if (mono_object_isinst(monoObj, mclass)) + { + monoi2res = monoObj; + break; + } + } + } + } + else + { + Il2CppObject* i2res = icall(i2thiz, i2type, includeInactive); + MonoType* monoType = mono_reflection_type_get_type(type); + MonoClass* mclass = mono_class_from_mono_type(monoType); + monoi2res = get_mono_object(i2res, mclass); + if (i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.GameObject::GetComponentInParent fail to convert il2cpp obj to mono"); + } + } + + return monoi2res; +} + MonoObject* UnityEngine_Component_get_gameObject(MonoObject* thiz); void UnityEngine_Component_GetComponentFastPath(MonoObject* obj, MonoReflectionType* type, intptr_t ptr) @@ -340,8 +726,21 @@ void mono_register_icall(void) il2cpp_add_internal_call("ObjectStore::GetObject", (Il2CppMethodPointer)Il2cppGetObject); il2cpp_add_internal_call("ObjectStore::GetObjectPtr", (Il2CppMethodPointer)Il2cppGetObjectPtr); + il2cpp_add_internal_call("ObjectStore::GetReturnArrayToMono", (Il2CppMethodPointer)GetReturnArrayToMono); + il2cpp_add_internal_call("ObjectStore::GetReturnStructToMono", (Il2CppMethodPointer)GetReturnStructToMono); + + il2cpp_add_internal_call("PureScript.ScriptEngine::OnException", (Il2CppMethodPointer)CatchIL2CppException); + il2cpp_add_internal_call("PureScript.ScriptEngine::CheckException", (Il2CppMethodPointer)RaiseIL2CppExceptionFromMono); + mono_add_internal_call("ObjectStore::GetObject", MonoGetObject); mono_add_internal_call("ObjectStore::StoreObject", MonoStoreObject); + mono_add_internal_call("ObjectStore::GetMonoObjectByPtr", GetMonoObjectByPtr); + + mono_add_internal_call("ObjectStore::ConvertObjectMonoToIL2Cpp", ConvertObjectMonoToIL2Cpp); + + mono_add_internal_call("PureScript.Mono.ScriptEngine::OnException", CatchMonoException); + mono_add_internal_call("PureScript.Mono.ScriptEngine::CheckException", RaiseMonoExceptionFromIL2Cpp); + //Aono_add_internal_call("UnityEngine.GameObject::CreatePrimitive", (void*)UnityEngine_GameObject_CreatePrimitive); //Aono_add_internal_call("UnityEngine.DebugLogHandler::Internal_Log", (void*)UnityEngine_DebugLogHandler_Internal_Log); @@ -361,6 +760,8 @@ void mono_register_icall(void) mono_add_internal_call("UnityEngine.GameObject::GetComponentFastPath", (void*)UnityEngine_GameObject_GetComponentFastPath); mono_add_internal_call("UnityEngine.Component::GetComponentFastPath", (void*)UnityEngine_Component_GetComponentFastPath); mono_add_internal_call("UnityEngine.GameObject::GetComponentsInternal", (void*)UnityEngine_GameObject_GetComponentsInternal); + mono_add_internal_call("UnityEngine.GameObject::GetComponentInChildren", (void*)UnityEngine_GameObject_GetComponentInChildren); + mono_add_internal_call("UnityEngine.GameObject::GetComponentInParent", (void*)UnityEngine_GameObject_GetComponentInParent); //Aono_add_internal_call("UnityEngine.MonoBehaviour::IsObjectMonoBehaviour", (void*)UnityEngine_MonoBehaviour_IsObjectMonoBehaviour); mono_add_internal_call("UnityEngine.MonoBehaviour::StartCoroutineManaged2", (void*)UnityEngine_MonoBehaviour_StartCoroutineManaged2); diff --git a/ScriptEngine/custom/wrapper.c b/ScriptEngine/custom/wrapper.c index 87674e8..0e438b8 100644 --- a/ScriptEngine/custom/wrapper.c +++ b/ScriptEngine/custom/wrapper.c @@ -55,17 +55,30 @@ void InvokeMonoBehaviourFunction(Il2CppObject* obj, void* methodPtr) Il2CppObject* create_il2cpp_enumerator_wrapper(MonoObject* mono) { - Il2CppClass* m_class = get_enumerator_wrapper_class(); + Il2CppClass* i2class = get_enumerator_wrapper_class(); if (mono == NULL) return NULL; - Il2CppObject* il2cpp = il2cpp_object_new(m_class); + Il2CppObject* il2cpp = il2cpp_object_new(i2class); + /*if (!is_wrapper_class(klass)) + return;*/ + + WrapperHead* il2cppHead = (WrapperHead*)(il2cpp); + if(il2cppHead->handle != 0) + mono_gchandle_free(il2cppHead->handle); + il2cppHead->handle = mono_gchandle_new(mono, FALSE); + + if (i2class == get_monobehaviour_wrapper_class()) + { + WObjectHead* monoHead = (WObjectHead*)(mono); + monoHead->objectPtr = il2cpp; + } + debug_mono_obj(mono); - call_wrapper_init(il2cpp,mono); + call_wrapper_init(il2cpp, mono); return il2cpp; } - Il2CppClass* get_enumerator_wrapper_class() { static Il2CppClass* enumerator_wrapper_class; @@ -86,6 +99,13 @@ MonoClass* get_ienumerator_class() return ienumerator_class; } +MonoClass* get_serializable_attribute_class() +{ + static MonoClass* serializable_attribute_class; + if (serializable_attribute_class == NULL) + serializable_attribute_class = mono_search_class("mscorlib.dll", "System", "SerializableAttribute"); + return serializable_attribute_class; +} MonoClass* get_YieldInstruction_class() { @@ -121,6 +141,18 @@ MonoClass* get_AsyncOperation_class() return kclass; } +MonoClass* get_wobject_class() +{ + static MonoClass* wobject_class; + if (wobject_class == NULL) + { + wobject_class = mono_search_class("Adapter.wrapper.dll", "", "WObject"); + //il2cpp_add_flag(enumerator_wrapper_class, CLASS_MASK_WRAPPER); + } + return wobject_class; +} + + Il2CppObject* invoke_enumerator_current(Il2CppObject* obj, void* methodPtr) { MonoObject * monoObj = get_mono_wrapper_object(obj, NULL); diff --git a/ScriptEngine/generated/aot_module_register.c b/ScriptEngine/generated/aot_module_register.c index 5be524e..0602c7d 100644 --- a/ScriptEngine/generated/aot_module_register.c +++ b/ScriptEngine/generated/aot_module_register.c @@ -1,14 +1,13 @@ #if RUNTIME_IOS #include "runtime.h" - extern void *mono_aot_module_Assembly_CSharp_info; extern void *mono_aot_module_Mono_Security_info; - extern void *mono_aot_module_System_Configuration_info; + extern void *mono_aot_module_mscorlib_info; extern void *mono_aot_module_System_Core_info; - extern void *mono_aot_module_System_Diagnostics_StackTrace_info; - extern void *mono_aot_module_System_Globalization_Extensions_info; - extern void *mono_aot_module_System_Xml_info; extern void *mono_aot_module_System_info; + extern void *mono_aot_module_Adapter_wrapper_info; + extern void *mono_aot_module_ThirdParty_info; + extern void *mono_aot_module_Unity_Timeline_info; extern void *mono_aot_module_UnityEngine_AIModule_info; extern void *mono_aot_module_UnityEngine_AndroidJNIModule_info; extern void *mono_aot_module_UnityEngine_AnimationModule_info; @@ -16,39 +15,32 @@ extern void *mono_aot_module_UnityEngine_AudioModule_info; extern void *mono_aot_module_UnityEngine_CoreModule_info; extern void *mono_aot_module_UnityEngine_DirectorModule_info; - extern void *mono_aot_module_UnityEngine_GameCenterModule_info; extern void *mono_aot_module_UnityEngine_GridModule_info; + extern void *mono_aot_module_UnityEngine_ImageConversionModule_info; extern void *mono_aot_module_UnityEngine_IMGUIModule_info; extern void *mono_aot_module_UnityEngine_InputLegacyModule_info; - extern void *mono_aot_module_UnityEngine_InputModule_info; extern void *mono_aot_module_UnityEngine_ParticleSystemModule_info; extern void *mono_aot_module_UnityEngine_Physics2DModule_info; extern void *mono_aot_module_UnityEngine_PhysicsModule_info; extern void *mono_aot_module_UnityEngine_SharedInternalsModule_info; - extern void *mono_aot_module_UnityEngine_SubsystemsModule_info; - extern void *mono_aot_module_UnityEngine_TerrainModule_info; + extern void *mono_aot_module_UnityEngine_SpriteShapeModule_info; extern void *mono_aot_module_UnityEngine_TextRenderingModule_info; extern void *mono_aot_module_UnityEngine_TilemapModule_info; + extern void *mono_aot_module_UnityEngine_UI_info; extern void *mono_aot_module_UnityEngine_UIElementsModule_info; + extern void *mono_aot_module_UnityEngine_UIElementsNativeModule_info; extern void *mono_aot_module_UnityEngine_UIModule_info; extern void *mono_aot_module_UnityEngine_UnityWebRequestModule_info; - extern void *mono_aot_module_UnityEngine_VFXModule_info; - extern void *mono_aot_module_UnityEngine_VRModule_info; - extern void *mono_aot_module_UnityEngine_VideoModule_info; - extern void *mono_aot_module_UnityEngine_XRModule_info; - extern void *mono_aot_module_UnityEngine_info; - extern void *mono_aot_module_mscorlib_info; - extern void *mono_aot_module_netstandard_info; + extern void *mono_aot_module_UnityEngine_UnityWebRequestWWWModule_info; void mono_ios_register_modules(void) { - mono_aot_register_module(mono_aot_module_Assembly_CSharp_info); mono_aot_register_module(mono_aot_module_Mono_Security_info); - mono_aot_register_module(mono_aot_module_System_Configuration_info); + mono_aot_register_module(mono_aot_module_mscorlib_info); mono_aot_register_module(mono_aot_module_System_Core_info); - mono_aot_register_module(mono_aot_module_System_Diagnostics_StackTrace_info); - mono_aot_register_module(mono_aot_module_System_Globalization_Extensions_info); - mono_aot_register_module(mono_aot_module_System_Xml_info); mono_aot_register_module(mono_aot_module_System_info); + mono_aot_register_module(mono_aot_module_Adapter_wrapper_info); + mono_aot_register_module(mono_aot_module_ThirdParty_info); + mono_aot_register_module(mono_aot_module_Unity_Timeline_info); mono_aot_register_module(mono_aot_module_UnityEngine_AIModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_AndroidJNIModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_AnimationModule_info); @@ -56,29 +48,23 @@ void mono_ios_register_modules(void) mono_aot_register_module(mono_aot_module_UnityEngine_AudioModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_CoreModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_DirectorModule_info); - mono_aot_register_module(mono_aot_module_UnityEngine_GameCenterModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_GridModule_info); + mono_aot_register_module(mono_aot_module_UnityEngine_ImageConversionModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_IMGUIModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_InputLegacyModule_info); - mono_aot_register_module(mono_aot_module_UnityEngine_InputModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_ParticleSystemModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_Physics2DModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_PhysicsModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_SharedInternalsModule_info); - mono_aot_register_module(mono_aot_module_UnityEngine_SubsystemsModule_info); - mono_aot_register_module(mono_aot_module_UnityEngine_TerrainModule_info); + mono_aot_register_module(mono_aot_module_UnityEngine_SpriteShapeModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_TextRenderingModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_TilemapModule_info); + mono_aot_register_module(mono_aot_module_UnityEngine_UI_info); mono_aot_register_module(mono_aot_module_UnityEngine_UIElementsModule_info); + mono_aot_register_module(mono_aot_module_UnityEngine_UIElementsNativeModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_UIModule_info); mono_aot_register_module(mono_aot_module_UnityEngine_UnityWebRequestModule_info); - mono_aot_register_module(mono_aot_module_UnityEngine_VFXModule_info); - mono_aot_register_module(mono_aot_module_UnityEngine_VRModule_info); - mono_aot_register_module(mono_aot_module_UnityEngine_VideoModule_info); - mono_aot_register_module(mono_aot_module_UnityEngine_XRModule_info); - mono_aot_register_module(mono_aot_module_UnityEngine_info); - mono_aot_register_module(mono_aot_module_mscorlib_info); - mono_aot_register_module(mono_aot_module_netstandard_info); + mono_aot_register_module(mono_aot_module_UnityEngine_UnityWebRequestWWWModule_info); } #endif diff --git a/ScriptEngine/generated/class_cache_gen.c b/ScriptEngine/generated/class_cache_gen.c index 9751c5b..df7f3c0 100644 --- a/ScriptEngine/generated/class_cache_gen.c +++ b/ScriptEngine/generated/class_cache_gen.c @@ -1,33 +1,5 @@ #include "class_cache_gen.h" -MonoImage* mono_get_image_UnityEngine_AnimationModule() -{ - static MonoImage* img; - if(!img) - img = mono_get_image("UnityEngine.AnimationModule.dll"); - return img; -} -MonoImage* mono_get_image_UnityEngine_AudioModule() -{ - static MonoImage* img; - if(!img) - img = mono_get_image("UnityEngine.AudioModule.dll"); - return img; -} -MonoImage* mono_get_image_UnityEngine_CoreModule() -{ - static MonoImage* img; - if(!img) - img = mono_get_image("UnityEngine.CoreModule.dll"); - return img; -} -MonoImage* mono_get_image_UnityEngine_DirectorModule() -{ - static MonoImage* img; - if(!img) - img = mono_get_image("UnityEngine.DirectorModule.dll"); - return img; -} MonoImage* mono_get_image_mscorlib() { static MonoImage* img; @@ -35,60 +7,46 @@ MonoImage* mono_get_image_mscorlib() img = mono_get_image("mscorlib.dll"); return img; } -MonoImage* mono_get_image_UnityEngine_TerrainModule() -{ - static MonoImage* img; - if(!img) - img = mono_get_image("UnityEngine.TerrainModule.dll"); - return img; -} -MonoImage* mono_get_image_UnityEngine_TextRenderingModule() -{ - static MonoImage* img; - if(!img) - img = mono_get_image("UnityEngine.TextRenderingModule.dll"); - return img; -} -MonoImage* mono_get_image_UnityEngine_VideoModule() +MonoImage* mono_get_image_UnityEngine_AnimationModule() { static MonoImage* img; if(!img) - img = mono_get_image("UnityEngine.VideoModule.dll"); + img = mono_get_image("UnityEngine.AnimationModule.dll"); return img; } -MonoImage* mono_get_image_UnityEngine_AIModule() +MonoImage* mono_get_image_UnityEngine_CoreModule() { static MonoImage* img; if(!img) - img = mono_get_image("UnityEngine.AIModule.dll"); + img = mono_get_image("UnityEngine.CoreModule.dll"); return img; } -MonoImage* mono_get_image_UnityEngine_IMGUIModule() +MonoImage* mono_get_image_UnityEngine_AssetBundleModule() { static MonoImage* img; if(!img) - img = mono_get_image("UnityEngine.IMGUIModule.dll"); + img = mono_get_image("UnityEngine.AssetBundleModule.dll"); return img; } -MonoImage* mono_get_image_UnityEngine_InputModule() +MonoImage* mono_get_image_UnityEngine_AudioModule() { static MonoImage* img; if(!img) - img = mono_get_image("UnityEngine.InputModule.dll"); + img = mono_get_image("UnityEngine.AudioModule.dll"); return img; } -MonoImage* mono_get_image_UnityEngine_SubsystemsModule() +MonoImage* mono_get_image_UnityEngine_Physics2DModule() { static MonoImage* img; if(!img) - img = mono_get_image("UnityEngine.SubsystemsModule.dll"); + img = mono_get_image("UnityEngine.Physics2DModule.dll"); return img; } -MonoImage* mono_get_image_UnityEngine_UIElementsModule() +MonoImage* mono_get_image_UnityEngine_PhysicsModule() { static MonoImage* img; if(!img) - img = mono_get_image("UnityEngine.UIElementsModule.dll"); + img = mono_get_image("UnityEngine.PhysicsModule.dll"); return img; } MonoImage* mono_get_image_UnityEngine_UIModule() @@ -98,27 +56,6 @@ MonoImage* mono_get_image_UnityEngine_UIModule() img = mono_get_image("UnityEngine.UIModule.dll"); return img; } -MonoImage* mono_get_image_UnityEngine_VRModule() -{ - static MonoImage* img; - if(!img) - img = mono_get_image("UnityEngine.VRModule.dll"); - return img; -} -MonoImage* mono_get_image_UnityEngine_XRModule() -{ - static MonoImage* img; - if(!img) - img = mono_get_image("UnityEngine.XRModule.dll"); - return img; -} -MonoImage* mono_get_image_UnityEngine_UnityWebRequestModule() -{ - static MonoImage* img; - if(!img) - img = mono_get_image("UnityEngine.UnityWebRequestModule.dll"); - return img; -} Il2CppImage* il2cpp_get_image_UnityEngine_AIModule() { static Il2CppImage* img; @@ -133,6 +70,13 @@ Il2CppImage* il2cpp_get_image_UnityEngine_AnimationModule() img = il2cpp_get_image("UnityEngine.AnimationModule.dll"); return img; } +Il2CppImage* il2cpp_get_image_UnityEngine_AssetBundleModule() +{ + static Il2CppImage* img; + if(!img) + img = il2cpp_get_image("UnityEngine.AssetBundleModule.dll"); + return img; +} Il2CppImage* il2cpp_get_image_UnityEngine_AudioModule() { static Il2CppImage* img; @@ -161,25 +105,25 @@ Il2CppImage* il2cpp_get_image_UnityEngine_IMGUIModule() img = il2cpp_get_image("UnityEngine.IMGUIModule.dll"); return img; } -Il2CppImage* il2cpp_get_image_UnityEngine_InputModule() +Il2CppImage* il2cpp_get_image_UnityEngine_ParticleSystemModule() { static Il2CppImage* img; if(!img) - img = il2cpp_get_image("UnityEngine.InputModule.dll"); + img = il2cpp_get_image("UnityEngine.ParticleSystemModule.dll"); return img; } -Il2CppImage* il2cpp_get_image_UnityEngine_SubsystemsModule() +Il2CppImage* il2cpp_get_image_UnityEngine_Physics2DModule() { static Il2CppImage* img; if(!img) - img = il2cpp_get_image("UnityEngine.SubsystemsModule.dll"); + img = il2cpp_get_image("UnityEngine.Physics2DModule.dll"); return img; } -Il2CppImage* il2cpp_get_image_UnityEngine_TerrainModule() +Il2CppImage* il2cpp_get_image_UnityEngine_PhysicsModule() { static Il2CppImage* img; if(!img) - img = il2cpp_get_image("UnityEngine.TerrainModule.dll"); + img = il2cpp_get_image("UnityEngine.PhysicsModule.dll"); return img; } Il2CppImage* il2cpp_get_image_UnityEngine_TextRenderingModule() @@ -189,11 +133,11 @@ Il2CppImage* il2cpp_get_image_UnityEngine_TextRenderingModule() img = il2cpp_get_image("UnityEngine.TextRenderingModule.dll"); return img; } -Il2CppImage* il2cpp_get_image_UnityEngine_UIElementsModule() +Il2CppImage* il2cpp_get_image_UnityEngine_TilemapModule() { static Il2CppImage* img; if(!img) - img = il2cpp_get_image("UnityEngine.UIElementsModule.dll"); + img = il2cpp_get_image("UnityEngine.TilemapModule.dll"); return img; } Il2CppImage* il2cpp_get_image_UnityEngine_UIModule() @@ -203,41 +147,6 @@ Il2CppImage* il2cpp_get_image_UnityEngine_UIModule() img = il2cpp_get_image("UnityEngine.UIModule.dll"); return img; } -Il2CppImage* il2cpp_get_image_UnityEngine_VRModule() -{ - static Il2CppImage* img; - if(!img) - img = il2cpp_get_image("UnityEngine.VRModule.dll"); - return img; -} -Il2CppImage* il2cpp_get_image_UnityEngine_VideoModule() -{ - static Il2CppImage* img; - if(!img) - img = il2cpp_get_image("UnityEngine.VideoModule.dll"); - return img; -} -Il2CppImage* il2cpp_get_image_UnityEngine_XRModule() -{ - static Il2CppImage* img; - if(!img) - img = il2cpp_get_image("UnityEngine.XRModule.dll"); - return img; -} -Il2CppImage* il2cpp_get_image_UnityEngine_ParticleSystemModule() -{ - static Il2CppImage* img; - if(!img) - img = il2cpp_get_image("UnityEngine.ParticleSystemModule.dll"); - return img; -} -Il2CppImage* il2cpp_get_image_UnityEngine_TilemapModule() -{ - static Il2CppImage* img; - if(!img) - img = il2cpp_get_image("UnityEngine.TilemapModule.dll"); - return img; -} Il2CppImage* il2cpp_get_image_UnityEngine_UnityWebRequestModule() { static Il2CppImage* img; @@ -245,277 +154,95 @@ Il2CppImage* il2cpp_get_image_UnityEngine_UnityWebRequestModule() img = il2cpp_get_image("UnityEngine.UnityWebRequestModule.dll"); return img; } -MonoClass* mono_get_class_UnityEngine_AnimatorOverrideController() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_AnimationModule(),"UnityEngine","AnimatorOverrideController"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_AudioClip() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_AudioModule(),"UnityEngine","AudioClip"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Camera() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Camera"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_CullingGroup() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","CullingGroup"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_ReflectionProbe() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","ReflectionProbe"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Cubemap() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Cubemap"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_AsyncOperation() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","AsyncOperation"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_RectTransform() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","RectTransform"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_U2D_SpriteAtlas() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine.U2D","SpriteAtlas"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Rendering_BatchRendererGroup() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine.Rendering","BatchRendererGroup"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Light() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Light"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Playables_PlayableDirector() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_DirectorModule(),"UnityEngine.Playables","PlayableDirector"); - return klass; -} -MonoClass* mono_get_class_System_Exception() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_mscorlib(),"System","Exception"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_TerrainData() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_TerrainModule(),"UnityEngine","TerrainData"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Font() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_TextRenderingModule(),"UnityEngine","Font"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Video_VideoPlayer() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_VideoModule(),"UnityEngine.Video","VideoPlayer"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_AI_NavMesh() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_AIModule(),"UnityEngine.AI","NavMesh"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_AudioSettings() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_AudioModule(),"UnityEngine","AudioSettings"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Application() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Application"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Display() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Display"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_U2D_SpriteAtlasManager() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine.U2D","SpriteAtlasManager"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Profiling_Memory_Experimental_MemoryProfiler() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine.Profiling.Memory.Experimental","MemoryProfiler"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_SceneManagement_SceneManager() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine.SceneManagement","SceneManager"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Experimental_GlobalIllumination_Lightmapping() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine.Experimental.GlobalIllumination","Lightmapping"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_GUIUtility() +MonoClass* mono_get_class_System_Boolean() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_IMGUIModule(),"UnityEngine","GUIUtility"); + klass = mono_get_class(mono_get_image_mscorlib(),"System","Boolean"); return klass; } -MonoClass* mono_get_class_UnityEngineInternal_Input_NativeInputSystem() +MonoClass* mono_get_class_System_Byte() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_InputModule(),"UnityEngineInternal.Input","NativeInputSystem"); + klass = mono_get_class(mono_get_image_mscorlib(),"System","Byte"); return klass; } -MonoClass* mono_get_class_UnityEngine_SubsystemManager() +MonoClass* mono_get_class_System_SByte() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_SubsystemsModule(),"UnityEngine","SubsystemManager"); + klass = mono_get_class(mono_get_image_mscorlib(),"System","SByte"); return klass; } -MonoClass* mono_get_class_UnityEngine_Experimental_TerrainAPI_TerrainCallbacks() +MonoClass* mono_get_class_System_Char() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_TerrainModule(),"UnityEngine.Experimental.TerrainAPI","TerrainCallbacks"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_UIElements_UIR_Utility() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_UIElementsModule(),"UnityEngine.UIElements.UIR","Utility"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Canvas() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_UIModule(),"UnityEngine","Canvas"); + klass = mono_get_class(mono_get_image_mscorlib(),"System","Char"); return klass; } -MonoClass* mono_get_class_UnityEngine_XR_XRDevice() +MonoClass* mono_get_class_System_Int16() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_VRModule(),"UnityEngine.XR","XRDevice"); + klass = mono_get_class(mono_get_image_mscorlib(),"System","Int16"); return klass; } -MonoClass* mono_get_class_UnityEngine_XR_InputTracking() +MonoClass* mono_get_class_System_Int32() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_XRModule(),"UnityEngine.XR","InputTracking"); + klass = mono_get_class(mono_get_image_mscorlib(),"System","Int32"); return klass; } -MonoClass* mono_get_class_UnityEngine_XR_InputDevices() +MonoClass* mono_get_class_System_Int64() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_XRModule(),"UnityEngine.XR","InputDevices"); + klass = mono_get_class(mono_get_image_mscorlib(),"System","Int64"); return klass; } -MonoClass* mono_get_class_UnityEngine_XR_XRDisplaySubsystem() +MonoClass* mono_get_class_System_Single() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_XRModule(),"UnityEngine.XR","XRDisplaySubsystem"); + klass = mono_get_class(mono_get_image_mscorlib(),"System","Single"); return klass; } -MonoClass* mono_get_class_UnityEngine_XR_XRInputSubsystem() +MonoClass* mono_get_class_System_Double() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_XRModule(),"UnityEngine.XR","XRInputSubsystem"); + klass = mono_get_class(mono_get_image_mscorlib(),"System","Double"); return klass; } -MonoClass* mono_get_class_UnityEngine_RenderTexture() +MonoClass* mono_get_class_System_IntPtr() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","RenderTexture"); + klass = mono_get_class(mono_get_image_mscorlib(),"System","IntPtr"); return klass; } -MonoClass* mono_get_class_UnityEngine_Rendering_CommandBuffer() +MonoClass* mono_get_class_UnityEngine_RuntimeAnimatorController() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine.Rendering","CommandBuffer"); + klass = mono_get_class(mono_get_image_UnityEngine_AnimationModule(),"UnityEngine","RuntimeAnimatorController"); return klass; } -MonoClass* mono_get_class_UnityEngine_Texture() +MonoClass* mono_get_class_UnityEngine_Avatar() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Texture"); + klass = mono_get_class(mono_get_image_UnityEngine_AnimationModule(),"UnityEngine","Avatar"); return klass; } -MonoClass* mono_get_class_System_Object() +MonoClass* mono_get_class_UnityEngine_AnimationClip() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_mscorlib(),"System","Object"); + klass = mono_get_class(mono_get_image_UnityEngine_AnimationModule(),"UnityEngine","AnimationClip"); return klass; } MonoClass* mono_get_class_UnityEngine_Object() @@ -525,88 +252,46 @@ MonoClass* mono_get_class_UnityEngine_Object() klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Object"); return klass; } -MonoClass* mono_get_class_UnityEngine_Material() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Material"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_BillboardAsset() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","BillboardAsset"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_LightmapData() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","LightmapData"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_LightProbes() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","LightProbes"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_ScriptableObject() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","ScriptableObject"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_AnimationCurve() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","AnimationCurve"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Gradient() +MonoClass* mono_get_class_UnityEngine_AssetBundle() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Gradient"); + klass = mono_get_class(mono_get_image_UnityEngine_AssetBundleModule(),"UnityEngine","AssetBundle"); return klass; } -MonoClass* mono_get_class_UnityEngine_Transform() +MonoClass* mono_get_class_UnityEngine_AssetBundleCreateRequest() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Transform"); + klass = mono_get_class(mono_get_image_UnityEngine_AssetBundleModule(),"UnityEngine","AssetBundleCreateRequest"); return klass; } -MonoClass* mono_get_class_UnityEngine_GameObject() +MonoClass* mono_get_class_UnityEngine_AssetBundleRequest() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","GameObject"); + klass = mono_get_class(mono_get_image_UnityEngine_AssetBundleModule(),"UnityEngine","AssetBundleRequest"); return klass; } -MonoClass* mono_get_class_UnityEngine_Shader() +MonoClass* mono_get_class_UnityEngine_AsyncOperation() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Shader"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","AsyncOperation"); return klass; } -MonoClass* mono_get_class_UnityEngine_Flare() +MonoClass* mono_get_class_UnityEngine_AssetBundleRecompressOperation() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Flare"); + klass = mono_get_class(mono_get_image_UnityEngine_AssetBundleModule(),"UnityEngine","AssetBundleRecompressOperation"); return klass; } -MonoClass* mono_get_class_UnityEngine_Mesh() +MonoClass* mono_get_class_UnityEngine_AudioClip() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Mesh"); + klass = mono_get_class(mono_get_image_UnityEngine_AudioModule(),"UnityEngine","AudioClip"); return klass; } MonoClass* mono_get_class_System_Array() @@ -616,879 +301,904 @@ MonoClass* mono_get_class_System_Array() klass = mono_get_class(mono_get_image_mscorlib(),"System","Array"); return klass; } -MonoClass* mono_get_class_UnityEngine_Texture2D() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Texture2D"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_ResourceRequest() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","ResourceRequest"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Component() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Component"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Coroutine() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Coroutine"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Sprite() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Sprite"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_iOS_OnDemandResourcesRequest() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine.iOS","OnDemandResourcesRequest"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_iOS_RemoteNotification() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine.iOS","RemoteNotification"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_IExposedPropertyTable() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","IExposedPropertyTable"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Playables_INotificationReceiver() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine.Playables","INotificationReceiver"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Terrain() -{ - static MonoClass* klass; - if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_TerrainModule(),"UnityEngine","Terrain"); - return klass; -} -MonoClass* mono_get_class_UnityEngine_Networking_UnityWebRequestAsyncOperation() +MonoClass* mono_get_class_UnityEngine_RenderTexture() { static MonoClass* klass; if(!klass) - klass = mono_get_class(mono_get_image_UnityEngine_UnityWebRequestModule(),"UnityEngine.Networking","UnityWebRequestAsyncOperation"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_AI_NavMesh() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AIModule(),"UnityEngine.AI","NavMesh"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_AnimatorOverrideController() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AnimationModule(),"UnityEngine","AnimatorOverrideController"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_AudioSettings() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AudioModule(),"UnityEngine","AudioSettings"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_AudioClip() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AudioModule(),"UnityEngine","AudioClip"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_Application() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Application"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_Camera() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Camera"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_CullingGroup() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","CullingGroup"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_ReflectionProbe() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","ReflectionProbe"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_Display() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Display"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_AsyncOperation() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","AsyncOperation"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_RectTransform() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","RectTransform"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_U2D_SpriteAtlasManager() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.U2D","SpriteAtlasManager"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","RenderTexture"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Profiling_Memory_Experimental_MemoryProfiler() +MonoClass* mono_get_class_UnityEngine_Camera() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Profiling.Memory.Experimental","MemoryProfiler"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Camera"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_SceneManagement_SceneManager() +MonoClass* mono_get_class_UnityEngine_Transform() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.SceneManagement","SceneManager"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Transform"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup() +MonoClass* mono_get_class_UnityEngine_GameObject() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Rendering","BatchRendererGroup"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","GameObject"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Experimental_GlobalIllumination_Lightmapping() +MonoClass* mono_get_class_UnityEngine_Component() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Experimental.GlobalIllumination","Lightmapping"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Component"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Playables_PlayableDirector() +MonoClass* mono_get_class_UnityEngine_Shader() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_DirectorModule(),"UnityEngine.Playables","PlayableDirector"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Shader"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_GUIUtility() +MonoClass* mono_get_class_UnityEngine_Texture() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_IMGUIModule(),"UnityEngine","GUIUtility"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Texture"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngineInternal_Input_NativeInputSystem() +MonoClass* mono_get_class_UnityEngine_Material() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_InputModule(),"UnityEngineInternal.Input","NativeInputSystem"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Material"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_SubsystemManager() +MonoClass* mono_get_class_UnityEngine_Mesh() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_SubsystemsModule(),"UnityEngine","SubsystemManager"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Mesh"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Experimental_TerrainAPI_TerrainCallbacks() +MonoClass* mono_get_class_UnityEngine_Texture2D() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_TerrainModule(),"UnityEngine.Experimental.TerrainAPI","TerrainCallbacks"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Texture2D"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Font() +MonoClass* mono_get_class_UnityEngine_ResourceRequest() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_TextRenderingModule(),"UnityEngine","Font"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","ResourceRequest"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_UIElements_UIR_Utility() +MonoClass* mono_get_class_UnityEngine_Coroutine() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UIElementsModule(),"UnityEngine.UIElements.UIR","Utility"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","Coroutine"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Canvas() +MonoClass* mono_get_class_UnityEngine_ScriptableObject() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UIModule(),"UnityEngine","Canvas"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine","ScriptableObject"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_XR_XRDevice() +MonoClass* mono_get_class_System_UInt16() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_VRModule(),"UnityEngine.XR","XRDevice"); + klass = mono_get_class(mono_get_image_mscorlib(),"System","UInt16"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Video_VideoPlayer() +MonoClass* mono_get_class_System_Object() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_VideoModule(),"UnityEngine.Video","VideoPlayer"); + klass = mono_get_class(mono_get_image_mscorlib(),"System","Object"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_XR_InputTracking() +MonoClass* mono_get_class_UnityEngine_Playables_INotificationReceiver() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_XRModule(),"UnityEngine.XR","InputTracking"); + klass = mono_get_class(mono_get_image_UnityEngine_CoreModule(),"UnityEngine.Playables","INotificationReceiver"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_XR_InputDevices() +MonoClass* mono_get_class_UnityEngine_Collider2D() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_XRModule(),"UnityEngine.XR","InputDevices"); + klass = mono_get_class(mono_get_image_UnityEngine_Physics2DModule(),"UnityEngine","Collider2D"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_XR_XRDisplaySubsystem() +MonoClass* mono_get_class_UnityEngine_Rigidbody2D() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_XRModule(),"UnityEngine.XR","XRDisplaySubsystem"); + klass = mono_get_class(mono_get_image_UnityEngine_Physics2DModule(),"UnityEngine","Rigidbody2D"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_XR_XRInputSubsystem() +MonoClass* mono_get_class_UnityEngine_Rigidbody() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_XRModule(),"UnityEngine.XR","XRInputSubsystem"); + klass = mono_get_class(mono_get_image_UnityEngine_PhysicsModule(),"UnityEngine","Rigidbody"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Object() +MonoClass* mono_get_class_UnityEngine_Canvas() { - static Il2CppClass* klass; + static MonoClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Object"); + klass = mono_get_class(mono_get_image_UnityEngine_UIModule(),"UnityEngine","Canvas"); return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_AnimationCurve() +Il2CppClass* il2cpp_get_class_UnityEngine_AI_NavMeshAgent() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","AnimationCurve"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AIModule(),"UnityEngine.AI","NavMeshAgent"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine.AI", "NavMeshAgent"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_BootConfigData() +Il2CppClass* il2cpp_get_class_UnityEngine_Animator() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","BootConfigData"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AnimationModule(),"UnityEngine","Animator"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Animator"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Shader() +Il2CppClass* il2cpp_get_class_UnityEngine_Animation() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Shader"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AnimationModule(),"UnityEngine","Animation"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Animation"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_RenderTexture() +Il2CppClass* il2cpp_get_class_UnityEngine_AnimationClip() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","RenderTexture"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AnimationModule(),"UnityEngine","AnimationClip"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "AnimationClip"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Texture() +Il2CppClass* il2cpp_get_class_UnityEngine_Motion() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Texture"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AnimationModule(),"UnityEngine","Motion"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Motion"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Rendering_CommandBuffer() +Il2CppClass* il2cpp_get_class_UnityEngine_AnimationState() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Rendering","CommandBuffer"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AnimationModule(),"UnityEngine","AnimationState"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "AnimationState"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Transform() +Il2CppClass* il2cpp_get_class_UnityEngine_AvatarMask() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Transform"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AnimationModule(),"UnityEngine","AvatarMask"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "AvatarMask"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Renderer() +Il2CppClass* il2cpp_get_class_UnityEngine_AssetBundle() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Renderer"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AssetBundleModule(),"UnityEngine","AssetBundle"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "AssetBundle"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_RectOffset() +Il2CppClass* il2cpp_get_class_UnityEngine_AudioClip() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","RectOffset"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AudioModule(),"UnityEngine","AudioClip"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "AudioClip"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Mesh() +Il2CppClass* il2cpp_get_class_UnityEngine_AudioSource() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Mesh"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_AudioModule(),"UnityEngine","AudioSource"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "AudioSource"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Material() +Il2CppClass* il2cpp_get_class_UnityEngine_AnimationCurve() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Material"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","AnimationCurve"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "AnimationCurve"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_BillboardAsset() +Il2CppClass* il2cpp_get_class_UnityEngine_Camera() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","BillboardAsset"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Camera"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Camera"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_MaterialPropertyBlock() +Il2CppClass* il2cpp_get_class_UnityEngine_RenderTexture() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","MaterialPropertyBlock"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","RenderTexture"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "RenderTexture"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_BillboardRenderer() +Il2CppClass* il2cpp_get_class_UnityEngine_Object() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","BillboardRenderer"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Object"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Object"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_LightProbeProxyVolume() +Il2CppClass* il2cpp_get_class_UnityEngine_Transform() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","LightProbeProxyVolume"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Transform"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Transform"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_GraphicsBuffer() +Il2CppClass* il2cpp_get_class_UnityEngine_Component() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","GraphicsBuffer"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Component"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Component"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_LightProbes() +Il2CppClass* il2cpp_get_class_UnityEngine_GameObject() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","LightProbes"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","GameObject"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "GameObject"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_ScriptableObject() +Il2CppClass* il2cpp_get_class_UnityEngine_Behaviour() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","ScriptableObject"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Behaviour"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Behaviour"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_TrailRenderer() +Il2CppClass* il2cpp_get_class_UnityEngine_RectOffset() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","TrailRenderer"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","RectOffset"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "RectOffset"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Gradient() +Il2CppClass* il2cpp_get_class_UnityEngine_Texture() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Gradient"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Texture"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Texture"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_LineRenderer() +Il2CppClass* il2cpp_get_class_UnityEngine_Material() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","LineRenderer"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Material"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Material"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_GameObject() +Il2CppClass* il2cpp_get_class_UnityEngine_Mesh() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","GameObject"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Mesh"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Mesh"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Light() +Il2CppClass* il2cpp_get_class_UnityEngine_Shader() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Light"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Shader"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Shader"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Cubemap() +Il2CppClass* il2cpp_get_class_UnityEngine_GraphicsBuffer() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Cubemap"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","GraphicsBuffer"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "GraphicsBuffer"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_OcclusionPortal() +Il2CppClass* il2cpp_get_class_UnityEngine_MaterialPropertyBlock() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","OcclusionPortal"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","MaterialPropertyBlock"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "MaterialPropertyBlock"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_OcclusionArea() +Il2CppClass* il2cpp_get_class_UnityEngine_TrailRenderer() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","OcclusionArea"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","TrailRenderer"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "TrailRenderer"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Flare() +Il2CppClass* il2cpp_get_class_UnityEngine_LineRenderer() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Flare"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","LineRenderer"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "LineRenderer"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_LensFlare() +Il2CppClass* il2cpp_get_class_UnityEngine_Renderer() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","LensFlare"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Renderer"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Renderer"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_Projector() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Projector"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Projector"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Skybox() +Il2CppClass* il2cpp_get_class_UnityEngine_Light() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Skybox"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Light"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Light"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_MeshFilter() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","MeshFilter"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "MeshFilter"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_SkinnedMeshRenderer() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","SkinnedMeshRenderer"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "SkinnedMeshRenderer"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_MeshRenderer() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","MeshRenderer"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_LODGroup() +Il2CppClass* il2cpp_get_class_UnityEngine_Texture2D() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","LODGroup"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Texture2D"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Texture2D"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Texture2D() +Il2CppClass* il2cpp_get_class_UnityEngine_Cubemap() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Texture2D"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Cubemap"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Cubemap"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_Texture3D() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Texture3D"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Texture3D"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_Texture2DArray() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Texture2DArray"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Texture2DArray"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_CubemapArray() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","CubemapArray"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "CubemapArray"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_SparseTexture() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","SparseTexture"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_CustomRenderTexture() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","CustomRenderTexture"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_Ping() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Ping"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_Behaviour() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Behaviour"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_Component() +Il2CppClass* il2cpp_get_class_UnityEngine_AsyncOperation() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Component"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","AsyncOperation"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "AsyncOperation"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_MonoBehaviour() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","MonoBehaviour"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "MonoBehaviour"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_Coroutine() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Coroutine"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Coroutine"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_TextAsset() +Il2CppClass* il2cpp_get_class_UnityEngine_ScriptableObject() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","TextAsset"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","ScriptableObject"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "ScriptableObject"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_ShaderVariantCollection() +Il2CppClass* il2cpp_get_class_UnityEngine_TextAsset() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","ShaderVariantCollection"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","TextAsset"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "TextAsset"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_ComputeShader() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","ComputeShader"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "ComputeShader"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_TouchScreenKeyboard() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","TouchScreenKeyboard"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "TouchScreenKeyboard"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_SpriteRenderer() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","SpriteRenderer"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "SpriteRenderer"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_Sprite() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","Sprite"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Sprite"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_U2D_SpriteAtlas() +Il2CppClass* il2cpp_get_class_UnityEngine_Playables_INotification() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.U2D","SpriteAtlas"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Playables","INotification"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine.Playables", "INotification"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Profiling_Recorder() +Il2CppClass* il2cpp_get_class_UnityEngine_Playables_INotificationReceiver() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Profiling","Recorder"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Playables","INotificationReceiver"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine.Playables", "INotificationReceiver"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Profiling_Sampler() +Il2CppClass* il2cpp_get_class_UnityEngine_U2D_SpriteAtlas() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Profiling","Sampler"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.U2D","SpriteAtlas"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine.U2D", "SpriteAtlas"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Profiling_CustomSampler() +Il2CppClass* il2cpp_get_class_UnityEngine_Playables_PlayableDirector() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Profiling","CustomSampler"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_DirectorModule(),"UnityEngine.Playables","PlayableDirector"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine.Playables", "PlayableDirector"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_iOS_OnDemandResourcesRequest() +Il2CppClass* il2cpp_get_class_UnityEngine_Event() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.iOS","OnDemandResourcesRequest"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_IMGUIModule(),"UnityEngine","Event"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Event"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_iOS_RemoteNotification() +Il2CppClass* il2cpp_get_class_UnityEngine_GUIStyle() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.iOS","RemoteNotification"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_IMGUIModule(),"UnityEngine","GUIStyle"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "GUIStyle"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader() +Il2CppClass* il2cpp_get_class_UnityEngine_GUIContent() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Experimental.Rendering","RayTracingShader"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_IMGUIModule(),"UnityEngine","GUIContent"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "GUIContent"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure() +Il2CppClass* il2cpp_get_class_UnityEngine_ParticleSystem() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Experimental.Rendering","RayTracingAccelerationStructure"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_ParticleSystemModule(),"UnityEngine","ParticleSystem"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "ParticleSystem"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Rendering_SortingGroup() +Il2CppClass* il2cpp_get_class_UnityEngine_ParticleSystemRenderer() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Rendering","SortingGroup"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_ParticleSystemModule(),"UnityEngine","ParticleSystemRenderer"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "ParticleSystemRenderer"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_IExposedPropertyTable() +Il2CppClass* il2cpp_get_class_UnityEngine_Collider2D() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","IExposedPropertyTable"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_Physics2DModule(),"UnityEngine","Collider2D"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Collider2D"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Playables_INotification() +Il2CppClass* il2cpp_get_class_UnityEngine_Rigidbody2D() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Playables","INotification"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_Physics2DModule(),"UnityEngine","Rigidbody2D"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Rigidbody2D"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Playables_INotificationReceiver() +Il2CppClass* il2cpp_get_class_UnityEngine_CircleCollider2D() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine.Playables","INotificationReceiver"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_Physics2DModule(),"UnityEngine","CircleCollider2D"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "CircleCollider2D"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Event() +Il2CppClass* il2cpp_get_class_UnityEngine_PolygonCollider2D() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_IMGUIModule(),"UnityEngine","Event"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_Physics2DModule(),"UnityEngine","PolygonCollider2D"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "PolygonCollider2D"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_GUIStyleState() +Il2CppClass* il2cpp_get_class_UnityEngine_CompositeCollider2D() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_IMGUIModule(),"UnityEngine","GUIStyleState"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_Physics2DModule(),"UnityEngine","CompositeCollider2D"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "CompositeCollider2D"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_GUIStyle() +Il2CppClass* il2cpp_get_class_UnityEngine_Joint2D() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_IMGUIModule(),"UnityEngine","GUIStyle"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_Physics2DModule(),"UnityEngine","Joint2D"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Joint2D"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_GUIContent() +Il2CppClass* il2cpp_get_class_UnityEngine_HingeJoint2D() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_IMGUIModule(),"UnityEngine","GUIContent"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_Physics2DModule(),"UnityEngine","HingeJoint2D"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "HingeJoint2D"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_ObjectGUIState() +Il2CppClass* il2cpp_get_class_UnityEngine_Rigidbody() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_IMGUIModule(),"UnityEngine","ObjectGUIState"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_PhysicsModule(),"UnityEngine","Rigidbody"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Rigidbody"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_ParticleSystem() +Il2CppClass* il2cpp_get_class_UnityEngine_Collider() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_ParticleSystemModule(),"UnityEngine","ParticleSystem"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_PhysicsModule(),"UnityEngine","Collider"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Collider"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_ParticleSystemRenderer() +Il2CppClass* il2cpp_get_class_UnityEngine_SphereCollider() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_ParticleSystemModule(),"UnityEngine","ParticleSystemRenderer"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_PhysicsModule(),"UnityEngine","SphereCollider"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "SphereCollider"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_IntegratedSubsystem() +Il2CppClass* il2cpp_get_class_UnityEngine_Joint() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_SubsystemsModule(),"UnityEngine","IntegratedSubsystem"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_PhysicsModule(),"UnityEngine","Joint"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Joint"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Terrain() +Il2CppClass* il2cpp_get_class_UnityEngine_HingeJoint() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_TerrainModule(),"UnityEngine","Terrain"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_PhysicsModule(),"UnityEngine","HingeJoint"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "HingeJoint"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_TerrainData() +Il2CppClass* il2cpp_get_class_UnityEngine_TextGenerator() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_TerrainModule(),"UnityEngine","TerrainData"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_TextRenderingModule(),"UnityEngine","TextGenerator"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "TextGenerator"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Tilemaps_Tilemap() +Il2CppClass* il2cpp_get_class_UnityEngine_Font() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_TilemapModule(),"UnityEngine.Tilemaps","Tilemap"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_TextRenderingModule(),"UnityEngine","Font"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Font"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Tilemaps_TilemapRenderer() +Il2CppClass* il2cpp_get_class_UnityEngine_Tilemaps_Tilemap() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_TilemapModule(),"UnityEngine.Tilemaps","TilemapRenderer"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_TilemapModule(),"UnityEngine.Tilemaps","Tilemap"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine.Tilemaps", "Tilemap"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_CanvasGroup() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UIModule(),"UnityEngine","CanvasGroup"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "CanvasGroup"); }; + } return klass; } Il2CppClass* il2cpp_get_class_UnityEngine_CanvasRenderer() { static Il2CppClass* klass; if(!klass) + { klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UIModule(),"UnityEngine","CanvasRenderer"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "CanvasRenderer"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Networking_UnityWebRequest() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UnityWebRequestModule(),"UnityEngine.Networking","UnityWebRequest"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_Networking_UploadHandler() -{ - static Il2CppClass* klass; - if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UnityWebRequestModule(),"UnityEngine.Networking","UploadHandler"); - return klass; -} -Il2CppClass* il2cpp_get_class_UnityEngine_Networking_DownloadHandler() +Il2CppClass* il2cpp_get_class_UnityEngine_Canvas() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UnityWebRequestModule(),"UnityEngine.Networking","DownloadHandler"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UIModule(),"UnityEngine","Canvas"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "Canvas"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Networking_CertificateHandler() +Il2CppClass* il2cpp_get_class_UnityEngine_RectTransform() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UnityWebRequestModule(),"UnityEngine.Networking","CertificateHandler"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_CoreModule(),"UnityEngine","RectTransform"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine", "RectTransform"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Networking_DownloadHandlerBuffer() +Il2CppClass* il2cpp_get_class_UnityEngine_Networking_UnityWebRequest() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UnityWebRequestModule(),"UnityEngine.Networking","DownloadHandlerBuffer"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UnityWebRequestModule(),"UnityEngine.Networking","UnityWebRequest"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine.Networking", "UnityWebRequest"); }; + } return klass; } -Il2CppClass* il2cpp_get_class_UnityEngine_Networking_DownloadHandlerFile() +Il2CppClass* il2cpp_get_class_UnityEngine_Networking_DownloadHandler() { static Il2CppClass* klass; if(!klass) - klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UnityWebRequestModule(),"UnityEngine.Networking","DownloadHandlerFile"); + { + klass = il2cpp_get_class(il2cpp_get_image_UnityEngine_UnityWebRequestModule(),"UnityEngine.Networking","DownloadHandler"); + if(klass == NULL){ platform_log("il2cpp class not found: %s-%s", "UnityEngine.Networking", "DownloadHandler"); }; + } return klass; } diff --git a/ScriptEngine/generated/class_cache_gen.h b/ScriptEngine/generated/class_cache_gen.h index e8b24b0..13e08de 100644 --- a/ScriptEngine/generated/class_cache_gen.h +++ b/ScriptEngine/generated/class_cache_gen.h @@ -4,219 +4,145 @@ #if defined(__cplusplus) extern "C" { #endif +MonoImage* mono_get_image_mscorlib(); MonoImage* mono_get_image_UnityEngine_AnimationModule(); -MonoImage* mono_get_image_UnityEngine_AudioModule(); MonoImage* mono_get_image_UnityEngine_CoreModule(); -MonoImage* mono_get_image_UnityEngine_DirectorModule(); -MonoImage* mono_get_image_mscorlib(); -MonoImage* mono_get_image_UnityEngine_TerrainModule(); -MonoImage* mono_get_image_UnityEngine_TextRenderingModule(); -MonoImage* mono_get_image_UnityEngine_VideoModule(); -MonoImage* mono_get_image_UnityEngine_AIModule(); -MonoImage* mono_get_image_UnityEngine_IMGUIModule(); -MonoImage* mono_get_image_UnityEngine_InputModule(); -MonoImage* mono_get_image_UnityEngine_SubsystemsModule(); -MonoImage* mono_get_image_UnityEngine_UIElementsModule(); +MonoImage* mono_get_image_UnityEngine_AssetBundleModule(); +MonoImage* mono_get_image_UnityEngine_AudioModule(); +MonoImage* mono_get_image_UnityEngine_Physics2DModule(); +MonoImage* mono_get_image_UnityEngine_PhysicsModule(); MonoImage* mono_get_image_UnityEngine_UIModule(); -MonoImage* mono_get_image_UnityEngine_VRModule(); -MonoImage* mono_get_image_UnityEngine_XRModule(); -MonoImage* mono_get_image_UnityEngine_UnityWebRequestModule(); Il2CppImage* il2cpp_get_image_UnityEngine_AIModule(); Il2CppImage* il2cpp_get_image_UnityEngine_AnimationModule(); +Il2CppImage* il2cpp_get_image_UnityEngine_AssetBundleModule(); Il2CppImage* il2cpp_get_image_UnityEngine_AudioModule(); Il2CppImage* il2cpp_get_image_UnityEngine_CoreModule(); Il2CppImage* il2cpp_get_image_UnityEngine_DirectorModule(); Il2CppImage* il2cpp_get_image_UnityEngine_IMGUIModule(); -Il2CppImage* il2cpp_get_image_UnityEngine_InputModule(); -Il2CppImage* il2cpp_get_image_UnityEngine_SubsystemsModule(); -Il2CppImage* il2cpp_get_image_UnityEngine_TerrainModule(); -Il2CppImage* il2cpp_get_image_UnityEngine_TextRenderingModule(); -Il2CppImage* il2cpp_get_image_UnityEngine_UIElementsModule(); -Il2CppImage* il2cpp_get_image_UnityEngine_UIModule(); -Il2CppImage* il2cpp_get_image_UnityEngine_VRModule(); -Il2CppImage* il2cpp_get_image_UnityEngine_VideoModule(); -Il2CppImage* il2cpp_get_image_UnityEngine_XRModule(); Il2CppImage* il2cpp_get_image_UnityEngine_ParticleSystemModule(); +Il2CppImage* il2cpp_get_image_UnityEngine_Physics2DModule(); +Il2CppImage* il2cpp_get_image_UnityEngine_PhysicsModule(); +Il2CppImage* il2cpp_get_image_UnityEngine_TextRenderingModule(); Il2CppImage* il2cpp_get_image_UnityEngine_TilemapModule(); +Il2CppImage* il2cpp_get_image_UnityEngine_UIModule(); Il2CppImage* il2cpp_get_image_UnityEngine_UnityWebRequestModule(); -MonoClass* mono_get_class_UnityEngine_AnimatorOverrideController(); -MonoClass* mono_get_class_UnityEngine_AudioClip(); -MonoClass* mono_get_class_UnityEngine_Camera(); -MonoClass* mono_get_class_UnityEngine_CullingGroup(); -MonoClass* mono_get_class_UnityEngine_ReflectionProbe(); -MonoClass* mono_get_class_UnityEngine_Cubemap(); +MonoClass* mono_get_class_System_Boolean(); +MonoClass* mono_get_class_System_Byte(); +MonoClass* mono_get_class_System_SByte(); +MonoClass* mono_get_class_System_Char(); +MonoClass* mono_get_class_System_Int16(); +MonoClass* mono_get_class_System_Int32(); +MonoClass* mono_get_class_System_Int64(); +MonoClass* mono_get_class_System_Single(); +MonoClass* mono_get_class_System_Double(); +MonoClass* mono_get_class_System_IntPtr(); +MonoClass* mono_get_class_UnityEngine_RuntimeAnimatorController(); +MonoClass* mono_get_class_UnityEngine_Avatar(); +MonoClass* mono_get_class_UnityEngine_AnimationClip(); +MonoClass* mono_get_class_UnityEngine_Object(); +MonoClass* mono_get_class_UnityEngine_AssetBundle(); +MonoClass* mono_get_class_UnityEngine_AssetBundleCreateRequest(); +MonoClass* mono_get_class_UnityEngine_AssetBundleRequest(); MonoClass* mono_get_class_UnityEngine_AsyncOperation(); -MonoClass* mono_get_class_UnityEngine_RectTransform(); -MonoClass* mono_get_class_UnityEngine_U2D_SpriteAtlas(); -MonoClass* mono_get_class_UnityEngine_Rendering_BatchRendererGroup(); -MonoClass* mono_get_class_UnityEngine_Light(); -MonoClass* mono_get_class_UnityEngine_Playables_PlayableDirector(); -MonoClass* mono_get_class_System_Exception(); -MonoClass* mono_get_class_UnityEngine_TerrainData(); -MonoClass* mono_get_class_UnityEngine_Font(); -MonoClass* mono_get_class_UnityEngine_Video_VideoPlayer(); -MonoClass* mono_get_class_UnityEngine_AI_NavMesh(); -MonoClass* mono_get_class_UnityEngine_AudioSettings(); -MonoClass* mono_get_class_UnityEngine_Application(); -MonoClass* mono_get_class_UnityEngine_Display(); -MonoClass* mono_get_class_UnityEngine_U2D_SpriteAtlasManager(); -MonoClass* mono_get_class_UnityEngine_Profiling_Memory_Experimental_MemoryProfiler(); -MonoClass* mono_get_class_UnityEngine_SceneManagement_SceneManager(); -MonoClass* mono_get_class_UnityEngine_Experimental_GlobalIllumination_Lightmapping(); -MonoClass* mono_get_class_UnityEngine_GUIUtility(); -MonoClass* mono_get_class_UnityEngineInternal_Input_NativeInputSystem(); -MonoClass* mono_get_class_UnityEngine_SubsystemManager(); -MonoClass* mono_get_class_UnityEngine_Experimental_TerrainAPI_TerrainCallbacks(); -MonoClass* mono_get_class_UnityEngine_UIElements_UIR_Utility(); -MonoClass* mono_get_class_UnityEngine_Canvas(); -MonoClass* mono_get_class_UnityEngine_XR_XRDevice(); -MonoClass* mono_get_class_UnityEngine_XR_InputTracking(); -MonoClass* mono_get_class_UnityEngine_XR_InputDevices(); -MonoClass* mono_get_class_UnityEngine_XR_XRDisplaySubsystem(); -MonoClass* mono_get_class_UnityEngine_XR_XRInputSubsystem(); +MonoClass* mono_get_class_UnityEngine_AssetBundleRecompressOperation(); +MonoClass* mono_get_class_UnityEngine_AudioClip(); +MonoClass* mono_get_class_System_Array(); MonoClass* mono_get_class_UnityEngine_RenderTexture(); -MonoClass* mono_get_class_UnityEngine_Rendering_CommandBuffer(); -MonoClass* mono_get_class_UnityEngine_Texture(); -MonoClass* mono_get_class_System_Object(); -MonoClass* mono_get_class_UnityEngine_Object(); -MonoClass* mono_get_class_UnityEngine_Material(); -MonoClass* mono_get_class_UnityEngine_BillboardAsset(); -MonoClass* mono_get_class_UnityEngine_LightmapData(); -MonoClass* mono_get_class_UnityEngine_LightProbes(); -MonoClass* mono_get_class_UnityEngine_ScriptableObject(); -MonoClass* mono_get_class_UnityEngine_AnimationCurve(); -MonoClass* mono_get_class_UnityEngine_Gradient(); +MonoClass* mono_get_class_UnityEngine_Camera(); MonoClass* mono_get_class_UnityEngine_Transform(); MonoClass* mono_get_class_UnityEngine_GameObject(); +MonoClass* mono_get_class_UnityEngine_Component(); MonoClass* mono_get_class_UnityEngine_Shader(); -MonoClass* mono_get_class_UnityEngine_Flare(); +MonoClass* mono_get_class_UnityEngine_Texture(); +MonoClass* mono_get_class_UnityEngine_Material(); MonoClass* mono_get_class_UnityEngine_Mesh(); -MonoClass* mono_get_class_System_Array(); MonoClass* mono_get_class_UnityEngine_Texture2D(); MonoClass* mono_get_class_UnityEngine_ResourceRequest(); -MonoClass* mono_get_class_UnityEngine_Component(); MonoClass* mono_get_class_UnityEngine_Coroutine(); -MonoClass* mono_get_class_UnityEngine_Sprite(); -MonoClass* mono_get_class_UnityEngine_iOS_OnDemandResourcesRequest(); -MonoClass* mono_get_class_UnityEngine_iOS_RemoteNotification(); -MonoClass* mono_get_class_UnityEngine_IExposedPropertyTable(); +MonoClass* mono_get_class_UnityEngine_ScriptableObject(); +MonoClass* mono_get_class_System_UInt16(); +MonoClass* mono_get_class_System_Object(); MonoClass* mono_get_class_UnityEngine_Playables_INotificationReceiver(); -MonoClass* mono_get_class_UnityEngine_Terrain(); -MonoClass* mono_get_class_UnityEngine_Networking_UnityWebRequestAsyncOperation(); -Il2CppClass* il2cpp_get_class_UnityEngine_AI_NavMesh(); -Il2CppClass* il2cpp_get_class_UnityEngine_AnimatorOverrideController(); -Il2CppClass* il2cpp_get_class_UnityEngine_AudioSettings(); +MonoClass* mono_get_class_UnityEngine_Collider2D(); +MonoClass* mono_get_class_UnityEngine_Rigidbody2D(); +MonoClass* mono_get_class_UnityEngine_Rigidbody(); +MonoClass* mono_get_class_UnityEngine_Canvas(); +Il2CppClass* il2cpp_get_class_UnityEngine_AI_NavMeshAgent(); +Il2CppClass* il2cpp_get_class_UnityEngine_Animator(); +Il2CppClass* il2cpp_get_class_UnityEngine_Animation(); +Il2CppClass* il2cpp_get_class_UnityEngine_AnimationClip(); +Il2CppClass* il2cpp_get_class_UnityEngine_Motion(); +Il2CppClass* il2cpp_get_class_UnityEngine_AnimationState(); +Il2CppClass* il2cpp_get_class_UnityEngine_AvatarMask(); +Il2CppClass* il2cpp_get_class_UnityEngine_AssetBundle(); Il2CppClass* il2cpp_get_class_UnityEngine_AudioClip(); -Il2CppClass* il2cpp_get_class_UnityEngine_Application(); -Il2CppClass* il2cpp_get_class_UnityEngine_Camera(); -Il2CppClass* il2cpp_get_class_UnityEngine_CullingGroup(); -Il2CppClass* il2cpp_get_class_UnityEngine_ReflectionProbe(); -Il2CppClass* il2cpp_get_class_UnityEngine_Display(); -Il2CppClass* il2cpp_get_class_UnityEngine_AsyncOperation(); -Il2CppClass* il2cpp_get_class_UnityEngine_RectTransform(); -Il2CppClass* il2cpp_get_class_UnityEngine_U2D_SpriteAtlasManager(); -Il2CppClass* il2cpp_get_class_UnityEngine_Profiling_Memory_Experimental_MemoryProfiler(); -Il2CppClass* il2cpp_get_class_UnityEngine_SceneManagement_SceneManager(); -Il2CppClass* il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup(); -Il2CppClass* il2cpp_get_class_UnityEngine_Experimental_GlobalIllumination_Lightmapping(); -Il2CppClass* il2cpp_get_class_UnityEngine_Playables_PlayableDirector(); -Il2CppClass* il2cpp_get_class_UnityEngine_GUIUtility(); -Il2CppClass* il2cpp_get_class_UnityEngineInternal_Input_NativeInputSystem(); -Il2CppClass* il2cpp_get_class_UnityEngine_SubsystemManager(); -Il2CppClass* il2cpp_get_class_UnityEngine_Experimental_TerrainAPI_TerrainCallbacks(); -Il2CppClass* il2cpp_get_class_UnityEngine_Font(); -Il2CppClass* il2cpp_get_class_UnityEngine_UIElements_UIR_Utility(); -Il2CppClass* il2cpp_get_class_UnityEngine_Canvas(); -Il2CppClass* il2cpp_get_class_UnityEngine_XR_XRDevice(); -Il2CppClass* il2cpp_get_class_UnityEngine_Video_VideoPlayer(); -Il2CppClass* il2cpp_get_class_UnityEngine_XR_InputTracking(); -Il2CppClass* il2cpp_get_class_UnityEngine_XR_InputDevices(); -Il2CppClass* il2cpp_get_class_UnityEngine_XR_XRDisplaySubsystem(); -Il2CppClass* il2cpp_get_class_UnityEngine_XR_XRInputSubsystem(); -Il2CppClass* il2cpp_get_class_UnityEngine_Object(); +Il2CppClass* il2cpp_get_class_UnityEngine_AudioSource(); Il2CppClass* il2cpp_get_class_UnityEngine_AnimationCurve(); -Il2CppClass* il2cpp_get_class_UnityEngine_BootConfigData(); -Il2CppClass* il2cpp_get_class_UnityEngine_Shader(); +Il2CppClass* il2cpp_get_class_UnityEngine_Camera(); Il2CppClass* il2cpp_get_class_UnityEngine_RenderTexture(); -Il2CppClass* il2cpp_get_class_UnityEngine_Texture(); -Il2CppClass* il2cpp_get_class_UnityEngine_Rendering_CommandBuffer(); +Il2CppClass* il2cpp_get_class_UnityEngine_Object(); Il2CppClass* il2cpp_get_class_UnityEngine_Transform(); -Il2CppClass* il2cpp_get_class_UnityEngine_Renderer(); +Il2CppClass* il2cpp_get_class_UnityEngine_Component(); +Il2CppClass* il2cpp_get_class_UnityEngine_GameObject(); +Il2CppClass* il2cpp_get_class_UnityEngine_Behaviour(); Il2CppClass* il2cpp_get_class_UnityEngine_RectOffset(); -Il2CppClass* il2cpp_get_class_UnityEngine_Mesh(); +Il2CppClass* il2cpp_get_class_UnityEngine_Texture(); Il2CppClass* il2cpp_get_class_UnityEngine_Material(); -Il2CppClass* il2cpp_get_class_UnityEngine_BillboardAsset(); -Il2CppClass* il2cpp_get_class_UnityEngine_MaterialPropertyBlock(); -Il2CppClass* il2cpp_get_class_UnityEngine_BillboardRenderer(); -Il2CppClass* il2cpp_get_class_UnityEngine_LightProbeProxyVolume(); +Il2CppClass* il2cpp_get_class_UnityEngine_Mesh(); +Il2CppClass* il2cpp_get_class_UnityEngine_Shader(); Il2CppClass* il2cpp_get_class_UnityEngine_GraphicsBuffer(); -Il2CppClass* il2cpp_get_class_UnityEngine_LightProbes(); -Il2CppClass* il2cpp_get_class_UnityEngine_ScriptableObject(); +Il2CppClass* il2cpp_get_class_UnityEngine_MaterialPropertyBlock(); Il2CppClass* il2cpp_get_class_UnityEngine_TrailRenderer(); -Il2CppClass* il2cpp_get_class_UnityEngine_Gradient(); Il2CppClass* il2cpp_get_class_UnityEngine_LineRenderer(); -Il2CppClass* il2cpp_get_class_UnityEngine_GameObject(); -Il2CppClass* il2cpp_get_class_UnityEngine_Light(); -Il2CppClass* il2cpp_get_class_UnityEngine_Cubemap(); -Il2CppClass* il2cpp_get_class_UnityEngine_OcclusionPortal(); -Il2CppClass* il2cpp_get_class_UnityEngine_OcclusionArea(); -Il2CppClass* il2cpp_get_class_UnityEngine_Flare(); -Il2CppClass* il2cpp_get_class_UnityEngine_LensFlare(); +Il2CppClass* il2cpp_get_class_UnityEngine_Renderer(); Il2CppClass* il2cpp_get_class_UnityEngine_Projector(); -Il2CppClass* il2cpp_get_class_UnityEngine_Skybox(); +Il2CppClass* il2cpp_get_class_UnityEngine_Light(); Il2CppClass* il2cpp_get_class_UnityEngine_MeshFilter(); Il2CppClass* il2cpp_get_class_UnityEngine_SkinnedMeshRenderer(); -Il2CppClass* il2cpp_get_class_UnityEngine_MeshRenderer(); -Il2CppClass* il2cpp_get_class_UnityEngine_LODGroup(); Il2CppClass* il2cpp_get_class_UnityEngine_Texture2D(); +Il2CppClass* il2cpp_get_class_UnityEngine_Cubemap(); Il2CppClass* il2cpp_get_class_UnityEngine_Texture3D(); Il2CppClass* il2cpp_get_class_UnityEngine_Texture2DArray(); Il2CppClass* il2cpp_get_class_UnityEngine_CubemapArray(); -Il2CppClass* il2cpp_get_class_UnityEngine_SparseTexture(); -Il2CppClass* il2cpp_get_class_UnityEngine_CustomRenderTexture(); -Il2CppClass* il2cpp_get_class_UnityEngine_Ping(); -Il2CppClass* il2cpp_get_class_UnityEngine_Behaviour(); -Il2CppClass* il2cpp_get_class_UnityEngine_Component(); +Il2CppClass* il2cpp_get_class_UnityEngine_AsyncOperation(); Il2CppClass* il2cpp_get_class_UnityEngine_MonoBehaviour(); Il2CppClass* il2cpp_get_class_UnityEngine_Coroutine(); +Il2CppClass* il2cpp_get_class_UnityEngine_ScriptableObject(); Il2CppClass* il2cpp_get_class_UnityEngine_TextAsset(); -Il2CppClass* il2cpp_get_class_UnityEngine_ShaderVariantCollection(); Il2CppClass* il2cpp_get_class_UnityEngine_ComputeShader(); Il2CppClass* il2cpp_get_class_UnityEngine_TouchScreenKeyboard(); Il2CppClass* il2cpp_get_class_UnityEngine_SpriteRenderer(); Il2CppClass* il2cpp_get_class_UnityEngine_Sprite(); -Il2CppClass* il2cpp_get_class_UnityEngine_U2D_SpriteAtlas(); -Il2CppClass* il2cpp_get_class_UnityEngine_Profiling_Recorder(); -Il2CppClass* il2cpp_get_class_UnityEngine_Profiling_Sampler(); -Il2CppClass* il2cpp_get_class_UnityEngine_Profiling_CustomSampler(); -Il2CppClass* il2cpp_get_class_UnityEngine_iOS_OnDemandResourcesRequest(); -Il2CppClass* il2cpp_get_class_UnityEngine_iOS_RemoteNotification(); -Il2CppClass* il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader(); -Il2CppClass* il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure(); -Il2CppClass* il2cpp_get_class_UnityEngine_Rendering_SortingGroup(); -Il2CppClass* il2cpp_get_class_UnityEngine_IExposedPropertyTable(); Il2CppClass* il2cpp_get_class_UnityEngine_Playables_INotification(); Il2CppClass* il2cpp_get_class_UnityEngine_Playables_INotificationReceiver(); +Il2CppClass* il2cpp_get_class_UnityEngine_U2D_SpriteAtlas(); +Il2CppClass* il2cpp_get_class_UnityEngine_Playables_PlayableDirector(); Il2CppClass* il2cpp_get_class_UnityEngine_Event(); -Il2CppClass* il2cpp_get_class_UnityEngine_GUIStyleState(); Il2CppClass* il2cpp_get_class_UnityEngine_GUIStyle(); Il2CppClass* il2cpp_get_class_UnityEngine_GUIContent(); -Il2CppClass* il2cpp_get_class_UnityEngine_ObjectGUIState(); Il2CppClass* il2cpp_get_class_UnityEngine_ParticleSystem(); Il2CppClass* il2cpp_get_class_UnityEngine_ParticleSystemRenderer(); -Il2CppClass* il2cpp_get_class_UnityEngine_IntegratedSubsystem(); -Il2CppClass* il2cpp_get_class_UnityEngine_Terrain(); -Il2CppClass* il2cpp_get_class_UnityEngine_TerrainData(); +Il2CppClass* il2cpp_get_class_UnityEngine_Collider2D(); +Il2CppClass* il2cpp_get_class_UnityEngine_Rigidbody2D(); +Il2CppClass* il2cpp_get_class_UnityEngine_CircleCollider2D(); +Il2CppClass* il2cpp_get_class_UnityEngine_PolygonCollider2D(); +Il2CppClass* il2cpp_get_class_UnityEngine_CompositeCollider2D(); +Il2CppClass* il2cpp_get_class_UnityEngine_Joint2D(); +Il2CppClass* il2cpp_get_class_UnityEngine_HingeJoint2D(); +Il2CppClass* il2cpp_get_class_UnityEngine_Rigidbody(); +Il2CppClass* il2cpp_get_class_UnityEngine_Collider(); +Il2CppClass* il2cpp_get_class_UnityEngine_SphereCollider(); +Il2CppClass* il2cpp_get_class_UnityEngine_Joint(); +Il2CppClass* il2cpp_get_class_UnityEngine_HingeJoint(); +Il2CppClass* il2cpp_get_class_UnityEngine_TextGenerator(); +Il2CppClass* il2cpp_get_class_UnityEngine_Font(); Il2CppClass* il2cpp_get_class_UnityEngine_Tilemaps_Tilemap(); -Il2CppClass* il2cpp_get_class_UnityEngine_Tilemaps_TilemapRenderer(); Il2CppClass* il2cpp_get_class_UnityEngine_CanvasGroup(); Il2CppClass* il2cpp_get_class_UnityEngine_CanvasRenderer(); +Il2CppClass* il2cpp_get_class_UnityEngine_Canvas(); +Il2CppClass* il2cpp_get_class_UnityEngine_RectTransform(); Il2CppClass* il2cpp_get_class_UnityEngine_Networking_UnityWebRequest(); -Il2CppClass* il2cpp_get_class_UnityEngine_Networking_UploadHandler(); Il2CppClass* il2cpp_get_class_UnityEngine_Networking_DownloadHandler(); -Il2CppClass* il2cpp_get_class_UnityEngine_Networking_CertificateHandler(); -Il2CppClass* il2cpp_get_class_UnityEngine_Networking_DownloadHandlerBuffer(); -Il2CppClass* il2cpp_get_class_UnityEngine_Networking_DownloadHandlerFile(); #if defined(__cplusplus) } #endif diff --git a/ScriptEngine/generated/event_binding_gen.c b/ScriptEngine/generated/event_binding_gen.c index 5e3feeb..15eaca4 100644 --- a/ScriptEngine/generated/event_binding_gen.c +++ b/ScriptEngine/generated/event_binding_gen.c @@ -1,832 +1,7 @@ #include "event_binding.h" #include "class_cache_gen.h" -EventMethodDesc methods[65]; -void UnityEngine_AI_NavMesh_Internal_CallOnNavMeshPreUpdate(const MethodInfo* imethod) -{ - const int index = 0; - typedef void (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(&exc); - check_mono_exception(exc); -} -void UnityEngine_AnimatorOverrideController_OnInvalidateOverrideController(Il2CppObject* controller, const MethodInfo* imethod) -{ - const int index = 1; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* controller, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monocontroller = get_mono_object(controller,mono_get_class_UnityEngine_AnimatorOverrideController()); - thunk(monocontroller,&exc); - check_mono_exception(exc); -} -void UnityEngine_AudioSettings_InvokeOnAudioConfigurationChanged(bool deviceWasChanged, const MethodInfo* imethod) -{ - const int index = 2; - typedef void (* THUNK_METHOD EventMethod) (bool deviceWasChanged, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(deviceWasChanged,&exc); - check_mono_exception(exc); -} -void UnityEngine_AudioClip_InvokePCMReaderCallback_Internal(Il2CppObject* thiz, void* data, const MethodInfo* imethod) -{ - const int index = 3; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* thiz, void* data, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monothiz = get_mono_object(thiz,mono_get_class_UnityEngine_AudioClip()); - thunk(monothiz,data,&exc); - check_mono_exception(exc); -} -void UnityEngine_AudioClip_InvokePCMSetPositionCallback_Internal(Il2CppObject* thiz, int32_t position, const MethodInfo* imethod) -{ - const int index = 4; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* thiz, int32_t position, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monothiz = get_mono_object(thiz,mono_get_class_UnityEngine_AudioClip()); - thunk(monothiz,position,&exc); - check_mono_exception(exc); -} -void UnityEngine_Application_CallLowMemory(const MethodInfo* imethod) -{ - const int index = 5; - typedef void (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(&exc); - check_mono_exception(exc); -} -void UnityEngine_Application_CallLogCallback(Il2CppString* logString, Il2CppString* stackTrace, int32_t type, bool invokedOnMainThread, const MethodInfo* imethod) -{ - const int index = 6; - typedef void (* THUNK_METHOD EventMethod) (MonoString* logString, MonoString* stackTrace, int32_t type, bool invokedOnMainThread, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoString* monologString = get_mono_string(logString); - MonoString* monostackTrace = get_mono_string(stackTrace); - thunk(monologString,monostackTrace,type,invokedOnMainThread,&exc); - check_mono_exception(exc); -} -bool UnityEngine_Application_Internal_ApplicationWantsToQuit(const MethodInfo* imethod) -{ - const int index = 7; - typedef bool (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - bool res = thunk(&exc); - check_mono_exception(exc); - return res; -} -void UnityEngine_Application_Internal_ApplicationQuit(const MethodInfo* imethod) -{ - const int index = 8; - typedef void (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(&exc); - check_mono_exception(exc); -} -void UnityEngine_Application_InvokeFocusChanged(bool focus, const MethodInfo* imethod) -{ - const int index = 9; - typedef void (* THUNK_METHOD EventMethod) (bool focus, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(focus,&exc); - check_mono_exception(exc); -} -void UnityEngine_Application_InvokeDeepLinkActivated(Il2CppString* url, const MethodInfo* imethod) -{ - const int index = 10; - typedef void (* THUNK_METHOD EventMethod) (MonoString* url, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoString* monourl = get_mono_string(url); - thunk(monourl,&exc); - check_mono_exception(exc); -} -void UnityEngine_Camera_FireOnPreCull(Il2CppObject* cam, const MethodInfo* imethod) -{ - const int index = 11; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* cam, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monocam = get_mono_object(cam,mono_get_class_UnityEngine_Camera()); - thunk(monocam,&exc); - check_mono_exception(exc); -} -void UnityEngine_Camera_FireOnPreRender(Il2CppObject* cam, const MethodInfo* imethod) -{ - const int index = 12; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* cam, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monocam = get_mono_object(cam,mono_get_class_UnityEngine_Camera()); - thunk(monocam,&exc); - check_mono_exception(exc); -} -void UnityEngine_Camera_FireOnPostRender(Il2CppObject* cam, const MethodInfo* imethod) -{ - const int index = 13; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* cam, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monocam = get_mono_object(cam,mono_get_class_UnityEngine_Camera()); - thunk(monocam,&exc); - check_mono_exception(exc); -} -void UnityEngine_CullingGroup_SendEvents(Il2CppObject* cullingGroup, void * eventsPtr, int32_t count, const MethodInfo* imethod) -{ - const int index = 14; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* cullingGroup, void * eventsPtr, int32_t count, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monocullingGroup = get_mono_object(cullingGroup,mono_get_class_UnityEngine_CullingGroup()); - thunk(monocullingGroup,eventsPtr,count,&exc); - check_mono_exception(exc); -} -void UnityEngine_ReflectionProbe_CallReflectionProbeEvent(Il2CppObject* probe, int32_t probeEvent, const MethodInfo* imethod) -{ - const int index = 15; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* probe, int32_t probeEvent, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monoprobe = get_mono_object(probe,mono_get_class_UnityEngine_ReflectionProbe()); - thunk(monoprobe,probeEvent,&exc); - check_mono_exception(exc); -} -void UnityEngine_ReflectionProbe_CallSetDefaultReflection(Il2CppObject* defaultReflectionCubemap, const MethodInfo* imethod) -{ - const int index = 16; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* defaultReflectionCubemap, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monodefaultReflectionCubemap = get_mono_object(defaultReflectionCubemap,mono_get_class_UnityEngine_Cubemap()); - thunk(monodefaultReflectionCubemap,&exc); - check_mono_exception(exc); -} -void UnityEngine_Display_FireDisplaysUpdated(const MethodInfo* imethod) -{ - const int index = 17; - typedef void (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(&exc); - check_mono_exception(exc); -} -void UnityEngine_AsyncOperation_InvokeCompletionEvent(Il2CppObject* thiz, const MethodInfo* imethod) -{ - const int index = 18; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* thiz, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monothiz = get_mono_object(thiz,mono_get_class_UnityEngine_AsyncOperation()); - thunk(monothiz,&exc); - check_mono_exception(exc); -} -void UnityEngine_RectTransform_SendReapplyDrivenProperties(Il2CppObject* driven, const MethodInfo* imethod) -{ - const int index = 19; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* driven, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monodriven = get_mono_object(driven,mono_get_class_UnityEngine_RectTransform()); - thunk(monodriven,&exc); - check_mono_exception(exc); -} -bool UnityEngine_U2D_SpriteAtlasManager_RequestAtlas(Il2CppString* tag, const MethodInfo* imethod) -{ - const int index = 20; - typedef bool (* THUNK_METHOD EventMethod) (MonoString* tag, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoString* monotag = get_mono_string(tag); - bool res = thunk(monotag,&exc); - check_mono_exception(exc); - return res; -} -void UnityEngine_U2D_SpriteAtlasManager_PostRegisteredAtlas(Il2CppObject* spriteAtlas, const MethodInfo* imethod) -{ - const int index = 21; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* spriteAtlas, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monospriteAtlas = get_mono_object(spriteAtlas,mono_get_class_UnityEngine_U2D_SpriteAtlas()); - thunk(monospriteAtlas,&exc); - check_mono_exception(exc); -} -void* UnityEngine_Profiling_Memory_Experimental_MemoryProfiler_PrepareMetadata(const MethodInfo* imethod) -{ - const int index = 22; - typedef void* (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - void* res = thunk(&exc); - check_mono_exception(exc); - return res; -} -void UnityEngine_Profiling_Memory_Experimental_MemoryProfiler_FinalizeSnapshot(Il2CppString* path, bool result, const MethodInfo* imethod) -{ - const int index = 23; - typedef void (* THUNK_METHOD EventMethod) (MonoString* path, bool result, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoString* monopath = get_mono_string(path); - thunk(monopath,result,&exc); - check_mono_exception(exc); -} -void UnityEngine_Profiling_Memory_Experimental_MemoryProfiler_SaveScreenshotToDisk(Il2CppString* path, bool result, void * pixelsPtr, int32_t pixelsCount, int32_t format, int32_t width, int32_t height, const MethodInfo* imethod) -{ - const int index = 24; - typedef void (* THUNK_METHOD EventMethod) (MonoString* path, bool result, void * pixelsPtr, int32_t pixelsCount, int32_t format, int32_t width, int32_t height, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoString* monopath = get_mono_string(path); - thunk(monopath,result,pixelsPtr,pixelsCount,format,width,height,&exc); - check_mono_exception(exc); -} -void UnityEngine_SceneManagement_SceneManager_Internal_SceneLoaded(void * scene, int32_t mode, const MethodInfo* imethod) -{ - const int index = 25; - typedef void (* THUNK_METHOD EventMethod) (void * scene, int32_t mode, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(scene,mode,&exc); - check_mono_exception(exc); -} -void UnityEngine_SceneManagement_SceneManager_Internal_SceneUnloaded(void * scene, const MethodInfo* imethod) -{ - const int index = 26; - typedef void (* THUNK_METHOD EventMethod) (void * scene, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(scene,&exc); - check_mono_exception(exc); -} -void UnityEngine_SceneManagement_SceneManager_Internal_ActiveSceneChanged(void * previousActiveScene, void * newActiveScene, const MethodInfo* imethod) -{ - const int index = 27; - typedef void (* THUNK_METHOD EventMethod) (void * previousActiveScene, void * newActiveScene, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(previousActiveScene,newActiveScene,&exc); - check_mono_exception(exc); -} -void UnityEngine_Rendering_BatchRendererGroup_InvokeOnPerformCulling(Il2CppObject* group, void * context, void * lodParameters, const MethodInfo* imethod) -{ - const int index = 28; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* group, void * context, void * lodParameters, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monogroup = get_mono_object(group,mono_get_class_UnityEngine_Rendering_BatchRendererGroup()); - thunk(monogroup,context,lodParameters,&exc); - check_mono_exception(exc); -} -void UnityEngine_Experimental_GlobalIllumination_Lightmapping_RequestLights(Il2CppArray* lights, void * outLightsPtr, int32_t outLightsCount, const MethodInfo* imethod) -{ - const int index = 29; - typedef void (* THUNK_METHOD EventMethod) (MonoArray* lights, void * outLightsPtr, int32_t outLightsCount, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoArray* monolights = get_mono_array(lights); - thunk(monolights,outLightsPtr,outLightsCount,&exc); - check_mono_exception(exc); -} -void UnityEngine_Playables_PlayableDirector_SendOnPlayableDirectorPlay(Il2CppObject* thiz, const MethodInfo* imethod) -{ - const int index = 30; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* thiz, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monothiz = get_mono_object(thiz,mono_get_class_UnityEngine_Playables_PlayableDirector()); - thunk(monothiz,&exc); - check_mono_exception(exc); -} -void UnityEngine_Playables_PlayableDirector_SendOnPlayableDirectorPause(Il2CppObject* thiz, const MethodInfo* imethod) -{ - const int index = 31; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* thiz, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monothiz = get_mono_object(thiz,mono_get_class_UnityEngine_Playables_PlayableDirector()); - thunk(monothiz,&exc); - check_mono_exception(exc); -} -void UnityEngine_Playables_PlayableDirector_SendOnPlayableDirectorStop(Il2CppObject* thiz, const MethodInfo* imethod) -{ - const int index = 32; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* thiz, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monothiz = get_mono_object(thiz,mono_get_class_UnityEngine_Playables_PlayableDirector()); - thunk(monothiz,&exc); - check_mono_exception(exc); -} -void UnityEngine_GUIUtility_MarkGUIChanged(const MethodInfo* imethod) -{ - const int index = 33; - typedef void (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(&exc); - check_mono_exception(exc); -} -void UnityEngine_GUIUtility_TakeCapture(const MethodInfo* imethod) -{ - const int index = 34; - typedef void (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(&exc); - check_mono_exception(exc); -} -void UnityEngine_GUIUtility_RemoveCapture(const MethodInfo* imethod) -{ - const int index = 35; - typedef void (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(&exc); - check_mono_exception(exc); -} -bool UnityEngine_GUIUtility_ProcessEvent(int32_t instanceID, void * nativeEventPtr, const MethodInfo* imethod) -{ - const int index = 36; - typedef bool (* THUNK_METHOD EventMethod) (int32_t instanceID, void * nativeEventPtr, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - bool res = thunk(instanceID,nativeEventPtr,&exc); - check_mono_exception(exc); - return res; -} -bool UnityEngine_GUIUtility_EndContainerGUIFromException(Il2CppObject* exception, const MethodInfo* imethod) -{ - const int index = 37; - typedef bool (* THUNK_METHOD EventMethod) (MonoObject* exception, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monoexception = get_mono_object(exception,mono_get_class_System_Exception()); - bool res = thunk(monoexception,&exc); - check_mono_exception(exc); - return res; -} -void UnityEngineInternal_Input_NativeInputSystem_NotifyBeforeUpdate(int32_t updateType, const MethodInfo* imethod) -{ - const int index = 38; - typedef void (* THUNK_METHOD EventMethod) (int32_t updateType, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(updateType,&exc); - check_mono_exception(exc); -} -void UnityEngineInternal_Input_NativeInputSystem_NotifyUpdate(int32_t updateType, void * eventBuffer, const MethodInfo* imethod) -{ - const int index = 39; - typedef void (* THUNK_METHOD EventMethod) (int32_t updateType, void * eventBuffer, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(updateType,eventBuffer,&exc); - check_mono_exception(exc); -} -void UnityEngineInternal_Input_NativeInputSystem_NotifyDeviceDiscovered(int32_t deviceId, Il2CppString* deviceDescriptor, const MethodInfo* imethod) -{ - const int index = 40; - typedef void (* THUNK_METHOD EventMethod) (int32_t deviceId, MonoString* deviceDescriptor, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoString* monodeviceDescriptor = get_mono_string(deviceDescriptor); - thunk(deviceId,monodeviceDescriptor,&exc); - check_mono_exception(exc); -} -void UnityEngineInternal_Input_NativeInputSystem_ShouldRunUpdate(int32_t updateType, void * retval, const MethodInfo* imethod) -{ - const int index = 41; - typedef void (* THUNK_METHOD EventMethod) (int32_t updateType, void * retval, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(updateType,retval,&exc); - check_mono_exception(exc); -} -void UnityEngine_SubsystemManager_Internal_ReloadSubsystemsStarted(const MethodInfo* imethod) -{ - const int index = 42; - typedef void (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(&exc); - check_mono_exception(exc); -} -void UnityEngine_SubsystemManager_Internal_ReloadSubsystemsCompleted(const MethodInfo* imethod) -{ - const int index = 43; - typedef void (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(&exc); - check_mono_exception(exc); -} -void UnityEngine_Experimental_TerrainAPI_TerrainCallbacks_InvokeHeightmapChangedCallback(Il2CppObject* terrainData, void * heightRegion, bool synched, const MethodInfo* imethod) -{ - const int index = 44; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* terrainData, void * heightRegion, bool synched, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monoterrainData = get_mono_object(terrainData,mono_get_class_UnityEngine_TerrainData()); - thunk(monoterrainData,heightRegion,synched,&exc); - check_mono_exception(exc); -} -void UnityEngine_Experimental_TerrainAPI_TerrainCallbacks_InvokeTextureChangedCallback(Il2CppObject* terrainData, Il2CppString* textureName, void * texelRegion, bool synched, const MethodInfo* imethod) -{ - const int index = 45; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* terrainData, MonoString* textureName, void * texelRegion, bool synched, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monoterrainData = get_mono_object(terrainData,mono_get_class_UnityEngine_TerrainData()); - MonoString* monotextureName = get_mono_string(textureName); - thunk(monoterrainData,monotextureName,texelRegion,synched,&exc); - check_mono_exception(exc); -} -void UnityEngine_Font_InvokeTextureRebuilt_Internal(Il2CppObject* font, const MethodInfo* imethod) -{ - const int index = 46; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* font, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monofont = get_mono_object(font,mono_get_class_UnityEngine_Font()); - thunk(monofont,&exc); - check_mono_exception(exc); -} -void UnityEngine_UIElements_UIR_Utility_RaiseGraphicsResourcesRecreate(bool recreate, const MethodInfo* imethod) -{ - const int index = 47; - typedef void (* THUNK_METHOD EventMethod) (bool recreate, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(recreate,&exc); - check_mono_exception(exc); -} -void UnityEngine_UIElements_UIR_Utility_RaiseEngineUpdate(const MethodInfo* imethod) -{ - const int index = 48; - typedef void (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(&exc); - check_mono_exception(exc); -} -void UnityEngine_UIElements_UIR_Utility_RaiseFlushPendingResources(const MethodInfo* imethod) -{ - const int index = 49; - typedef void (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(&exc); - check_mono_exception(exc); -} -void UnityEngine_Canvas_SendWillRenderCanvases(const MethodInfo* imethod) -{ - const int index = 50; - typedef void (* THUNK_METHOD EventMethod) (MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(&exc); - check_mono_exception(exc); -} -void UnityEngine_XR_XRDevice_InvokeDeviceLoaded(Il2CppString* loadedDeviceName, const MethodInfo* imethod) -{ - const int index = 51; - typedef void (* THUNK_METHOD EventMethod) (MonoString* loadedDeviceName, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoString* monoloadedDeviceName = get_mono_string(loadedDeviceName); - thunk(monoloadedDeviceName,&exc); - check_mono_exception(exc); -} -void UnityEngine_Video_VideoPlayer_InvokePrepareCompletedCallback_Internal(Il2CppObject* source, const MethodInfo* imethod) -{ - const int index = 52; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* source, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monosource = get_mono_object(source,mono_get_class_UnityEngine_Video_VideoPlayer()); - thunk(monosource,&exc); - check_mono_exception(exc); -} -void UnityEngine_Video_VideoPlayer_InvokeFrameReadyCallback_Internal(Il2CppObject* source, int64_t frameIdx, const MethodInfo* imethod) -{ - const int index = 53; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* source, int64_t frameIdx, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monosource = get_mono_object(source,mono_get_class_UnityEngine_Video_VideoPlayer()); - thunk(monosource,frameIdx,&exc); - check_mono_exception(exc); -} -void UnityEngine_Video_VideoPlayer_InvokeLoopPointReachedCallback_Internal(Il2CppObject* source, const MethodInfo* imethod) -{ - const int index = 54; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* source, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monosource = get_mono_object(source,mono_get_class_UnityEngine_Video_VideoPlayer()); - thunk(monosource,&exc); - check_mono_exception(exc); -} -void UnityEngine_Video_VideoPlayer_InvokeStartedCallback_Internal(Il2CppObject* source, const MethodInfo* imethod) -{ - const int index = 55; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* source, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monosource = get_mono_object(source,mono_get_class_UnityEngine_Video_VideoPlayer()); - thunk(monosource,&exc); - check_mono_exception(exc); -} -void UnityEngine_Video_VideoPlayer_InvokeFrameDroppedCallback_Internal(Il2CppObject* source, const MethodInfo* imethod) -{ - const int index = 56; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* source, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monosource = get_mono_object(source,mono_get_class_UnityEngine_Video_VideoPlayer()); - thunk(monosource,&exc); - check_mono_exception(exc); -} -void UnityEngine_Video_VideoPlayer_InvokeErrorReceivedCallback_Internal(Il2CppObject* source, Il2CppString* errorStr, const MethodInfo* imethod) -{ - const int index = 57; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* source, MonoString* errorStr, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monosource = get_mono_object(source,mono_get_class_UnityEngine_Video_VideoPlayer()); - MonoString* monoerrorStr = get_mono_string(errorStr); - thunk(monosource,monoerrorStr,&exc); - check_mono_exception(exc); -} -void UnityEngine_Video_VideoPlayer_InvokeSeekCompletedCallback_Internal(Il2CppObject* source, const MethodInfo* imethod) -{ - const int index = 58; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* source, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monosource = get_mono_object(source,mono_get_class_UnityEngine_Video_VideoPlayer()); - thunk(monosource,&exc); - check_mono_exception(exc); -} -void UnityEngine_Video_VideoPlayer_InvokeClockResyncOccurredCallback_Internal(Il2CppObject* source, double seconds, const MethodInfo* imethod) -{ - const int index = 59; - typedef void (* THUNK_METHOD EventMethod) (MonoObject* source, double seconds, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - MonoObject* monosource = get_mono_object(source,mono_get_class_UnityEngine_Video_VideoPlayer()); - thunk(monosource,seconds,&exc); - check_mono_exception(exc); -} -void UnityEngine_XR_InputTracking_InvokeTrackingEvent(int32_t eventType, int32_t nodeType, int64_t uniqueID, bool tracked, const MethodInfo* imethod) -{ - const int index = 60; - typedef void (* THUNK_METHOD EventMethod) (int32_t eventType, int32_t nodeType, int64_t uniqueID, bool tracked, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(eventType,nodeType,uniqueID,tracked,&exc); - check_mono_exception(exc); -} -void UnityEngine_XR_InputDevices_InvokeConnectionEvent(uint64_t deviceId, int32_t change, const MethodInfo* imethod) -{ - const int index = 61; - typedef void (* THUNK_METHOD EventMethod) (uint64_t deviceId, int32_t change, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(deviceId,change,&exc); - check_mono_exception(exc); -} -void UnityEngine_XR_XRDisplaySubsystem_InvokeDisplayFocusChanged(bool focus, const MethodInfo* imethod) -{ - const int index = 62; - typedef void (* THUNK_METHOD EventMethod) (bool focus, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(focus,&exc); - check_mono_exception(exc); -} -void UnityEngine_XR_XRInputSubsystem_InvokeTrackingOriginUpdatedEvent(void * internalPtr, const MethodInfo* imethod) -{ - const int index = 63; - typedef void (* THUNK_METHOD EventMethod) (void * internalPtr, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(internalPtr,&exc); - check_mono_exception(exc); -} -void UnityEngine_XR_XRInputSubsystem_InvokeBoundaryChangedEvent(void * internalPtr, const MethodInfo* imethod) -{ - const int index = 64; - typedef void (* THUNK_METHOD EventMethod) (void * internalPtr, MonoException** exc); - static EventMethod thunk; - if(!thunk) - thunk = mono_method_get_unmanaged_thunk(methods[index].hooked); - MonoException *exc = NULL; - thunk(internalPtr,&exc); - check_mono_exception(exc); -} void init_event_gen() { - init_event_method(&methods[0],mono_get_class_UnityEngine_AI_NavMesh(),il2cpp_get_class_UnityEngine_AI_NavMesh(),"Internal_CallOnNavMeshPreUpdate",0,(Il2CppMethodPointer) UnityEngine_AI_NavMesh_Internal_CallOnNavMeshPreUpdate); - init_event_method(&methods[1],mono_get_class_UnityEngine_AnimatorOverrideController(),il2cpp_get_class_UnityEngine_AnimatorOverrideController(),"OnInvalidateOverrideController",1,(Il2CppMethodPointer) UnityEngine_AnimatorOverrideController_OnInvalidateOverrideController); - init_event_method(&methods[2],mono_get_class_UnityEngine_AudioSettings(),il2cpp_get_class_UnityEngine_AudioSettings(),"InvokeOnAudioConfigurationChanged",1,(Il2CppMethodPointer) UnityEngine_AudioSettings_InvokeOnAudioConfigurationChanged); - init_event_method(&methods[3],mono_get_class_UnityEngine_AudioClip(),il2cpp_get_class_UnityEngine_AudioClip(),"InvokePCMReaderCallback_Internal",1,(Il2CppMethodPointer) UnityEngine_AudioClip_InvokePCMReaderCallback_Internal); - init_event_method(&methods[4],mono_get_class_UnityEngine_AudioClip(),il2cpp_get_class_UnityEngine_AudioClip(),"InvokePCMSetPositionCallback_Internal",1,(Il2CppMethodPointer) UnityEngine_AudioClip_InvokePCMSetPositionCallback_Internal); - init_event_method(&methods[5],mono_get_class_UnityEngine_Application(),il2cpp_get_class_UnityEngine_Application(),"CallLowMemory",0,(Il2CppMethodPointer) UnityEngine_Application_CallLowMemory); - init_event_method(&methods[6],mono_get_class_UnityEngine_Application(),il2cpp_get_class_UnityEngine_Application(),"CallLogCallback",4,(Il2CppMethodPointer) UnityEngine_Application_CallLogCallback); - init_event_method(&methods[7],mono_get_class_UnityEngine_Application(),il2cpp_get_class_UnityEngine_Application(),"Internal_ApplicationWantsToQuit",0,(Il2CppMethodPointer) UnityEngine_Application_Internal_ApplicationWantsToQuit); - init_event_method(&methods[8],mono_get_class_UnityEngine_Application(),il2cpp_get_class_UnityEngine_Application(),"Internal_ApplicationQuit",0,(Il2CppMethodPointer) UnityEngine_Application_Internal_ApplicationQuit); - init_event_method(&methods[9],mono_get_class_UnityEngine_Application(),il2cpp_get_class_UnityEngine_Application(),"InvokeFocusChanged",1,(Il2CppMethodPointer) UnityEngine_Application_InvokeFocusChanged); - init_event_method(&methods[10],mono_get_class_UnityEngine_Application(),il2cpp_get_class_UnityEngine_Application(),"InvokeDeepLinkActivated",1,(Il2CppMethodPointer) UnityEngine_Application_InvokeDeepLinkActivated); - init_event_method(&methods[11],mono_get_class_UnityEngine_Camera(),il2cpp_get_class_UnityEngine_Camera(),"FireOnPreCull",1,(Il2CppMethodPointer) UnityEngine_Camera_FireOnPreCull); - init_event_method(&methods[12],mono_get_class_UnityEngine_Camera(),il2cpp_get_class_UnityEngine_Camera(),"FireOnPreRender",1,(Il2CppMethodPointer) UnityEngine_Camera_FireOnPreRender); - init_event_method(&methods[13],mono_get_class_UnityEngine_Camera(),il2cpp_get_class_UnityEngine_Camera(),"FireOnPostRender",1,(Il2CppMethodPointer) UnityEngine_Camera_FireOnPostRender); - init_event_method(&methods[14],mono_get_class_UnityEngine_CullingGroup(),il2cpp_get_class_UnityEngine_CullingGroup(),"SendEvents",3,(Il2CppMethodPointer) UnityEngine_CullingGroup_SendEvents); - init_event_method(&methods[15],mono_get_class_UnityEngine_ReflectionProbe(),il2cpp_get_class_UnityEngine_ReflectionProbe(),"CallReflectionProbeEvent",2,(Il2CppMethodPointer) UnityEngine_ReflectionProbe_CallReflectionProbeEvent); - init_event_method(&methods[16],mono_get_class_UnityEngine_ReflectionProbe(),il2cpp_get_class_UnityEngine_ReflectionProbe(),"CallSetDefaultReflection",1,(Il2CppMethodPointer) UnityEngine_ReflectionProbe_CallSetDefaultReflection); - init_event_method(&methods[17],mono_get_class_UnityEngine_Display(),il2cpp_get_class_UnityEngine_Display(),"FireDisplaysUpdated",0,(Il2CppMethodPointer) UnityEngine_Display_FireDisplaysUpdated); - init_event_method(&methods[18],mono_get_class_UnityEngine_AsyncOperation(),il2cpp_get_class_UnityEngine_AsyncOperation(),"InvokeCompletionEvent",0,(Il2CppMethodPointer) UnityEngine_AsyncOperation_InvokeCompletionEvent); - init_event_method(&methods[19],mono_get_class_UnityEngine_RectTransform(),il2cpp_get_class_UnityEngine_RectTransform(),"SendReapplyDrivenProperties",1,(Il2CppMethodPointer) UnityEngine_RectTransform_SendReapplyDrivenProperties); - init_event_method(&methods[20],mono_get_class_UnityEngine_U2D_SpriteAtlasManager(),il2cpp_get_class_UnityEngine_U2D_SpriteAtlasManager(),"RequestAtlas",1,(Il2CppMethodPointer) UnityEngine_U2D_SpriteAtlasManager_RequestAtlas); - init_event_method(&methods[21],mono_get_class_UnityEngine_U2D_SpriteAtlasManager(),il2cpp_get_class_UnityEngine_U2D_SpriteAtlasManager(),"PostRegisteredAtlas",1,(Il2CppMethodPointer) UnityEngine_U2D_SpriteAtlasManager_PostRegisteredAtlas); - init_event_method(&methods[22],mono_get_class_UnityEngine_Profiling_Memory_Experimental_MemoryProfiler(),il2cpp_get_class_UnityEngine_Profiling_Memory_Experimental_MemoryProfiler(),"PrepareMetadata",0,(Il2CppMethodPointer) UnityEngine_Profiling_Memory_Experimental_MemoryProfiler_PrepareMetadata); - init_event_method(&methods[23],mono_get_class_UnityEngine_Profiling_Memory_Experimental_MemoryProfiler(),il2cpp_get_class_UnityEngine_Profiling_Memory_Experimental_MemoryProfiler(),"FinalizeSnapshot",2,(Il2CppMethodPointer) UnityEngine_Profiling_Memory_Experimental_MemoryProfiler_FinalizeSnapshot); - init_event_method(&methods[24],mono_get_class_UnityEngine_Profiling_Memory_Experimental_MemoryProfiler(),il2cpp_get_class_UnityEngine_Profiling_Memory_Experimental_MemoryProfiler(),"SaveScreenshotToDisk",7,(Il2CppMethodPointer) UnityEngine_Profiling_Memory_Experimental_MemoryProfiler_SaveScreenshotToDisk); - init_event_method(&methods[25],mono_get_class_UnityEngine_SceneManagement_SceneManager(),il2cpp_get_class_UnityEngine_SceneManagement_SceneManager(),"Internal_SceneLoaded",2,(Il2CppMethodPointer) UnityEngine_SceneManagement_SceneManager_Internal_SceneLoaded); - init_event_method(&methods[26],mono_get_class_UnityEngine_SceneManagement_SceneManager(),il2cpp_get_class_UnityEngine_SceneManagement_SceneManager(),"Internal_SceneUnloaded",1,(Il2CppMethodPointer) UnityEngine_SceneManagement_SceneManager_Internal_SceneUnloaded); - init_event_method(&methods[27],mono_get_class_UnityEngine_SceneManagement_SceneManager(),il2cpp_get_class_UnityEngine_SceneManagement_SceneManager(),"Internal_ActiveSceneChanged",2,(Il2CppMethodPointer) UnityEngine_SceneManagement_SceneManager_Internal_ActiveSceneChanged); - init_event_method(&methods[28],mono_get_class_UnityEngine_Rendering_BatchRendererGroup(),il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup(),"InvokeOnPerformCulling",3,(Il2CppMethodPointer) UnityEngine_Rendering_BatchRendererGroup_InvokeOnPerformCulling); - init_event_method(&methods[29],mono_get_class_UnityEngine_Experimental_GlobalIllumination_Lightmapping(),il2cpp_get_class_UnityEngine_Experimental_GlobalIllumination_Lightmapping(),"RequestLights",3,(Il2CppMethodPointer) UnityEngine_Experimental_GlobalIllumination_Lightmapping_RequestLights); - init_event_method(&methods[30],mono_get_class_UnityEngine_Playables_PlayableDirector(),il2cpp_get_class_UnityEngine_Playables_PlayableDirector(),"SendOnPlayableDirectorPlay",0,(Il2CppMethodPointer) UnityEngine_Playables_PlayableDirector_SendOnPlayableDirectorPlay); - init_event_method(&methods[31],mono_get_class_UnityEngine_Playables_PlayableDirector(),il2cpp_get_class_UnityEngine_Playables_PlayableDirector(),"SendOnPlayableDirectorPause",0,(Il2CppMethodPointer) UnityEngine_Playables_PlayableDirector_SendOnPlayableDirectorPause); - init_event_method(&methods[32],mono_get_class_UnityEngine_Playables_PlayableDirector(),il2cpp_get_class_UnityEngine_Playables_PlayableDirector(),"SendOnPlayableDirectorStop",0,(Il2CppMethodPointer) UnityEngine_Playables_PlayableDirector_SendOnPlayableDirectorStop); - init_event_method(&methods[33],mono_get_class_UnityEngine_GUIUtility(),il2cpp_get_class_UnityEngine_GUIUtility(),"MarkGUIChanged",0,(Il2CppMethodPointer) UnityEngine_GUIUtility_MarkGUIChanged); - init_event_method(&methods[34],mono_get_class_UnityEngine_GUIUtility(),il2cpp_get_class_UnityEngine_GUIUtility(),"TakeCapture",0,(Il2CppMethodPointer) UnityEngine_GUIUtility_TakeCapture); - init_event_method(&methods[35],mono_get_class_UnityEngine_GUIUtility(),il2cpp_get_class_UnityEngine_GUIUtility(),"RemoveCapture",0,(Il2CppMethodPointer) UnityEngine_GUIUtility_RemoveCapture); - init_event_method(&methods[36],mono_get_class_UnityEngine_GUIUtility(),il2cpp_get_class_UnityEngine_GUIUtility(),"ProcessEvent",2,(Il2CppMethodPointer) UnityEngine_GUIUtility_ProcessEvent); - init_event_method(&methods[37],mono_get_class_UnityEngine_GUIUtility(),il2cpp_get_class_UnityEngine_GUIUtility(),"EndContainerGUIFromException",1,(Il2CppMethodPointer) UnityEngine_GUIUtility_EndContainerGUIFromException); - init_event_method(&methods[38],mono_get_class_UnityEngineInternal_Input_NativeInputSystem(),il2cpp_get_class_UnityEngineInternal_Input_NativeInputSystem(),"NotifyBeforeUpdate",1,(Il2CppMethodPointer) UnityEngineInternal_Input_NativeInputSystem_NotifyBeforeUpdate); - init_event_method(&methods[39],mono_get_class_UnityEngineInternal_Input_NativeInputSystem(),il2cpp_get_class_UnityEngineInternal_Input_NativeInputSystem(),"NotifyUpdate",2,(Il2CppMethodPointer) UnityEngineInternal_Input_NativeInputSystem_NotifyUpdate); - init_event_method(&methods[40],mono_get_class_UnityEngineInternal_Input_NativeInputSystem(),il2cpp_get_class_UnityEngineInternal_Input_NativeInputSystem(),"NotifyDeviceDiscovered",2,(Il2CppMethodPointer) UnityEngineInternal_Input_NativeInputSystem_NotifyDeviceDiscovered); - init_event_method(&methods[41],mono_get_class_UnityEngineInternal_Input_NativeInputSystem(),il2cpp_get_class_UnityEngineInternal_Input_NativeInputSystem(),"ShouldRunUpdate",2,(Il2CppMethodPointer) UnityEngineInternal_Input_NativeInputSystem_ShouldRunUpdate); - init_event_method(&methods[42],mono_get_class_UnityEngine_SubsystemManager(),il2cpp_get_class_UnityEngine_SubsystemManager(),"Internal_ReloadSubsystemsStarted",0,(Il2CppMethodPointer) UnityEngine_SubsystemManager_Internal_ReloadSubsystemsStarted); - init_event_method(&methods[43],mono_get_class_UnityEngine_SubsystemManager(),il2cpp_get_class_UnityEngine_SubsystemManager(),"Internal_ReloadSubsystemsCompleted",0,(Il2CppMethodPointer) UnityEngine_SubsystemManager_Internal_ReloadSubsystemsCompleted); - init_event_method(&methods[44],mono_get_class_UnityEngine_Experimental_TerrainAPI_TerrainCallbacks(),il2cpp_get_class_UnityEngine_Experimental_TerrainAPI_TerrainCallbacks(),"InvokeHeightmapChangedCallback",3,(Il2CppMethodPointer) UnityEngine_Experimental_TerrainAPI_TerrainCallbacks_InvokeHeightmapChangedCallback); - init_event_method(&methods[45],mono_get_class_UnityEngine_Experimental_TerrainAPI_TerrainCallbacks(),il2cpp_get_class_UnityEngine_Experimental_TerrainAPI_TerrainCallbacks(),"InvokeTextureChangedCallback",4,(Il2CppMethodPointer) UnityEngine_Experimental_TerrainAPI_TerrainCallbacks_InvokeTextureChangedCallback); - init_event_method(&methods[46],mono_get_class_UnityEngine_Font(),il2cpp_get_class_UnityEngine_Font(),"InvokeTextureRebuilt_Internal",1,(Il2CppMethodPointer) UnityEngine_Font_InvokeTextureRebuilt_Internal); - init_event_method(&methods[47],mono_get_class_UnityEngine_UIElements_UIR_Utility(),il2cpp_get_class_UnityEngine_UIElements_UIR_Utility(),"RaiseGraphicsResourcesRecreate",1,(Il2CppMethodPointer) UnityEngine_UIElements_UIR_Utility_RaiseGraphicsResourcesRecreate); - init_event_method(&methods[48],mono_get_class_UnityEngine_UIElements_UIR_Utility(),il2cpp_get_class_UnityEngine_UIElements_UIR_Utility(),"RaiseEngineUpdate",0,(Il2CppMethodPointer) UnityEngine_UIElements_UIR_Utility_RaiseEngineUpdate); - init_event_method(&methods[49],mono_get_class_UnityEngine_UIElements_UIR_Utility(),il2cpp_get_class_UnityEngine_UIElements_UIR_Utility(),"RaiseFlushPendingResources",0,(Il2CppMethodPointer) UnityEngine_UIElements_UIR_Utility_RaiseFlushPendingResources); - init_event_method(&methods[50],mono_get_class_UnityEngine_Canvas(),il2cpp_get_class_UnityEngine_Canvas(),"SendWillRenderCanvases",0,(Il2CppMethodPointer) UnityEngine_Canvas_SendWillRenderCanvases); - init_event_method(&methods[51],mono_get_class_UnityEngine_XR_XRDevice(),il2cpp_get_class_UnityEngine_XR_XRDevice(),"InvokeDeviceLoaded",1,(Il2CppMethodPointer) UnityEngine_XR_XRDevice_InvokeDeviceLoaded); - init_event_method(&methods[52],mono_get_class_UnityEngine_Video_VideoPlayer(),il2cpp_get_class_UnityEngine_Video_VideoPlayer(),"InvokePrepareCompletedCallback_Internal",1,(Il2CppMethodPointer) UnityEngine_Video_VideoPlayer_InvokePrepareCompletedCallback_Internal); - init_event_method(&methods[53],mono_get_class_UnityEngine_Video_VideoPlayer(),il2cpp_get_class_UnityEngine_Video_VideoPlayer(),"InvokeFrameReadyCallback_Internal",2,(Il2CppMethodPointer) UnityEngine_Video_VideoPlayer_InvokeFrameReadyCallback_Internal); - init_event_method(&methods[54],mono_get_class_UnityEngine_Video_VideoPlayer(),il2cpp_get_class_UnityEngine_Video_VideoPlayer(),"InvokeLoopPointReachedCallback_Internal",1,(Il2CppMethodPointer) UnityEngine_Video_VideoPlayer_InvokeLoopPointReachedCallback_Internal); - init_event_method(&methods[55],mono_get_class_UnityEngine_Video_VideoPlayer(),il2cpp_get_class_UnityEngine_Video_VideoPlayer(),"InvokeStartedCallback_Internal",1,(Il2CppMethodPointer) UnityEngine_Video_VideoPlayer_InvokeStartedCallback_Internal); - init_event_method(&methods[56],mono_get_class_UnityEngine_Video_VideoPlayer(),il2cpp_get_class_UnityEngine_Video_VideoPlayer(),"InvokeFrameDroppedCallback_Internal",1,(Il2CppMethodPointer) UnityEngine_Video_VideoPlayer_InvokeFrameDroppedCallback_Internal); - init_event_method(&methods[57],mono_get_class_UnityEngine_Video_VideoPlayer(),il2cpp_get_class_UnityEngine_Video_VideoPlayer(),"InvokeErrorReceivedCallback_Internal",2,(Il2CppMethodPointer) UnityEngine_Video_VideoPlayer_InvokeErrorReceivedCallback_Internal); - init_event_method(&methods[58],mono_get_class_UnityEngine_Video_VideoPlayer(),il2cpp_get_class_UnityEngine_Video_VideoPlayer(),"InvokeSeekCompletedCallback_Internal",1,(Il2CppMethodPointer) UnityEngine_Video_VideoPlayer_InvokeSeekCompletedCallback_Internal); - init_event_method(&methods[59],mono_get_class_UnityEngine_Video_VideoPlayer(),il2cpp_get_class_UnityEngine_Video_VideoPlayer(),"InvokeClockResyncOccurredCallback_Internal",2,(Il2CppMethodPointer) UnityEngine_Video_VideoPlayer_InvokeClockResyncOccurredCallback_Internal); - init_event_method(&methods[60],mono_get_class_UnityEngine_XR_InputTracking(),il2cpp_get_class_UnityEngine_XR_InputTracking(),"InvokeTrackingEvent",4,(Il2CppMethodPointer) UnityEngine_XR_InputTracking_InvokeTrackingEvent); - init_event_method(&methods[61],mono_get_class_UnityEngine_XR_InputDevices(),il2cpp_get_class_UnityEngine_XR_InputDevices(),"InvokeConnectionEvent",2,(Il2CppMethodPointer) UnityEngine_XR_InputDevices_InvokeConnectionEvent); - init_event_method(&methods[62],mono_get_class_UnityEngine_XR_XRDisplaySubsystem(),il2cpp_get_class_UnityEngine_XR_XRDisplaySubsystem(),"InvokeDisplayFocusChanged",1,(Il2CppMethodPointer) UnityEngine_XR_XRDisplaySubsystem_InvokeDisplayFocusChanged); - init_event_method(&methods[63],mono_get_class_UnityEngine_XR_XRInputSubsystem(),il2cpp_get_class_UnityEngine_XR_XRInputSubsystem(),"InvokeTrackingOriginUpdatedEvent",1,(Il2CppMethodPointer) UnityEngine_XR_XRInputSubsystem_InvokeTrackingOriginUpdatedEvent); - init_event_method(&methods[64],mono_get_class_UnityEngine_XR_XRInputSubsystem(),il2cpp_get_class_UnityEngine_XR_XRInputSubsystem(),"InvokeBoundaryChangedEvent",1,(Il2CppMethodPointer) UnityEngine_XR_XRInputSubsystem_InvokeBoundaryChangedEvent); } diff --git a/ScriptEngine/generated/icall_binding_gen.c b/ScriptEngine/generated/icall_binding_gen.c index 7f68908..40d7b83 100644 --- a/ScriptEngine/generated/icall_binding_gen.c +++ b/ScriptEngine/generated/icall_binding_gen.c @@ -3,16 +3,285 @@ #include "class_cache_gen.h" void register_assembly_map() { - insert_assembly_map("AdapterTest", "Adapter.wrapper"); + insert_reloadable("Scripts", NULL); +} +int32_t UnityEngine_AI_NavMeshAgent_get_pathStatus(MonoObject* thiz) +{ + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AI.NavMeshAgent::get_pathStatus"); + if(!icall) + { + platform_log("UnityEngine.AI.NavMeshAgent::get_pathStatus func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AI_NavMeshAgent()); + int32_t i2res = icall(i2thiz); + return i2res; +} +void UnityEngine_AI_NavMeshAgent_set_isStopped(MonoObject* thiz, bool value) +{ + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AI.NavMeshAgent::set_isStopped"); + if(!icall) + { + platform_log("UnityEngine.AI.NavMeshAgent::set_isStopped func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AI_NavMeshAgent()); + icall(i2thiz,value); +} +void UnityEngine_AI_NavMeshAgent_set_speed(MonoObject* thiz, float value) +{ + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AI.NavMeshAgent::set_speed"); + if(!icall) + { + platform_log("UnityEngine.AI.NavMeshAgent::set_speed func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AI_NavMeshAgent()); + icall(i2thiz,value); +} +void UnityEngine_AI_NavMeshAgent_set_angularSpeed(MonoObject* thiz, float value) +{ + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AI.NavMeshAgent::set_angularSpeed"); + if(!icall) + { + platform_log("UnityEngine.AI.NavMeshAgent::set_angularSpeed func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AI_NavMeshAgent()); + icall(i2thiz,value); +} +void UnityEngine_AI_NavMeshAgent_set_acceleration(MonoObject* thiz, float value) +{ + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AI.NavMeshAgent::set_acceleration"); + if(!icall) + { + platform_log("UnityEngine.AI.NavMeshAgent::set_acceleration func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AI_NavMeshAgent()); + icall(i2thiz,value); +} +void UnityEngine_AI_NavMeshAgent_set_updatePosition(MonoObject* thiz, bool value) +{ + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AI.NavMeshAgent::set_updatePosition"); + if(!icall) + { + platform_log("UnityEngine.AI.NavMeshAgent::set_updatePosition func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AI_NavMeshAgent()); + icall(i2thiz,value); +} +void UnityEngine_AI_NavMeshAgent_set_updateRotation(MonoObject* thiz, bool value) +{ + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AI.NavMeshAgent::set_updateRotation"); + if(!icall) + { + platform_log("UnityEngine.AI.NavMeshAgent::set_updateRotation func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AI_NavMeshAgent()); + icall(i2thiz,value); +} +void UnityEngine_AI_NavMeshAgent_set_radius(MonoObject* thiz, float value) +{ + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AI.NavMeshAgent::set_radius"); + if(!icall) + { + platform_log("UnityEngine.AI.NavMeshAgent::set_radius func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AI_NavMeshAgent()); + icall(i2thiz,value); +} +bool UnityEngine_AI_NavMeshAgent_SetDestination_Injected(MonoObject* thiz, void * target) +{ + typedef bool (* ICallMethod) (Il2CppObject* thiz, void * target); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AI.NavMeshAgent::SetDestination_Injected"); + if(!icall) + { + platform_log("UnityEngine.AI.NavMeshAgent::SetDestination_Injected func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AI_NavMeshAgent()); + bool i2res = icall(i2thiz,target); + return i2res; +} +bool UnityEngine_AI_NavMeshAgent_Warp_Injected(MonoObject* thiz, void * newPosition) +{ + typedef bool (* ICallMethod) (Il2CppObject* thiz, void * newPosition); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AI.NavMeshAgent::Warp_Injected"); + if(!icall) + { + platform_log("UnityEngine.AI.NavMeshAgent::Warp_Injected func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AI_NavMeshAgent()); + bool i2res = icall(i2thiz,newPosition); + return i2res; +} +bool UnityEngine_AI_NavMesh_SamplePosition_Injected(void * sourcePosition, void * hit, float maxDistance, int32_t areaMask) +{ + typedef bool (* ICallMethod) (void * sourcePosition, void * hit, float maxDistance, int32_t areaMask); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AI.NavMesh::SamplePosition_Injected"); + if(!icall) + { + platform_log("UnityEngine.AI.NavMesh::SamplePosition_Injected func not found"); + return 0; + } + } + bool i2res = icall(sourcePosition,hit,maxDistance,areaMask); + return i2res; +} +bool UnityEngine_AndroidJNIHelper_get_debug() +{ + typedef bool (* ICallMethod) (); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNIHelper::get_debug"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNIHelper::get_debug func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; +} +void UnityEngine_AndroidJNIHelper_set_debug(bool value) +{ + typedef void (* ICallMethod) (bool value); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNIHelper::set_debug"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNIHelper::set_debug func not found"); + return; + } + } + icall(value); +} +int32_t UnityEngine_AndroidJNI_AttachCurrentThread() +{ + typedef int32_t (* ICallMethod) (); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::AttachCurrentThread"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::AttachCurrentThread func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; +} +int32_t UnityEngine_AndroidJNI_DetachCurrentThread() +{ + typedef int32_t (* ICallMethod) (); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::DetachCurrentThread"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::DetachCurrentThread func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; +} +int32_t UnityEngine_AndroidJNI_GetVersion() +{ + typedef int32_t (* ICallMethod) (); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetVersion"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetVersion func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } void * UnityEngine_AndroidJNI_FindClass(MonoString* name) { typedef void * (* ICallMethod) (Il2CppString* name); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FindClass"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FindClass func not found"); + return 0; + } + } Il2CppString* i2name = get_il2cpp_string(name); void * i2res = icall(i2name); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FindClass fail to convert il2cpp obj to mono"); + } return i2res; } void * UnityEngine_AndroidJNI_FromReflectedMethod(void * refMethod) @@ -20,8 +289,148 @@ void * UnityEngine_AndroidJNI_FromReflectedMethod(void * refMethod) typedef void * (* ICallMethod) (void * refMethod); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromReflectedMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FromReflectedMethod func not found"); + return 0; + } + } void * i2res = icall(refMethod); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FromReflectedMethod fail to convert il2cpp obj to mono"); + } + return i2res; +} +void * UnityEngine_AndroidJNI_FromReflectedField(void * refField) +{ + typedef void * (* ICallMethod) (void * refField); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromReflectedField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FromReflectedField func not found"); + return 0; + } + } + void * i2res = icall(refField); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FromReflectedField fail to convert il2cpp obj to mono"); + } + return i2res; +} +void * UnityEngine_AndroidJNI_ToReflectedMethod(void * clazz, void * methodID, bool isStatic) +{ + typedef void * (* ICallMethod) (void * clazz, void * methodID, bool isStatic); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToReflectedMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ToReflectedMethod func not found"); + return 0; + } + } + void * i2res = icall(clazz,methodID,isStatic); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ToReflectedMethod fail to convert il2cpp obj to mono"); + } + return i2res; +} +void * UnityEngine_AndroidJNI_ToReflectedField(void * clazz, void * fieldID, bool isStatic) +{ + typedef void * (* ICallMethod) (void * clazz, void * fieldID, bool isStatic); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToReflectedField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ToReflectedField func not found"); + return 0; + } + } + void * i2res = icall(clazz,fieldID,isStatic); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ToReflectedField fail to convert il2cpp obj to mono"); + } + return i2res; +} +void * UnityEngine_AndroidJNI_GetSuperclass(void * clazz) +{ + typedef void * (* ICallMethod) (void * clazz); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetSuperclass"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetSuperclass func not found"); + return 0; + } + } + void * i2res = icall(clazz); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetSuperclass fail to convert il2cpp obj to mono"); + } + return i2res; +} +bool UnityEngine_AndroidJNI_IsAssignableFrom(void * clazz1, void * clazz2) +{ + typedef bool (* ICallMethod) (void * clazz1, void * clazz2); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::IsAssignableFrom"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::IsAssignableFrom func not found"); + return 0; + } + } + bool i2res = icall(clazz1,clazz2); + return i2res; +} +int32_t UnityEngine_AndroidJNI_Throw(void * obj) +{ + typedef int32_t (* ICallMethod) (void * obj); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::Throw"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::Throw func not found"); + return 0; + } + } + int32_t i2res = icall(obj); + return i2res; +} +int32_t UnityEngine_AndroidJNI_ThrowNew(void * clazz, MonoString* message) +{ + typedef int32_t (* ICallMethod) (void * clazz, Il2CppString* message); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ThrowNew"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ThrowNew func not found"); + return 0; + } + } + Il2CppString* i2message = get_il2cpp_string(message); + int32_t i2res = icall(clazz,i2message); return i2res; } void * UnityEngine_AndroidJNI_ExceptionOccurred() @@ -29,25 +438,121 @@ void * UnityEngine_AndroidJNI_ExceptionOccurred() typedef void * (* ICallMethod) (); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ExceptionOccurred"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ExceptionOccurred func not found"); + return 0; + } + } void * i2res = icall(); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ExceptionOccurred fail to convert il2cpp obj to mono"); + } return i2res; } +void UnityEngine_AndroidJNI_ExceptionDescribe() +{ + typedef void (* ICallMethod) (); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ExceptionDescribe"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ExceptionDescribe func not found"); + return; + } + } + icall(); +} void UnityEngine_AndroidJNI_ExceptionClear() { typedef void (* ICallMethod) (); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ExceptionClear"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ExceptionClear func not found"); + return; + } + } icall(); } +void UnityEngine_AndroidJNI_FatalError(MonoString* message) +{ + typedef void (* ICallMethod) (Il2CppString* message); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FatalError"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FatalError func not found"); + return; + } + } + Il2CppString* i2message = get_il2cpp_string(message); + icall(i2message); +} +int32_t UnityEngine_AndroidJNI_PushLocalFrame(int32_t capacity) +{ + typedef int32_t (* ICallMethod) (int32_t capacity); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::PushLocalFrame"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::PushLocalFrame func not found"); + return 0; + } + } + int32_t i2res = icall(capacity); + return i2res; +} +void * UnityEngine_AndroidJNI_PopLocalFrame(void * ptr) +{ + typedef void * (* ICallMethod) (void * ptr); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::PopLocalFrame"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::PopLocalFrame func not found"); + return 0; + } + } + void * i2res = icall(ptr); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::PopLocalFrame fail to convert il2cpp obj to mono"); + } + return i2res; +} void * UnityEngine_AndroidJNI_NewGlobalRef(void * obj) { typedef void * (* ICallMethod) (void * obj); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewGlobalRef"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewGlobalRef func not found"); + return 0; + } + } void * i2res = icall(obj); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewGlobalRef fail to convert il2cpp obj to mono"); + } return i2res; } void UnityEngine_AndroidJNI_DeleteGlobalRef(void * obj) @@ -55,7 +560,14 @@ void UnityEngine_AndroidJNI_DeleteGlobalRef(void * obj) typedef void (* ICallMethod) (void * obj); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::DeleteGlobalRef"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::DeleteGlobalRef func not found"); + return; + } + } icall(obj); } void * UnityEngine_AndroidJNI_NewWeakGlobalRef(void * obj) @@ -63,8 +575,19 @@ void * UnityEngine_AndroidJNI_NewWeakGlobalRef(void * obj) typedef void * (* ICallMethod) (void * obj); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewWeakGlobalRef"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewWeakGlobalRef func not found"); + return 0; + } + } void * i2res = icall(obj); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewWeakGlobalRef fail to convert il2cpp obj to mono"); + } return i2res; } void UnityEngine_AndroidJNI_DeleteWeakGlobalRef(void * obj) @@ -72,7 +595,14 @@ void UnityEngine_AndroidJNI_DeleteWeakGlobalRef(void * obj) typedef void (* ICallMethod) (void * obj); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::DeleteWeakGlobalRef"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::DeleteWeakGlobalRef func not found"); + return; + } + } icall(obj); } void * UnityEngine_AndroidJNI_NewLocalRef(void * obj) @@ -80,8 +610,19 @@ void * UnityEngine_AndroidJNI_NewLocalRef(void * obj) typedef void * (* ICallMethod) (void * obj); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewLocalRef"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewLocalRef func not found"); + return 0; + } + } void * i2res = icall(obj); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewLocalRef fail to convert il2cpp obj to mono"); + } return i2res; } void UnityEngine_AndroidJNI_DeleteLocalRef(void * obj) @@ -89,16 +630,86 @@ void UnityEngine_AndroidJNI_DeleteLocalRef(void * obj) typedef void (* ICallMethod) (void * obj); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::DeleteLocalRef"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::DeleteLocalRef func not found"); + return; + } + } icall(obj); } +bool UnityEngine_AndroidJNI_IsSameObject(void * obj1, void * obj2) +{ + typedef bool (* ICallMethod) (void * obj1, void * obj2); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::IsSameObject"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::IsSameObject func not found"); + return 0; + } + } + bool i2res = icall(obj1,obj2); + return i2res; +} +int32_t UnityEngine_AndroidJNI_EnsureLocalCapacity(int32_t capacity) +{ + typedef int32_t (* ICallMethod) (int32_t capacity); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::EnsureLocalCapacity"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::EnsureLocalCapacity func not found"); + return 0; + } + } + int32_t i2res = icall(capacity); + return i2res; +} +void * UnityEngine_AndroidJNI_AllocObject(void * clazz) +{ + typedef void * (* ICallMethod) (void * clazz); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::AllocObject"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::AllocObject func not found"); + return 0; + } + } + void * i2res = icall(clazz); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::AllocObject fail to convert il2cpp obj to mono"); + } + return i2res; +} void * UnityEngine_AndroidJNI_NewObject(void * clazz, void * methodID, void* args) { typedef void * (* ICallMethod) (void * clazz, void * methodID, void* args); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewObject"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewObject func not found"); + return 0; + } + } void * i2res = icall(clazz,methodID,args); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewObject fail to convert il2cpp obj to mono"); + } return i2res; } void * UnityEngine_AndroidJNI_GetObjectClass(void * obj) @@ -106,8 +717,35 @@ void * UnityEngine_AndroidJNI_GetObjectClass(void * obj) typedef void * (* ICallMethod) (void * obj); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetObjectClass"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetObjectClass func not found"); + return 0; + } + } void * i2res = icall(obj); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetObjectClass fail to convert il2cpp obj to mono"); + } + return i2res; +} +bool UnityEngine_AndroidJNI_IsInstanceOf(void * obj, void * clazz) +{ + typedef bool (* ICallMethod) (void * obj, void * clazz); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::IsInstanceOf"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::IsInstanceOf func not found"); + return 0; + } + } + bool i2res = icall(obj,clazz); return i2res; } void * UnityEngine_AndroidJNI_GetMethodID(void * clazz, MonoString* name, MonoString* sig) @@ -115,10 +753,43 @@ void * UnityEngine_AndroidJNI_GetMethodID(void * clazz, MonoString* name, MonoSt typedef void * (* ICallMethod) (void * clazz, Il2CppString* name, Il2CppString* sig); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetMethodID"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetMethodID func not found"); + return 0; + } + } + Il2CppString* i2name = get_il2cpp_string(name); + Il2CppString* i2sig = get_il2cpp_string(sig); + void * i2res = icall(clazz,i2name,i2sig); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetMethodID fail to convert il2cpp obj to mono"); + } + return i2res; +} +void * UnityEngine_AndroidJNI_GetFieldID(void * clazz, MonoString* name, MonoString* sig) +{ + typedef void * (* ICallMethod) (void * clazz, Il2CppString* name, Il2CppString* sig); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetFieldID"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetFieldID func not found"); + return 0; + } + } Il2CppString* i2name = get_il2cpp_string(name); Il2CppString* i2sig = get_il2cpp_string(sig); void * i2res = icall(clazz,i2name,i2sig); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetFieldID fail to convert il2cpp obj to mono"); + } return i2res; } void * UnityEngine_AndroidJNI_GetStaticMethodID(void * clazz, MonoString* name, MonoString* sig) @@ -126,10 +797,43 @@ void * UnityEngine_AndroidJNI_GetStaticMethodID(void * clazz, MonoString* name, typedef void * (* ICallMethod) (void * clazz, Il2CppString* name, Il2CppString* sig); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStaticMethodID"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStaticMethodID func not found"); + return 0; + } + } + Il2CppString* i2name = get_il2cpp_string(name); + Il2CppString* i2sig = get_il2cpp_string(sig); + void * i2res = icall(clazz,i2name,i2sig); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetStaticMethodID fail to convert il2cpp obj to mono"); + } + return i2res; +} +void * UnityEngine_AndroidJNI_GetStaticFieldID(void * clazz, MonoString* name, MonoString* sig) +{ + typedef void * (* ICallMethod) (void * clazz, Il2CppString* name, Il2CppString* sig); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStaticFieldID"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStaticFieldID func not found"); + return 0; + } + } Il2CppString* i2name = get_il2cpp_string(name); Il2CppString* i2sig = get_il2cpp_string(sig); void * i2res = icall(clazz,i2name,i2sig); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetStaticFieldID fail to convert il2cpp obj to mono"); + } return i2res; } void * UnityEngine_AndroidJNI_NewStringFromStr(MonoString* chars) @@ -137,9 +841,62 @@ void * UnityEngine_AndroidJNI_NewStringFromStr(MonoString* chars) typedef void * (* ICallMethod) (Il2CppString* chars); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewStringFromStr"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewStringFromStr func not found"); + return 0; + } + } Il2CppString* i2chars = get_il2cpp_string(chars); void * i2res = icall(i2chars); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewStringFromStr fail to convert il2cpp obj to mono"); + } + return i2res; +} +void * UnityEngine_AndroidJNI_NewString(MonoArray* chars) +{ + typedef void * (* ICallMethod) (Il2CppArray* chars); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewString"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewString func not found"); + return 0; + } + } + Il2CppArray* i2chars = get_il2cpp_array(chars); + void * i2res = icall(i2chars); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewString fail to convert il2cpp obj to mono"); + } + return i2res; +} +void * UnityEngine_AndroidJNI_NewStringUTF(MonoString* bytes) +{ + typedef void * (* ICallMethod) (Il2CppString* bytes); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewStringUTF"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewStringUTF func not found"); + return 0; + } + } + Il2CppString* i2bytes = get_il2cpp_string(bytes); + void * i2res = icall(i2bytes); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewStringUTF fail to convert il2cpp obj to mono"); + } return i2res; } MonoString* UnityEngine_AndroidJNI_GetStringChars(void * str) @@ -147,9 +904,73 @@ MonoString* UnityEngine_AndroidJNI_GetStringChars(void * str) typedef Il2CppString* (* ICallMethod) (void * str); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStringChars"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStringChars func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(str); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetStringChars fail to convert il2cpp obj to mono"); + } + return monoi2res; +} +int32_t UnityEngine_AndroidJNI_GetStringLength(void * str) +{ + typedef int32_t (* ICallMethod) (void * str); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStringLength"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStringLength func not found"); + return 0; + } + } + int32_t i2res = icall(str); + return i2res; +} +int32_t UnityEngine_AndroidJNI_GetStringUTFLength(void * str) +{ + typedef int32_t (* ICallMethod) (void * str); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStringUTFLength"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStringUTFLength func not found"); + return 0; + } + } + int32_t i2res = icall(str); + return i2res; +} +MonoString* UnityEngine_AndroidJNI_GetStringUTFChars(void * str) +{ + typedef Il2CppString* (* ICallMethod) (void * str); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStringUTFChars"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStringUTFChars func not found"); + return NULL; + } + } Il2CppString* i2res = icall(str); MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetStringUTFChars fail to convert il2cpp obj to mono"); + } return monoi2res; } MonoString* UnityEngine_AndroidJNI_CallStringMethod(void * obj, void * methodID, void* args) @@ -157,9 +978,20 @@ MonoString* UnityEngine_AndroidJNI_CallStringMethod(void * obj, void * methodID, typedef Il2CppString* (* ICallMethod) (void * obj, void * methodID, void* args); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStringMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallStringMethod func not found"); + return NULL; + } + } Il2CppString* i2res = icall(obj,methodID,args); MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::CallStringMethod fail to convert il2cpp obj to mono"); + } return monoi2res; } void * UnityEngine_AndroidJNI_CallObjectMethod(void * obj, void * methodID, void* args) @@ -167,8 +999,19 @@ void * UnityEngine_AndroidJNI_CallObjectMethod(void * obj, void * methodID, void typedef void * (* ICallMethod) (void * obj, void * methodID, void* args); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallObjectMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallObjectMethod func not found"); + return 0; + } + } void * i2res = icall(obj,methodID,args); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::CallObjectMethod fail to convert il2cpp obj to mono"); + } return i2res; } int32_t UnityEngine_AndroidJNI_CallIntMethod(void * obj, void * methodID, void* args) @@ -176,7 +1019,14 @@ int32_t UnityEngine_AndroidJNI_CallIntMethod(void * obj, void * methodID, void* typedef int32_t (* ICallMethod) (void * obj, void * methodID, void* args); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallIntMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallIntMethod func not found"); + return 0; + } + } int32_t i2res = icall(obj,methodID,args); return i2res; } @@ -185,7 +1035,14 @@ bool UnityEngine_AndroidJNI_CallBooleanMethod(void * obj, void * methodID, void* typedef bool (* ICallMethod) (void * obj, void * methodID, void* args); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallBooleanMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallBooleanMethod func not found"); + return 0; + } + } bool i2res = icall(obj,methodID,args); return i2res; } @@ -194,17 +1051,31 @@ int16_t UnityEngine_AndroidJNI_CallShortMethod(void * obj, void * methodID, void typedef int16_t (* ICallMethod) (void * obj, void * methodID, void* args); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallShortMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallShortMethod func not found"); + return 0; + } + } int16_t i2res = icall(obj,methodID,args); return i2res; } -char UnityEngine_AndroidJNI_CallcharMethod(void * obj, void * methodID, void* args) +int8_t UnityEngine_AndroidJNI_CallSByteMethod(void * obj, void * methodID, void* args) { - typedef char (* ICallMethod) (void * obj, void * methodID, void* args); + typedef int8_t (* ICallMethod) (void * obj, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallcharMethod"); - char i2res = icall(obj,methodID,args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallSByteMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallSByteMethod func not found"); + return 0; + } + } + int8_t i2res = icall(obj,methodID,args); return i2res; } char UnityEngine_AndroidJNI_CallCharMethod(void * obj, void * methodID, void* args) @@ -212,7 +1083,14 @@ char UnityEngine_AndroidJNI_CallCharMethod(void * obj, void * methodID, void* ar typedef char (* ICallMethod) (void * obj, void * methodID, void* args); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallCharMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallCharMethod func not found"); + return 0; + } + } char i2res = icall(obj,methodID,args); return i2res; } @@ -221,7 +1099,14 @@ float UnityEngine_AndroidJNI_CallFloatMethod(void * obj, void * methodID, void* typedef float (* ICallMethod) (void * obj, void * methodID, void* args); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallFloatMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallFloatMethod func not found"); + return 0; + } + } float i2res = icall(obj,methodID,args); return i2res; } @@ -230,7 +1115,14 @@ double UnityEngine_AndroidJNI_CallDoubleMethod(void * obj, void * methodID, void typedef double (* ICallMethod) (void * obj, void * methodID, void* args); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallDoubleMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallDoubleMethod func not found"); + return 0; + } + } double i2res = icall(obj,methodID,args); return i2res; } @@ -239,2038 +1131,4005 @@ int64_t UnityEngine_AndroidJNI_CallLongMethod(void * obj, void * methodID, void* typedef int64_t (* ICallMethod) (void * obj, void * methodID, void* args); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallLongMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallLongMethod func not found"); + return 0; + } + } int64_t i2res = icall(obj,methodID,args); return i2res; } -MonoString* UnityEngine_AndroidJNI_CallStaticStringMethod(void * clazz, void * methodID, void* args) +void UnityEngine_AndroidJNI_CallVoidMethod(void * obj, void * methodID, void* args) { - typedef Il2CppString* (* ICallMethod) (void * clazz, void * methodID, void* args); + typedef void (* ICallMethod) (void * obj, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticStringMethod"); - Il2CppString* i2res = icall(clazz,methodID,args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallVoidMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallVoidMethod func not found"); + return; + } + } + icall(obj,methodID,args); +} +MonoString* UnityEngine_AndroidJNI_GetStringField(void * obj, void * fieldID) +{ + typedef Il2CppString* (* ICallMethod) (void * obj, void * fieldID); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStringField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStringField func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(obj,fieldID); MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetStringField fail to convert il2cpp obj to mono"); + } return monoi2res; } -void * UnityEngine_AndroidJNI_CallStaticObjectMethod(void * clazz, void * methodID, void* args) +void * UnityEngine_AndroidJNI_GetObjectField(void * obj, void * fieldID) { - typedef void * (* ICallMethod) (void * clazz, void * methodID, void* args); + typedef void * (* ICallMethod) (void * obj, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticObjectMethod"); - void * i2res = icall(clazz,methodID,args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetObjectField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetObjectField func not found"); + return 0; + } + } + void * i2res = icall(obj,fieldID); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetObjectField fail to convert il2cpp obj to mono"); + } return i2res; } -int32_t UnityEngine_AndroidJNI_CallStaticIntMethod(void * clazz, void * methodID, void* args) +bool UnityEngine_AndroidJNI_GetBooleanField(void * obj, void * fieldID) { - typedef int32_t (* ICallMethod) (void * clazz, void * methodID, void* args); + typedef bool (* ICallMethod) (void * obj, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticIntMethod"); - int32_t i2res = icall(clazz,methodID,args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetBooleanField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetBooleanField func not found"); + return 0; + } + } + bool i2res = icall(obj,fieldID); return i2res; } -bool UnityEngine_AndroidJNI_CallStaticBooleanMethod(void * clazz, void * methodID, void* args) +int8_t UnityEngine_AndroidJNI_GetSByteField(void * obj, void * fieldID) { - typedef bool (* ICallMethod) (void * clazz, void * methodID, void* args); + typedef int8_t (* ICallMethod) (void * obj, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticBooleanMethod"); - bool i2res = icall(clazz,methodID,args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetSByteField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetSByteField func not found"); + return 0; + } + } + int8_t i2res = icall(obj,fieldID); return i2res; } -int16_t UnityEngine_AndroidJNI_CallStaticShortMethod(void * clazz, void * methodID, void* args) +char UnityEngine_AndroidJNI_GetCharField(void * obj, void * fieldID) { - typedef int16_t (* ICallMethod) (void * clazz, void * methodID, void* args); + typedef char (* ICallMethod) (void * obj, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticShortMethod"); - int16_t i2res = icall(clazz,methodID,args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetCharField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetCharField func not found"); + return 0; + } + } + char i2res = icall(obj,fieldID); return i2res; } -char UnityEngine_AndroidJNI_CallStaticcharMethod(void * clazz, void * methodID, void* args) +int16_t UnityEngine_AndroidJNI_GetShortField(void * obj, void * fieldID) { - typedef char (* ICallMethod) (void * clazz, void * methodID, void* args); + typedef int16_t (* ICallMethod) (void * obj, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticcharMethod"); - char i2res = icall(clazz,methodID,args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetShortField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetShortField func not found"); + return 0; + } + } + int16_t i2res = icall(obj,fieldID); return i2res; } -char UnityEngine_AndroidJNI_CallStaticCharMethod(void * clazz, void * methodID, void* args) +int32_t UnityEngine_AndroidJNI_GetIntField(void * obj, void * fieldID) { - typedef char (* ICallMethod) (void * clazz, void * methodID, void* args); + typedef int32_t (* ICallMethod) (void * obj, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticCharMethod"); - char i2res = icall(clazz,methodID,args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetIntField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetIntField func not found"); + return 0; + } + } + int32_t i2res = icall(obj,fieldID); return i2res; } -float UnityEngine_AndroidJNI_CallStaticFloatMethod(void * clazz, void * methodID, void* args) +int64_t UnityEngine_AndroidJNI_GetLongField(void * obj, void * fieldID) { - typedef float (* ICallMethod) (void * clazz, void * methodID, void* args); + typedef int64_t (* ICallMethod) (void * obj, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticFloatMethod"); - float i2res = icall(clazz,methodID,args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetLongField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetLongField func not found"); + return 0; + } + } + int64_t i2res = icall(obj,fieldID); return i2res; } -double UnityEngine_AndroidJNI_CallStaticDoubleMethod(void * clazz, void * methodID, void* args) +float UnityEngine_AndroidJNI_GetFloatField(void * obj, void * fieldID) { - typedef double (* ICallMethod) (void * clazz, void * methodID, void* args); + typedef float (* ICallMethod) (void * obj, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticDoubleMethod"); - double i2res = icall(clazz,methodID,args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetFloatField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetFloatField func not found"); + return 0; + } + } + float i2res = icall(obj,fieldID); return i2res; } -int64_t UnityEngine_AndroidJNI_CallStaticLongMethod(void * clazz, void * methodID, void* args) +double UnityEngine_AndroidJNI_GetDoubleField(void * obj, void * fieldID) { - typedef int64_t (* ICallMethod) (void * clazz, void * methodID, void* args); + typedef double (* ICallMethod) (void * obj, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticLongMethod"); - int64_t i2res = icall(clazz,methodID,args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetDoubleField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetDoubleField func not found"); + return 0; + } + } + double i2res = icall(obj,fieldID); return i2res; } -void UnityEngine_AndroidJNI_CallStaticVoidMethod(void * clazz, void * methodID, void* args) +void UnityEngine_AndroidJNI_SetStringField(void * obj, void * fieldID, MonoString* val) { - typedef void (* ICallMethod) (void * clazz, void * methodID, void* args); + typedef void (* ICallMethod) (void * obj, void * fieldID, Il2CppString* val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticVoidMethod"); - icall(clazz,methodID,args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetStringField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetStringField func not found"); + return; + } + } + Il2CppString* i2val = get_il2cpp_string(val); + icall(obj,fieldID,i2val); } -void * UnityEngine_AndroidJNI_ToBooleanArray(void* array) +void UnityEngine_AndroidJNI_SetObjectField(void * obj, void * fieldID, void * val) { - typedef void * (* ICallMethod) (void* array); + typedef void (* ICallMethod) (void * obj, void * fieldID, void * val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToBooleanArray"); - void * i2res = icall(array); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetObjectField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetObjectField func not found"); + return; + } + } + icall(obj,fieldID,val); } -void * UnityEngine_AndroidJNI_ToByteArray(void* array) +void UnityEngine_AndroidJNI_SetBooleanField(void * obj, void * fieldID, bool val) { - typedef void * (* ICallMethod) (void* array); + typedef void (* ICallMethod) (void * obj, void * fieldID, bool val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToByteArray"); - void * i2res = icall(array); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetBooleanField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetBooleanField func not found"); + return; + } + } + icall(obj,fieldID,val); } -void * UnityEngine_AndroidJNI_TocharArray(void* array) +void UnityEngine_AndroidJNI_SetSByteField(void * obj, void * fieldID, int8_t val) { - typedef void * (* ICallMethod) (void* array); + typedef void (* ICallMethod) (void * obj, void * fieldID, int8_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::TocharArray"); - void * i2res = icall(array); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetSByteField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetSByteField func not found"); + return; + } + } + icall(obj,fieldID,val); } -void * UnityEngine_AndroidJNI_ToCharArray(void* array) +void UnityEngine_AndroidJNI_SetCharField(void * obj, void * fieldID, char val) { - typedef void * (* ICallMethod) (void* array); + typedef void (* ICallMethod) (void * obj, void * fieldID, char val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToCharArray"); - void * i2res = icall(array); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetCharField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetCharField func not found"); + return; + } + } + icall(obj,fieldID,val); } -void * UnityEngine_AndroidJNI_ToShortArray(void* array) +void UnityEngine_AndroidJNI_SetShortField(void * obj, void * fieldID, int16_t val) { - typedef void * (* ICallMethod) (void* array); + typedef void (* ICallMethod) (void * obj, void * fieldID, int16_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToShortArray"); - void * i2res = icall(array); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetShortField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetShortField func not found"); + return; + } + } + icall(obj,fieldID,val); } -void * UnityEngine_AndroidJNI_ToIntArray(void* array) +void UnityEngine_AndroidJNI_SetIntField(void * obj, void * fieldID, int32_t val) { - typedef void * (* ICallMethod) (void* array); + typedef void (* ICallMethod) (void * obj, void * fieldID, int32_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToIntArray"); - void * i2res = icall(array); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetIntField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetIntField func not found"); + return; + } + } + icall(obj,fieldID,val); } -void * UnityEngine_AndroidJNI_ToLongArray(void* array) +void UnityEngine_AndroidJNI_SetLongField(void * obj, void * fieldID, int64_t val) { - typedef void * (* ICallMethod) (void* array); + typedef void (* ICallMethod) (void * obj, void * fieldID, int64_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToLongArray"); - void * i2res = icall(array); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetLongField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetLongField func not found"); + return; + } + } + icall(obj,fieldID,val); } -void * UnityEngine_AndroidJNI_ToFloatArray(void* array) +void UnityEngine_AndroidJNI_SetFloatField(void * obj, void * fieldID, float val) { - typedef void * (* ICallMethod) (void* array); + typedef void (* ICallMethod) (void * obj, void * fieldID, float val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToFloatArray"); - void * i2res = icall(array); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetFloatField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetFloatField func not found"); + return; + } + } + icall(obj,fieldID,val); } -void * UnityEngine_AndroidJNI_ToDoubleArray(void* array) +void UnityEngine_AndroidJNI_SetDoubleField(void * obj, void * fieldID, double val) { - typedef void * (* ICallMethod) (void* array); + typedef void (* ICallMethod) (void * obj, void * fieldID, double val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToDoubleArray"); - void * i2res = icall(array); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetDoubleField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetDoubleField func not found"); + return; + } + } + icall(obj,fieldID,val); } -void * UnityEngine_AndroidJNI_ToObjectArray(void* array, void * arrayClass) +MonoString* UnityEngine_AndroidJNI_CallStaticStringMethod(void * clazz, void * methodID, void* args) { - typedef void * (* ICallMethod) (void* array, void * arrayClass); + typedef Il2CppString* (* ICallMethod) (void * clazz, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToObjectArray"); - void * i2res = icall(array,arrayClass); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticStringMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallStaticStringMethod func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(clazz,methodID,args); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::CallStaticStringMethod fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void* UnityEngine_AndroidJNI_FromBooleanArray(void * array) +void * UnityEngine_AndroidJNI_CallStaticObjectMethod(void * clazz, void * methodID, void* args) { - typedef void* (* ICallMethod) (void * array); + typedef void * (* ICallMethod) (void * clazz, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromBooleanArray"); - void* i2res = icall(array); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticObjectMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallStaticObjectMethod func not found"); + return 0; + } + } + void * i2res = icall(clazz,methodID,args); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::CallStaticObjectMethod fail to convert il2cpp obj to mono"); + } return i2res; } -void* UnityEngine_AndroidJNI_FromByteArray(void * array) +int32_t UnityEngine_AndroidJNI_CallStaticIntMethod(void * clazz, void * methodID, void* args) { - typedef void* (* ICallMethod) (void * array); + typedef int32_t (* ICallMethod) (void * clazz, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromByteArray"); - void* i2res = icall(array); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticIntMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallStaticIntMethod func not found"); + return 0; + } + } + int32_t i2res = icall(clazz,methodID,args); return i2res; } -void* UnityEngine_AndroidJNI_FromcharArray(void * array) +bool UnityEngine_AndroidJNI_CallStaticBooleanMethod(void * clazz, void * methodID, void* args) { - typedef void* (* ICallMethod) (void * array); + typedef bool (* ICallMethod) (void * clazz, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromcharArray"); - void* i2res = icall(array); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticBooleanMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallStaticBooleanMethod func not found"); + return 0; + } + } + bool i2res = icall(clazz,methodID,args); return i2res; } -void* UnityEngine_AndroidJNI_FromCharArray(void * array) +int16_t UnityEngine_AndroidJNI_CallStaticShortMethod(void * clazz, void * methodID, void* args) { - typedef void* (* ICallMethod) (void * array); + typedef int16_t (* ICallMethod) (void * clazz, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromCharArray"); - void* i2res = icall(array); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticShortMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallStaticShortMethod func not found"); + return 0; + } + } + int16_t i2res = icall(clazz,methodID,args); return i2res; } -void* UnityEngine_AndroidJNI_FromShortArray(void * array) +int8_t UnityEngine_AndroidJNI_CallStaticSByteMethod(void * clazz, void * methodID, void* args) { - typedef void* (* ICallMethod) (void * array); + typedef int8_t (* ICallMethod) (void * clazz, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromShortArray"); - void* i2res = icall(array); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticSByteMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallStaticSByteMethod func not found"); + return 0; + } + } + int8_t i2res = icall(clazz,methodID,args); return i2res; } -void* UnityEngine_AndroidJNI_FromIntArray(void * array) +char UnityEngine_AndroidJNI_CallStaticCharMethod(void * clazz, void * methodID, void* args) { - typedef void* (* ICallMethod) (void * array); + typedef char (* ICallMethod) (void * clazz, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromIntArray"); - void* i2res = icall(array); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticCharMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallStaticCharMethod func not found"); + return 0; + } + } + char i2res = icall(clazz,methodID,args); return i2res; } -void* UnityEngine_AndroidJNI_FromLongArray(void * array) +float UnityEngine_AndroidJNI_CallStaticFloatMethod(void * clazz, void * methodID, void* args) { - typedef void* (* ICallMethod) (void * array); + typedef float (* ICallMethod) (void * clazz, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromLongArray"); - void* i2res = icall(array); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticFloatMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallStaticFloatMethod func not found"); + return 0; + } + } + float i2res = icall(clazz,methodID,args); return i2res; } -void* UnityEngine_AndroidJNI_FromFloatArray(void * array) +double UnityEngine_AndroidJNI_CallStaticDoubleMethod(void * clazz, void * methodID, void* args) { - typedef void* (* ICallMethod) (void * array); + typedef double (* ICallMethod) (void * clazz, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromFloatArray"); - void* i2res = icall(array); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticDoubleMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallStaticDoubleMethod func not found"); + return 0; + } + } + double i2res = icall(clazz,methodID,args); return i2res; } -void* UnityEngine_AndroidJNI_FromDoubleArray(void * array) +int64_t UnityEngine_AndroidJNI_CallStaticLongMethod(void * clazz, void * methodID, void* args) { - typedef void* (* ICallMethod) (void * array); + typedef int64_t (* ICallMethod) (void * clazz, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromDoubleArray"); - void* i2res = icall(array); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticLongMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallStaticLongMethod func not found"); + return 0; + } + } + int64_t i2res = icall(clazz,methodID,args); return i2res; } -int32_t UnityEngine_AndroidJNI_GetArrayLength(void * array) +void UnityEngine_AndroidJNI_CallStaticVoidMethod(void * clazz, void * methodID, void* args) { - typedef int32_t (* ICallMethod) (void * array); + typedef void (* ICallMethod) (void * clazz, void * methodID, void* args); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetArrayLength"); - int32_t i2res = icall(array); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::CallStaticVoidMethod"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::CallStaticVoidMethod func not found"); + return; + } + } + icall(clazz,methodID,args); } -void * UnityEngine_AndroidJNI_NewObjectArray(int32_t size, void * clazz, void * obj) +MonoString* UnityEngine_AndroidJNI_GetStaticStringField(void * clazz, void * fieldID) { - typedef void * (* ICallMethod) (int32_t size, void * clazz, void * obj); + typedef Il2CppString* (* ICallMethod) (void * clazz, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewObjectArray"); - void * i2res = icall(size,clazz,obj); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStaticStringField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStaticStringField func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(clazz,fieldID); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetStaticStringField fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void * UnityEngine_AndroidJNI_GetObjectArrayElement(void * array, int32_t index) +void * UnityEngine_AndroidJNI_GetStaticObjectField(void * clazz, void * fieldID) { - typedef void * (* ICallMethod) (void * array, int32_t index); + typedef void * (* ICallMethod) (void * clazz, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetObjectArrayElement"); - void * i2res = icall(array,index); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStaticObjectField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStaticObjectField func not found"); + return 0; + } + } + void * i2res = icall(clazz,fieldID); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetStaticObjectField fail to convert il2cpp obj to mono"); + } return i2res; } -void UnityEngine_AndroidJNI_SetObjectArrayElement(void * array, int32_t index, void * obj) +bool UnityEngine_AndroidJNI_GetStaticBooleanField(void * clazz, void * fieldID) { - typedef void (* ICallMethod) (void * array, int32_t index, void * obj); + typedef bool (* ICallMethod) (void * clazz, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetObjectArrayElement"); - icall(array,index,obj); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStaticBooleanField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStaticBooleanField func not found"); + return 0; + } + } + bool i2res = icall(clazz,fieldID); + return i2res; } -bool UnityEngine_AudioSettings_StartAudioOutput() +int8_t UnityEngine_AndroidJNI_GetStaticSByteField(void * clazz, void * fieldID) { - typedef bool (* ICallMethod) (); + typedef int8_t (* ICallMethod) (void * clazz, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSettings::StartAudioOutput"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStaticSByteField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStaticSByteField func not found"); + return 0; + } + } + int8_t i2res = icall(clazz,fieldID); return i2res; } -bool UnityEngine_AudioSettings_StopAudioOutput() +char UnityEngine_AndroidJNI_GetStaticCharField(void * clazz, void * fieldID) { - typedef bool (* ICallMethod) (); + typedef char (* ICallMethod) (void * clazz, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSettings::StopAudioOutput"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStaticCharField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStaticCharField func not found"); + return 0; + } + } + char i2res = icall(clazz,fieldID); return i2res; } -void UnityEngineInternal_GIDebugVisualisation_ResetRuntimeInputTextures() +int16_t UnityEngine_AndroidJNI_GetStaticShortField(void * clazz, void * fieldID) { - typedef void (* ICallMethod) (); + typedef int16_t (* ICallMethod) (void * clazz, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.GIDebugVisualisation::ResetRuntimeInputTextures"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStaticShortField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStaticShortField func not found"); + return 0; + } + } + int16_t i2res = icall(clazz,fieldID); + return i2res; } -void UnityEngineInternal_GIDebugVisualisation_PlayCycleMode() +int32_t UnityEngine_AndroidJNI_GetStaticIntField(void * clazz, void * fieldID) { - typedef void (* ICallMethod) (); + typedef int32_t (* ICallMethod) (void * clazz, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.GIDebugVisualisation::PlayCycleMode"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStaticIntField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStaticIntField func not found"); + return 0; + } + } + int32_t i2res = icall(clazz,fieldID); + return i2res; } -void UnityEngineInternal_GIDebugVisualisation_PauseCycleMode() +int64_t UnityEngine_AndroidJNI_GetStaticLongField(void * clazz, void * fieldID) { - typedef void (* ICallMethod) (); + typedef int64_t (* ICallMethod) (void * clazz, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.GIDebugVisualisation::PauseCycleMode"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStaticLongField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStaticLongField func not found"); + return 0; + } + } + int64_t i2res = icall(clazz,fieldID); + return i2res; } -void UnityEngineInternal_GIDebugVisualisation_StopCycleMode() +float UnityEngine_AndroidJNI_GetStaticFloatField(void * clazz, void * fieldID) { - typedef void (* ICallMethod) (); + typedef float (* ICallMethod) (void * clazz, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.GIDebugVisualisation::StopCycleMode"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStaticFloatField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStaticFloatField func not found"); + return 0; + } + } + float i2res = icall(clazz,fieldID); + return i2res; } -void UnityEngineInternal_GIDebugVisualisation_CycleSkipSystems(int32_t skip) +double UnityEngine_AndroidJNI_GetStaticDoubleField(void * clazz, void * fieldID) { - typedef void (* ICallMethod) (int32_t skip); + typedef double (* ICallMethod) (void * clazz, void * fieldID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.GIDebugVisualisation::CycleSkipSystems"); - icall(skip); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetStaticDoubleField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetStaticDoubleField func not found"); + return 0; + } + } + double i2res = icall(clazz,fieldID); + return i2res; } -void UnityEngineInternal_GIDebugVisualisation_CycleSkipInstances(int32_t skip) +void UnityEngine_AndroidJNI_SetStaticStringField(void * clazz, void * fieldID, MonoString* val) { - typedef void (* ICallMethod) (int32_t skip); + typedef void (* ICallMethod) (void * clazz, void * fieldID, Il2CppString* val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.GIDebugVisualisation::CycleSkipInstances"); - icall(skip); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetStaticStringField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetStaticStringField func not found"); + return; + } + } + Il2CppString* i2val = get_il2cpp_string(val); + icall(clazz,fieldID,i2val); } -bool UnityEngineInternal_GIDebugVisualisation_get_cycleMode() +void UnityEngine_AndroidJNI_SetStaticObjectField(void * clazz, void * fieldID, void * val) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (void * clazz, void * fieldID, void * val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.GIDebugVisualisation::get_cycleMode"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetStaticObjectField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetStaticObjectField func not found"); + return; + } + } + icall(clazz,fieldID,val); } -bool UnityEngineInternal_GIDebugVisualisation_get_pauseCycleMode() +void UnityEngine_AndroidJNI_SetStaticBooleanField(void * clazz, void * fieldID, bool val) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (void * clazz, void * fieldID, bool val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.GIDebugVisualisation::get_pauseCycleMode"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetStaticBooleanField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetStaticBooleanField func not found"); + return; + } + } + icall(clazz,fieldID,val); } -int32_t UnityEngineInternal_GIDebugVisualisation_get_texType() +void UnityEngine_AndroidJNI_SetStaticSByteField(void * clazz, void * fieldID, int8_t val) { - typedef int32_t (* ICallMethod) (); + typedef void (* ICallMethod) (void * clazz, void * fieldID, int8_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.GIDebugVisualisation::get_texType"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetStaticSByteField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetStaticSByteField func not found"); + return; + } + } + icall(clazz,fieldID,val); } -void UnityEngineInternal_GIDebugVisualisation_set_texType(int32_t value) +void UnityEngine_AndroidJNI_SetStaticCharField(void * clazz, void * fieldID, char val) { - typedef void (* ICallMethod) (int32_t value); + typedef void (* ICallMethod) (void * clazz, void * fieldID, char val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.GIDebugVisualisation::set_texType"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetStaticCharField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetStaticCharField func not found"); + return; + } + } + icall(clazz,fieldID,val); } -int32_t UnityEngineInternal_MemorylessManager_GetFramebufferDepthMemorylessMode() +void UnityEngine_AndroidJNI_SetStaticShortField(void * clazz, void * fieldID, int16_t val) { - typedef int32_t (* ICallMethod) (); + typedef void (* ICallMethod) (void * clazz, void * fieldID, int16_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.MemorylessManager::GetFramebufferDepthMemorylessMode"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetStaticShortField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetStaticShortField func not found"); + return; + } + } + icall(clazz,fieldID,val); } -void UnityEngineInternal_MemorylessManager_SetFramebufferDepthMemorylessMode(int32_t mode) +void UnityEngine_AndroidJNI_SetStaticIntField(void * clazz, void * fieldID, int32_t val) { - typedef void (* ICallMethod) (int32_t mode); + typedef void (* ICallMethod) (void * clazz, void * fieldID, int32_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.MemorylessManager::SetFramebufferDepthMemorylessMode"); - icall(mode); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetStaticIntField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetStaticIntField func not found"); + return; + } + } + icall(clazz,fieldID,val); } -void UnityEngineInternal_GraphicsDeviceDebug_get_settings_Injected(void * ret) +void UnityEngine_AndroidJNI_SetStaticLongField(void * clazz, void * fieldID, int64_t val) { - typedef void (* ICallMethod) (void * ret); + typedef void (* ICallMethod) (void * clazz, void * fieldID, int64_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.GraphicsDeviceDebug::get_settings_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetStaticLongField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetStaticLongField func not found"); + return; + } + } + icall(clazz,fieldID,val); } -void UnityEngineInternal_GraphicsDeviceDebug_set_settings_Injected(void * value) +void UnityEngine_AndroidJNI_SetStaticFloatField(void * clazz, void * fieldID, float val) { - typedef void (* ICallMethod) (void * value); + typedef void (* ICallMethod) (void * clazz, void * fieldID, float val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.GraphicsDeviceDebug::set_settings_Injected"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetStaticFloatField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetStaticFloatField func not found"); + return; + } + } + icall(clazz,fieldID,val); } -uint32_t Unity_Baselib_LowLevel_Binding_Baselib_ErrorState_Explain(void * errorState, void * buffer, uint32_t bufferLen, int32_t verbosity) +void UnityEngine_AndroidJNI_SetStaticDoubleField(void * clazz, void * fieldID, double val) { - typedef uint32_t (* ICallMethod) (void * errorState, void * buffer, uint32_t bufferLen, int32_t verbosity); + typedef void (* ICallMethod) (void * clazz, void * fieldID, double val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_ErrorState_Explain"); - uint32_t i2res = icall(errorState,buffer,bufferLen,verbosity); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetStaticDoubleField"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetStaticDoubleField func not found"); + return; + } + } + icall(clazz,fieldID,val); } -void Unity_Baselib_LowLevel_Binding_Baselib_Memory_GetPageSizeInfo(void * outPagesSizeInfo) +void * UnityEngine_AndroidJNI_ToBooleanArray(MonoArray* array) { - typedef void (* ICallMethod) (void * outPagesSizeInfo); + typedef void * (* ICallMethod) (Il2CppArray* array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_Memory_GetPageSizeInfo"); - icall(outPagesSizeInfo); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToBooleanArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ToBooleanArray func not found"); + return 0; + } + } + Il2CppArray* i2array = get_il2cpp_array(array); + void * i2res = icall(i2array); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ToBooleanArray fail to convert il2cpp obj to mono"); + } + return i2res; } -void * Unity_Baselib_LowLevel_Binding_Baselib_Memory_Allocate(void* size) +void * UnityEngine_AndroidJNI_ToByteArray(MonoArray* array) { - typedef void * (* ICallMethod) (void* size); + typedef void * (* ICallMethod) (Il2CppArray* array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_Memory_Allocate"); - void * i2res = icall(size); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToByteArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ToByteArray func not found"); + return 0; + } + } + Il2CppArray* i2array = get_il2cpp_array(array); + void * i2res = icall(i2array); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ToByteArray fail to convert il2cpp obj to mono"); + } return i2res; } -void * Unity_Baselib_LowLevel_Binding_Baselib_Memory_Reallocate(void * ptr, void* newSize) +void * UnityEngine_AndroidJNI_ToSByteArray(MonoArray* array) { - typedef void * (* ICallMethod) (void * ptr, void* newSize); + typedef void * (* ICallMethod) (Il2CppArray* array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_Memory_Reallocate"); - void * i2res = icall(ptr,newSize); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToSByteArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ToSByteArray func not found"); + return 0; + } + } + Il2CppArray* i2array = get_il2cpp_array(array); + void * i2res = icall(i2array); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ToSByteArray fail to convert il2cpp obj to mono"); + } return i2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_Memory_Free(void * ptr) +void * UnityEngine_AndroidJNI_ToCharArray(MonoArray* array) { - typedef void (* ICallMethod) (void * ptr); + typedef void * (* ICallMethod) (Il2CppArray* array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_Memory_Free"); - icall(ptr); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToCharArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ToCharArray func not found"); + return 0; + } + } + Il2CppArray* i2array = get_il2cpp_array(array); + void * i2res = icall(i2array); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ToCharArray fail to convert il2cpp obj to mono"); + } + return i2res; } -void * Unity_Baselib_LowLevel_Binding_Baselib_Memory_AlignedAllocate(void* size, void* alignment) +void * UnityEngine_AndroidJNI_ToShortArray(MonoArray* array) { - typedef void * (* ICallMethod) (void* size, void* alignment); + typedef void * (* ICallMethod) (Il2CppArray* array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_Memory_AlignedAllocate"); - void * i2res = icall(size,alignment); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToShortArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ToShortArray func not found"); + return 0; + } + } + Il2CppArray* i2array = get_il2cpp_array(array); + void * i2res = icall(i2array); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ToShortArray fail to convert il2cpp obj to mono"); + } return i2res; } -void * Unity_Baselib_LowLevel_Binding_Baselib_Memory_AlignedReallocate(void * ptr, void* newSize, void* alignment) +void * UnityEngine_AndroidJNI_ToIntArray(MonoArray* array) { - typedef void * (* ICallMethod) (void * ptr, void* newSize, void* alignment); + typedef void * (* ICallMethod) (Il2CppArray* array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_Memory_AlignedReallocate"); - void * i2res = icall(ptr,newSize,alignment); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToIntArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ToIntArray func not found"); + return 0; + } + } + Il2CppArray* i2array = get_il2cpp_array(array); + void * i2res = icall(i2array); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ToIntArray fail to convert il2cpp obj to mono"); + } return i2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_Memory_AlignedFree(void * ptr) +void * UnityEngine_AndroidJNI_ToLongArray(MonoArray* array) { - typedef void (* ICallMethod) (void * ptr); + typedef void * (* ICallMethod) (Il2CppArray* array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_Memory_AlignedFree"); - icall(ptr); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToLongArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ToLongArray func not found"); + return 0; + } + } + Il2CppArray* i2array = get_il2cpp_array(array); + void * i2res = icall(i2array); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ToLongArray fail to convert il2cpp obj to mono"); + } + return i2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_Memory_SetPageState(void * addressOfFirstPage, uint64_t pageSize, uint64_t pageCount, int32_t pageState, void * errorState) +void * UnityEngine_AndroidJNI_ToFloatArray(MonoArray* array) { - typedef void (* ICallMethod) (void * addressOfFirstPage, uint64_t pageSize, uint64_t pageCount, int32_t pageState, void * errorState); + typedef void * (* ICallMethod) (Il2CppArray* array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_Memory_SetPageState"); - icall(addressOfFirstPage,pageSize,pageCount,pageState,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToFloatArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ToFloatArray func not found"); + return 0; + } + } + Il2CppArray* i2array = get_il2cpp_array(array); + void * i2res = icall(i2array); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ToFloatArray fail to convert il2cpp obj to mono"); + } + return i2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_NetworkAddress_Encode(void * dstAddress, int32_t family, void * ip, uint16_t port, void * errorState) +void * UnityEngine_AndroidJNI_ToDoubleArray(MonoArray* array) { - typedef void (* ICallMethod) (void * dstAddress, int32_t family, void * ip, uint16_t port, void * errorState); + typedef void * (* ICallMethod) (Il2CppArray* array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_NetworkAddress_Encode"); - icall(dstAddress,family,ip,port,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToDoubleArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ToDoubleArray func not found"); + return 0; + } + } + Il2CppArray* i2array = get_il2cpp_array(array); + void * i2res = icall(i2array); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ToDoubleArray fail to convert il2cpp obj to mono"); + } + return i2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_NetworkAddress_Decode(void * srcAddress, int32_t family, void * ipAddressBuffer, uint32_t ipAddressBufferLen, void * port, void * errorState) +void * UnityEngine_AndroidJNI_ToObjectArray(MonoArray* array, void * arrayClass) { - typedef void (* ICallMethod) (void * srcAddress, int32_t family, void * ipAddressBuffer, uint32_t ipAddressBufferLen, void * port, void * errorState); + typedef void * (* ICallMethod) (Il2CppArray* array, void * arrayClass); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_NetworkAddress_Decode"); - icall(srcAddress,family,ipAddressBuffer,ipAddressBufferLen,port,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::ToObjectArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::ToObjectArray func not found"); + return 0; + } + } + Il2CppArray* i2array = get_il2cpp_array(array); + void * i2res = icall(i2array,arrayClass); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::ToObjectArray fail to convert il2cpp obj to mono"); + } + return i2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_Memory_AllocatePages_Injected(uint64_t pageSize, uint64_t pageCount, uint64_t alignmentInMultipleOfPageSize, int32_t pageState, void * errorState, void * ret) +MonoArray* UnityEngine_AndroidJNI_FromBooleanArray(void * array) { - typedef void (* ICallMethod) (uint64_t pageSize, uint64_t pageCount, uint64_t alignmentInMultipleOfPageSize, int32_t pageState, void * errorState, void * ret); + typedef Il2CppArray* (* ICallMethod) (void * array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_Memory_AllocatePages_Injected"); - icall(pageSize,pageCount,alignmentInMultipleOfPageSize,pageState,errorState,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromBooleanArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FromBooleanArray func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(array); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FromBooleanArray fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_Memory_ReleasePages_Injected(void * pageAllocation, void * errorState) +MonoArray* UnityEngine_AndroidJNI_FromByteArray(void * array) { - typedef void (* ICallMethod) (void * pageAllocation, void * errorState); + typedef Il2CppArray* (* ICallMethod) (void * array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_Memory_ReleasePages_Injected"); - icall(pageAllocation,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromByteArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FromByteArray func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(array); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FromByteArray fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Buffer_Register_Injected(void * pageAllocation, void * errorState, void * ret) +MonoArray* UnityEngine_AndroidJNI_FromSByteArray(void * array) { - typedef void (* ICallMethod) (void * pageAllocation, void * errorState, void * ret); + typedef Il2CppArray* (* ICallMethod) (void * array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Buffer_Register_Injected"); - icall(pageAllocation,errorState,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromSByteArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FromSByteArray func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(array); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FromSByteArray fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Buffer_Deregister_Injected(void * buffer) +MonoArray* UnityEngine_AndroidJNI_FromCharArray(void * array) { - typedef void (* ICallMethod) (void * buffer); + typedef Il2CppArray* (* ICallMethod) (void * array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Buffer_Deregister_Injected"); - icall(buffer); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromCharArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FromCharArray func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(array); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FromCharArray fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_BufferSlice_Create_Injected(void * buffer, uint32_t offset, uint32_t size, void * ret) +MonoArray* UnityEngine_AndroidJNI_FromShortArray(void * array) { - typedef void (* ICallMethod) (void * buffer, uint32_t offset, uint32_t size, void * ret); + typedef Il2CppArray* (* ICallMethod) (void * array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_BufferSlice_Create_Injected"); - icall(buffer,offset,size,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromShortArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FromShortArray func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(array); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FromShortArray fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_BufferSlice_Empty_Injected(void * ret) +MonoArray* UnityEngine_AndroidJNI_FromIntArray(void * array) { - typedef void (* ICallMethod) (void * ret); + typedef Il2CppArray* (* ICallMethod) (void * array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_BufferSlice_Empty_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromIntArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FromIntArray func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(array); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FromIntArray fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Endpoint_Create_Injected(void * srcAddress, void * dstSlice, void * errorState, void * ret) +MonoArray* UnityEngine_AndroidJNI_FromLongArray(void * array) { - typedef void (* ICallMethod) (void * srcAddress, void * dstSlice, void * errorState, void * ret); + typedef Il2CppArray* (* ICallMethod) (void * array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Endpoint_Create_Injected"); - icall(srcAddress,dstSlice,errorState,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromLongArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FromLongArray func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(array); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FromLongArray fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Endpoint_Empty_Injected(void * ret) +MonoArray* UnityEngine_AndroidJNI_FromFloatArray(void * array) { - typedef void (* ICallMethod) (void * ret); + typedef Il2CppArray* (* ICallMethod) (void * array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Endpoint_Empty_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromFloatArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FromFloatArray func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(array); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FromFloatArray fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Endpoint_GetNetworkAddress_Injected(void * endpoint, void * dstAddress, void * errorState) +MonoArray* UnityEngine_AndroidJNI_FromDoubleArray(void * array) { - typedef void (* ICallMethod) (void * endpoint, void * dstAddress, void * errorState); + typedef Il2CppArray* (* ICallMethod) (void * array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Endpoint_GetNetworkAddress_Injected"); - icall(endpoint,dstAddress,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromDoubleArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FromDoubleArray func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(array); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FromDoubleArray fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_Create_Injected(void * bindAddress, int32_t endpointReuse, uint32_t sendQueueSize, uint32_t recvQueueSize, void * errorState, void * ret) +MonoArray* UnityEngine_AndroidJNI_FromObjectArray(void * array) { - typedef void (* ICallMethod) (void * bindAddress, int32_t endpointReuse, uint32_t sendQueueSize, uint32_t recvQueueSize, void * errorState, void * ret); + typedef Il2CppArray* (* ICallMethod) (void * array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_Create_Injected"); - icall(bindAddress,endpointReuse,sendQueueSize,recvQueueSize,errorState,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::FromObjectArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::FromObjectArray func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(array); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::FromObjectArray fail to convert il2cpp obj to mono"); + } + return monoi2res; } -uint32_t Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_ScheduleRecv_Injected(void * socket, void * requests, uint32_t requestsCount, void * errorState) +int32_t UnityEngine_AndroidJNI_GetArrayLength(void * array) { - typedef uint32_t (* ICallMethod) (void * socket, void * requests, uint32_t requestsCount, void * errorState); + typedef int32_t (* ICallMethod) (void * array); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_ScheduleRecv_Injected"); - uint32_t i2res = icall(socket,requests,requestsCount,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetArrayLength"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetArrayLength func not found"); + return 0; + } + } + int32_t i2res = icall(array); return i2res; } -uint32_t Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_ScheduleSend_Injected(void * socket, void * requests, uint32_t requestsCount, void * errorState) +void * UnityEngine_AndroidJNI_NewBooleanArray(int32_t size) { - typedef uint32_t (* ICallMethod) (void * socket, void * requests, uint32_t requestsCount, void * errorState); + typedef void * (* ICallMethod) (int32_t size); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_ScheduleSend_Injected"); - uint32_t i2res = icall(socket,requests,requestsCount,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewBooleanArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewBooleanArray func not found"); + return 0; + } + } + void * i2res = icall(size); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewBooleanArray fail to convert il2cpp obj to mono"); + } return i2res; } -int32_t Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_ProcessRecv_Injected(void * socket, void * errorState) +void * UnityEngine_AndroidJNI_NewSByteArray(int32_t size) { - typedef int32_t (* ICallMethod) (void * socket, void * errorState); + typedef void * (* ICallMethod) (int32_t size); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_ProcessRecv_Injected"); - int32_t i2res = icall(socket,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewSByteArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewSByteArray func not found"); + return 0; + } + } + void * i2res = icall(size); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewSByteArray fail to convert il2cpp obj to mono"); + } return i2res; } -int32_t Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_ProcessSend_Injected(void * socket, void * errorState) +void * UnityEngine_AndroidJNI_NewCharArray(int32_t size) { - typedef int32_t (* ICallMethod) (void * socket, void * errorState); + typedef void * (* ICallMethod) (int32_t size); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_ProcessSend_Injected"); - int32_t i2res = icall(socket,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewCharArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewCharArray func not found"); + return 0; + } + } + void * i2res = icall(size); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewCharArray fail to convert il2cpp obj to mono"); + } return i2res; } -int32_t Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_WaitForCompletedRecv_Injected(void * socket, uint32_t timeoutInMilliseconds, void * errorState) +void * UnityEngine_AndroidJNI_NewShortArray(int32_t size) { - typedef int32_t (* ICallMethod) (void * socket, uint32_t timeoutInMilliseconds, void * errorState); + typedef void * (* ICallMethod) (int32_t size); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_WaitForCompletedRecv_Injected"); - int32_t i2res = icall(socket,timeoutInMilliseconds,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewShortArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewShortArray func not found"); + return 0; + } + } + void * i2res = icall(size); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewShortArray fail to convert il2cpp obj to mono"); + } return i2res; } -int32_t Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_WaitForCompletedSend_Injected(void * socket, uint32_t timeoutInMilliseconds, void * errorState) +void * UnityEngine_AndroidJNI_NewIntArray(int32_t size) { - typedef int32_t (* ICallMethod) (void * socket, uint32_t timeoutInMilliseconds, void * errorState); + typedef void * (* ICallMethod) (int32_t size); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_WaitForCompletedSend_Injected"); - int32_t i2res = icall(socket,timeoutInMilliseconds,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewIntArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewIntArray func not found"); + return 0; + } + } + void * i2res = icall(size); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewIntArray fail to convert il2cpp obj to mono"); + } return i2res; } -uint32_t Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_DequeueRecv_Injected(void * socket, void * results, uint32_t resultsCount, void * errorState) +void * UnityEngine_AndroidJNI_NewLongArray(int32_t size) { - typedef uint32_t (* ICallMethod) (void * socket, void * results, uint32_t resultsCount, void * errorState); + typedef void * (* ICallMethod) (int32_t size); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_DequeueRecv_Injected"); - uint32_t i2res = icall(socket,results,resultsCount,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewLongArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewLongArray func not found"); + return 0; + } + } + void * i2res = icall(size); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewLongArray fail to convert il2cpp obj to mono"); + } return i2res; } -uint32_t Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_DequeueSend_Injected(void * socket, void * results, uint32_t resultsCount, void * errorState) +void * UnityEngine_AndroidJNI_NewFloatArray(int32_t size) { - typedef uint32_t (* ICallMethod) (void * socket, void * results, uint32_t resultsCount, void * errorState); + typedef void * (* ICallMethod) (int32_t size); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_DequeueSend_Injected"); - uint32_t i2res = icall(socket,results,resultsCount,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewFloatArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewFloatArray func not found"); + return 0; + } + } + void * i2res = icall(size); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewFloatArray fail to convert il2cpp obj to mono"); + } return i2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_GetNetworkAddress_Injected(void * socket, void * dstAddress, void * errorState) +void * UnityEngine_AndroidJNI_NewDoubleArray(int32_t size) { - typedef void (* ICallMethod) (void * socket, void * dstAddress, void * errorState); + typedef void * (* ICallMethod) (int32_t size); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_GetNetworkAddress_Injected"); - icall(socket,dstAddress,errorState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewDoubleArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewDoubleArray func not found"); + return 0; + } + } + void * i2res = icall(size); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewDoubleArray fail to convert il2cpp obj to mono"); + } + return i2res; } -void Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_Close_Injected(void * socket) +void * UnityEngine_AndroidJNI_NewObjectArray(int32_t size, void * clazz, void * obj) { - typedef void (* ICallMethod) (void * socket); + typedef void * (* ICallMethod) (int32_t size, void * clazz, void * obj); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_Close_Injected"); - icall(socket); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::NewObjectArray"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::NewObjectArray func not found"); + return 0; + } + } + void * i2res = icall(size,clazz,obj); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::NewObjectArray fail to convert il2cpp obj to mono"); + } + return i2res; } -void * Unity_Profiling_ProfilerMarker_Internal_Create(MonoString* name, uint16_t flags) +bool UnityEngine_AndroidJNI_GetBooleanArrayElement(void * array, int32_t index) { - typedef void * (* ICallMethod) (Il2CppString* name, uint16_t flags); + typedef bool (* ICallMethod) (void * array, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Profiling.ProfilerMarker::Internal_Create"); - Il2CppString* i2name = get_il2cpp_string(name); - void * i2res = icall(i2name,flags); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetBooleanArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetBooleanArrayElement func not found"); + return 0; + } + } + bool i2res = icall(array,index); return i2res; } -void Unity_Profiling_ProfilerMarker_Internal_Begin(void * markerPtr) +int8_t UnityEngine_AndroidJNI_GetSByteArrayElement(void * array, int32_t index) { - typedef void (* ICallMethod) (void * markerPtr); + typedef int8_t (* ICallMethod) (void * array, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Profiling.ProfilerMarker::Internal_Begin"); - icall(markerPtr); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetSByteArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetSByteArrayElement func not found"); + return 0; + } + } + int8_t i2res = icall(array,index); + return i2res; } -void Unity_Profiling_ProfilerMarker_Internal_BeginWithObject(void * markerPtr, MonoObject* contextUnityObject) +char UnityEngine_AndroidJNI_GetCharArrayElement(void * array, int32_t index) { - typedef void (* ICallMethod) (void * markerPtr, Il2CppObject* contextUnityObject); + typedef char (* ICallMethod) (void * array, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Profiling.ProfilerMarker::Internal_BeginWithObject"); - Il2CppObject* i2contextUnityObject = get_il2cpp_object(contextUnityObject,il2cpp_get_class_UnityEngine_Object()); - icall(markerPtr,i2contextUnityObject); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetCharArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetCharArrayElement func not found"); + return 0; + } + } + char i2res = icall(array,index); + return i2res; } -void Unity_Profiling_ProfilerMarker_Internal_End(void * markerPtr) +int16_t UnityEngine_AndroidJNI_GetShortArrayElement(void * array, int32_t index) { - typedef void (* ICallMethod) (void * markerPtr); + typedef int16_t (* ICallMethod) (void * array, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Profiling.ProfilerMarker::Internal_End"); - icall(markerPtr); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetShortArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetShortArrayElement func not found"); + return 0; + } + } + int16_t i2res = icall(array,index); + return i2res; } -void Unity_Profiling_ProfilerMarker_Internal_Emit(void * markerPtr, uint16_t eventType, int32_t metadataCount, void * metadata) +int32_t UnityEngine_AndroidJNI_GetIntArrayElement(void * array, int32_t index) { - typedef void (* ICallMethod) (void * markerPtr, uint16_t eventType, int32_t metadataCount, void * metadata); + typedef int32_t (* ICallMethod) (void * array, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Profiling.ProfilerMarker::Internal_Emit"); - icall(markerPtr,eventType,metadataCount,metadata); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetIntArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetIntArrayElement func not found"); + return 0; + } + } + int32_t i2res = icall(array,index); + return i2res; } -MonoString* Unity_Profiling_ProfilerMarker_Internal_GetName(void * markerPtr) +int64_t UnityEngine_AndroidJNI_GetLongArrayElement(void * array, int32_t index) { - typedef Il2CppString* (* ICallMethod) (void * markerPtr); + typedef int64_t (* ICallMethod) (void * array, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Profiling.ProfilerMarker::Internal_GetName"); - Il2CppString* i2res = icall(markerPtr); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetLongArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetLongArrayElement func not found"); + return 0; + } + } + int64_t i2res = icall(array,index); + return i2res; } -void Unity_Jobs_JobHandle_ScheduleBatchedJobs() +float UnityEngine_AndroidJNI_GetFloatArrayElement(void * array, int32_t index) { - typedef void (* ICallMethod) (); + typedef float (* ICallMethod) (void * array, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.JobHandle::ScheduleBatchedJobs"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetFloatArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetFloatArrayElement func not found"); + return 0; + } + } + float i2res = icall(array,index); + return i2res; } -void Unity_Jobs_JobHandle_ScheduleBatchedJobsAndComplete(void * job) +double UnityEngine_AndroidJNI_GetDoubleArrayElement(void * array, int32_t index) { - typedef void (* ICallMethod) (void * job); + typedef double (* ICallMethod) (void * array, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.JobHandle::ScheduleBatchedJobsAndComplete"); - icall(job); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetDoubleArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetDoubleArrayElement func not found"); + return 0; + } + } + double i2res = icall(array,index); + return i2res; } -bool Unity_Jobs_JobHandle_ScheduleBatchedJobsAndIsCompleted(void * job) +void * UnityEngine_AndroidJNI_GetObjectArrayElement(void * array, int32_t index) { - typedef bool (* ICallMethod) (void * job); + typedef void * (* ICallMethod) (void * array, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.JobHandle::ScheduleBatchedJobsAndIsCompleted"); - bool i2res = icall(job); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::GetObjectArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::GetObjectArrayElement func not found"); + return 0; + } + } + void * i2res = icall(array,index); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.AndroidJNI::GetObjectArrayElement fail to convert il2cpp obj to mono"); + } return i2res; } -void Unity_Jobs_JobHandle_ScheduleBatchedJobsAndCompleteAll(void * jobs, int32_t count) +void UnityEngine_AndroidJNI_SetBooleanArrayElement(void * array, int32_t index, bool val) { - typedef void (* ICallMethod) (void * jobs, int32_t count); + typedef void (* ICallMethod) (void * array, int32_t index, bool val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.JobHandle::ScheduleBatchedJobsAndCompleteAll"); - icall(jobs,count); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetBooleanArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetBooleanArrayElement func not found"); + return; + } + } + icall(array,index,val); } -void Unity_Jobs_JobHandle_CombineDependenciesInternal2_Injected(void * job0, void * job1, void * ret) +void UnityEngine_AndroidJNI_SetSByteArrayElement(void * array, int32_t index, int8_t val) { - typedef void (* ICallMethod) (void * job0, void * job1, void * ret); + typedef void (* ICallMethod) (void * array, int32_t index, int8_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.JobHandle::CombineDependenciesInternal2_Injected"); - icall(job0,job1,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetSByteArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetSByteArrayElement func not found"); + return; + } + } + icall(array,index,val); } -void Unity_Jobs_JobHandle_CombineDependenciesInternal3_Injected(void * job0, void * job1, void * job2, void * ret) +void UnityEngine_AndroidJNI_SetCharArrayElement(void * array, int32_t index, char val) { - typedef void (* ICallMethod) (void * job0, void * job1, void * job2, void * ret); + typedef void (* ICallMethod) (void * array, int32_t index, char val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.JobHandle::CombineDependenciesInternal3_Injected"); - icall(job0,job1,job2,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetCharArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetCharArrayElement func not found"); + return; + } + } + icall(array,index,val); } -void Unity_Jobs_JobHandle_CombineDependenciesInternalPtr_Injected(void * jobs, int32_t count, void * ret) +void UnityEngine_AndroidJNI_SetShortArrayElement(void * array, int32_t index, int16_t val) { - typedef void (* ICallMethod) (void * jobs, int32_t count, void * ret); + typedef void (* ICallMethod) (void * array, int32_t index, int16_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.JobHandle::CombineDependenciesInternalPtr_Injected"); - icall(jobs,count,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetShortArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetShortArrayElement func not found"); + return; + } + } + icall(array,index,val); } -bool Unity_Jobs_JobHandle_CheckFenceIsDependencyOrDidSyncFence_Injected(void * jobHandle, void * dependsOn) +void UnityEngine_AndroidJNI_SetIntArrayElement(void * array, int32_t index, int32_t val) { - typedef bool (* ICallMethod) (void * jobHandle, void * dependsOn); + typedef void (* ICallMethod) (void * array, int32_t index, int32_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.JobHandle::CheckFenceIsDependencyOrDidSyncFence_Injected"); - bool i2res = icall(jobHandle,dependsOn); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetIntArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetIntArrayElement func not found"); + return; + } + } + icall(array,index,val); } -bool Unity_Jobs_LowLevel_Unsafe_JobsUtility_GetWorkStealingRange(void * ranges, int32_t jobIndex, void * beginIndex, void * endIndex) +void UnityEngine_AndroidJNI_SetLongArrayElement(void * array, int32_t index, int64_t val) { - typedef bool (* ICallMethod) (void * ranges, int32_t jobIndex, void * beginIndex, void * endIndex); + typedef void (* ICallMethod) (void * array, int32_t index, int64_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::GetWorkStealingRange"); - bool i2res = icall(ranges,jobIndex,beginIndex,endIndex); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetLongArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetLongArrayElement func not found"); + return; + } + } + icall(array,index,val); } -void Unity_Jobs_LowLevel_Unsafe_JobsUtility_PatchBufferMinMaxRanges(void * bufferRangePatchData, void * jobdata, int32_t startIndex, int32_t rangeSize) +void UnityEngine_AndroidJNI_SetFloatArrayElement(void * array, int32_t index, float val) { - typedef void (* ICallMethod) (void * bufferRangePatchData, void * jobdata, int32_t startIndex, int32_t rangeSize); + typedef void (* ICallMethod) (void * array, int32_t index, float val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::PatchBufferMinMaxRanges"); - icall(bufferRangePatchData,jobdata,startIndex,rangeSize); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetFloatArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetFloatArrayElement func not found"); + return; + } + } + icall(array,index,val); } -void * Unity_Jobs_LowLevel_Unsafe_JobsUtility_CreateJobReflectionData(MonoReflectionType* wrapperJobType, MonoReflectionType* userJobType, int32_t jobType, MonoObject* managedJobFunction0, MonoObject* managedJobFunction1, MonoObject* managedJobFunction2) +void UnityEngine_AndroidJNI_SetDoubleArrayElement(void * array, int32_t index, double val) { - typedef void * (* ICallMethod) (Il2CppReflectionType* wrapperJobType, Il2CppReflectionType* userJobType, int32_t jobType, Il2CppObject* managedJobFunction0, Il2CppObject* managedJobFunction1, Il2CppObject* managedJobFunction2); + typedef void (* ICallMethod) (void * array, int32_t index, double val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::CreateJobReflectionData"); - Il2CppReflectionType* i2wrapperJobType = get_il2cpp_reflection_type(wrapperJobType); - Il2CppReflectionType* i2userJobType = get_il2cpp_reflection_type(userJobType); - Il2CppObject* i2managedJobFunction0 = get_il2cpp_object(managedJobFunction0,NULL); - Il2CppObject* i2managedJobFunction1 = get_il2cpp_object(managedJobFunction1,NULL); - Il2CppObject* i2managedJobFunction2 = get_il2cpp_object(managedJobFunction2,NULL); - void * i2res = icall(i2wrapperJobType,i2userJobType,jobType,i2managedJobFunction0,i2managedJobFunction1,i2managedJobFunction2); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetDoubleArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetDoubleArrayElement func not found"); + return; + } + } + icall(array,index,val); } -bool Unity_Jobs_LowLevel_Unsafe_JobsUtility_get_IsExecutingJob() +void UnityEngine_AndroidJNI_SetObjectArrayElement(void * array, int32_t index, void * obj) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (void * array, int32_t index, void * obj); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::get_IsExecutingJob"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AndroidJNI::SetObjectArrayElement"); + if(!icall) + { + platform_log("UnityEngine.AndroidJNI::SetObjectArrayElement func not found"); + return; + } + } + icall(array,index,obj); } -bool Unity_Jobs_LowLevel_Unsafe_JobsUtility_get_JobDebuggerEnabled() +bool UnityEngine_Animator_get_isHuman(MonoObject* thiz) { - typedef bool (* ICallMethod) (); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::get_JobDebuggerEnabled"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::get_isHuman"); + if(!icall) + { + platform_log("UnityEngine.Animator::get_isHuman func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + bool i2res = icall(i2thiz); return i2res; } -void Unity_Jobs_LowLevel_Unsafe_JobsUtility_set_JobDebuggerEnabled(bool value) +bool UnityEngine_Animator_get_hasRootMotion(MonoObject* thiz) { - typedef void (* ICallMethod) (bool value); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::set_JobDebuggerEnabled"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::get_hasRootMotion"); + if(!icall) + { + platform_log("UnityEngine.Animator::get_hasRootMotion func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + bool i2res = icall(i2thiz); + return i2res; } -bool Unity_Jobs_LowLevel_Unsafe_JobsUtility_get_JobCompilerEnabled() +void UnityEngine_Animator_set_updateMode(MonoObject* thiz, int32_t value) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::get_JobCompilerEnabled"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::set_updateMode"); + if(!icall) + { + platform_log("UnityEngine.Animator::set_updateMode func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + icall(i2thiz,value); } -void Unity_Jobs_LowLevel_Unsafe_JobsUtility_set_JobCompilerEnabled(bool value) +int32_t UnityEngine_Animator_get_layerCount(MonoObject* thiz) { - typedef void (* ICallMethod) (bool value); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::set_JobCompilerEnabled"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::get_layerCount"); + if(!icall) + { + platform_log("UnityEngine.Animator::get_layerCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + int32_t i2res = icall(i2thiz); + return i2res; } -int32_t Unity_Jobs_LowLevel_Unsafe_JobsUtility_GetJobQueueWorkerThreadCount() +void UnityEngine_Animator_set_speed_1(MonoObject* thiz, float value) { - typedef int32_t (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::GetJobQueueWorkerThreadCount"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::set_speed"); + if(!icall) + { + platform_log("UnityEngine.Animator::set_speed func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + icall(i2thiz,value); } -void Unity_Jobs_LowLevel_Unsafe_JobsUtility_SetJobQueueMaximumActiveThreadCount(int32_t count) +MonoObject* UnityEngine_Animator_get_runtimeAnimatorController(MonoObject* thiz) { - typedef void (* ICallMethod) (int32_t count); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::SetJobQueueMaximumActiveThreadCount"); - icall(count); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::get_runtimeAnimatorController"); + if(!icall) + { + platform_log("UnityEngine.Animator::get_runtimeAnimatorController func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_RuntimeAnimatorController()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Animator::get_runtimeAnimatorController fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t Unity_Jobs_LowLevel_Unsafe_JobsUtility_get_JobWorkerMaximumCount() +bool UnityEngine_Animator_get_hasBoundPlayables(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::get_JobWorkerMaximumCount"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::get_hasBoundPlayables"); + if(!icall) + { + platform_log("UnityEngine.Animator::get_hasBoundPlayables func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + bool i2res = icall(i2thiz); return i2res; } -void Unity_Jobs_LowLevel_Unsafe_JobsUtility_ResetJobWorkerCount() +MonoObject* UnityEngine_Animator_get_avatar(MonoObject* thiz) { - typedef void (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::ResetJobWorkerCount"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::get_avatar"); + if(!icall) + { + platform_log("UnityEngine.Animator::get_avatar func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Avatar()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Animator::get_avatar fail to convert il2cpp obj to mono"); + } + return monoi2res; +} +void UnityEngine_Animator_SetIntegerString(MonoObject* thiz, MonoString* name, int32_t value) +{ + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name, int32_t value); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::SetIntegerString"); + if(!icall) + { + platform_log("UnityEngine.Animator::SetIntegerString func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + Il2CppString* i2name = get_il2cpp_string(name); + icall(i2thiz,i2name,value); } -void Unity_Jobs_LowLevel_Unsafe_JobsUtility_Schedule_Injected(void * parameters, void * ret) +void UnityEngine_Animator_SetTriggerString(MonoObject* thiz, MonoString* name) { - typedef void (* ICallMethod) (void * parameters, void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::Schedule_Injected"); - icall(parameters,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::SetTriggerString"); + if(!icall) + { + platform_log("UnityEngine.Animator::SetTriggerString func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + Il2CppString* i2name = get_il2cpp_string(name); + icall(i2thiz,i2name); } -void Unity_Jobs_LowLevel_Unsafe_JobsUtility_ScheduleParallelFor_Injected(void * parameters, int32_t arrayLength, int32_t innerloopBatchCount, void * ret) +void UnityEngine_Animator_ResetTriggerString(MonoObject* thiz, MonoString* name) { - typedef void (* ICallMethod) (void * parameters, int32_t arrayLength, int32_t innerloopBatchCount, void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::ScheduleParallelFor_Injected"); - icall(parameters,arrayLength,innerloopBatchCount,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::ResetTriggerString"); + if(!icall) + { + platform_log("UnityEngine.Animator::ResetTriggerString func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + Il2CppString* i2name = get_il2cpp_string(name); + icall(i2thiz,i2name); } -void Unity_Jobs_LowLevel_Unsafe_JobsUtility_ScheduleParallelForDeferArraySize_Injected(void * parameters, int32_t innerloopBatchCount, void * listData, void * listDataAtomicSafetyHandle, void * ret) +float UnityEngine_Animator_GetLayerWeight(MonoObject* thiz, int32_t layerIndex) { - typedef void (* ICallMethod) (void * parameters, int32_t innerloopBatchCount, void * listData, void * listDataAtomicSafetyHandle, void * ret); + typedef float (* ICallMethod) (Il2CppObject* thiz, int32_t layerIndex); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::ScheduleParallelForDeferArraySize_Injected"); - icall(parameters,innerloopBatchCount,listData,listDataAtomicSafetyHandle,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::GetLayerWeight"); + if(!icall) + { + platform_log("UnityEngine.Animator::GetLayerWeight func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + float i2res = icall(i2thiz,layerIndex); + return i2res; } -void Unity_Jobs_LowLevel_Unsafe_JobsUtility_ScheduleParallelForTransform_Injected(void * parameters, void * transfromAccesssArray, void * ret) +void UnityEngine_Animator_GetAnimatorStateInfo(MonoObject* thiz, int32_t layerIndex, int32_t stateInfoIndex, void * info) { - typedef void (* ICallMethod) (void * parameters, void * transfromAccesssArray, void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t layerIndex, int32_t stateInfoIndex, void * info); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.LowLevel.Unsafe.JobsUtility::ScheduleParallelForTransform_Injected"); - icall(parameters,transfromAccesssArray,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::GetAnimatorStateInfo"); + if(!icall) + { + platform_log("UnityEngine.Animator::GetAnimatorStateInfo func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + icall(i2thiz,layerIndex,stateInfoIndex,info); } -int32_t Unity_IO_LowLevel_Unsafe_ReadHandle_GetReadStatus_Injected(void * handle) +int32_t UnityEngine_Animator_GetAnimatorClipInfoCount(MonoObject* thiz, int32_t layerIndex, bool current) { - typedef int32_t (* ICallMethod) (void * handle); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t layerIndex, bool current); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.IO.LowLevel.Unsafe.ReadHandle::GetReadStatus_Injected"); - int32_t i2res = icall(handle); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::GetAnimatorClipInfoCount"); + if(!icall) + { + platform_log("UnityEngine.Animator::GetAnimatorClipInfoCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + int32_t i2res = icall(i2thiz,layerIndex,current); return i2res; } -void Unity_IO_LowLevel_Unsafe_ReadHandle_ReleaseReadHandle_Injected(void * handle) +void* UnityEngine_Animator_GetCurrentAnimatorClipInfo(MonoObject* thiz, int32_t layerIndex) { - typedef void (* ICallMethod) (void * handle); + typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t layerIndex); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.IO.LowLevel.Unsafe.ReadHandle::ReleaseReadHandle_Injected"); - icall(handle); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::GetCurrentAnimatorClipInfo"); + if(!icall) + { + platform_log("UnityEngine.Animator::GetCurrentAnimatorClipInfo func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + void* i2res = icall(i2thiz,layerIndex); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.Animator::GetCurrentAnimatorClipInfo fail to convert il2cpp obj to mono"); + } + return i2res; } -bool Unity_IO_LowLevel_Unsafe_ReadHandle_IsReadHandleValid_Injected(void * handle) +bool UnityEngine_Animator_IsInTransition(MonoObject* thiz, int32_t layerIndex) { - typedef bool (* ICallMethod) (void * handle); + typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t layerIndex); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.IO.LowLevel.Unsafe.ReadHandle::IsReadHandleValid_Injected"); - bool i2res = icall(handle); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::IsInTransition"); + if(!icall) + { + platform_log("UnityEngine.Animator::IsInTransition func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + bool i2res = icall(i2thiz,layerIndex); return i2res; } -void Unity_IO_LowLevel_Unsafe_ReadHandle_GetJobHandle_Injected(void * handle, void * ret) +int32_t UnityEngine_Animator_StringToHash(MonoString* name) { - typedef void (* ICallMethod) (void * handle, void * ret); + typedef int32_t (* ICallMethod) (Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.IO.LowLevel.Unsafe.ReadHandle::GetJobHandle_Injected"); - icall(handle,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::StringToHash"); + if(!icall) + { + platform_log("UnityEngine.Animator::StringToHash func not found"); + return 0; + } + } + Il2CppString* i2name = get_il2cpp_string(name); + int32_t i2res = icall(i2name); + return i2res; } -void Unity_IO_LowLevel_Unsafe_AsyncReadManager_ReadInternal_Injected(MonoString* filename, void * cmds, uint32_t cmdCount, void * ret) +void UnityEngine_Animator_CrossFadeInFixedTime(MonoObject* thiz, int32_t stateHashName, float fixedTransitionDuration, int32_t layer, float fixedTimeOffset, float normalizedTransitionTime) { - typedef void (* ICallMethod) (Il2CppString* filename, void * cmds, uint32_t cmdCount, void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t stateHashName, float fixedTransitionDuration, int32_t layer, float fixedTimeOffset, float normalizedTransitionTime); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.IO.LowLevel.Unsafe.AsyncReadManager::ReadInternal_Injected"); - Il2CppString* i2filename = get_il2cpp_string(filename); - icall(i2filename,cmds,cmdCount,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::CrossFadeInFixedTime"); + if(!icall) + { + platform_log("UnityEngine.Animator::CrossFadeInFixedTime func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + icall(i2thiz,stateHashName,fixedTransitionDuration,layer,fixedTimeOffset,normalizedTransitionTime); } -void * Unity_Collections_LowLevel_Unsafe_UnsafeUtility_PinSystemArrayAndGetAddress(MonoObject* target, void * gcHandle) +void UnityEngine_Animator_Play(MonoObject* thiz, int32_t stateNameHash, int32_t layer, float normalizedTime) { - typedef void * (* ICallMethod) (Il2CppObject* target, void * gcHandle); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t stateNameHash, int32_t layer, float normalizedTime); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::PinSystemArrayAndGetAddress"); - Il2CppObject* i2target = get_il2cpp_object(target,NULL); - void * i2res = icall(i2target,gcHandle); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::Play"); + if(!icall) + { + platform_log("UnityEngine.Animator::Play func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + icall(i2thiz,stateNameHash,layer,normalizedTime); } -void * Unity_Collections_LowLevel_Unsafe_UnsafeUtility_PinSystemObjectAndGetAddress(MonoObject* target, void * gcHandle) +bool UnityEngine_Animator_HasState(MonoObject* thiz, int32_t layerIndex, int32_t stateID) { - typedef void * (* ICallMethod) (Il2CppObject* target, void * gcHandle); + typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t layerIndex, int32_t stateID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::PinSystemObjectAndGetAddress"); - Il2CppObject* i2target = get_il2cpp_object(target,NULL); - void * i2res = icall(i2target,gcHandle); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::HasState"); + if(!icall) + { + platform_log("UnityEngine.Animator::HasState func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + bool i2res = icall(i2thiz,layerIndex,stateID); return i2res; } -void Unity_Collections_LowLevel_Unsafe_UnsafeUtility_ReleaseGCObject(uint64_t gcHandle) +void UnityEngine_Animator_Update(MonoObject* thiz, float deltaTime) { - typedef void (* ICallMethod) (uint64_t gcHandle); + typedef void (* ICallMethod) (Il2CppObject* thiz, float deltaTime); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::ReleaseGCObject"); - icall(gcHandle); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animator::Update"); + if(!icall) + { + platform_log("UnityEngine.Animator::Update func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animator()); + icall(i2thiz,deltaTime); } -void Unity_Collections_LowLevel_Unsafe_UnsafeUtility_CopyObjectAddressToPtr(MonoObject* target, void * dstPtr) +MonoObject* UnityEngine_AnimatorClipInfo_InstanceIDToAnimationClipPPtr(int32_t instanceID) { - typedef void (* ICallMethod) (Il2CppObject* target, void * dstPtr); + typedef Il2CppObject* (* ICallMethod) (int32_t instanceID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::CopyObjectAddressToPtr"); - Il2CppObject* i2target = get_il2cpp_object(target,NULL); - icall(i2target,dstPtr); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimatorClipInfo::InstanceIDToAnimationClipPPtr"); + if(!icall) + { + platform_log("UnityEngine.AnimatorClipInfo::InstanceIDToAnimationClipPPtr func not found"); + return NULL; + } + } + Il2CppObject* i2res = icall(instanceID); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AnimationClip()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AnimatorClipInfo::InstanceIDToAnimationClipPPtr fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void * Unity_Collections_LowLevel_Unsafe_UnsafeUtility_Malloc(int64_t size, int32_t alignment, int32_t allocator) +MonoObject* UnityEngine_Animation_get_clip(MonoObject* thiz) { - typedef void * (* ICallMethod) (int64_t size, int32_t alignment, int32_t allocator); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::Malloc"); - void * i2res = icall(size,alignment,allocator); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animation::get_clip"); + if(!icall) + { + platform_log("UnityEngine.Animation::get_clip func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animation()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AnimationClip()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Animation::get_clip fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void Unity_Collections_LowLevel_Unsafe_UnsafeUtility_Free(void * memory, int32_t allocator) +void UnityEngine_Animation_set_wrapMode(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (void * memory, int32_t allocator); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::Free"); - icall(memory,allocator); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animation::set_wrapMode"); + if(!icall) + { + platform_log("UnityEngine.Animation::set_wrapMode func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animation()); + icall(i2thiz,value); } -void Unity_Collections_LowLevel_Unsafe_UnsafeUtility_MemCpy(void * destination, void * source, int64_t size) +bool UnityEngine_Animation_get_isPlaying(MonoObject* thiz) { - typedef void (* ICallMethod) (void * destination, void * source, int64_t size); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::MemCpy"); - icall(destination,source,size); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animation::get_isPlaying"); + if(!icall) + { + platform_log("UnityEngine.Animation::get_isPlaying func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animation()); + bool i2res = icall(i2thiz); + return i2res; } -void Unity_Collections_LowLevel_Unsafe_UnsafeUtility_MemCpyReplicate(void * destination, void * source, int32_t size, int32_t count) +void UnityEngine_Animation_Sample(MonoObject* thiz) { - typedef void (* ICallMethod) (void * destination, void * source, int32_t size, int32_t count); + typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::MemCpyReplicate"); - icall(destination,source,size,count); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animation::Sample"); + if(!icall) + { + platform_log("UnityEngine.Animation::Sample func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animation()); + icall(i2thiz); } -void Unity_Collections_LowLevel_Unsafe_UnsafeUtility_MemCpyStride(void * destination, int32_t destinationStride, void * source, int32_t sourceStride, int32_t elementSize, int32_t count) +bool UnityEngine_Animation_IsPlaying(MonoObject* thiz, MonoString* name) { - typedef void (* ICallMethod) (void * destination, int32_t destinationStride, void * source, int32_t sourceStride, int32_t elementSize, int32_t count); + typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::MemCpyStride"); - icall(destination,destinationStride,source,sourceStride,elementSize,count); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animation::IsPlaying"); + if(!icall) + { + platform_log("UnityEngine.Animation::IsPlaying func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animation()); + Il2CppString* i2name = get_il2cpp_string(name); + bool i2res = icall(i2thiz,i2name); + return i2res; } -void Unity_Collections_LowLevel_Unsafe_UnsafeUtility_MemMove(void * destination, void * source, int64_t size) +bool UnityEngine_Animation_PlayDefaultAnimation(MonoObject* thiz, int32_t mode) { - typedef void (* ICallMethod) (void * destination, void * source, int64_t size); + typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t mode); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::MemMove"); - icall(destination,source,size); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animation::PlayDefaultAnimation"); + if(!icall) + { + platform_log("UnityEngine.Animation::PlayDefaultAnimation func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animation()); + bool i2res = icall(i2thiz,mode); + return i2res; } -void Unity_Collections_LowLevel_Unsafe_UnsafeUtility_MemSet(void * destination, int8_t value, int64_t size) +bool UnityEngine_Animation_Play_1(MonoObject* thiz, MonoString* animation, int32_t mode) { - typedef void (* ICallMethod) (void * destination, int8_t value, int64_t size); + typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppString* animation, int32_t mode); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::MemSet"); - icall(destination,value,size); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animation::Play"); + if(!icall) + { + platform_log("UnityEngine.Animation::Play func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Animation()); + Il2CppString* i2animation = get_il2cpp_string(animation); + bool i2res = icall(i2thiz,i2animation,mode); + return i2res; } -int32_t Unity_Collections_LowLevel_Unsafe_UnsafeUtility_MemCmp(void * ptr1, void * ptr2, int64_t size) +float UnityEngine_AnimationClip_get_length(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (void * ptr1, void * ptr2, int64_t size); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::MemCmp"); - int32_t i2res = icall(ptr1,ptr2,size); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationClip::get_length"); + if(!icall) + { + platform_log("UnityEngine.AnimationClip::get_length func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationClip()); + float i2res = icall(i2thiz); return i2res; } -int32_t Unity_Collections_LowLevel_Unsafe_UnsafeUtility_SizeOf(MonoReflectionType* type) +float UnityEngine_AnimationClip_get_frameRate(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (Il2CppReflectionType* type); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::SizeOf"); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - int32_t i2res = icall(i2type); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationClip::get_frameRate"); + if(!icall) + { + platform_log("UnityEngine.AnimationClip::get_frameRate func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationClip()); + float i2res = icall(i2thiz); return i2res; } -bool Unity_Collections_LowLevel_Unsafe_UnsafeUtility_IsBlittable(MonoReflectionType* type) +void UnityEngine_AnimationClip_set_frameRate(MonoObject* thiz, float value) { - typedef bool (* ICallMethod) (Il2CppReflectionType* type); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::IsBlittable"); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - bool i2res = icall(i2type); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationClip::set_frameRate"); + if(!icall) + { + platform_log("UnityEngine.AnimationClip::set_frameRate func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationClip()); + icall(i2thiz,value); } -bool Unity_Collections_LowLevel_Unsafe_UnsafeUtility_IsUnmanaged(MonoReflectionType* type) +void UnityEngine_AnimationClip_set_wrapMode_1(MonoObject* thiz, int32_t value) { - typedef bool (* ICallMethod) (Il2CppReflectionType* type); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::IsUnmanaged"); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - bool i2res = icall(i2type); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationClip::set_wrapMode"); + if(!icall) + { + platform_log("UnityEngine.AnimationClip::set_wrapMode func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationClip()); + icall(i2thiz,value); } -bool Unity_Collections_LowLevel_Unsafe_UnsafeUtility_IsValidNativeContainerElementType(MonoReflectionType* type) +bool UnityEngine_AnimationClip_get_legacy(MonoObject* thiz) { - typedef bool (* ICallMethod) (Il2CppReflectionType* type); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::IsValidNativeContainerElementType"); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - bool i2res = icall(i2type); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationClip::get_legacy"); + if(!icall) + { + platform_log("UnityEngine.AnimationClip::get_legacy func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationClip()); + bool i2res = icall(i2thiz); return i2res; } -void Unity_Collections_LowLevel_Unsafe_UnsafeUtility_LogError(MonoString* msg, MonoString* filename, int32_t linenumber) +void UnityEngine_AnimationClip_set_legacy(MonoObject* thiz, bool value) { - typedef void (* ICallMethod) (Il2CppString* msg, Il2CppString* filename, int32_t linenumber); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::LogError"); - Il2CppString* i2msg = get_il2cpp_string(msg); - Il2CppString* i2filename = get_il2cpp_string(filename); - icall(i2msg,i2filename,linenumber); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationClip::set_legacy"); + if(!icall) + { + platform_log("UnityEngine.AnimationClip::set_legacy func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationClip()); + icall(i2thiz,value); } -void* UnityEngine_SortingLayer_GetSortingLayerIDsInternal() +bool UnityEngine_AnimationClip_get_empty(MonoObject* thiz) { - typedef void* (* ICallMethod) (); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SortingLayer::GetSortingLayerIDsInternal"); - void* i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationClip::get_empty"); + if(!icall) + { + platform_log("UnityEngine.AnimationClip::get_empty func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationClip()); + bool i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_SortingLayer_GetLayerValueFromID(int32_t id) +bool UnityEngine_AnimationClip_get_hasGenericRootTransform(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (int32_t id); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SortingLayer::GetLayerValueFromID"); - int32_t i2res = icall(id); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationClip::get_hasGenericRootTransform"); + if(!icall) + { + platform_log("UnityEngine.AnimationClip::get_hasGenericRootTransform func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationClip()); + bool i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_SortingLayer_GetLayerValueFromName(MonoString* name) +bool UnityEngine_AnimationClip_get_hasMotionCurves(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (Il2CppString* name); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SortingLayer::GetLayerValueFromName"); - Il2CppString* i2name = get_il2cpp_string(name); - int32_t i2res = icall(i2name); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationClip::get_hasMotionCurves"); + if(!icall) + { + platform_log("UnityEngine.AnimationClip::get_hasMotionCurves func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationClip()); + bool i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_SortingLayer_NameToID(MonoString* name) +bool UnityEngine_AnimationClip_get_hasRootCurves(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (Il2CppString* name); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SortingLayer::NameToID"); - Il2CppString* i2name = get_il2cpp_string(name); - int32_t i2res = icall(i2name); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationClip::get_hasRootCurves"); + if(!icall) + { + platform_log("UnityEngine.AnimationClip::get_hasRootCurves func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationClip()); + bool i2res = icall(i2thiz); return i2res; } -MonoString* UnityEngine_SortingLayer_IDToName(int32_t id) +void UnityEngine_AnimationClip_Internal_CreateAnimationClip(MonoObject* self) { - typedef Il2CppString* (* ICallMethod) (int32_t id); + typedef void (* ICallMethod) (Il2CppObject* self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SortingLayer::IDToName"); - Il2CppString* i2res = icall(id); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationClip::Internal_CreateAnimationClip"); + if(!icall) + { + platform_log("UnityEngine.AnimationClip::Internal_CreateAnimationClip func not found"); + return; + } + } + Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_AnimationClip()); + icall(i2self); } -bool UnityEngine_SortingLayer_IsValid(int32_t id) +bool UnityEngine_Motion_get_isLooping(MonoObject* thiz) { - typedef bool (* ICallMethod) (int32_t id); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SortingLayer::IsValid"); - bool i2res = icall(id); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Motion::get_isLooping"); + if(!icall) + { + platform_log("UnityEngine.Motion::get_isLooping func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Motion()); + bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_AnimationCurve_Internal_Destroy(void * ptr) +float UnityEngine_AnimationState_get_time(MonoObject* thiz) { - typedef void (* ICallMethod) (void * ptr); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::Internal_Destroy"); - icall(ptr); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationState::get_time"); + if(!icall) + { + platform_log("UnityEngine.AnimationState::get_time func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationState()); + float i2res = icall(i2thiz); + return i2res; } -void * UnityEngine_AnimationCurve_Internal_Create_1(void* keys) +void UnityEngine_AnimationState_set_time(MonoObject* thiz, float value) { - typedef void * (* ICallMethod) (void* keys); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::Internal_Create"); - void * i2res = icall(keys); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationState::set_time"); + if(!icall) + { + platform_log("UnityEngine.AnimationState::set_time func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationState()); + icall(i2thiz,value); } -bool UnityEngine_AnimationCurve_Internal_Equals(MonoObject* thiz, void * other) +float UnityEngine_AnimationState_get_speed(MonoObject* thiz) { - typedef bool (* ICallMethod) (Il2CppObject* thiz, void * other); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::Internal_Equals"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - bool i2res = icall(i2thiz,other); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationState::get_speed"); + if(!icall) + { + platform_log("UnityEngine.AnimationState::get_speed func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationState()); + float i2res = icall(i2thiz); return i2res; } -float UnityEngine_AnimationCurve_Evaluate(MonoObject* thiz, float time) +void UnityEngine_AnimationState_set_speed_2(MonoObject* thiz, float value) { - typedef float (* ICallMethod) (Il2CppObject* thiz, float time); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::Evaluate"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - float i2res = icall(i2thiz,time); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationState::set_speed"); + if(!icall) + { + platform_log("UnityEngine.AnimationState::set_speed func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationState()); + icall(i2thiz,value); } -int32_t UnityEngine_AnimationCurve_AddKey(MonoObject* thiz, float time, float value) +float UnityEngine_AnimationState_get_length_1(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, float time, float value); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::AddKey"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - int32_t i2res = icall(i2thiz,time,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationState::get_length"); + if(!icall) + { + platform_log("UnityEngine.AnimationState::get_length func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationState()); + float i2res = icall(i2thiz); return i2res; } -void UnityEngine_AnimationCurve_RemoveKey(MonoObject* thiz, int32_t index) +MonoString* UnityEngine_AnimationState_get_name(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index); + typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::RemoveKey"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - icall(i2thiz,index); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationState::get_name"); + if(!icall) + { + platform_log("UnityEngine.AnimationState::get_name func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationState()); + Il2CppString* i2res = icall(i2thiz); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AnimationState::get_name fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t UnityEngine_AnimationCurve_get_length(MonoObject* thiz) +int32_t UnityEngine_AvatarMask_get_transformCount(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::get_length"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AvatarMask::get_transformCount"); + if(!icall) + { + platform_log("UnityEngine.AvatarMask::get_transformCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AvatarMask()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_AnimationCurve_SetKeys(MonoObject* thiz, void* keys) +bool UnityEngine_AvatarMask_GetHumanoidBodyPartActive(MonoObject* thiz, int32_t index) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void* keys); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::SetKeys"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - icall(i2thiz,keys); -} -void* UnityEngine_AnimationCurve_GetKeys(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::GetKeys"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - void* i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AvatarMask::GetHumanoidBodyPartActive"); + if(!icall) + { + platform_log("UnityEngine.AvatarMask::GetHumanoidBodyPartActive func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AvatarMask()); + bool i2res = icall(i2thiz,index); return i2res; } -void UnityEngine_AnimationCurve_SmoothTangents(MonoObject* thiz, int32_t index, float weight) +MonoString* UnityEngine_AvatarMask_GetTransformPath(MonoObject* thiz, int32_t index) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, float weight); + typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::SmoothTangents"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - icall(i2thiz,index,weight); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AvatarMask::GetTransformPath"); + if(!icall) + { + platform_log("UnityEngine.AvatarMask::GetTransformPath func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AvatarMask()); + Il2CppString* i2res = icall(i2thiz,index); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AvatarMask::GetTransformPath fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t UnityEngine_AnimationCurve_get_preWrapMode(MonoObject* thiz) +float UnityEngine_AvatarMask_GetTransformWeight(MonoObject* thiz, int32_t index) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef float (* ICallMethod) (Il2CppObject* thiz, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::get_preWrapMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AvatarMask::GetTransformWeight"); + if(!icall) + { + platform_log("UnityEngine.AvatarMask::GetTransformWeight func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AvatarMask()); + float i2res = icall(i2thiz,index); return i2res; } -void UnityEngine_AnimationCurve_set_preWrapMode(MonoObject* thiz, int32_t value) +void UnityEngine_Animations_AnimationClipPlayable_SetApplyFootIKInternal(void * handle, bool value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef void (* ICallMethod) (void * handle, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::set_preWrapMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animations.AnimationClipPlayable::SetApplyFootIKInternal"); + if(!icall) + { + platform_log("UnityEngine.Animations.AnimationClipPlayable::SetApplyFootIKInternal func not found"); + return; + } + } + icall(handle,value); } -int32_t UnityEngine_AnimationCurve_get_postWrapMode(MonoObject* thiz) +void UnityEngine_Animations_AnimationClipPlayable_SetRemoveStartOffsetInternal(void * handle, bool value) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (void * handle, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::get_postWrapMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animations.AnimationClipPlayable::SetRemoveStartOffsetInternal"); + if(!icall) + { + platform_log("UnityEngine.Animations.AnimationClipPlayable::SetRemoveStartOffsetInternal func not found"); + return; + } + } + icall(handle,value); } -void UnityEngine_AnimationCurve_set_postWrapMode(MonoObject* thiz, int32_t value) +void UnityEngine_Animations_AnimationClipPlayable_SetOverrideLoopTimeInternal(void * handle, bool value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef void (* ICallMethod) (void * handle, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::set_postWrapMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animations.AnimationClipPlayable::SetOverrideLoopTimeInternal"); + if(!icall) + { + platform_log("UnityEngine.Animations.AnimationClipPlayable::SetOverrideLoopTimeInternal func not found"); + return; + } + } + icall(handle,value); } -int32_t UnityEngine_AnimationCurve_AddKey_Internal_Injected(MonoObject* thiz, void * key) +void UnityEngine_Animations_AnimationClipPlayable_SetLoopTimeInternal(void * handle, bool value) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, void * key); + typedef void (* ICallMethod) (void * handle, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::AddKey_Internal_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - int32_t i2res = icall(i2thiz,key); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animations.AnimationClipPlayable::SetLoopTimeInternal"); + if(!icall) + { + platform_log("UnityEngine.Animations.AnimationClipPlayable::SetLoopTimeInternal func not found"); + return; + } + } + icall(handle,value); } -int32_t UnityEngine_AnimationCurve_MoveKey_Injected(MonoObject* thiz, int32_t index, void * key) +bool UnityEngine_Animations_AnimationClipPlayable_CreateHandleInternal_Injected(void * graph, MonoObject* clip, void * handle) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t index, void * key); + typedef bool (* ICallMethod) (void * graph, Il2CppObject* clip, void * handle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::MoveKey_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - int32_t i2res = icall(i2thiz,index,key); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animations.AnimationClipPlayable::CreateHandleInternal_Injected"); + if(!icall) + { + platform_log("UnityEngine.Animations.AnimationClipPlayable::CreateHandleInternal_Injected func not found"); + return 0; + } + } + Il2CppObject* i2clip = get_il2cpp_object(clip,il2cpp_get_class_UnityEngine_AnimationClip()); + bool i2res = icall(graph,i2clip,handle); return i2res; } -void UnityEngine_AnimationCurve_GetKey_Injected(MonoObject* thiz, int32_t index, void * ret) +void UnityEngine_Animations_AnimationLayerMixerPlayable_SetLayerMaskFromAvatarMaskInternal(void * handle, uint32_t layerIndex, MonoObject* mask) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, void * ret); + typedef void (* ICallMethod) (void * handle, uint32_t layerIndex, Il2CppObject* mask); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::GetKey_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); - icall(i2thiz,index,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animations.AnimationLayerMixerPlayable::SetLayerMaskFromAvatarMaskInternal"); + if(!icall) + { + platform_log("UnityEngine.Animations.AnimationLayerMixerPlayable::SetLayerMaskFromAvatarMaskInternal func not found"); + return; + } + } + Il2CppObject* i2mask = get_il2cpp_object(mask,il2cpp_get_class_UnityEngine_AvatarMask()); + icall(handle,layerIndex,i2mask); } -void UnityEngine_Application_Quit(int32_t exitCode) +bool UnityEngine_Animations_AnimationLayerMixerPlayable_CreateHandleInternal_Injected_1(void * graph, void * handle) { - typedef void (* ICallMethod) (int32_t exitCode); + typedef bool (* ICallMethod) (void * graph, void * handle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::Quit"); - icall(exitCode); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animations.AnimationLayerMixerPlayable::CreateHandleInternal_Injected"); + if(!icall) + { + platform_log("UnityEngine.Animations.AnimationLayerMixerPlayable::CreateHandleInternal_Injected func not found"); + return 0; + } + } + bool i2res = icall(graph,handle); + return i2res; } -void UnityEngine_Application_CancelQuit() +bool UnityEngine_Animations_AnimationMixerPlayable_CreateHandleInternal_Injected_2(void * graph, bool normalizeWeights, void * handle) { - typedef void (* ICallMethod) (); + typedef bool (* ICallMethod) (void * graph, bool normalizeWeights, void * handle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::CancelQuit"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animations.AnimationMixerPlayable::CreateHandleInternal_Injected"); + if(!icall) + { + platform_log("UnityEngine.Animations.AnimationMixerPlayable::CreateHandleInternal_Injected func not found"); + return 0; + } + } + bool i2res = icall(graph,normalizeWeights,handle); + return i2res; } -void UnityEngine_Application_Unload() +void UnityEngine_Animations_AnimationPlayableExtensions_SetAnimatedPropertiesInternal(void * playable, MonoObject* animatedProperties) { - typedef void (* ICallMethod) (); + typedef void (* ICallMethod) (void * playable, Il2CppObject* animatedProperties); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::Unload"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animations.AnimationPlayableExtensions::SetAnimatedPropertiesInternal"); + if(!icall) + { + platform_log("UnityEngine.Animations.AnimationPlayableExtensions::SetAnimatedPropertiesInternal func not found"); + return; + } + } + Il2CppObject* i2animatedProperties = get_il2cpp_object(animatedProperties,il2cpp_get_class_UnityEngine_AnimationClip()); + icall(playable,i2animatedProperties); } -bool UnityEngine_Application_get_isLoadingLevel() +bool UnityEngine_Animations_AnimationPlayableGraphExtensions_InternalCreateAnimationOutput(void * graph, MonoString* name, void * handle) { - typedef bool (* ICallMethod) (); + typedef bool (* ICallMethod) (void * graph, Il2CppString* name, void * handle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_isLoadingLevel"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animations.AnimationPlayableGraphExtensions::InternalCreateAnimationOutput"); + if(!icall) + { + platform_log("UnityEngine.Animations.AnimationPlayableGraphExtensions::InternalCreateAnimationOutput func not found"); + return 0; + } + } + Il2CppString* i2name = get_il2cpp_string(name); + bool i2res = icall(graph,i2name,handle); return i2res; } -bool UnityEngine_Application_CanStreamedLevelBeLoaded(MonoString* levelName) +void UnityEngine_Animations_AnimationPlayableOutput_InternalSetTarget(void * handle, MonoObject* target) { - typedef bool (* ICallMethod) (Il2CppString* levelName); + typedef void (* ICallMethod) (void * handle, Il2CppObject* target); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::CanStreamedLevelBeLoaded"); - Il2CppString* i2levelName = get_il2cpp_string(levelName); - bool i2res = icall(i2levelName); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Animations.AnimationPlayableOutput::InternalSetTarget"); + if(!icall) + { + platform_log("UnityEngine.Animations.AnimationPlayableOutput::InternalSetTarget func not found"); + return; + } + } + Il2CppObject* i2target = get_il2cpp_object(target,il2cpp_get_class_UnityEngine_Animator()); + icall(handle,i2target); } -bool UnityEngine_Application_get_isPlaying() +bool UnityEngine_AssetBundle_get_isStreamedSceneAssetBundle(MonoObject* thiz) { - typedef bool (* ICallMethod) (); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_isPlaying"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::get_isStreamedSceneAssetBundle"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::get_isStreamedSceneAssetBundle func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AssetBundle()); + bool i2res = icall(i2thiz); return i2res; } -bool UnityEngine_Application_IsPlaying(MonoObject* obj) +MonoObject* UnityEngine_AssetBundle_returnMainAsset(MonoObject* bundle) { - typedef bool (* ICallMethod) (Il2CppObject* obj); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* bundle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::IsPlaying"); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); - bool i2res = icall(i2obj); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::returnMainAsset"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::returnMainAsset func not found"); + return NULL; + } + } + Il2CppObject* i2bundle = get_il2cpp_object(bundle,il2cpp_get_class_UnityEngine_AssetBundle()); + Il2CppObject* i2res = icall(i2bundle); + MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::returnMainAsset fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Application_get_isFocused() +void UnityEngine_AssetBundle_UnloadAllAssetBundles(bool unloadAllObjects) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (bool unloadAllObjects); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_isFocused"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::UnloadAllAssetBundles"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::UnloadAllAssetBundles func not found"); + return; + } + } + icall(unloadAllObjects); } -MonoArray* UnityEngine_Application_GetBuildTags() +MonoArray* UnityEngine_AssetBundle_GetAllLoadedAssetBundles_Native() { typedef Il2CppArray* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::GetBuildTags"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::GetAllLoadedAssetBundles_Native"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::GetAllLoadedAssetBundles_Native func not found"); + return NULL; + } + } Il2CppArray* i2res = icall(); MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::GetAllLoadedAssetBundles_Native fail to convert il2cpp obj to mono"); + } return monoi2res; } -void UnityEngine_Application_SetBuildTags(MonoArray* buildTags) +MonoObject* UnityEngine_AssetBundle_LoadFromFileAsync_Internal(MonoString* path, uint32_t crc, uint64_t offset) { - typedef void (* ICallMethod) (Il2CppArray* buildTags); + typedef Il2CppObject* (* ICallMethod) (Il2CppString* path, uint32_t crc, uint64_t offset); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::SetBuildTags"); - Il2CppArray* i2buildTags = get_il2cpp_array(buildTags); - icall(i2buildTags); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::LoadFromFileAsync_Internal"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::LoadFromFileAsync_Internal func not found"); + return NULL; + } + } + Il2CppString* i2path = get_il2cpp_string(path); + Il2CppObject* i2res = icall(i2path,crc,offset); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AssetBundleCreateRequest()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::LoadFromFileAsync_Internal fail to convert il2cpp obj to mono"); + } + return monoi2res; } -MonoString* UnityEngine_Application_get_buildGUID() +MonoObject* UnityEngine_AssetBundle_LoadFromFile_Internal(MonoString* path, uint32_t crc, uint64_t offset) { - typedef Il2CppString* (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppString* path, uint32_t crc, uint64_t offset); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_buildGUID"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::LoadFromFile_Internal"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::LoadFromFile_Internal func not found"); + return NULL; + } + } + Il2CppString* i2path = get_il2cpp_string(path); + Il2CppObject* i2res = icall(i2path,crc,offset); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AssetBundle()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::LoadFromFile_Internal fail to convert il2cpp obj to mono"); + } + return monoi2res; +} +MonoObject* UnityEngine_AssetBundle_LoadFromMemoryAsync_Internal(MonoArray* binary, uint32_t crc) +{ + typedef Il2CppObject* (* ICallMethod) (Il2CppArray* binary, uint32_t crc); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::LoadFromMemoryAsync_Internal"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::LoadFromMemoryAsync_Internal func not found"); + return NULL; + } + } + Il2CppArray* i2binary = get_il2cpp_array(binary); + Il2CppObject* i2res = icall(i2binary,crc); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AssetBundleCreateRequest()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::LoadFromMemoryAsync_Internal fail to convert il2cpp obj to mono"); + } return monoi2res; } -bool UnityEngine_Application_get_runInBackground() +MonoObject* UnityEngine_AssetBundle_LoadFromMemory_Internal(MonoArray* binary, uint32_t crc) +{ + typedef Il2CppObject* (* ICallMethod) (Il2CppArray* binary, uint32_t crc); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::LoadFromMemory_Internal"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::LoadFromMemory_Internal func not found"); + return NULL; + } + } + Il2CppArray* i2binary = get_il2cpp_array(binary); + Il2CppObject* i2res = icall(i2binary,crc); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AssetBundle()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::LoadFromMemory_Internal fail to convert il2cpp obj to mono"); + } + return monoi2res; +} +MonoObject* UnityEngine_AssetBundle_LoadFromStreamAsyncInternal(MonoObject* stream, uint32_t crc, uint32_t managedReadBufferSize) +{ + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* stream, uint32_t crc, uint32_t managedReadBufferSize); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::LoadFromStreamAsyncInternal"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::LoadFromStreamAsyncInternal func not found"); + return NULL; + } + } + Il2CppObject* i2stream = get_il2cpp_object(stream,NULL); + Il2CppObject* i2res = icall(i2stream,crc,managedReadBufferSize); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AssetBundleCreateRequest()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::LoadFromStreamAsyncInternal fail to convert il2cpp obj to mono"); + } + return monoi2res; +} +MonoObject* UnityEngine_AssetBundle_LoadFromStreamInternal(MonoObject* stream, uint32_t crc, uint32_t managedReadBufferSize) +{ + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* stream, uint32_t crc, uint32_t managedReadBufferSize); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::LoadFromStreamInternal"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::LoadFromStreamInternal func not found"); + return NULL; + } + } + Il2CppObject* i2stream = get_il2cpp_object(stream,NULL); + Il2CppObject* i2res = icall(i2stream,crc,managedReadBufferSize); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AssetBundle()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::LoadFromStreamInternal fail to convert il2cpp obj to mono"); + } + return monoi2res; +} +bool UnityEngine_AssetBundle_Contains(MonoObject* thiz, MonoString* name) { - typedef bool (* ICallMethod) (); + typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_runInBackground"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::Contains"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::Contains func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AssetBundle()); + Il2CppString* i2name = get_il2cpp_string(name); + bool i2res = icall(i2thiz,i2name); return i2res; } -void UnityEngine_Application_set_runInBackground(bool value) +MonoObject* UnityEngine_AssetBundle_LoadAsset_Internal(MonoObject* thiz, MonoString* name, MonoReflectionType* type) { - typedef void (* ICallMethod) (bool value); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name, Il2CppReflectionType* type); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::set_runInBackground"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::LoadAsset_Internal"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::LoadAsset_Internal func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AssetBundle()); + Il2CppString* i2name = get_il2cpp_string(name); + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + Il2CppObject* i2res = icall(i2thiz,i2name,i2type); + MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::LoadAsset_Internal fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Application_HasProLicense() +MonoObject* UnityEngine_AssetBundle_LoadAssetAsync_Internal(MonoObject* thiz, MonoString* name, MonoReflectionType* type) { - typedef bool (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name, Il2CppReflectionType* type); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::HasProLicense"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::LoadAssetAsync_Internal"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::LoadAssetAsync_Internal func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AssetBundle()); + Il2CppString* i2name = get_il2cpp_string(name); + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + Il2CppObject* i2res = icall(i2thiz,i2name,i2type); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AssetBundleRequest()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::LoadAssetAsync_Internal fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Application_get_isBatchMode() +void UnityEngine_AssetBundle_Unload(MonoObject* thiz, bool unloadAllLoadedObjects) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool unloadAllLoadedObjects); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_isBatchMode"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::Unload"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::Unload func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AssetBundle()); + icall(i2thiz,unloadAllLoadedObjects); } -bool UnityEngine_Application_get_isTestRun() +MonoObject* UnityEngine_AssetBundle_UnloadAsync(MonoObject* thiz, bool unloadAllLoadedObjects) { - typedef bool (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, bool unloadAllLoadedObjects); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_isTestRun"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::UnloadAsync"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::UnloadAsync func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AssetBundle()); + Il2CppObject* i2res = icall(i2thiz,unloadAllLoadedObjects); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AsyncOperation()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::UnloadAsync fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Application_get_isHumanControllingUs() +MonoArray* UnityEngine_AssetBundle_GetAllAssetNames(MonoObject* thiz) { - typedef bool (* ICallMethod) (); + typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_isHumanControllingUs"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::GetAllAssetNames"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::GetAllAssetNames func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AssetBundle()); + Il2CppArray* i2res = icall(i2thiz); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::GetAllAssetNames fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Application_HasARGV(MonoString* name) +MonoArray* UnityEngine_AssetBundle_GetAllScenePaths(MonoObject* thiz) { - typedef bool (* ICallMethod) (Il2CppString* name); + typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::HasARGV"); - Il2CppString* i2name = get_il2cpp_string(name); - bool i2res = icall(i2name); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::GetAllScenePaths"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::GetAllScenePaths func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AssetBundle()); + Il2CppArray* i2res = icall(i2thiz); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::GetAllScenePaths fail to convert il2cpp obj to mono"); + } + return monoi2res; } -MonoString* UnityEngine_Application_GetValueForARGV(MonoString* name) +MonoArray* UnityEngine_AssetBundle_LoadAssetWithSubAssets_Internal(MonoObject* thiz, MonoString* name, MonoReflectionType* type) { - typedef Il2CppString* (* ICallMethod) (Il2CppString* name); + typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name, Il2CppReflectionType* type); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::GetValueForARGV"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::LoadAssetWithSubAssets_Internal"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::LoadAssetWithSubAssets_Internal func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AssetBundle()); Il2CppString* i2name = get_il2cpp_string(name); - Il2CppString* i2res = icall(i2name); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + Il2CppArray* i2res = icall(i2thiz,i2name,i2type); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::LoadAssetWithSubAssets_Internal fail to convert il2cpp obj to mono"); + } + return monoi2res; } -MonoString* UnityEngine_Application_get_dataPath() +MonoObject* UnityEngine_AssetBundle_LoadAssetWithSubAssetsAsync_Internal(MonoObject* thiz, MonoString* name, MonoReflectionType* type) { - typedef Il2CppString* (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name, Il2CppReflectionType* type); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_dataPath"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::LoadAssetWithSubAssetsAsync_Internal"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::LoadAssetWithSubAssetsAsync_Internal func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AssetBundle()); + Il2CppString* i2name = get_il2cpp_string(name); + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + Il2CppObject* i2res = icall(i2thiz,i2name,i2type); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AssetBundleRequest()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::LoadAssetWithSubAssetsAsync_Internal fail to convert il2cpp obj to mono"); + } return monoi2res; } -MonoString* UnityEngine_Application_get_streamingAssetsPath() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_streamingAssetsPath"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); +MonoObject* UnityEngine_AssetBundle_RecompressAssetBundleAsync_Internal_Injected(MonoString* inputPath, MonoString* outputPath, void * method, uint32_t expectedCRC, int32_t priority) +{ + typedef Il2CppObject* (* ICallMethod) (Il2CppString* inputPath, Il2CppString* outputPath, void * method, uint32_t expectedCRC, int32_t priority); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundle::RecompressAssetBundleAsync_Internal_Injected"); + if(!icall) + { + platform_log("UnityEngine.AssetBundle::RecompressAssetBundleAsync_Internal_Injected func not found"); + return NULL; + } + } + Il2CppString* i2inputPath = get_il2cpp_string(inputPath); + Il2CppString* i2outputPath = get_il2cpp_string(outputPath); + Il2CppObject* i2res = icall(i2inputPath,i2outputPath,method,expectedCRC,priority); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AssetBundleRecompressOperation()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AssetBundle::RecompressAssetBundleAsync_Internal_Injected fail to convert il2cpp obj to mono"); + } return monoi2res; } -MonoString* UnityEngine_Application_get_persistentDataPath() +uint32_t UnityEngine_AssetBundleLoadingCache_get_maxBlocksPerFile() { - typedef Il2CppString* (* ICallMethod) (); + typedef uint32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_persistentDataPath"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundleLoadingCache::get_maxBlocksPerFile"); + if(!icall) + { + platform_log("UnityEngine.AssetBundleLoadingCache::get_maxBlocksPerFile func not found"); + return 0; + } + } + uint32_t i2res = icall(); + return i2res; } -MonoString* UnityEngine_Application_get_temporaryCachePath() +void UnityEngine_AssetBundleLoadingCache_set_maxBlocksPerFile(uint32_t value) { - typedef Il2CppString* (* ICallMethod) (); + typedef void (* ICallMethod) (uint32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_temporaryCachePath"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundleLoadingCache::set_maxBlocksPerFile"); + if(!icall) + { + platform_log("UnityEngine.AssetBundleLoadingCache::set_maxBlocksPerFile func not found"); + return; + } + } + icall(value); } -MonoString* UnityEngine_Application_get_absoluteURL() +uint32_t UnityEngine_AssetBundleLoadingCache_get_blockCount() { - typedef Il2CppString* (* ICallMethod) (); + typedef uint32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_absoluteURL"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundleLoadingCache::get_blockCount"); + if(!icall) + { + platform_log("UnityEngine.AssetBundleLoadingCache::get_blockCount func not found"); + return 0; + } + } + uint32_t i2res = icall(); + return i2res; } -void UnityEngine_Application_Internal_ExternalCall(MonoString* script) +void UnityEngine_AssetBundleLoadingCache_set_blockCount(uint32_t value) { - typedef void (* ICallMethod) (Il2CppString* script); + typedef void (* ICallMethod) (uint32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::Internal_ExternalCall"); - Il2CppString* i2script = get_il2cpp_string(script); - icall(i2script); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundleLoadingCache::set_blockCount"); + if(!icall) + { + platform_log("UnityEngine.AssetBundleLoadingCache::set_blockCount func not found"); + return; + } + } + icall(value); } -MonoString* UnityEngine_Application_get_unityVersion() +uint32_t UnityEngine_AssetBundleLoadingCache_get_blockSize() { - typedef Il2CppString* (* ICallMethod) (); + typedef uint32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_unityVersion"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AssetBundleLoadingCache::get_blockSize"); + if(!icall) + { + platform_log("UnityEngine.AssetBundleLoadingCache::get_blockSize func not found"); + return 0; + } + } + uint32_t i2res = icall(); + return i2res; } -MonoString* UnityEngine_Application_get_version() +bool UnityEngine_AudioSettings_StartAudioOutput() { - typedef Il2CppString* (* ICallMethod) (); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_version"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSettings::StartAudioOutput"); + if(!icall) + { + platform_log("UnityEngine.AudioSettings::StartAudioOutput func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; } -MonoString* UnityEngine_Application_get_installerName() +bool UnityEngine_AudioSettings_StopAudioOutput() { - typedef Il2CppString* (* ICallMethod) (); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_installerName"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSettings::StopAudioOutput"); + if(!icall) + { + platform_log("UnityEngine.AudioSettings::StopAudioOutput func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; } -MonoString* UnityEngine_Application_get_identifier() +float UnityEngine_AudioClip_get_length_2(MonoObject* thiz) { - typedef Il2CppString* (* ICallMethod) (); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_identifier"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioClip::get_length"); + if(!icall) + { + platform_log("UnityEngine.AudioClip::get_length func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioClip()); + float i2res = icall(i2thiz); + return i2res; } -int32_t UnityEngine_Application_get_installMode() +int32_t UnityEngine_AudioClip_get_samples(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_installMode"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioClip::get_samples"); + if(!icall) + { + platform_log("UnityEngine.AudioClip::get_samples func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioClip()); + int32_t i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_Application_get_sandboxType() +int32_t UnityEngine_AudioClip_get_channels(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_sandboxType"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioClip::get_channels"); + if(!icall) + { + platform_log("UnityEngine.AudioClip::get_channels func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioClip()); + int32_t i2res = icall(i2thiz); return i2res; } -MonoString* UnityEngine_Application_get_productName() +float UnityEngine_AudioSource_get_volume(MonoObject* thiz) { - typedef Il2CppString* (* ICallMethod) (); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_productName"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSource::get_volume"); + if(!icall) + { + platform_log("UnityEngine.AudioSource::get_volume func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioSource()); + float i2res = icall(i2thiz); + return i2res; } -MonoString* UnityEngine_Application_get_companyName() +void UnityEngine_AudioSource_set_volume(MonoObject* thiz, float value) { - typedef Il2CppString* (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_companyName"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSource::set_volume"); + if(!icall) + { + platform_log("UnityEngine.AudioSource::set_volume func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioSource()); + icall(i2thiz,value); } -MonoString* UnityEngine_Application_get_cloudProjectId() +MonoObject* UnityEngine_AudioSource_get_clip_1(MonoObject* thiz) { - typedef Il2CppString* (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_cloudProjectId"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSource::get_clip"); + if(!icall) + { + platform_log("UnityEngine.AudioSource::get_clip func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioSource()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AudioClip()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.AudioSource::get_clip fail to convert il2cpp obj to mono"); + } return monoi2res; } -bool UnityEngine_Application_RequestAdvertisingIdentifierAsync(MonoObject* delegateMethod) +void UnityEngine_AudioSource_set_clip(MonoObject* thiz, MonoObject* value) { - typedef bool (* ICallMethod) (Il2CppObject* delegateMethod); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::RequestAdvertisingIdentifierAsync"); - Il2CppObject* i2delegateMethod = get_il2cpp_object(delegateMethod,NULL); - bool i2res = icall(i2delegateMethod); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSource::set_clip"); + if(!icall) + { + platform_log("UnityEngine.AudioSource::set_clip func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioSource()); + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_AudioClip()); + icall(i2thiz,i2value); } -void UnityEngine_Application_OpenURL(MonoString* url) +bool UnityEngine_AudioSource_get_isPlaying_1(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppString* url); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::OpenURL"); - Il2CppString* i2url = get_il2cpp_string(url); - icall(i2url); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSource::get_isPlaying"); + if(!icall) + { + platform_log("UnityEngine.AudioSource::get_isPlaying func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioSource()); + bool i2res = icall(i2thiz); + return i2res; } -int32_t UnityEngine_Application_get_targetFrameRate() +void UnityEngine_AudioSource_set_loop(MonoObject* thiz, bool value) { - typedef int32_t (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_targetFrameRate"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSource::set_loop"); + if(!icall) + { + platform_log("UnityEngine.AudioSource::set_loop func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioSource()); + icall(i2thiz,value); } -void UnityEngine_Application_set_targetFrameRate(int32_t value) +void UnityEngine_AudioSource_set_playOnAwake(MonoObject* thiz, bool value) { - typedef void (* ICallMethod) (int32_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::set_targetFrameRate"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSource::set_playOnAwake"); + if(!icall) + { + platform_log("UnityEngine.AudioSource::set_playOnAwake func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioSource()); + icall(i2thiz,value); } -void UnityEngine_Application_SetLogCallbackDefined(bool defined) +void UnityEngine_AudioSource_set_priority(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (bool defined); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::SetLogCallbackDefined"); - icall(defined); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSource::set_priority"); + if(!icall) + { + platform_log("UnityEngine.AudioSource::set_priority func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioSource()); + icall(i2thiz,value); } -int32_t UnityEngine_Application_get_stackTraceLogType() +void UnityEngine_AudioSource_PlayHelper(MonoObject* source, uint64_t delay) { - typedef int32_t (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* source, uint64_t delay); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_stackTraceLogType"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSource::PlayHelper"); + if(!icall) + { + platform_log("UnityEngine.AudioSource::PlayHelper func not found"); + return; + } + } + Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_AudioSource()); + icall(i2source,delay); } -void UnityEngine_Application_set_stackTraceLogType(int32_t value) +void UnityEngine_AudioSource_Play_2(MonoObject* thiz, double delay) { - typedef void (* ICallMethod) (int32_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, double delay); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::set_stackTraceLogType"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSource::Play"); + if(!icall) + { + platform_log("UnityEngine.AudioSource::Play func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioSource()); + icall(i2thiz,delay); } -int32_t UnityEngine_Application_GetStackTraceLogType(int32_t logType) +void UnityEngine_AudioSource_Stop(MonoObject* thiz, bool stopOneShots) { - typedef int32_t (* ICallMethod) (int32_t logType); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool stopOneShots); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::GetStackTraceLogType"); - int32_t i2res = icall(logType); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSource::Stop"); + if(!icall) + { + platform_log("UnityEngine.AudioSource::Stop func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioSource()); + icall(i2thiz,stopOneShots); } -void UnityEngine_Application_SetStackTraceLogType(int32_t logType, int32_t stackTraceType) +void UnityEngine_AudioSource_Pause(MonoObject* thiz) { - typedef void (* ICallMethod) (int32_t logType, int32_t stackTraceType); + typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::SetStackTraceLogType"); - icall(logType,stackTraceType); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AudioSource::Pause"); + if(!icall) + { + platform_log("UnityEngine.AudioSource::Pause func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AudioSource()); + icall(i2thiz); } -MonoString* UnityEngine_Application_get_consoleLogPath() +MonoArray* UnityEngine_Microphone_get_devices() { - typedef Il2CppString* (* ICallMethod) (); + typedef Il2CppArray* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_consoleLogPath"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Microphone::get_devices"); + if(!icall) + { + platform_log("UnityEngine.Microphone::get_devices func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Microphone::get_devices fail to convert il2cpp obj to mono"); + } return monoi2res; } -int32_t UnityEngine_Application_get_backgroundLoadingPriority() +int32_t UnityEngine_Microphone_GetMicrophoneDeviceIDFromName(MonoString* name) { - typedef int32_t (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_backgroundLoadingPriority"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Microphone::GetMicrophoneDeviceIDFromName"); + if(!icall) + { + platform_log("UnityEngine.Microphone::GetMicrophoneDeviceIDFromName func not found"); + return 0; + } + } + Il2CppString* i2name = get_il2cpp_string(name); + int32_t i2res = icall(i2name); return i2res; } -void UnityEngine_Application_set_backgroundLoadingPriority(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::set_backgroundLoadingPriority"); - icall(value); -} -bool UnityEngine_Application_get_genuine() +void UnityEngine_Microphone_EndRecord(int32_t deviceID) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (int32_t deviceID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_genuine"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Microphone::EndRecord"); + if(!icall) + { + platform_log("UnityEngine.Microphone::EndRecord func not found"); + return; + } + } + icall(deviceID); } -bool UnityEngine_Application_get_genuineCheckAvailable() +bool UnityEngine_Microphone_IsRecording(int32_t deviceID) { - typedef bool (* ICallMethod) (); + typedef bool (* ICallMethod) (int32_t deviceID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_genuineCheckAvailable"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Microphone::IsRecording"); + if(!icall) + { + platform_log("UnityEngine.Microphone::IsRecording func not found"); + return 0; + } + } + bool i2res = icall(deviceID); return i2res; } -MonoObject* UnityEngine_Application_RequestUserAuthorization(int32_t mode) +void UnityEngine_Audio_AudioPlayableOutput_InternalSetEvaluateOnSeek(void * output, bool value) { - typedef Il2CppObject* (* ICallMethod) (int32_t mode); + typedef void (* ICallMethod) (void * output, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::RequestUserAuthorization"); - Il2CppObject* i2res = icall(mode); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AsyncOperation()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Audio.AudioPlayableOutput::InternalSetEvaluateOnSeek"); + if(!icall) + { + platform_log("UnityEngine.Audio.AudioPlayableOutput::InternalSetEvaluateOnSeek func not found"); + return; + } + } + icall(output,value); } -bool UnityEngine_Application_HasUserAuthorization(int32_t mode) +int32_t UnityEngine_SortingLayer_GetLayerValueFromID(int32_t id) { - typedef bool (* ICallMethod) (int32_t mode); + typedef int32_t (* ICallMethod) (int32_t id); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::HasUserAuthorization"); - bool i2res = icall(mode); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SortingLayer::GetLayerValueFromID"); + if(!icall) + { + platform_log("UnityEngine.SortingLayer::GetLayerValueFromID func not found"); + return 0; + } + } + int32_t i2res = icall(id); return i2res; } -bool UnityEngine_Application_get_submitAnalytics() +int32_t UnityEngine_AnimationCurve_get_length_3(MonoObject* thiz) { - typedef bool (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_submitAnalytics"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::get_length"); + if(!icall) + { + platform_log("UnityEngine.AnimationCurve::get_length func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); + int32_t i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_Application_get_platform() +float UnityEngine_AnimationCurve_Evaluate(MonoObject* thiz, float time) { - typedef int32_t (* ICallMethod) (); + typedef float (* ICallMethod) (Il2CppObject* thiz, float time); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_platform"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AnimationCurve::Evaluate"); + if(!icall) + { + platform_log("UnityEngine.AnimationCurve::Evaluate func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AnimationCurve()); + float i2res = icall(i2thiz,time); return i2res; } -int32_t UnityEngine_Application_get_systemLanguage() +bool UnityEngine_Application_get_isPlaying_2() { - typedef int32_t (* ICallMethod) (); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_systemLanguage"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_isPlaying"); + if(!icall) + { + platform_log("UnityEngine.Application::get_isPlaying func not found"); + return 0; + } + } + bool i2res = icall(); return i2res; } -int32_t UnityEngine_Application_get_internetReachability() +bool UnityEngine_Application_get_isBatchMode() { - typedef int32_t (* ICallMethod) (); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_internetReachability"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_isBatchMode"); + if(!icall) + { + platform_log("UnityEngine.Application::get_isBatchMode func not found"); + return 0; + } + } + bool i2res = icall(); return i2res; } -void UnityEngine_BootConfigData_Append(MonoObject* thiz, MonoString* key, MonoString* value) +MonoString* UnityEngine_Application_get_dataPath() { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* key, Il2CppString* value); + typedef Il2CppString* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BootConfigData::Append"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BootConfigData()); - Il2CppString* i2key = get_il2cpp_string(key); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2thiz,i2key,i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_dataPath"); + if(!icall) + { + platform_log("UnityEngine.Application::get_dataPath func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Application::get_dataPath fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_BootConfigData_Set(MonoObject* thiz, MonoString* key, MonoString* value) +MonoString* UnityEngine_Application_get_streamingAssetsPath() { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* key, Il2CppString* value); + typedef Il2CppString* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BootConfigData::Set"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BootConfigData()); - Il2CppString* i2key = get_il2cpp_string(key); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2thiz,i2key,i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_streamingAssetsPath"); + if(!icall) + { + platform_log("UnityEngine.Application::get_streamingAssetsPath func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Application::get_streamingAssetsPath fail to convert il2cpp obj to mono"); + } + return monoi2res; } -MonoString* UnityEngine_BootConfigData_GetValue(MonoObject* thiz, MonoString* key, int32_t index) +MonoString* UnityEngine_Application_get_persistentDataPath() { - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* key, int32_t index); + typedef Il2CppString* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BootConfigData::GetValue"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BootConfigData()); - Il2CppString* i2key = get_il2cpp_string(key); - Il2CppString* i2res = icall(i2thiz,i2key,index); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_persistentDataPath"); + if(!icall) + { + platform_log("UnityEngine.Application::get_persistentDataPath func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(); MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Application::get_persistentDataPath fail to convert il2cpp obj to mono"); + } return monoi2res; } -bool UnityEngine_Cache_Cache_IsValid(int32_t handle) +MonoString* UnityEngine_Application_get_unityVersion() { - typedef bool (* ICallMethod) (int32_t handle); + typedef Il2CppString* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_IsValid"); - bool i2res = icall(handle); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_unityVersion"); + if(!icall) + { + platform_log("UnityEngine.Application::get_unityVersion func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Application::get_unityVersion fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Cache_Cache_IsReady(int32_t handle) +MonoString* UnityEngine_Application_get_identifier() { - typedef bool (* ICallMethod) (int32_t handle); + typedef Il2CppString* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_IsReady"); - bool i2res = icall(handle); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_identifier"); + if(!icall) + { + platform_log("UnityEngine.Application::get_identifier func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Application::get_identifier fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Cache_Cache_IsReadonly(int32_t handle) +int32_t UnityEngine_Application_get_targetFrameRate() { - typedef bool (* ICallMethod) (int32_t handle); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_IsReadonly"); - bool i2res = icall(handle); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_targetFrameRate"); + if(!icall) + { + platform_log("UnityEngine.Application::get_targetFrameRate func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -MonoString* UnityEngine_Cache_Cache_GetPath(int32_t handle) +void UnityEngine_Application_set_targetFrameRate(int32_t value) { - typedef Il2CppString* (* ICallMethod) (int32_t handle); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_GetPath"); - Il2CppString* i2res = icall(handle); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::set_targetFrameRate"); + if(!icall) + { + platform_log("UnityEngine.Application::set_targetFrameRate func not found"); + return; + } + } + icall(value); } -int32_t UnityEngine_Cache_Cache_GetIndex(int32_t handle) +int32_t UnityEngine_Application_get_platform() { - typedef int32_t (* ICallMethod) (int32_t handle); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_GetIndex"); - int32_t i2res = icall(handle); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_platform"); + if(!icall) + { + platform_log("UnityEngine.Application::get_platform func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -int64_t UnityEngine_Cache_Cache_GetSpaceFree(int32_t handle) +int32_t UnityEngine_Application_get_internetReachability() { - typedef int64_t (* ICallMethod) (int32_t handle); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_GetSpaceFree"); - int64_t i2res = icall(handle); - return i2res; -} -int64_t UnityEngine_Cache_Cache_GetMaximumDiskSpaceAvailable(int32_t handle) -{ - typedef int64_t (* ICallMethod) (int32_t handle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_GetMaximumDiskSpaceAvailable"); - int64_t i2res = icall(handle); - return i2res; -} -void UnityEngine_Cache_Cache_SetMaximumDiskSpaceAvailable(int32_t handle, int64_t value) -{ - typedef void (* ICallMethod) (int32_t handle, int64_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_SetMaximumDiskSpaceAvailable"); - icall(handle,value); -} -int64_t UnityEngine_Cache_Cache_GetCachingDiskSpaceUsed(int32_t handle) -{ - typedef int64_t (* ICallMethod) (int32_t handle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_GetCachingDiskSpaceUsed"); - int64_t i2res = icall(handle); - return i2res; -} -int32_t UnityEngine_Cache_Cache_GetExpirationDelay(int32_t handle) -{ - typedef int32_t (* ICallMethod) (int32_t handle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_GetExpirationDelay"); - int32_t i2res = icall(handle); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::get_internetReachability"); + if(!icall) + { + platform_log("UnityEngine.Application::get_internetReachability func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -void UnityEngine_Cache_Cache_SetExpirationDelay(int32_t handle, int32_t value) +void UnityEngine_Application_OpenURL(MonoString* url) { - typedef void (* ICallMethod) (int32_t handle, int32_t value); + typedef void (* ICallMethod) (Il2CppString* url); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_SetExpirationDelay"); - icall(handle,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Application::OpenURL"); + if(!icall) + { + platform_log("UnityEngine.Application::OpenURL func not found"); + return; + } + } + Il2CppString* i2url = get_il2cpp_string(url); + icall(i2url); } -bool UnityEngine_Cache_Cache_ClearCache(int32_t handle) +bool UnityEngine_Cache_Cache_IsValid(int32_t handle) { typedef bool (* ICallMethod) (int32_t handle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_ClearCache"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_IsValid"); + if(!icall) + { + platform_log("UnityEngine.Cache::Cache_IsValid func not found"); + return 0; + } + } bool i2res = icall(handle); return i2res; } -bool UnityEngine_Cache_Cache_ClearCache_Expiration(int32_t handle, int32_t expiration) +MonoString* UnityEngine_Cache_Cache_GetPath(int32_t handle) { - typedef bool (* ICallMethod) (int32_t handle, int32_t expiration); + typedef Il2CppString* (* ICallMethod) (int32_t handle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_ClearCache_Expiration"); - bool i2res = icall(handle,expiration); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cache::Cache_GetPath"); + if(!icall) + { + platform_log("UnityEngine.Cache::Cache_GetPath func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(handle); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Cache::Cache_GetPath fail to convert il2cpp obj to mono"); + } + return monoi2res; } bool UnityEngine_Caching_get_compressionEnabled() { typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::get_compressionEnabled"); + if(!icall) + { + platform_log("UnityEngine.Caching::get_compressionEnabled func not found"); + return 0; + } + } bool i2res = icall(); return i2res; } @@ -2279,7 +5138,14 @@ void UnityEngine_Caching_set_compressionEnabled(bool value) typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::set_compressionEnabled"); + if(!icall) + { + platform_log("UnityEngine.Caching::set_compressionEnabled func not found"); + return; + } + } icall(value); } bool UnityEngine_Caching_get_ready() @@ -2287,166 +5153,62 @@ bool UnityEngine_Caching_get_ready() typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::get_ready"); + if(!icall) + { + platform_log("UnityEngine.Caching::get_ready func not found"); + return 0; + } + } bool i2res = icall(); return i2res; } -bool UnityEngine_Caching_ClearCache() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::ClearCache"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_Caching_ClearCache_Int(int32_t expiration) -{ - typedef bool (* ICallMethod) (int32_t expiration); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::ClearCache_Int"); - bool i2res = icall(expiration); - return i2res; -} -void* UnityEngine_Caching_GetCachedVersions(MonoString* assetBundleName) -{ - typedef void* (* ICallMethod) (Il2CppString* assetBundleName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::GetCachedVersions"); - Il2CppString* i2assetBundleName = get_il2cpp_string(assetBundleName); - void* i2res = icall(i2assetBundleName); - return i2res; -} -int64_t UnityEngine_Caching_get_spaceOccupied() -{ - typedef int64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::get_spaceOccupied"); - int64_t i2res = icall(); - return i2res; -} -int64_t UnityEngine_Caching_get_spaceFree() -{ - typedef int64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::get_spaceFree"); - int64_t i2res = icall(); - return i2res; -} -int64_t UnityEngine_Caching_get_maximumAvailableDiskSpace() -{ - typedef int64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::get_maximumAvailableDiskSpace"); - int64_t i2res = icall(); - return i2res; -} -void UnityEngine_Caching_set_maximumAvailableDiskSpace(int64_t value) -{ - typedef void (* ICallMethod) (int64_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::set_maximumAvailableDiskSpace"); - icall(value); -} -int32_t UnityEngine_Caching_get_expirationDelay() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::get_expirationDelay"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_Caching_set_expirationDelay(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::set_expirationDelay"); - icall(value); -} int32_t UnityEngine_Caching_get_cacheCount() { typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::get_cacheCount"); + if(!icall) + { + platform_log("UnityEngine.Caching::get_cacheCount func not found"); + return 0; + } + } int32_t i2res = icall(); return i2res; } -bool UnityEngine_Caching_ClearCachedVersionInternal_Injected(MonoString* assetBundleName, void * hash) -{ - typedef bool (* ICallMethod) (Il2CppString* assetBundleName, void * hash); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::ClearCachedVersionInternal_Injected"); - Il2CppString* i2assetBundleName = get_il2cpp_string(assetBundleName); - bool i2res = icall(i2assetBundleName,hash); - return i2res; -} -bool UnityEngine_Caching_ClearCachedVersions_Injected(MonoString* assetBundleName, void * hash, bool keepInputVersion) -{ - typedef bool (* ICallMethod) (Il2CppString* assetBundleName, void * hash, bool keepInputVersion); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::ClearCachedVersions_Injected"); - Il2CppString* i2assetBundleName = get_il2cpp_string(assetBundleName); - bool i2res = icall(i2assetBundleName,hash,keepInputVersion); - return i2res; -} -bool UnityEngine_Caching_IsVersionCached_Injected(MonoString* url, MonoString* assetBundleName, void * hash) -{ - typedef bool (* ICallMethod) (Il2CppString* url, Il2CppString* assetBundleName, void * hash); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::IsVersionCached_Injected"); - Il2CppString* i2url = get_il2cpp_string(url); - Il2CppString* i2assetBundleName = get_il2cpp_string(assetBundleName); - bool i2res = icall(i2url,i2assetBundleName,hash); - return i2res; -} -bool UnityEngine_Caching_MarkAsUsed_Injected(MonoString* url, MonoString* assetBundleName, void * hash) +bool UnityEngine_Caching_ClearCache_Int(int32_t expiration) { - typedef bool (* ICallMethod) (Il2CppString* url, Il2CppString* assetBundleName, void * hash); + typedef bool (* ICallMethod) (int32_t expiration); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::MarkAsUsed_Injected"); - Il2CppString* i2url = get_il2cpp_string(url); - Il2CppString* i2assetBundleName = get_il2cpp_string(assetBundleName); - bool i2res = icall(i2url,i2assetBundleName,hash); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::ClearCache_Int"); + if(!icall) + { + platform_log("UnityEngine.Caching::ClearCache_Int func not found"); + return 0; + } + } + bool i2res = icall(expiration); return i2res; } -void UnityEngine_Caching_SetNoBackupFlag_Injected(MonoString* url, MonoString* assetBundleName, void * hash, bool enabled) -{ - typedef void (* ICallMethod) (Il2CppString* url, Il2CppString* assetBundleName, void * hash, bool enabled); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::SetNoBackupFlag_Injected"); - Il2CppString* i2url = get_il2cpp_string(url); - Il2CppString* i2assetBundleName = get_il2cpp_string(assetBundleName); - icall(i2url,i2assetBundleName,hash,enabled); -} -void UnityEngine_Caching_AddCache_Injected(MonoString* cachePath, bool isReadonly, void * ret) -{ - typedef void (* ICallMethod) (Il2CppString* cachePath, bool isReadonly, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::AddCache_Injected"); - Il2CppString* i2cachePath = get_il2cpp_string(cachePath); - icall(i2cachePath,isReadonly,ret); -} void UnityEngine_Caching_GetCacheAt_Injected(int32_t cacheIndex, void * ret) { typedef void (* ICallMethod) (int32_t cacheIndex, void * ret); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::GetCacheAt_Injected"); + if(!icall) + { + platform_log("UnityEngine.Caching::GetCacheAt_Injected func not found"); + return; + } + } icall(cacheIndex,ret); } void UnityEngine_Caching_GetCacheByPath_Injected(MonoString* cachePath, void * ret) @@ -2454,7 +5216,14 @@ void UnityEngine_Caching_GetCacheByPath_Injected(MonoString* cachePath, void * r typedef void (* ICallMethod) (Il2CppString* cachePath, void * ret); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::GetCacheByPath_Injected"); + if(!icall) + { + platform_log("UnityEngine.Caching::GetCacheByPath_Injected func not found"); + return; + } + } Il2CppString* i2cachePath = get_il2cpp_string(cachePath); icall(i2cachePath,ret); } @@ -2463,7 +5232,14 @@ bool UnityEngine_Caching_RemoveCache_Injected(void * cache) typedef bool (* ICallMethod) (void * cache); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::RemoveCache_Injected"); + if(!icall) + { + platform_log("UnityEngine.Caching::RemoveCache_Injected func not found"); + return 0; + } + } bool i2res = icall(cache); return i2res; } @@ -2472,7 +5248,14 @@ void UnityEngine_Caching_MoveCacheBefore_Injected(void * src, void * dst) typedef void (* ICallMethod) (void * src, void * dst); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::MoveCacheBefore_Injected"); + if(!icall) + { + platform_log("UnityEngine.Caching::MoveCacheBefore_Injected func not found"); + return; + } + } icall(src,dst); } void UnityEngine_Caching_MoveCacheAfter_Injected(void * src, void * dst) @@ -2480,39 +5263,151 @@ void UnityEngine_Caching_MoveCacheAfter_Injected(void * src, void * dst) typedef void (* ICallMethod) (void * src, void * dst); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::MoveCacheAfter_Injected"); + if(!icall) + { + platform_log("UnityEngine.Caching::MoveCacheAfter_Injected func not found"); + return; + } + } icall(src,dst); } -void UnityEngine_Caching_get_defaultCache_Injected(void * ret) +bool UnityEngine_Caching_ClearCache() { - typedef void (* ICallMethod) (void * ret); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::get_defaultCache_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::ClearCache"); + if(!icall) + { + platform_log("UnityEngine.Caching::ClearCache func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; } -void UnityEngine_Caching_get_currentCacheForWriting_Injected(void * ret) +void UnityEngine_Hash128_ComputeFromString(MonoString* data, void * hash) { - typedef void (* ICallMethod) (void * ret); + typedef void (* ICallMethod) (Il2CppString* data, void * hash); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::get_currentCacheForWriting_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Hash128::ComputeFromString"); + if(!icall) + { + platform_log("UnityEngine.Hash128::ComputeFromString func not found"); + return; + } + } + Il2CppString* i2data = get_il2cpp_string(data); + icall(i2data,hash); } -void UnityEngine_Caching_set_currentCacheForWriting_Injected(void * value) +void UnityEngine_Hash128_ComputeFromPtr(void * data, int32_t start, int32_t count, int32_t elemSize, void * hash) { - typedef void (* ICallMethod) (void * value); + typedef void (* ICallMethod) (void * data, int32_t start, int32_t count, int32_t elemSize, void * hash); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Caching::set_currentCacheForWriting_Injected"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Hash128::ComputeFromPtr"); + if(!icall) + { + platform_log("UnityEngine.Hash128::ComputeFromPtr func not found"); + return; + } + } + icall(data,start,count,elemSize,hash); +} +void UnityEngine_Hash128_ComputeFromArray(MonoObject* data, int32_t start, int32_t count, int32_t elemSize, void * hash) +{ + typedef void (* ICallMethod) (Il2CppObject* data, int32_t start, int32_t count, int32_t elemSize, void * hash); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Hash128::ComputeFromArray"); + if(!icall) + { + platform_log("UnityEngine.Hash128::ComputeFromArray func not found"); + return; + } + } + Il2CppObject* i2data = get_il2cpp_object(data,NULL); + icall(i2data,start,count,elemSize,hash); +} +void UnityEngine_Hash128_Parse_Injected(MonoString* hashString, void * ret) +{ + typedef void (* ICallMethod) (Il2CppString* hashString, void * ret); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Hash128::Parse_Injected"); + if(!icall) + { + platform_log("UnityEngine.Hash128::Parse_Injected func not found"); + return; + } + } + Il2CppString* i2hashString = get_il2cpp_string(hashString); + icall(i2hashString,ret); +} +MonoString* UnityEngine_Hash128_Hash128ToStringImpl_Injected(void * hash) +{ + typedef Il2CppString* (* ICallMethod) (void * hash); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Hash128::Hash128ToStringImpl_Injected"); + if(!icall) + { + platform_log("UnityEngine.Hash128::Hash128ToStringImpl_Injected func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(hash); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Hash128::Hash128ToStringImpl_Injected fail to convert il2cpp obj to mono"); + } + return monoi2res; +} +MonoObject* UnityEngine_NoAllocHelpers_ExtractArrayFromList(MonoObject* list) +{ + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* list); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.NoAllocHelpers::ExtractArrayFromList"); + if(!icall) + { + platform_log("UnityEngine.NoAllocHelpers::ExtractArrayFromList func not found"); + return NULL; + } + } + Il2CppObject* i2list = get_il2cpp_object(list,NULL); + Il2CppObject* i2res = icall(i2list); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_System_Array()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.NoAllocHelpers::ExtractArrayFromList fail to convert il2cpp obj to mono"); + } + return monoi2res; } float UnityEngine_Camera_get_nearClipPlane(MonoObject* thiz) { typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_nearClipPlane"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_nearClipPlane func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); float i2res = icall(i2thiz); return i2res; @@ -2522,7 +5417,14 @@ void UnityEngine_Camera_set_nearClipPlane(MonoObject* thiz, float value) typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_nearClipPlane"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_nearClipPlane func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } @@ -2531,7 +5433,14 @@ float UnityEngine_Camera_get_farClipPlane(MonoObject* thiz) typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_farClipPlane"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_farClipPlane func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); float i2res = icall(i2thiz); return i2res; @@ -2541,7 +5450,14 @@ void UnityEngine_Camera_set_farClipPlane(MonoObject* thiz, float value) typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_farClipPlane"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_farClipPlane func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } @@ -2550,7 +5466,14 @@ float UnityEngine_Camera_get_fieldOfView(MonoObject* thiz) typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_fieldOfView"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_fieldOfView func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); float i2res = icall(i2thiz); return i2res; @@ -2560,23258 +5483,9021 @@ void UnityEngine_Camera_set_fieldOfView(MonoObject* thiz, float value) typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_fieldOfView"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_fieldOfView func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } -int32_t UnityEngine_Camera_get_renderingPath(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_renderingPath"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); - return i2res; -} void UnityEngine_Camera_set_renderingPath(MonoObject* thiz, int32_t value) { typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_renderingPath"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_renderingPath func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } -int32_t UnityEngine_Camera_get_actualRenderingPath(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_actualRenderingPath"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Camera_Reset(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::Reset"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz); -} -bool UnityEngine_Camera_get_allowHDR(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_allowHDR"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(i2thiz); - return i2res; -} void UnityEngine_Camera_set_allowHDR(MonoObject* thiz, bool value) { typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_allowHDR"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_allowHDR func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } -bool UnityEngine_Camera_get_allowMSAA(MonoObject* thiz) +float UnityEngine_Camera_get_orthographicSize(MonoObject* thiz) { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_allowMSAA"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_orthographicSize"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_orthographicSize func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(i2thiz); + float i2res = icall(i2thiz); return i2res; } -void UnityEngine_Camera_set_allowMSAA(MonoObject* thiz, bool value) +void UnityEngine_Camera_set_orthographicSize(MonoObject* thiz, float value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_allowMSAA"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_orthographicSize"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_orthographicSize func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } -bool UnityEngine_Camera_get_allowDynamicResolution(MonoObject* thiz) +bool UnityEngine_Camera_get_orthographic(MonoObject* thiz) { typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_allowDynamicResolution"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_orthographic"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_orthographic func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_Camera_set_allowDynamicResolution(MonoObject* thiz, bool value) +void UnityEngine_Camera_set_orthographic(MonoObject* thiz, bool value) { typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_allowDynamicResolution"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_orthographic"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_orthographic func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } -bool UnityEngine_Camera_get_forceIntoRenderTexture(MonoObject* thiz) +int32_t UnityEngine_Camera_get_transparencySortMode(MonoObject* thiz) { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_forceIntoRenderTexture"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_transparencySortMode"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_transparencySortMode func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(i2thiz); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Camera_set_forceIntoRenderTexture(MonoObject* thiz, bool value) +void UnityEngine_Camera_set_transparencySortMode(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_forceIntoRenderTexture"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_transparencySortMode"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_transparencySortMode func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } -float UnityEngine_Camera_get_orthographicSize(MonoObject* thiz) +float UnityEngine_Camera_get_depth(MonoObject* thiz) { typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_orthographicSize"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_depth"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_depth func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); float i2res = icall(i2thiz); return i2res; } -void UnityEngine_Camera_set_orthographicSize(MonoObject* thiz, float value) +void UnityEngine_Camera_set_depth(MonoObject* thiz, float value) { typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_orthographicSize"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_depth"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_depth func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } -bool UnityEngine_Camera_get_orthographic(MonoObject* thiz) +float UnityEngine_Camera_get_aspect(MonoObject* thiz) { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_orthographic"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_aspect"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_aspect func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(i2thiz); + float i2res = icall(i2thiz); return i2res; } -void UnityEngine_Camera_set_orthographic(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_orthographic"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); -} -int32_t UnityEngine_Camera_get_opaqueSortMode(MonoObject* thiz) +int32_t UnityEngine_Camera_get_cullingMask(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_opaqueSortMode"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_cullingMask"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_cullingMask func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Camera_set_opaqueSortMode(MonoObject* thiz, int32_t value) +void UnityEngine_Camera_set_cullingMask(MonoObject* thiz, int32_t value) { typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_opaqueSortMode"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_cullingMask"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_cullingMask func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } -int32_t UnityEngine_Camera_get_transparencySortMode(MonoObject* thiz) +int32_t UnityEngine_Camera_get_eventMask(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_transparencySortMode"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_eventMask"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_eventMask func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Camera_set_transparencySortMode(MonoObject* thiz, int32_t value) +void UnityEngine_Camera_set_eventMask(MonoObject* thiz, int32_t value) { typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_transparencySortMode"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_eventMask"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_eventMask func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } -void UnityEngine_Camera_ResetTransparencySortSettings(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ResetTransparencySortSettings"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz); -} -float UnityEngine_Camera_get_depth(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_depth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Camera_set_depth(MonoObject* thiz, float value) +void UnityEngine_Camera_set_useOcclusionCulling(MonoObject* thiz, bool value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_depth"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_useOcclusionCulling"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_useOcclusionCulling func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } -float UnityEngine_Camera_get_aspect(MonoObject* thiz) +int32_t UnityEngine_Camera_get_clearFlags(MonoObject* thiz) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_aspect"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_clearFlags"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_clearFlags func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - float i2res = icall(i2thiz); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Camera_set_aspect(MonoObject* thiz, float value) +void UnityEngine_Camera_set_clearFlags(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_aspect"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_clearFlags"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_clearFlags func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } -void UnityEngine_Camera_ResetAspect(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ResetAspect"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz); -} -int32_t UnityEngine_Camera_get_cullingMask(MonoObject* thiz) +int32_t UnityEngine_Camera_get_depthTextureMode(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_cullingMask"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_depthTextureMode"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_depthTextureMode func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Camera_set_cullingMask(MonoObject* thiz, int32_t value) +void UnityEngine_Camera_set_depthTextureMode(MonoObject* thiz, int32_t value) { typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_cullingMask"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_depthTextureMode"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_depthTextureMode func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); icall(i2thiz,value); } -int32_t UnityEngine_Camera_get_eventMask(MonoObject* thiz) +int32_t UnityEngine_Camera_get_pixelWidth(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_eventMask"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_pixelWidth"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_pixelWidth func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Camera_set_eventMask(MonoObject* thiz, int32_t value) +int32_t UnityEngine_Camera_get_pixelHeight(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_eventMask"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_pixelHeight"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_pixelHeight func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + int32_t i2res = icall(i2thiz); + return i2res; } -bool UnityEngine_Camera_get_layerCullSpherical(MonoObject* thiz) +MonoObject* UnityEngine_Camera_get_targetTexture(MonoObject* thiz) { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_layerCullSpherical"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_targetTexture"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_targetTexture func not found"); + return NULL; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(i2thiz); - return i2res; + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_RenderTexture()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Camera::get_targetTexture fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Camera_set_layerCullSpherical(MonoObject* thiz, bool value) +void UnityEngine_Camera_set_targetTexture(MonoObject* thiz, MonoObject* value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_layerCullSpherical"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_targetTexture"); + if(!icall) + { + platform_log("UnityEngine.Camera::set_targetTexture func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_RenderTexture()); + icall(i2thiz,i2value); } -int32_t UnityEngine_Camera_get_cameraType(MonoObject* thiz) +int32_t UnityEngine_Camera_get_targetDisplay(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_cameraType"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_targetDisplay"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_targetDisplay func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Camera_set_cameraType(MonoObject* thiz, int32_t value) +MonoObject* UnityEngine_Camera_get_main() { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef Il2CppObject* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_cameraType"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_main"); + if(!icall) + { + platform_log("UnityEngine.Camera::get_main func not found"); + return NULL; + } + } + Il2CppObject* i2res = icall(); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Camera()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Camera::get_main fail to convert il2cpp obj to mono"); + } + return monoi2res; } -uint64_t UnityEngine_Camera_get_overrideSceneCullingMask(MonoObject* thiz) +void UnityEngine_Camera_WorldToScreenPoint_Injected(MonoObject* thiz, void * position, int32_t eye, void * ret) { - typedef uint64_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, int32_t eye, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_overrideSceneCullingMask"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::WorldToScreenPoint_Injected"); + if(!icall) + { + platform_log("UnityEngine.Camera::WorldToScreenPoint_Injected func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - uint64_t i2res = icall(i2thiz); - return i2res; + icall(i2thiz,position,eye,ret); } -void UnityEngine_Camera_set_overrideSceneCullingMask(MonoObject* thiz, uint64_t value) +void UnityEngine_Camera_WorldToViewportPoint_Injected(MonoObject* thiz, void * position, int32_t eye, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, uint64_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, int32_t eye, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_overrideSceneCullingMask"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::WorldToViewportPoint_Injected"); + if(!icall) + { + platform_log("UnityEngine.Camera::WorldToViewportPoint_Injected func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + icall(i2thiz,position,eye,ret); } -void* UnityEngine_Camera_GetLayerCullDistances(MonoObject* thiz) +void UnityEngine_Camera_ViewportToWorldPoint_Injected(MonoObject* thiz, void * position, int32_t eye, void * ret) { - typedef void* (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, int32_t eye, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetLayerCullDistances"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ViewportToWorldPoint_Injected"); + if(!icall) + { + platform_log("UnityEngine.Camera::ViewportToWorldPoint_Injected func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - void* i2res = icall(i2thiz); - return i2res; + icall(i2thiz,position,eye,ret); } -void UnityEngine_Camera_SetLayerCullDistances(MonoObject* thiz, void* d) +void UnityEngine_Camera_ScreenToWorldPoint_Injected(MonoObject* thiz, void * position, int32_t eye, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void* d); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, int32_t eye, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::SetLayerCullDistances"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ScreenToWorldPoint_Injected"); + if(!icall) + { + platform_log("UnityEngine.Camera::ScreenToWorldPoint_Injected func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,d); + icall(i2thiz,position,eye,ret); } -int32_t UnityEngine_Camera_get_PreviewCullingLayer() +void UnityEngine_Camera_ScreenToViewportPoint_Injected(MonoObject* thiz, void * position, void * ret) { - typedef int32_t (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_PreviewCullingLayer"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ScreenToViewportPoint_Injected"); + if(!icall) + { + platform_log("UnityEngine.Camera::ScreenToViewportPoint_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); + icall(i2thiz,position,ret); } -bool UnityEngine_Camera_get_useOcclusionCulling(MonoObject* thiz) +void UnityEngine_Camera_Render(MonoObject* thiz) { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_useOcclusionCulling"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::Render"); + if(!icall) + { + platform_log("UnityEngine.Camera::Render func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(i2thiz); - return i2res; + icall(i2thiz); } -void UnityEngine_Camera_set_useOcclusionCulling(MonoObject* thiz, bool value) +void UnityEngine_Camera_CopyFrom(MonoObject* thiz, MonoObject* other) { - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* other); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_useOcclusionCulling"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::CopyFrom"); + if(!icall) + { + platform_log("UnityEngine.Camera::CopyFrom func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + Il2CppObject* i2other = get_il2cpp_object(other,il2cpp_get_class_UnityEngine_Camera()); + icall(i2thiz,i2other); } -void UnityEngine_Camera_ResetCullingMatrix(MonoObject* thiz) +int32_t UnityEngine_Mathf_ClosestPowerOfTwo(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ResetCullingMatrix"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::ClosestPowerOfTwo"); + if(!icall) + { + platform_log("UnityEngine.Mathf::ClosestPowerOfTwo func not found"); + return 0; + } + } + int32_t i2res = icall(value); + return i2res; } -int32_t UnityEngine_Camera_get_clearFlags(MonoObject* thiz) +bool UnityEngine_Mathf_IsPowerOfTwo(int32_t value) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_clearFlags"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::IsPowerOfTwo"); + if(!icall) + { + platform_log("UnityEngine.Mathf::IsPowerOfTwo func not found"); + return 0; + } + } + bool i2res = icall(value); return i2res; } -void UnityEngine_Camera_set_clearFlags(MonoObject* thiz, int32_t value) +int32_t UnityEngine_Mathf_NextPowerOfTwo(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef int32_t (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_clearFlags"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::NextPowerOfTwo"); + if(!icall) + { + platform_log("UnityEngine.Mathf::NextPowerOfTwo func not found"); + return 0; + } + } + int32_t i2res = icall(value); + return i2res; } -int32_t UnityEngine_Camera_get_depthTextureMode(MonoObject* thiz) +float UnityEngine_Mathf_GammaToLinearSpace(float value) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef float (* ICallMethod) (float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_depthTextureMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::GammaToLinearSpace"); + if(!icall) + { + platform_log("UnityEngine.Mathf::GammaToLinearSpace func not found"); + return 0; + } + } + float i2res = icall(value); return i2res; } -void UnityEngine_Camera_set_depthTextureMode(MonoObject* thiz, int32_t value) +float UnityEngine_Mathf_LinearToGammaSpace(float value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef float (* ICallMethod) (float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_depthTextureMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::LinearToGammaSpace"); + if(!icall) + { + platform_log("UnityEngine.Mathf::LinearToGammaSpace func not found"); + return 0; + } + } + float i2res = icall(value); + return i2res; } -bool UnityEngine_Camera_get_clearStencilAfterLightingPass(MonoObject* thiz) +uint16_t UnityEngine_Mathf_FloatToHalf(float val) { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef uint16_t (* ICallMethod) (float val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_clearStencilAfterLightingPass"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::FloatToHalf"); + if(!icall) + { + platform_log("UnityEngine.Mathf::FloatToHalf func not found"); + return 0; + } + } + uint16_t i2res = icall(val); return i2res; } -void UnityEngine_Camera_set_clearStencilAfterLightingPass(MonoObject* thiz, bool value) +float UnityEngine_Mathf_HalfToFloat(uint16_t val) { - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + typedef float (* ICallMethod) (uint16_t val); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_clearStencilAfterLightingPass"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::HalfToFloat"); + if(!icall) + { + platform_log("UnityEngine.Mathf::HalfToFloat func not found"); + return 0; + } + } + float i2res = icall(val); + return i2res; } -void UnityEngine_Camera_SetReplacementShader(MonoObject* thiz, MonoObject* shader, MonoString* replacementTag) +float UnityEngine_Mathf_PerlinNoise(float x, float y) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* shader, Il2CppString* replacementTag); + typedef float (* ICallMethod) (float x, float y); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::SetReplacementShader"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - Il2CppString* i2replacementTag = get_il2cpp_string(replacementTag); - icall(i2thiz,i2shader,i2replacementTag); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::PerlinNoise"); + if(!icall) + { + platform_log("UnityEngine.Mathf::PerlinNoise func not found"); + return 0; + } + } + float i2res = icall(x,y); + return i2res; } -void UnityEngine_Camera_ResetReplacementShader(MonoObject* thiz) +void UnityEngine_Mathf_CorrelatedColorTemperatureToRGB_Injected(float kelvin, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (float kelvin, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ResetReplacementShader"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::CorrelatedColorTemperatureToRGB_Injected"); + if(!icall) + { + platform_log("UnityEngine.Mathf::CorrelatedColorTemperatureToRGB_Injected func not found"); + return; + } + } + icall(kelvin,ret); } -int32_t UnityEngine_Camera_get_projectionMatrixMode(MonoObject* thiz) +int32_t UnityEngine_RenderTexture_get_width(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_projectionMatrixMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_width"); + if(!icall) + { + platform_log("UnityEngine.RenderTexture::get_width func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); int32_t i2res = icall(i2thiz); return i2res; } -bool UnityEngine_Camera_get_usePhysicalProperties(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_usePhysicalProperties"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Camera_set_usePhysicalProperties(MonoObject* thiz, bool value) +void UnityEngine_RenderTexture_set_width(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_usePhysicalProperties"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_width"); + if(!icall) + { + platform_log("UnityEngine.RenderTexture::set_width func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); icall(i2thiz,value); } -float UnityEngine_Camera_get_focalLength(MonoObject* thiz) +int32_t UnityEngine_RenderTexture_get_height(MonoObject* thiz) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_focalLength"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - float i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_height"); + if(!icall) + { + platform_log("UnityEngine.RenderTexture::get_height func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Camera_set_focalLength(MonoObject* thiz, float value) +void UnityEngine_RenderTexture_set_height(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_focalLength"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_height"); + if(!icall) + { + platform_log("UnityEngine.RenderTexture::set_height func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); icall(i2thiz,value); } -int32_t UnityEngine_Camera_get_gateFit(MonoObject* thiz) +void UnityEngine_RenderTexture_set_graphicsFormat(MonoObject* thiz, int32_t value) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_gateFit"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_graphicsFormat"); + if(!icall) + { + platform_log("UnityEngine.RenderTexture::set_graphicsFormat func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); + icall(i2thiz,value); } -void UnityEngine_Camera_set_gateFit(MonoObject* thiz, int32_t value) +void UnityEngine_RenderTexture_set_depth_1(MonoObject* thiz, int32_t value) { typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_gateFit"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_depth"); + if(!icall) + { + platform_log("UnityEngine.RenderTexture::set_depth func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); icall(i2thiz,value); } -float UnityEngine_Camera_GetGateFittedFieldOfView(MonoObject* thiz) +void UnityEngine_RenderTexture_ReleaseTemporary(MonoObject* temp) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* temp); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetGateFittedFieldOfView"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - float i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::ReleaseTemporary"); + if(!icall) + { + platform_log("UnityEngine.RenderTexture::ReleaseTemporary func not found"); + return; + } + } + Il2CppObject* i2temp = get_il2cpp_object(temp,il2cpp_get_class_UnityEngine_RenderTexture()); + icall(i2temp); } -int32_t UnityEngine_Camera_get_pixelWidth(MonoObject* thiz) +int32_t UnityEngine_QualitySettings_get_pixelLightCount() { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_pixelWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_pixelLightCount"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_pixelLightCount func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -int32_t UnityEngine_Camera_get_pixelHeight(MonoObject* thiz) +void UnityEngine_QualitySettings_set_pixelLightCount(int32_t value) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_pixelHeight"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_pixelLightCount"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_pixelLightCount func not found"); + return; + } + } + icall(value); } -int32_t UnityEngine_Camera_get_scaledPixelWidth(MonoObject* thiz) +int32_t UnityEngine_QualitySettings_get_shadows() { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_scaledPixelWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadows"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_shadows func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -int32_t UnityEngine_Camera_get_scaledPixelHeight(MonoObject* thiz) +void UnityEngine_QualitySettings_set_shadows(int32_t value) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_scaledPixelHeight"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadows"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_shadows func not found"); + return; + } + } + icall(value); } -MonoObject* UnityEngine_Camera_get_targetTexture(MonoObject* thiz) +int32_t UnityEngine_QualitySettings_get_shadowProjection() { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_targetTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_RenderTexture()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowProjection"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_shadowProjection func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Camera_set_targetTexture(MonoObject* thiz, MonoObject* value) +void UnityEngine_QualitySettings_set_shadowProjection(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_targetTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowProjection"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_shadowProjection func not found"); + return; + } + } + icall(value); } -MonoObject* UnityEngine_Camera_get_activeTexture(MonoObject* thiz) +int32_t UnityEngine_QualitySettings_get_shadowCascades() { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_activeTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_RenderTexture()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowCascades"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_shadowCascades func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -int32_t UnityEngine_Camera_get_targetDisplay(MonoObject* thiz) +void UnityEngine_QualitySettings_set_shadowCascades(int32_t value) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_targetDisplay"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowCascades"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_shadowCascades func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_set_targetDisplay(MonoObject* thiz, int32_t value) +float UnityEngine_QualitySettings_get_shadowDistance() { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_targetDisplay"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowDistance"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_shadowDistance func not found"); + return 0; + } + } + float i2res = icall(); + return i2res; } -MonoArray* UnityEngine_Camera_GetCameraBufferWarnings(MonoObject* thiz) +void UnityEngine_QualitySettings_set_shadowDistance(float value) { - typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetCameraBufferWarnings"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppArray* i2res = icall(i2thiz); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowDistance"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_shadowDistance func not found"); + return; + } + } + icall(value); } -bool UnityEngine_Camera_get_useJitteredProjectionMatrixForTransparentRendering(MonoObject* thiz) +int32_t UnityEngine_QualitySettings_get_shadowResolution() { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_useJitteredProjectionMatrixForTransparentRendering"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowResolution"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_shadowResolution func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -void UnityEngine_Camera_set_useJitteredProjectionMatrixForTransparentRendering(MonoObject* thiz, bool value) +void UnityEngine_QualitySettings_set_shadowResolution(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_useJitteredProjectionMatrixForTransparentRendering"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowResolution"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_shadowResolution func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_ResetWorldToCameraMatrix(MonoObject* thiz) +int32_t UnityEngine_QualitySettings_get_shadowmaskMode() { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ResetWorldToCameraMatrix"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowmaskMode"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_shadowmaskMode func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Camera_ResetProjectionMatrix(MonoObject* thiz) +void UnityEngine_QualitySettings_set_shadowmaskMode(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ResetProjectionMatrix"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowmaskMode"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_shadowmaskMode func not found"); + return; + } + } + icall(value); } -float UnityEngine_Camera_FocalLengthToFieldOfView(float focalLength, float sensorSize) +float UnityEngine_QualitySettings_get_shadowNearPlaneOffset() { - typedef float (* ICallMethod) (float focalLength, float sensorSize); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::FocalLengthToFieldOfView"); - float i2res = icall(focalLength,sensorSize); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowNearPlaneOffset"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_shadowNearPlaneOffset func not found"); + return 0; + } + } + float i2res = icall(); return i2res; } -float UnityEngine_Camera_FieldOfViewToFocalLength(float fieldOfView, float sensorSize) +void UnityEngine_QualitySettings_set_shadowNearPlaneOffset(float value) { - typedef float (* ICallMethod) (float fieldOfView, float sensorSize); + typedef void (* ICallMethod) (float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::FieldOfViewToFocalLength"); - float i2res = icall(fieldOfView,sensorSize); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowNearPlaneOffset"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_shadowNearPlaneOffset func not found"); + return; + } + } + icall(value); } -float UnityEngine_Camera_HorizontalToVerticalFieldOfView(float horizontalFieldOfView, float aspectRatio) +float UnityEngine_QualitySettings_get_shadowCascade2Split() { - typedef float (* ICallMethod) (float horizontalFieldOfView, float aspectRatio); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::HorizontalToVerticalFieldOfView"); - float i2res = icall(horizontalFieldOfView,aspectRatio); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowCascade2Split"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_shadowCascade2Split func not found"); + return 0; + } + } + float i2res = icall(); return i2res; } -float UnityEngine_Camera_VerticalToHorizontalFieldOfView(float verticalFieldOfView, float aspectRatio) +void UnityEngine_QualitySettings_set_shadowCascade2Split(float value) { - typedef float (* ICallMethod) (float verticalFieldOfView, float aspectRatio); + typedef void (* ICallMethod) (float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::VerticalToHorizontalFieldOfView"); - float i2res = icall(verticalFieldOfView,aspectRatio); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowCascade2Split"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_shadowCascade2Split func not found"); + return; + } + } + icall(value); } -MonoObject* UnityEngine_Camera_get_main() +float UnityEngine_QualitySettings_get_lodBias() { - typedef Il2CppObject* (* ICallMethod) (); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_main"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Camera()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_lodBias"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_lodBias func not found"); + return 0; + } + } + float i2res = icall(); + return i2res; } -MonoObject* UnityEngine_Camera_get_current() +void UnityEngine_QualitySettings_set_lodBias(float value) { - typedef Il2CppObject* (* ICallMethod) (); + typedef void (* ICallMethod) (float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_current"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Camera()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_lodBias"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_lodBias func not found"); + return; + } + } + icall(value); } -bool UnityEngine_Camera_get_stereoEnabled(MonoObject* thiz) +int32_t UnityEngine_QualitySettings_get_anisotropicFiltering() { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_stereoEnabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_anisotropicFiltering"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_anisotropicFiltering func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -float UnityEngine_Camera_get_stereoSeparation(MonoObject* thiz) +void UnityEngine_QualitySettings_set_anisotropicFiltering(int32_t value) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_stereoSeparation"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - float i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_anisotropicFiltering"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_anisotropicFiltering func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_set_stereoSeparation(MonoObject* thiz, float value) +int32_t UnityEngine_QualitySettings_get_masterTextureLimit() { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_stereoSeparation"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_masterTextureLimit"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_masterTextureLimit func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -float UnityEngine_Camera_get_stereoConvergence(MonoObject* thiz) +void UnityEngine_QualitySettings_set_masterTextureLimit(int32_t value) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_stereoConvergence"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - float i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_masterTextureLimit"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_masterTextureLimit func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_set_stereoConvergence(MonoObject* thiz, float value) +int32_t UnityEngine_QualitySettings_get_maximumLODLevel() { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_stereoConvergence"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_maximumLODLevel"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_maximumLODLevel func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -bool UnityEngine_Camera_get_areVRStereoViewMatricesWithinSingleCullTolerance(MonoObject* thiz) +void UnityEngine_QualitySettings_set_maximumLODLevel(int32_t value) { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_areVRStereoViewMatricesWithinSingleCullTolerance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_maximumLODLevel"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_maximumLODLevel func not found"); + return; + } + } + icall(value); } -int32_t UnityEngine_Camera_get_stereoTargetEye(MonoObject* thiz) +int32_t UnityEngine_QualitySettings_get_particleRaycastBudget() { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_stereoTargetEye"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_particleRaycastBudget"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_particleRaycastBudget func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -void UnityEngine_Camera_set_stereoTargetEye(MonoObject* thiz, int32_t value) +void UnityEngine_QualitySettings_set_particleRaycastBudget(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_stereoTargetEye"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_particleRaycastBudget"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_particleRaycastBudget func not found"); + return; + } + } + icall(value); } -int32_t UnityEngine_Camera_get_stereoActiveEye(MonoObject* thiz) +bool UnityEngine_QualitySettings_get_softParticles() { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_stereoActiveEye"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_softParticles"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_softParticles func not found"); + return 0; + } + } + bool i2res = icall(); return i2res; } -void UnityEngine_Camera_CopyStereoDeviceProjectionMatrixToNonJittered(MonoObject* thiz, int32_t eye) +void UnityEngine_QualitySettings_set_softParticles(bool value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t eye); + typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::CopyStereoDeviceProjectionMatrixToNonJittered"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,eye); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_softParticles"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_softParticles func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_ResetStereoProjectionMatrices(MonoObject* thiz) +bool UnityEngine_QualitySettings_get_softVegetation() { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ResetStereoProjectionMatrices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_softVegetation"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_softVegetation func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; } -void UnityEngine_Camera_ResetStereoViewMatrices(MonoObject* thiz) +void UnityEngine_QualitySettings_set_softVegetation(bool value) { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ResetStereoViewMatrices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_softVegetation"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_softVegetation func not found"); + return; + } + } + icall(value); } -int32_t UnityEngine_Camera_GetAllCamerasCount() +int32_t UnityEngine_QualitySettings_get_vSyncCount() { typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetAllCamerasCount"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_vSyncCount"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_vSyncCount func not found"); + return 0; + } + } int32_t i2res = icall(); return i2res; } -int32_t UnityEngine_Camera_GetAllCamerasImpl(MonoArray* cam) +void UnityEngine_QualitySettings_set_vSyncCount(int32_t value) { - typedef int32_t (* ICallMethod) (Il2CppArray* cam); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetAllCamerasImpl"); - Il2CppArray* i2cam = get_il2cpp_array(cam); - int32_t i2res = icall(i2cam); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_vSyncCount"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_vSyncCount func not found"); + return; + } + } + icall(value); } -bool UnityEngine_Camera_RenderToCubemapImpl(MonoObject* thiz, MonoObject* tex, int32_t faceMask) +int32_t UnityEngine_QualitySettings_get_antiAliasing() { - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* tex, int32_t faceMask); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::RenderToCubemapImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2tex = get_il2cpp_object(tex,il2cpp_get_class_UnityEngine_Texture()); - bool i2res = icall(i2thiz,i2tex,faceMask); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_antiAliasing"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_antiAliasing func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -bool UnityEngine_Camera_RenderToCubemapEyeImpl(MonoObject* thiz, MonoObject* cubemap, int32_t faceMask, int32_t stereoEye) +void UnityEngine_QualitySettings_set_antiAliasing(int32_t value) { - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* cubemap, int32_t faceMask, int32_t stereoEye); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::RenderToCubemapEyeImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2cubemap = get_il2cpp_object(cubemap,il2cpp_get_class_UnityEngine_RenderTexture()); - bool i2res = icall(i2thiz,i2cubemap,faceMask,stereoEye); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_antiAliasing"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_antiAliasing func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_Render(MonoObject* thiz) +int32_t UnityEngine_QualitySettings_get_asyncUploadTimeSlice() { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::Render"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_asyncUploadTimeSlice"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_asyncUploadTimeSlice func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Camera_RenderWithShader(MonoObject* thiz, MonoObject* shader, MonoString* replacementTag) +void UnityEngine_QualitySettings_set_asyncUploadTimeSlice(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* shader, Il2CppString* replacementTag); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::RenderWithShader"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - Il2CppString* i2replacementTag = get_il2cpp_string(replacementTag); - icall(i2thiz,i2shader,i2replacementTag); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_asyncUploadTimeSlice"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_asyncUploadTimeSlice func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_RenderDontRestore(MonoObject* thiz) +int32_t UnityEngine_QualitySettings_get_asyncUploadBufferSize() { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::RenderDontRestore"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_asyncUploadBufferSize"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_asyncUploadBufferSize func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Camera_SetupCurrent(MonoObject* cur) +void UnityEngine_QualitySettings_set_asyncUploadBufferSize(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* cur); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::SetupCurrent"); - Il2CppObject* i2cur = get_il2cpp_object(cur,il2cpp_get_class_UnityEngine_Camera()); - icall(i2cur); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_asyncUploadBufferSize"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_asyncUploadBufferSize func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_CopyFrom(MonoObject* thiz, MonoObject* other) +bool UnityEngine_QualitySettings_get_asyncUploadPersistentBuffer() { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* other); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::CopyFrom"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2other = get_il2cpp_object(other,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,i2other); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_asyncUploadPersistentBuffer"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_asyncUploadPersistentBuffer func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; } -int32_t UnityEngine_Camera_get_commandBufferCount(MonoObject* thiz) +void UnityEngine_QualitySettings_set_asyncUploadPersistentBuffer(bool value) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_commandBufferCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_asyncUploadPersistentBuffer"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_asyncUploadPersistentBuffer func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_RemoveCommandBuffers(MonoObject* thiz, int32_t evt) +bool UnityEngine_QualitySettings_get_realtimeReflectionProbes() { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t evt); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::RemoveCommandBuffers"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,evt); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_realtimeReflectionProbes"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_realtimeReflectionProbes func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; } -void UnityEngine_Camera_RemoveAllCommandBuffers(MonoObject* thiz) +void UnityEngine_QualitySettings_set_realtimeReflectionProbes(bool value) { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::RemoveAllCommandBuffers"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_realtimeReflectionProbes"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_realtimeReflectionProbes func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_AddCommandBufferImpl(MonoObject* thiz, int32_t evt, MonoObject* buffer) +bool UnityEngine_QualitySettings_get_billboardsFaceCameraPosition() { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t evt, Il2CppObject* buffer); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::AddCommandBufferImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2buffer = get_il2cpp_object(buffer,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,evt,i2buffer); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_billboardsFaceCameraPosition"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_billboardsFaceCameraPosition func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; } -void UnityEngine_Camera_AddCommandBufferAsyncImpl(MonoObject* thiz, int32_t evt, MonoObject* buffer, int32_t queueType) +void UnityEngine_QualitySettings_set_billboardsFaceCameraPosition(bool value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t evt, Il2CppObject* buffer, int32_t queueType); + typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::AddCommandBufferAsyncImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2buffer = get_il2cpp_object(buffer,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,evt,i2buffer,queueType); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_billboardsFaceCameraPosition"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_billboardsFaceCameraPosition func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_RemoveCommandBufferImpl(MonoObject* thiz, int32_t evt, MonoObject* buffer) +float UnityEngine_QualitySettings_get_resolutionScalingFixedDPIFactor() { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t evt, Il2CppObject* buffer); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::RemoveCommandBufferImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2buffer = get_il2cpp_object(buffer,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,evt,i2buffer); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_resolutionScalingFixedDPIFactor"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_resolutionScalingFixedDPIFactor func not found"); + return 0; + } + } + float i2res = icall(); + return i2res; } -MonoArray* UnityEngine_Camera_GetCommandBuffers(MonoObject* thiz, int32_t evt) +void UnityEngine_QualitySettings_set_resolutionScalingFixedDPIFactor(float value) { - typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz, int32_t evt); + typedef void (* ICallMethod) (float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetCommandBuffers"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - Il2CppArray* i2res = icall(i2thiz,evt); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_resolutionScalingFixedDPIFactor"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_resolutionScalingFixedDPIFactor func not found"); + return; + } + } + icall(value); } -bool UnityEngine_Camera_GetCullingParameters_Internal(MonoObject* camera, bool stereoAware, void * cullingParameters, int32_t managedCullingParametersSize) +int32_t UnityEngine_QualitySettings_get_skinWeights() { - typedef bool (* ICallMethod) (Il2CppObject* camera, bool stereoAware, void * cullingParameters, int32_t managedCullingParametersSize); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetCullingParameters_Internal"); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(i2camera,stereoAware,cullingParameters,managedCullingParametersSize); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_skinWeights"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_skinWeights func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -void UnityEngine_Camera_get_transparencySortAxis_Injected(MonoObject* thiz, void * ret) +void UnityEngine_QualitySettings_set_skinWeights(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_transparencySortAxis_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_skinWeights"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_skinWeights func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_set_transparencySortAxis_Injected(MonoObject* thiz, void * value) +bool UnityEngine_QualitySettings_get_streamingMipmapsActive() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_transparencySortAxis_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_streamingMipmapsActive"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_streamingMipmapsActive func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; } -void UnityEngine_Camera_get_velocity_Injected(MonoObject* thiz, void * ret) +void UnityEngine_QualitySettings_set_streamingMipmapsActive(bool value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_velocity_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_streamingMipmapsActive"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_streamingMipmapsActive func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_get_cullingMatrix_Injected(MonoObject* thiz, void * ret) +float UnityEngine_QualitySettings_get_streamingMipmapsMemoryBudget() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_cullingMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_streamingMipmapsMemoryBudget"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_streamingMipmapsMemoryBudget func not found"); + return 0; + } + } + float i2res = icall(); + return i2res; } -void UnityEngine_Camera_set_cullingMatrix_Injected(MonoObject* thiz, void * value) +void UnityEngine_QualitySettings_set_streamingMipmapsMemoryBudget(float value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef void (* ICallMethod) (float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_cullingMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_streamingMipmapsMemoryBudget"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_streamingMipmapsMemoryBudget func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_get_backgroundColor_Injected(MonoObject* thiz, void * ret) +int32_t UnityEngine_QualitySettings_get_streamingMipmapsRenderersPerFrame() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_backgroundColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_streamingMipmapsRenderersPerFrame"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_streamingMipmapsRenderersPerFrame func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Camera_set_backgroundColor_Injected(MonoObject* thiz, void * value) +void UnityEngine_QualitySettings_set_streamingMipmapsRenderersPerFrame(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_backgroundColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_streamingMipmapsRenderersPerFrame"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_streamingMipmapsRenderersPerFrame func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_get_sensorSize_Injected(MonoObject* thiz, void * ret) +int32_t UnityEngine_QualitySettings_get_streamingMipmapsMaxLevelReduction() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_sensorSize_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_streamingMipmapsMaxLevelReduction"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_streamingMipmapsMaxLevelReduction func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Camera_set_sensorSize_Injected(MonoObject* thiz, void * value) +void UnityEngine_QualitySettings_set_streamingMipmapsMaxLevelReduction(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_sensorSize_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_streamingMipmapsMaxLevelReduction"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_streamingMipmapsMaxLevelReduction func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_get_lensShift_Injected(MonoObject* thiz, void * ret) +bool UnityEngine_QualitySettings_get_streamingMipmapsAddAllCameras() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_lensShift_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_streamingMipmapsAddAllCameras"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_streamingMipmapsAddAllCameras func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; } -void UnityEngine_Camera_set_lensShift_Injected(MonoObject* thiz, void * value) +void UnityEngine_QualitySettings_set_streamingMipmapsAddAllCameras(bool value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_lensShift_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_streamingMipmapsAddAllCameras"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_streamingMipmapsAddAllCameras func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_GetGateFittedLensShift_Injected(MonoObject* thiz, void * ret) +int32_t UnityEngine_QualitySettings_get_streamingMipmapsMaxFileIORequests() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetGateFittedLensShift_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_streamingMipmapsMaxFileIORequests"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_streamingMipmapsMaxFileIORequests func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Camera_GetLocalSpaceAim_Injected(MonoObject* thiz, void * ret) +void UnityEngine_QualitySettings_set_streamingMipmapsMaxFileIORequests(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetLocalSpaceAim_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_streamingMipmapsMaxFileIORequests"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_streamingMipmapsMaxFileIORequests func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_get_rect_Injected(MonoObject* thiz, void * ret) +int32_t UnityEngine_QualitySettings_get_maxQueuedFrames() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_rect_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_maxQueuedFrames"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_maxQueuedFrames func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Camera_set_rect_Injected(MonoObject* thiz, void * value) +void UnityEngine_QualitySettings_set_maxQueuedFrames(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_rect_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_maxQueuedFrames"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::set_maxQueuedFrames func not found"); + return; + } + } + icall(value); } -void UnityEngine_Camera_get_pixelRect_Injected(MonoObject* thiz, void * ret) +MonoArray* UnityEngine_QualitySettings_get_names() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef Il2CppArray* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_pixelRect_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_names"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_names func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.QualitySettings::get_names fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Camera_set_pixelRect_Injected(MonoObject* thiz, void * value) +int32_t UnityEngine_QualitySettings_get_desiredColorSpace() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_pixelRect_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_desiredColorSpace"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_desiredColorSpace func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Camera_SetTargetBuffersImpl_Injected(MonoObject* thiz, void * color, void * depth) +int32_t UnityEngine_QualitySettings_get_activeColorSpace() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * color, void * depth); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::SetTargetBuffersImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,color,depth); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_activeColorSpace"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::get_activeColorSpace func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Camera_SetTargetBuffersMRTImpl_Injected(MonoObject* thiz, void* color, void * depth) +int32_t UnityEngine_QualitySettings_GetQualityLevel() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void* color, void * depth); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::SetTargetBuffersMRTImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,color,depth); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::GetQualityLevel"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::GetQualityLevel func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Camera_get_cameraToWorldMatrix_Injected(MonoObject* thiz, void * ret) +void UnityEngine_QualitySettings_SetQualityLevel(int32_t index, bool applyExpensiveChanges) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef void (* ICallMethod) (int32_t index, bool applyExpensiveChanges); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_cameraToWorldMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::SetQualityLevel"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::SetQualityLevel func not found"); + return; + } + } + icall(index,applyExpensiveChanges); } -void UnityEngine_Camera_get_worldToCameraMatrix_Injected(MonoObject* thiz, void * ret) +void UnityEngine_QualitySettings_SetLODSettings(float lodBias, int32_t maximumLODLevel, bool setDirty) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef void (* ICallMethod) (float lodBias, int32_t maximumLODLevel, bool setDirty); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_worldToCameraMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::SetLODSettings"); + if(!icall) + { + platform_log("UnityEngine.QualitySettings::SetLODSettings func not found"); + return; + } + } + icall(lodBias,maximumLODLevel,setDirty); } -void UnityEngine_Camera_set_worldToCameraMatrix_Injected(MonoObject* thiz, void * value) +void UnityEngine_Vector3_Slerp_Injected(void * a, void * b, float t, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef void (* ICallMethod) (void * a, void * b, float t, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_worldToCameraMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Vector3::Slerp_Injected"); + if(!icall) + { + platform_log("UnityEngine.Vector3::Slerp_Injected func not found"); + return; + } + } + icall(a,b,t,ret); } -void UnityEngine_Camera_get_projectionMatrix_Injected(MonoObject* thiz, void * ret) +bool UnityEngine_SystemInfo_IsFormatSupported(int32_t format, int32_t usage) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef bool (* ICallMethod) (int32_t format, int32_t usage); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_projectionMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::IsFormatSupported"); + if(!icall) + { + platform_log("UnityEngine.SystemInfo::IsFormatSupported func not found"); + return 0; + } + } + bool i2res = icall(format,usage); + return i2res; } -void UnityEngine_Camera_set_projectionMatrix_Injected(MonoObject* thiz, void * value) +int32_t UnityEngine_SystemInfo_GetCompatibleFormat(int32_t format, int32_t usage) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef int32_t (* ICallMethod) (int32_t format, int32_t usage); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_projectionMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetCompatibleFormat"); + if(!icall) + { + platform_log("UnityEngine.SystemInfo::GetCompatibleFormat func not found"); + return 0; + } + } + int32_t i2res = icall(format,usage); + return i2res; } -void UnityEngine_Camera_get_nonJitteredProjectionMatrix_Injected(MonoObject* thiz, void * ret) +int32_t UnityEngine_SystemInfo_GetGraphicsFormat(int32_t format) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef int32_t (* ICallMethod) (int32_t format); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_nonJitteredProjectionMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetGraphicsFormat"); + if(!icall) + { + platform_log("UnityEngine.SystemInfo::GetGraphicsFormat func not found"); + return 0; + } + } + int32_t i2res = icall(format); + return i2res; } -void UnityEngine_Camera_set_nonJitteredProjectionMatrix_Injected(MonoObject* thiz, void * value) +void UnityEngine_Matrix4x4_TRS_Injected(void * pos, void * q, void * s, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef void (* ICallMethod) (void * pos, void * q, void * s, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_nonJitteredProjectionMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::TRS_Injected"); + if(!icall) + { + platform_log("UnityEngine.Matrix4x4::TRS_Injected func not found"); + return; + } + } + icall(pos,q,s,ret); } -void UnityEngine_Camera_get_previousViewProjectionMatrix_Injected(MonoObject* thiz, void * ret) +bool UnityEngine_Matrix4x4_Inverse3DAffine_Injected(void * input, void * result) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef bool (* ICallMethod) (void * input, void * result); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_previousViewProjectionMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::Inverse3DAffine_Injected"); + if(!icall) + { + platform_log("UnityEngine.Matrix4x4::Inverse3DAffine_Injected func not found"); + return 0; + } + } + bool i2res = icall(input,result); + return i2res; } -void UnityEngine_Camera_CalculateObliqueMatrix_Injected(MonoObject* thiz, void * clipPlane, void * ret) +void UnityEngine_Matrix4x4_Inverse_Injected(void * m, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * clipPlane, void * ret); + typedef void (* ICallMethod) (void * m, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::CalculateObliqueMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,clipPlane,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::Inverse_Injected"); + if(!icall) + { + platform_log("UnityEngine.Matrix4x4::Inverse_Injected func not found"); + return; + } + } + icall(m,ret); } -void UnityEngine_Camera_WorldToScreenPoint_Injected(MonoObject* thiz, void * position, int32_t eye, void * ret) +void UnityEngine_Matrix4x4_Perspective_Injected(float fov, float aspect, float zNear, float zFar, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, int32_t eye, void * ret); + typedef void (* ICallMethod) (float fov, float aspect, float zNear, float zFar, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::WorldToScreenPoint_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,position,eye,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::Perspective_Injected"); + if(!icall) + { + platform_log("UnityEngine.Matrix4x4::Perspective_Injected func not found"); + return; + } + } + icall(fov,aspect,zNear,zFar,ret); } -void UnityEngine_Camera_WorldToViewportPoint_Injected(MonoObject* thiz, void * position, int32_t eye, void * ret) +void UnityEngine_Quaternion_FromToRotation_Injected(void * fromDirection, void * toDirection, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, int32_t eye, void * ret); + typedef void (* ICallMethod) (void * fromDirection, void * toDirection, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::WorldToViewportPoint_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,position,eye,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::FromToRotation_Injected"); + if(!icall) + { + platform_log("UnityEngine.Quaternion::FromToRotation_Injected func not found"); + return; + } + } + icall(fromDirection,toDirection,ret); } -void UnityEngine_Camera_ViewportToWorldPoint_Injected(MonoObject* thiz, void * position, int32_t eye, void * ret) +void UnityEngine_Quaternion_Inverse_Injected_1(void * rotation, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, int32_t eye, void * ret); + typedef void (* ICallMethod) (void * rotation, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ViewportToWorldPoint_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,position,eye,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::Inverse_Injected"); + if(!icall) + { + platform_log("UnityEngine.Quaternion::Inverse_Injected func not found"); + return; + } + } + icall(rotation,ret); } -void UnityEngine_Camera_ScreenToWorldPoint_Injected(MonoObject* thiz, void * position, int32_t eye, void * ret) +void UnityEngine_Quaternion_Slerp_Injected_1(void * a, void * b, float t, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, int32_t eye, void * ret); + typedef void (* ICallMethod) (void * a, void * b, float t, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ScreenToWorldPoint_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,position,eye,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::Slerp_Injected"); + if(!icall) + { + platform_log("UnityEngine.Quaternion::Slerp_Injected func not found"); + return; + } + } + icall(a,b,t,ret); } -void UnityEngine_Camera_ScreenToViewportPoint_Injected(MonoObject* thiz, void * position, void * ret) +void UnityEngine_Quaternion_Lerp_Injected(void * a, void * b, float t, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, void * ret); + typedef void (* ICallMethod) (void * a, void * b, float t, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ScreenToViewportPoint_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,position,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::Lerp_Injected"); + if(!icall) + { + platform_log("UnityEngine.Quaternion::Lerp_Injected func not found"); + return; + } + } + icall(a,b,t,ret); } -void UnityEngine_Camera_ViewportToScreenPoint_Injected(MonoObject* thiz, void * position, void * ret) +void UnityEngine_Quaternion_Internal_FromEulerRad_Injected(void * euler, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, void * ret); + typedef void (* ICallMethod) (void * euler, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ViewportToScreenPoint_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,position,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::Internal_FromEulerRad_Injected"); + if(!icall) + { + platform_log("UnityEngine.Quaternion::Internal_FromEulerRad_Injected func not found"); + return; + } + } + icall(euler,ret); } -void UnityEngine_Camera_GetFrustumPlaneSizeAt_Injected(MonoObject* thiz, float distance, void * ret) +void UnityEngine_Quaternion_Internal_ToEulerRad_Injected(void * rotation, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, float distance, void * ret); + typedef void (* ICallMethod) (void * rotation, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetFrustumPlaneSizeAt_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,distance,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::Internal_ToEulerRad_Injected"); + if(!icall) + { + platform_log("UnityEngine.Quaternion::Internal_ToEulerRad_Injected func not found"); + return; + } + } + icall(rotation,ret); } -void UnityEngine_Camera_ViewportPointToRay_Injected(MonoObject* thiz, void * pos, int32_t eye, void * ret) +void UnityEngine_Quaternion_AngleAxis_Injected(float angle, void * axis, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * pos, int32_t eye, void * ret); + typedef void (* ICallMethod) (float angle, void * axis, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ViewportPointToRay_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,pos,eye,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::AngleAxis_Injected"); + if(!icall) + { + platform_log("UnityEngine.Quaternion::AngleAxis_Injected func not found"); + return; + } + } + icall(angle,axis,ret); } -void UnityEngine_Camera_ScreenPointToRay_Injected(MonoObject* thiz, void * pos, int32_t eye, void * ret) +void UnityEngine_Quaternion_LookRotation_Injected(void * forward, void * upwards, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * pos, int32_t eye, void * ret); + typedef void (* ICallMethod) (void * forward, void * upwards, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::ScreenPointToRay_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,pos,eye,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::LookRotation_Injected"); + if(!icall) + { + platform_log("UnityEngine.Quaternion::LookRotation_Injected func not found"); + return; + } + } + icall(forward,upwards,ret); } -void UnityEngine_Camera_CalculateFrustumCornersInternal_Injected(MonoObject* thiz, void * viewport, float z, int32_t eye, void* outCorners) +int32_t UnityEngine_Object_get_hideFlags(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * viewport, float z, int32_t eye, void* outCorners); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::CalculateFrustumCornersInternal_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,viewport,z,eye,outCorners); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::get_hideFlags"); + if(!icall) + { + platform_log("UnityEngine.Object::get_hideFlags func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Object()); + int32_t i2res = icall(i2thiz); + return i2res; } -void UnityEngine_Camera_CalculateProjectionMatrixFromPhysicalPropertiesInternal_Injected(void * output, float focalLength, void * sensorSize, void * lensShift, float nearClip, float farClip, float gateAspect, int32_t gateFitMode) +void UnityEngine_Object_set_hideFlags(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (void * output, float focalLength, void * sensorSize, void * lensShift, float nearClip, float farClip, float gateAspect, int32_t gateFitMode); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::CalculateProjectionMatrixFromPhysicalPropertiesInternal_Injected"); - icall(output,focalLength,sensorSize,lensShift,nearClip,farClip,gateAspect,gateFitMode); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::set_hideFlags"); + if(!icall) + { + platform_log("UnityEngine.Object::set_hideFlags func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Object()); + icall(i2thiz,value); } -void UnityEngine_Camera_get_scene_Injected(MonoObject* thiz, void * ret) +MonoObject* UnityEngine_Object_Internal_CloneSingle(MonoObject* data) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* data); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::get_scene_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::Internal_CloneSingle"); + if(!icall) + { + platform_log("UnityEngine.Object::Internal_CloneSingle func not found"); + return NULL; + } + } + Il2CppObject* i2data = get_il2cpp_object(data,il2cpp_get_class_UnityEngine_Object()); + Il2CppObject* i2res = icall(i2data); + MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Object::Internal_CloneSingle fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Camera_set_scene_Injected(MonoObject* thiz, void * value) +MonoString* UnityEngine_Object_ToString(MonoObject* obj) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef Il2CppString* (* ICallMethod) (Il2CppObject* obj); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::set_scene_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::ToString"); + if(!icall) + { + platform_log("UnityEngine.Object::ToString func not found"); + return NULL; + } + } + Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); + Il2CppString* i2res = icall(i2obj); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Object::ToString fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Camera_GetStereoNonJitteredProjectionMatrix_Injected(MonoObject* thiz, int32_t eye, void * ret) +MonoObject* UnityEngine_Object_FindObjectFromInstanceID(int32_t instanceID) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t eye, void * ret); + typedef Il2CppObject* (* ICallMethod) (int32_t instanceID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetStereoNonJitteredProjectionMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,eye,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::FindObjectFromInstanceID"); + if(!icall) + { + platform_log("UnityEngine.Object::FindObjectFromInstanceID func not found"); + return NULL; + } + } + Il2CppObject* i2res = icall(instanceID); + MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Object::FindObjectFromInstanceID fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Camera_GetStereoViewMatrix_Injected(MonoObject* thiz, int32_t eye, void * ret) +void UnityEngine_Object_Destroy(MonoObject* obj, float t) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t eye, void * ret); + typedef void (* ICallMethod) (Il2CppObject* obj, float t); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetStereoViewMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,eye,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::Destroy"); + if(!icall) + { + platform_log("UnityEngine.Object::Destroy func not found"); + return; + } + } + Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); + icall(i2obj,t); } -void UnityEngine_Camera_GetStereoProjectionMatrix_Injected(MonoObject* thiz, int32_t eye, void * ret) +void UnityEngine_Object_DestroyImmediate(MonoObject* obj, bool allowDestroyingAssets) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t eye, void * ret); + typedef void (* ICallMethod) (Il2CppObject* obj, bool allowDestroyingAssets); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::GetStereoProjectionMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,eye,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::DestroyImmediate"); + if(!icall) + { + platform_log("UnityEngine.Object::DestroyImmediate func not found"); + return; + } + } + Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); + icall(i2obj,allowDestroyingAssets); } -void UnityEngine_Camera_SetStereoProjectionMatrix_Injected(MonoObject* thiz, int32_t eye, void * matrix) +MonoArray* UnityEngine_Object_FindObjectsOfType(MonoReflectionType* type, bool includeInactive) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t eye, void * matrix); + typedef Il2CppArray* (* ICallMethod) (Il2CppReflectionType* type, bool includeInactive); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::SetStereoProjectionMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,eye,matrix); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::FindObjectsOfType"); + if(!icall) + { + platform_log("UnityEngine.Object::FindObjectsOfType func not found"); + return NULL; + } + } + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + Il2CppArray* i2res = icall(i2type,includeInactive); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Object::FindObjectsOfType fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Camera_SetStereoViewMatrix_Injected(MonoObject* thiz, int32_t eye, void * matrix) +void UnityEngine_Object_DontDestroyOnLoad(MonoObject* target) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t eye, void * matrix); + typedef void (* ICallMethod) (Il2CppObject* target); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Camera::SetStereoViewMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,eye,matrix); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::DontDestroyOnLoad"); + if(!icall) + { + platform_log("UnityEngine.Object::DontDestroyOnLoad func not found"); + return; + } + } + Il2CppObject* i2target = get_il2cpp_object(target,il2cpp_get_class_UnityEngine_Object()); + icall(i2target); } -void UnityEngine_CullingGroup_DisposeInternal(MonoObject* thiz) +int32_t UnityEngine_Transform_get_childCount(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::DisposeInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_childCount"); + if(!icall) + { + platform_log("UnityEngine.Transform::get_childCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + int32_t i2res = icall(i2thiz); + return i2res; } -bool UnityEngine_CullingGroup_get_enabled(MonoObject* thiz) +bool UnityEngine_Transform_get_hasChanged(MonoObject* thiz) { typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::get_enabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_hasChanged"); + if(!icall) + { + platform_log("UnityEngine.Transform::get_hasChanged func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_CullingGroup_set_enabled(MonoObject* thiz, bool value) +void UnityEngine_Transform_set_hasChanged(MonoObject* thiz, bool value) { typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::set_enabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::set_hasChanged"); + if(!icall) + { + platform_log("UnityEngine.Transform::set_hasChanged func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); icall(i2thiz,value); } -MonoObject* UnityEngine_CullingGroup_get_targetCamera(MonoObject* thiz) +MonoObject* UnityEngine_Transform_GetParent(MonoObject* thiz) { typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::get_targetCamera"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::GetParent"); + if(!icall) + { + platform_log("UnityEngine.Transform::GetParent func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Camera()); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Transform::GetParent fail to convert il2cpp obj to mono"); + } return monoi2res; } -void UnityEngine_CullingGroup_set_targetCamera(MonoObject* thiz, MonoObject* value) +void UnityEngine_Transform_SetParent(MonoObject* thiz, MonoObject* parent, bool worldPositionStays) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* parent, bool worldPositionStays); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::set_targetCamera"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::SetParent"); + if(!icall) + { + platform_log("UnityEngine.Transform::SetParent func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + Il2CppObject* i2parent = get_il2cpp_object(parent,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,i2parent,worldPositionStays); } -void UnityEngine_CullingGroup_SetBoundingSpheres(MonoObject* thiz, void* array) +MonoObject* UnityEngine_Transform_GetRoot(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void* array); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::SetBoundingSpheres"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); - icall(i2thiz,array); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::GetRoot"); + if(!icall) + { + platform_log("UnityEngine.Transform::GetRoot func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Transform::GetRoot fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_CullingGroup_SetBoundingSphereCount(MonoObject* thiz, int32_t count) +void UnityEngine_Transform_SetAsFirstSibling(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t count); + typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::SetBoundingSphereCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); - icall(i2thiz,count); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::SetAsFirstSibling"); + if(!icall) + { + platform_log("UnityEngine.Transform::SetAsFirstSibling func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz); } -void UnityEngine_CullingGroup_EraseSwapBack(MonoObject* thiz, int32_t index) +MonoObject* UnityEngine_Transform_FindRelativeTransformWithPath(MonoObject* transform, MonoString* path, bool isActiveOnly) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* transform, Il2CppString* path, bool isActiveOnly); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::EraseSwapBack"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); - icall(i2thiz,index); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::FindRelativeTransformWithPath"); + if(!icall) + { + platform_log("UnityEngine.Transform::FindRelativeTransformWithPath func not found"); + return NULL; + } + } + Il2CppObject* i2transform = get_il2cpp_object(transform,il2cpp_get_class_UnityEngine_Transform()); + Il2CppString* i2path = get_il2cpp_string(path); + Il2CppObject* i2res = icall(i2transform,i2path,isActiveOnly); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Transform::FindRelativeTransformWithPath fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t UnityEngine_CullingGroup_QueryIndices(MonoObject* thiz, bool visible, int32_t distanceIndex, int32_t options, void* result, int32_t firstIndex) +bool UnityEngine_Transform_IsChildOf(MonoObject* thiz, MonoObject* parent) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, bool visible, int32_t distanceIndex, int32_t options, void* result, int32_t firstIndex); + typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* parent); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::QueryIndices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); - int32_t i2res = icall(i2thiz,visible,distanceIndex,options,result,firstIndex); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::IsChildOf"); + if(!icall) + { + platform_log("UnityEngine.Transform::IsChildOf func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + Il2CppObject* i2parent = get_il2cpp_object(parent,il2cpp_get_class_UnityEngine_Transform()); + bool i2res = icall(i2thiz,i2parent); return i2res; } -bool UnityEngine_CullingGroup_IsVisible(MonoObject* thiz, int32_t index) +MonoObject* UnityEngine_Transform_GetChild(MonoObject* thiz, int32_t index) { - typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t index); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::IsVisible"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); - bool i2res = icall(i2thiz,index); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::GetChild"); + if(!icall) + { + platform_log("UnityEngine.Transform::GetChild func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + Il2CppObject* i2res = icall(i2thiz,index); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Transform::GetChild fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t UnityEngine_CullingGroup_GetDistance(MonoObject* thiz, int32_t index) +void UnityEngine_Transform_get_position_Injected(MonoObject* thiz, void * ret) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t index); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::GetDistance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); - int32_t i2res = icall(i2thiz,index); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_position_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::get_position_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,ret); } -void UnityEngine_CullingGroup_SetBoundingDistances(MonoObject* thiz, void* distances) +void UnityEngine_Transform_set_position_Injected(MonoObject* thiz, void * value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void* distances); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::SetBoundingDistances"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); - icall(i2thiz,distances); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::set_position_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::set_position_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,value); } -void UnityEngine_CullingGroup_SetDistanceReferencePoint_InternalTransform(MonoObject* thiz, MonoObject* transform) +void UnityEngine_Transform_get_localPosition_Injected(MonoObject* thiz, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* transform); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::SetDistanceReferencePoint_InternalTransform"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); - Il2CppObject* i2transform = get_il2cpp_object(transform,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,i2transform); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_localPosition_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::get_localPosition_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,ret); } -void * UnityEngine_CullingGroup_Init(MonoObject* scripting) +void UnityEngine_Transform_set_localPosition_Injected(MonoObject* thiz, void * value) { - typedef void * (* ICallMethod) (Il2CppObject* scripting); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::Init"); - Il2CppObject* i2scripting = get_il2cpp_object(scripting,NULL); - void * i2res = icall(i2scripting); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::set_localPosition_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::set_localPosition_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,value); } -void UnityEngine_CullingGroup_FinalizerFailure(MonoObject* thiz) +void UnityEngine_Transform_get_rotation_Injected(MonoObject* thiz, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::FinalizerFailure"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_rotation_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::get_rotation_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,ret); } -void UnityEngine_CullingGroup_SetDistanceReferencePoint_InternalVector3_Injected(MonoObject* thiz, void * point) +void UnityEngine_Transform_set_rotation_Injected(MonoObject* thiz, void * value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * point); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CullingGroup::SetDistanceReferencePoint_InternalVector3_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CullingGroup()); - icall(i2thiz,point); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::set_rotation_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::set_rotation_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,value); } -int32_t UnityEngine_ReflectionProbe_get_type(MonoObject* thiz) +void UnityEngine_Transform_get_localRotation_Injected(MonoObject* thiz, void * ret) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_type"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_localRotation_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::get_localRotation_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,ret); } -void UnityEngine_ReflectionProbe_set_type(MonoObject* thiz, int32_t value) +void UnityEngine_Transform_set_localRotation_Injected(MonoObject* thiz, void * value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_type"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::set_localRotation_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::set_localRotation_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); icall(i2thiz,value); } -float UnityEngine_ReflectionProbe_get_nearClipPlane_1(MonoObject* thiz) +void UnityEngine_Transform_get_localScale_Injected(MonoObject* thiz, void * ret) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_nearClipPlane"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - float i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_localScale_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::get_localScale_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,ret); } -void UnityEngine_ReflectionProbe_set_nearClipPlane_1(MonoObject* thiz, float value) +void UnityEngine_Transform_set_localScale_Injected(MonoObject* thiz, void * value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_nearClipPlane"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::set_localScale_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::set_localScale_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); icall(i2thiz,value); } -float UnityEngine_ReflectionProbe_get_farClipPlane_1(MonoObject* thiz) +void UnityEngine_Transform_get_worldToLocalMatrix_Injected(MonoObject* thiz, void * ret) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_farClipPlane"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - float i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_worldToLocalMatrix_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::get_worldToLocalMatrix_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,ret); } -void UnityEngine_ReflectionProbe_set_farClipPlane_1(MonoObject* thiz, float value) +void UnityEngine_Transform_get_localToWorldMatrix_Injected(MonoObject* thiz, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_farClipPlane"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_localToWorldMatrix_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::get_localToWorldMatrix_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,ret); } -float UnityEngine_ReflectionProbe_get_intensity(MonoObject* thiz) +void UnityEngine_Transform_SetPositionAndRotation_Injected(MonoObject* thiz, void * position, void * rotation) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, void * rotation); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_intensity"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - float i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::SetPositionAndRotation_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::SetPositionAndRotation_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,position,rotation); } -void UnityEngine_ReflectionProbe_set_intensity(MonoObject* thiz, float value) +void UnityEngine_Transform_Internal_LookAt_Injected(MonoObject* thiz, void * worldPosition, void * worldUp) { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * worldPosition, void * worldUp); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_intensity"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::Internal_LookAt_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::Internal_LookAt_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,worldPosition,worldUp); } -bool UnityEngine_ReflectionProbe_get_hdr(MonoObject* thiz) +void UnityEngine_Transform_TransformDirection_Injected(MonoObject* thiz, void * direction, void * ret) { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * direction, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_hdr"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - bool i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::TransformDirection_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::TransformDirection_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,direction,ret); } -void UnityEngine_ReflectionProbe_set_hdr(MonoObject* thiz, bool value) +void UnityEngine_Transform_InverseTransformDirection_Injected(MonoObject* thiz, void * direction, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * direction, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_hdr"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::InverseTransformDirection_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::InverseTransformDirection_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,direction,ret); } -float UnityEngine_ReflectionProbe_get_shadowDistance(MonoObject* thiz) +void UnityEngine_Transform_TransformPoint_Injected(MonoObject* thiz, void * position, void * ret) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_shadowDistance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - float i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::TransformPoint_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::TransformPoint_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,position,ret); } -void UnityEngine_ReflectionProbe_set_shadowDistance(MonoObject* thiz, float value) +void UnityEngine_Transform_InverseTransformPoint_Injected(MonoObject* thiz, void * position, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_shadowDistance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::InverseTransformPoint_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::InverseTransformPoint_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,position,ret); } -int32_t UnityEngine_ReflectionProbe_get_resolution(MonoObject* thiz) +void UnityEngine_Transform_get_lossyScale_Injected(MonoObject* thiz, void * ret) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_resolution"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_lossyScale_Injected"); + if(!icall) + { + platform_log("UnityEngine.Transform::get_lossyScale_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,ret); } -void UnityEngine_ReflectionProbe_set_resolution(MonoObject* thiz, int32_t value) +MonoObject* UnityEngine_Component_get_transform(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_resolution"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::get_transform"); + if(!icall) + { + platform_log("UnityEngine.Component::get_transform func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Component()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Component::get_transform fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t UnityEngine_ReflectionProbe_get_cullingMask_1(MonoObject* thiz) +MonoObject* UnityEngine_Component_get_gameObject(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_cullingMask"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::get_gameObject"); + if(!icall) + { + platform_log("UnityEngine.Component::get_gameObject func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Component()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_GameObject()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Component::get_gameObject fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_ReflectionProbe_set_cullingMask_1(MonoObject* thiz, int32_t value) +void UnityEngine_Component_GetComponentsForListInternal(MonoObject* thiz, MonoReflectionType* searchType, MonoObject* resultList) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppReflectionType* searchType, Il2CppObject* resultList); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_cullingMask"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::GetComponentsForListInternal"); + if(!icall) + { + platform_log("UnityEngine.Component::GetComponentsForListInternal func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Component()); + Il2CppReflectionType* i2searchType = get_il2cpp_reflection_type(searchType); + Il2CppObject* i2resultList = get_il2cpp_object(resultList,NULL); + icall(i2thiz,i2searchType,i2resultList); } -int32_t UnityEngine_ReflectionProbe_get_clearFlags_1(MonoObject* thiz) +void UnityEngine_Component_SendMessage(MonoObject* thiz, MonoString* methodName, MonoObject* value, int32_t options) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName, Il2CppObject* value, int32_t options); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_clearFlags"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::SendMessage"); + if(!icall) + { + platform_log("UnityEngine.Component::SendMessage func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Component()); + Il2CppString* i2methodName = get_il2cpp_string(methodName); + Il2CppObject* i2value = get_il2cpp_object(value,NULL); + icall(i2thiz,i2methodName,i2value,options); } -void UnityEngine_ReflectionProbe_set_clearFlags_1(MonoObject* thiz, int32_t value) +void UnityEngine_Component_BroadcastMessage(MonoObject* thiz, MonoString* methodName, MonoObject* parameter, int32_t options) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName, Il2CppObject* parameter, int32_t options); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_clearFlags"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::BroadcastMessage"); + if(!icall) + { + platform_log("UnityEngine.Component::BroadcastMessage func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Component()); + Il2CppString* i2methodName = get_il2cpp_string(methodName); + Il2CppObject* i2parameter = get_il2cpp_object(parameter,NULL); + icall(i2thiz,i2methodName,i2parameter,options); } -float UnityEngine_ReflectionProbe_get_blendDistance(MonoObject* thiz) +MonoObject* UnityEngine_GameObject_get_transform_1(MonoObject* thiz) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_blendDistance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - float i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_transform"); + if(!icall) + { + platform_log("UnityEngine.GameObject::get_transform func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.GameObject::get_transform fail to convert il2cpp obj to mono"); + } + return monoi2res; +} +int32_t UnityEngine_GameObject_get_layer(MonoObject* thiz) +{ + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_layer"); + if(!icall) + { + platform_log("UnityEngine.GameObject::get_layer func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_ReflectionProbe_set_blendDistance(MonoObject* thiz, float value) +void UnityEngine_GameObject_set_layer(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_blendDistance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::set_layer"); + if(!icall) + { + platform_log("UnityEngine.GameObject::set_layer func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); icall(i2thiz,value); } -bool UnityEngine_ReflectionProbe_get_boxProjection(MonoObject* thiz) +bool UnityEngine_GameObject_get_active(MonoObject* thiz) { typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_boxProjection"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_active"); + if(!icall) + { + platform_log("UnityEngine.GameObject::get_active func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_ReflectionProbe_set_boxProjection(MonoObject* thiz, bool value) +bool UnityEngine_GameObject_get_activeSelf(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_boxProjection"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_activeSelf"); + if(!icall) + { + platform_log("UnityEngine.GameObject::get_activeSelf func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); + bool i2res = icall(i2thiz); + return i2res; } -int32_t UnityEngine_ReflectionProbe_get_mode(MonoObject* thiz) +bool UnityEngine_GameObject_get_activeInHierarchy(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_mode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_activeInHierarchy"); + if(!icall) + { + platform_log("UnityEngine.GameObject::get_activeInHierarchy func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); + bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_ReflectionProbe_set_mode(MonoObject* thiz, int32_t value) +MonoString* UnityEngine_GameObject_get_tag(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_mode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_tag"); + if(!icall) + { + platform_log("UnityEngine.GameObject::get_tag func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); + Il2CppString* i2res = icall(i2thiz); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.GameObject::get_tag fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t UnityEngine_ReflectionProbe_get_importance(MonoObject* thiz) +void UnityEngine_GameObject_set_tag(MonoObject* thiz, MonoString* value) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_importance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::set_tag"); + if(!icall) + { + platform_log("UnityEngine.GameObject::set_tag func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); + Il2CppString* i2value = get_il2cpp_string(value); + icall(i2thiz,i2value); } -void UnityEngine_ReflectionProbe_set_importance(MonoObject* thiz, int32_t value) +MonoObject* UnityEngine_GameObject_GetComponent(MonoObject* thiz, MonoReflectionType* type) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppReflectionType* type); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_importance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::GetComponent"); + if(!icall) + { + platform_log("UnityEngine.GameObject::GetComponent func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + Il2CppObject* i2res = icall(i2thiz,i2type); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Component()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.GameObject::GetComponent fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t UnityEngine_ReflectionProbe_get_refreshMode(MonoObject* thiz) +void UnityEngine_GameObject_TryGetComponentFastPath(MonoObject* thiz, MonoReflectionType* type, void * oneFurtherThanResultValue) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppReflectionType* type, void * oneFurtherThanResultValue); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_refreshMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::TryGetComponentFastPath"); + if(!icall) + { + platform_log("UnityEngine.GameObject::TryGetComponentFastPath func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + icall(i2thiz,i2type,oneFurtherThanResultValue); } -void UnityEngine_ReflectionProbe_set_refreshMode(MonoObject* thiz, int32_t value) +void UnityEngine_GameObject_SetActive(MonoObject* thiz, bool value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_refreshMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::SetActive"); + if(!icall) + { + platform_log("UnityEngine.GameObject::SetActive func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); icall(i2thiz,value); } -int32_t UnityEngine_ReflectionProbe_get_timeSlicingMode(MonoObject* thiz) +bool UnityEngine_GameObject_CompareTag(MonoObject* thiz, MonoString* tag) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppString* tag); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_timeSlicingMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::CompareTag"); + if(!icall) + { + platform_log("UnityEngine.GameObject::CompareTag func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); + Il2CppString* i2tag = get_il2cpp_string(tag); + bool i2res = icall(i2thiz,i2tag); return i2res; } -void UnityEngine_ReflectionProbe_set_timeSlicingMode(MonoObject* thiz, int32_t value) +void UnityEngine_GameObject_SendMessage_1(MonoObject* thiz, MonoString* methodName, MonoObject* value, int32_t options) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName, Il2CppObject* value, int32_t options); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_timeSlicingMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::SendMessage"); + if(!icall) + { + platform_log("UnityEngine.GameObject::SendMessage func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); + Il2CppString* i2methodName = get_il2cpp_string(methodName); + Il2CppObject* i2value = get_il2cpp_object(value,NULL); + icall(i2thiz,i2methodName,i2value,options); } -MonoObject* UnityEngine_ReflectionProbe_get_bakedTexture(MonoObject* thiz) +void UnityEngine_GameObject_BroadcastMessage_1(MonoObject* thiz, MonoString* methodName, MonoObject* parameter, int32_t options) { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName, Il2CppObject* parameter, int32_t options); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_bakedTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::BroadcastMessage"); + if(!icall) + { + platform_log("UnityEngine.GameObject::BroadcastMessage func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); + Il2CppString* i2methodName = get_il2cpp_string(methodName); + Il2CppObject* i2parameter = get_il2cpp_object(parameter,NULL); + icall(i2thiz,i2methodName,i2parameter,options); } -void UnityEngine_ReflectionProbe_set_bakedTexture(MonoObject* thiz, MonoObject* value) +void UnityEngine_GameObject_Internal_CreateGameObject(MonoObject* self, MonoString* name) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); + typedef void (* ICallMethod) (Il2CppObject* self, Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_bakedTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::Internal_CreateGameObject"); + if(!icall) + { + platform_log("UnityEngine.GameObject::Internal_CreateGameObject func not found"); + return; + } + } + Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_GameObject()); + Il2CppString* i2name = get_il2cpp_string(name); + icall(i2self,i2name); } -MonoObject* UnityEngine_ReflectionProbe_get_customBakedTexture(MonoObject* thiz) +MonoObject* UnityEngine_GameObject_Find(MonoString* name) { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); + typedef Il2CppObject* (* ICallMethod) (Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_customBakedTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::Find"); + if(!icall) + { + platform_log("UnityEngine.GameObject::Find func not found"); + return NULL; + } + } + Il2CppString* i2name = get_il2cpp_string(name); + Il2CppObject* i2res = icall(i2name); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_GameObject()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.GameObject::Find fail to convert il2cpp obj to mono"); + } return monoi2res; } -void UnityEngine_ReflectionProbe_set_customBakedTexture(MonoObject* thiz, MonoObject* value) +bool UnityEngine_Behaviour_get_enabled(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_customBakedTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Behaviour::get_enabled"); + if(!icall) + { + platform_log("UnityEngine.Behaviour::get_enabled func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Behaviour()); + bool i2res = icall(i2thiz); + return i2res; } -MonoObject* UnityEngine_ReflectionProbe_get_realtimeTexture(MonoObject* thiz) +void UnityEngine_Behaviour_set_enabled(MonoObject* thiz, bool value) { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_realtimeTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_RenderTexture()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Behaviour::set_enabled"); + if(!icall) + { + platform_log("UnityEngine.Behaviour::set_enabled func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Behaviour()); + icall(i2thiz,value); } -void UnityEngine_ReflectionProbe_set_realtimeTexture(MonoObject* thiz, MonoObject* value) +bool UnityEngine_Behaviour_get_isActiveAndEnabled(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_realtimeTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Behaviour::get_isActiveAndEnabled"); + if(!icall) + { + platform_log("UnityEngine.Behaviour::get_isActiveAndEnabled func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Behaviour()); + bool i2res = icall(i2thiz); + return i2res; } -MonoObject* UnityEngine_ReflectionProbe_get_texture(MonoObject* thiz) +void UnityEngine_DebugLogHandler_Internal_Log(int32_t level, int32_t options, MonoString* msg, MonoObject* obj) { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (int32_t level, int32_t options, Il2CppString* msg, Il2CppObject* obj); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_texture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DebugLogHandler::Internal_Log"); + if(!icall) + { + platform_log("UnityEngine.DebugLogHandler::Internal_Log func not found"); + return; + } + } + Il2CppString* i2msg = get_il2cpp_string(msg); + Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); + icall(level,options,i2msg,i2obj); } -void UnityEngine_ReflectionProbe_Reset_1(MonoObject* thiz) +void UnityEngine_DebugLogHandler_Internal_LogException(MonoObject* ex, MonoObject* obj) { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* ex, Il2CppObject* obj); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::Reset"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DebugLogHandler::Internal_LogException"); + if(!icall) + { + platform_log("UnityEngine.DebugLogHandler::Internal_LogException func not found"); + return; + } + } + Il2CppObject* i2ex = get_il2cpp_object(ex,NULL); + Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); + icall(i2ex,i2obj); } -bool UnityEngine_ReflectionProbe_IsFinishedRendering(MonoObject* thiz, int32_t renderId) +bool UnityEngine_Debug_get_isDebugBuild() { - typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t renderId); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::IsFinishedRendering"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - bool i2res = icall(i2thiz,renderId); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::get_isDebugBuild"); + if(!icall) + { + platform_log("UnityEngine.Debug::get_isDebugBuild func not found"); + return 0; + } + } + bool i2res = icall(); return i2res; } -int32_t UnityEngine_ReflectionProbe_ScheduleRender(MonoObject* thiz, int32_t timeSlicingMode, MonoObject* targetTexture) +int32_t UnityEngine_Debug_ExtractStackTraceNoAlloc(void * buffer, int32_t bufferMax, MonoString* projectFolder) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t timeSlicingMode, Il2CppObject* targetTexture); + typedef int32_t (* ICallMethod) (void * buffer, int32_t bufferMax, Il2CppString* projectFolder); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::ScheduleRender"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - Il2CppObject* i2targetTexture = get_il2cpp_object(targetTexture,il2cpp_get_class_UnityEngine_RenderTexture()); - int32_t i2res = icall(i2thiz,timeSlicingMode,i2targetTexture); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::ExtractStackTraceNoAlloc"); + if(!icall) + { + platform_log("UnityEngine.Debug::ExtractStackTraceNoAlloc func not found"); + return 0; + } + } + Il2CppString* i2projectFolder = get_il2cpp_string(projectFolder); + int32_t i2res = icall(buffer,bufferMax,i2projectFolder); return i2res; } -bool UnityEngine_ReflectionProbe_BlendCubemap(MonoObject* src, MonoObject* dst, float blend, MonoObject* target) +void UnityEngine_Debug_DrawLine_Injected(void * start, void * end, void * color, float duration, bool depthTest) { - typedef bool (* ICallMethod) (Il2CppObject* src, Il2CppObject* dst, float blend, Il2CppObject* target); + typedef void (* ICallMethod) (void * start, void * end, void * color, float duration, bool depthTest); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::BlendCubemap"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dst = get_il2cpp_object(dst,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2target = get_il2cpp_object(target,il2cpp_get_class_UnityEngine_RenderTexture()); - bool i2res = icall(i2src,i2dst,blend,i2target); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::DrawLine_Injected"); + if(!icall) + { + platform_log("UnityEngine.Debug::DrawLine_Injected func not found"); + return; + } + } + icall(start,end,color,duration,depthTest); } -int32_t UnityEngine_ReflectionProbe_get_minBakedCubemapResolution() +int32_t UnityEngine_RectOffset_get_left(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_minBakedCubemapResolution"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::get_left"); + if(!icall) + { + platform_log("UnityEngine.RectOffset::get_left func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); + int32_t i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_ReflectionProbe_get_maxBakedCubemapResolution() +int32_t UnityEngine_RectOffset_get_right(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_maxBakedCubemapResolution"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::get_right"); + if(!icall) + { + platform_log("UnityEngine.RectOffset::get_right func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); + int32_t i2res = icall(i2thiz); return i2res; } -MonoObject* UnityEngine_ReflectionProbe_get_defaultTexture() +int32_t UnityEngine_RectOffset_get_top(MonoObject* thiz) { - typedef Il2CppObject* (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_defaultTexture"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::get_top"); + if(!icall) + { + platform_log("UnityEngine.RectOffset::get_top func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); + int32_t i2res = icall(i2thiz); + return i2res; } -void UnityEngine_ReflectionProbe_get_size_Injected(MonoObject* thiz, void * ret) +int32_t UnityEngine_RectOffset_get_bottom(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_size_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::get_bottom"); + if(!icall) + { + platform_log("UnityEngine.RectOffset::get_bottom func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); + int32_t i2res = icall(i2thiz); + return i2res; } -void UnityEngine_ReflectionProbe_set_size_Injected(MonoObject* thiz, void * value) +int32_t UnityEngine_RectOffset_get_horizontal(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_size_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::get_horizontal"); + if(!icall) + { + platform_log("UnityEngine.RectOffset::get_horizontal func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); + int32_t i2res = icall(i2thiz); + return i2res; } -void UnityEngine_ReflectionProbe_get_center_Injected(MonoObject* thiz, void * ret) +int32_t UnityEngine_RectOffset_get_vertical(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_center_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::get_vertical"); + if(!icall) + { + platform_log("UnityEngine.RectOffset::get_vertical func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); + int32_t i2res = icall(i2thiz); + return i2res; } -void UnityEngine_ReflectionProbe_set_center_Injected(MonoObject* thiz, void * value) +void UnityEngine_Gizmos_DrawLine_Injected_1(void * from, void * to) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef void (* ICallMethod) (void * from, void * to); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_center_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawLine_Injected"); + if(!icall) + { + platform_log("UnityEngine.Gizmos::DrawLine_Injected func not found"); + return; + } + } + icall(from,to); } -void UnityEngine_ReflectionProbe_get_bounds_Injected(MonoObject* thiz, void * ret) +void UnityEngine_Gizmos_DrawWireSphere_Injected(void * center, float radius) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef void (* ICallMethod) (void * center, float radius); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_bounds_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawWireSphere_Injected"); + if(!icall) + { + platform_log("UnityEngine.Gizmos::DrawWireSphere_Injected func not found"); + return; + } + } + icall(center,radius); } -void UnityEngine_ReflectionProbe_get_backgroundColor_Injected_1(MonoObject* thiz, void * ret) +void UnityEngine_Gizmos_DrawWireCube_Injected(void * center, void * size) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef void (* ICallMethod) (void * center, void * size); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_backgroundColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawWireCube_Injected"); + if(!icall) + { + platform_log("UnityEngine.Gizmos::DrawWireCube_Injected func not found"); + return; + } + } + icall(center,size); } -void UnityEngine_ReflectionProbe_set_backgroundColor_Injected_1(MonoObject* thiz, void * value) +int32_t UnityEngine_Screen_get_width_1() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::set_backgroundColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_width"); + if(!icall) + { + platform_log("UnityEngine.Screen::get_width func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_ReflectionProbe_get_textureHDRDecodeValues_Injected(MonoObject* thiz, void * ret) +int32_t UnityEngine_Screen_get_height_1() { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_textureHDRDecodeValues_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ReflectionProbe()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_height"); + if(!icall) + { + platform_log("UnityEngine.Screen::get_height func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_ReflectionProbe_get_defaultTextureHDRDecodeValues_Injected(void * ret) +float UnityEngine_Screen_get_dpi() { - typedef void (* ICallMethod) (void * ret); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ReflectionProbe::get_defaultTextureHDRDecodeValues_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_dpi"); + if(!icall) + { + platform_log("UnityEngine.Screen::get_dpi func not found"); + return 0; + } + } + float i2res = icall(); + return i2res; } -MonoArray* UnityEngine_CrashReport_GetReports() +int32_t UnityEngine_Screen_get_sleepTimeout() { - typedef Il2CppArray* (* ICallMethod) (); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CrashReport::GetReports"); - Il2CppArray* i2res = icall(); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_sleepTimeout"); + if(!icall) + { + platform_log("UnityEngine.Screen::get_sleepTimeout func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -MonoString* UnityEngine_CrashReport_GetReportData(MonoString* id, void * secondsSinceUnixEpoch) +void UnityEngine_Screen_set_sleepTimeout(int32_t value) { - typedef Il2CppString* (* ICallMethod) (Il2CppString* id, void * secondsSinceUnixEpoch); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CrashReport::GetReportData"); - Il2CppString* i2id = get_il2cpp_string(id); - Il2CppString* i2res = icall(i2id,secondsSinceUnixEpoch); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::set_sleepTimeout"); + if(!icall) + { + platform_log("UnityEngine.Screen::set_sleepTimeout func not found"); + return; + } + } + icall(value); } -bool UnityEngine_CrashReport_RemoveReport(MonoString* id) +bool UnityEngine_Screen_get_fullScreen() { - typedef bool (* ICallMethod) (Il2CppString* id); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CrashReport::RemoveReport"); - Il2CppString* i2id = get_il2cpp_string(id); - bool i2res = icall(i2id); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_fullScreen"); + if(!icall) + { + platform_log("UnityEngine.Screen::get_fullScreen func not found"); + return 0; + } + } + bool i2res = icall(); return i2res; } -void UnityEngine_DebugLogHandler_Internal_Log(int32_t level, int32_t options, MonoString* msg, MonoObject* obj) +void UnityEngine_Screen_set_fullScreen(bool value) { - typedef void (* ICallMethod) (int32_t level, int32_t options, Il2CppString* msg, Il2CppObject* obj); + typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DebugLogHandler::Internal_Log"); - Il2CppString* i2msg = get_il2cpp_string(msg); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); - icall(level,options,i2msg,i2obj); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::set_fullScreen"); + if(!icall) + { + platform_log("UnityEngine.Screen::set_fullScreen func not found"); + return; + } + } + icall(value); } -void UnityEngine_DebugLogHandler_Internal_LogException(MonoObject* exception, MonoObject* obj) +int32_t UnityEngine_Screen_get_fullScreenMode() { - typedef void (* ICallMethod) (Il2CppObject* exception, Il2CppObject* obj); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DebugLogHandler::Internal_LogException"); - Il2CppObject* i2exception = get_il2cpp_object(exception,NULL); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); - icall(i2exception,i2obj); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_fullScreenMode"); + if(!icall) + { + platform_log("UnityEngine.Screen::get_fullScreenMode func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Debug_Break() +void UnityEngine_Screen_set_fullScreenMode(int32_t value) { - typedef void (* ICallMethod) (); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::Break"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::set_fullScreenMode"); + if(!icall) + { + platform_log("UnityEngine.Screen::set_fullScreenMode func not found"); + return; + } + } + icall(value); } -void UnityEngine_Debug_DebugBreak() +void* UnityEngine_Screen_get_cutouts() { - typedef void (* ICallMethod) (); + typedef void* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::DebugBreak"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_cutouts"); + if(!icall) + { + platform_log("UnityEngine.Screen::get_cutouts func not found"); + return NULL; + } + } + void* i2res = icall(); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.Screen::get_cutouts fail to convert il2cpp obj to mono"); + } + return i2res; } -void UnityEngine_Debug_ClearDeveloperConsole() +void* UnityEngine_Screen_get_resolutions() { - typedef void (* ICallMethod) (); + typedef void* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::ClearDeveloperConsole"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_resolutions"); + if(!icall) + { + platform_log("UnityEngine.Screen::get_resolutions func not found"); + return NULL; + } + } + void* i2res = icall(); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.Screen::get_resolutions fail to convert il2cpp obj to mono"); + } + return i2res; } -bool UnityEngine_Debug_get_developerConsoleVisible() +float UnityEngine_Screen_get_brightness() { - typedef bool (* ICallMethod) (); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::get_developerConsoleVisible"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_brightness"); + if(!icall) + { + platform_log("UnityEngine.Screen::get_brightness func not found"); + return 0; + } + } + float i2res = icall(); return i2res; } -void UnityEngine_Debug_set_developerConsoleVisible(bool value) +void UnityEngine_Screen_set_brightness(float value) { - typedef void (* ICallMethod) (bool value); + typedef void (* ICallMethod) (float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::set_developerConsoleVisible"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::set_brightness"); + if(!icall) + { + platform_log("UnityEngine.Screen::set_brightness func not found"); + return; + } + } icall(value); } -bool UnityEngine_Debug_get_isDebugBuild() +void UnityEngine_Screen_SetResolution(int32_t width, int32_t height, int32_t fullscreenMode, int32_t preferredRefreshRate) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (int32_t width, int32_t height, int32_t fullscreenMode, int32_t preferredRefreshRate); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::get_isDebugBuild"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::SetResolution"); + if(!icall) + { + platform_log("UnityEngine.Screen::SetResolution func not found"); + return; + } + } + icall(width,height,fullscreenMode,preferredRefreshRate); } -void UnityEngine_Debug_OpenConsoleFile() +int32_t UnityEngine_Graphics_get_activeTier() { - typedef void (* ICallMethod) (); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::OpenConsoleFile"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::get_activeTier"); + if(!icall) + { + platform_log("UnityEngine.Graphics::get_activeTier func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Debug_GetDiagnosticSwitches(MonoObject* results) +void UnityEngine_Graphics_set_activeTier(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* results); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::GetDiagnosticSwitches"); - Il2CppObject* i2results = get_il2cpp_object(results,NULL); - icall(i2results); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::set_activeTier"); + if(!icall) + { + platform_log("UnityEngine.Graphics::set_activeTier func not found"); + return; + } + } + icall(value); } -MonoObject* UnityEngine_Debug_GetDiagnosticSwitch(MonoString* name) +void UnityEngine_Graphics_Blit2(MonoObject* source, MonoObject* dest) { - typedef Il2CppObject* (* ICallMethod) (Il2CppString* name); + typedef void (* ICallMethod) (Il2CppObject* source, Il2CppObject* dest); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::GetDiagnosticSwitch"); - Il2CppString* i2name = get_il2cpp_string(name); - Il2CppObject* i2res = icall(i2name); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Blit2"); + if(!icall) + { + platform_log("UnityEngine.Graphics::Blit2 func not found"); + return; + } + } + Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Texture()); + Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_RenderTexture()); + icall(i2source,i2dest); } -void UnityEngine_Debug_SetDiagnosticSwitch(MonoString* name, MonoObject* value, bool setPersistent) +void UnityEngine_Graphics_Internal_BlitMaterial5(MonoObject* source, MonoObject* dest, MonoObject* mat, int32_t pass, bool setRT) { - typedef void (* ICallMethod) (Il2CppString* name, Il2CppObject* value, bool setPersistent); + typedef void (* ICallMethod) (Il2CppObject* source, Il2CppObject* dest, Il2CppObject* mat, int32_t pass, bool setRT); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::SetDiagnosticSwitch"); - Il2CppString* i2name = get_il2cpp_string(name); - Il2CppObject* i2value = get_il2cpp_object(value,NULL); - icall(i2name,i2value,setPersistent); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_BlitMaterial5"); + if(!icall) + { + platform_log("UnityEngine.Graphics::Internal_BlitMaterial5 func not found"); + return; + } + } + Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Texture()); + Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_RenderTexture()); + Il2CppObject* i2mat = get_il2cpp_object(mat,il2cpp_get_class_UnityEngine_Material()); + icall(i2source,i2dest,i2mat,pass,setRT); } -void UnityEngine_Debug_DrawLine_Injected(void * start, void * end, void * color, float duration, bool depthTest) +int32_t UnityEngine_Mesh_get_vertexCount(MonoObject* thiz) { - typedef void (* ICallMethod) (void * start, void * end, void * color, float duration, bool depthTest); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Debug::DrawLine_Injected"); - icall(start,end,color,duration,depthTest); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::get_vertexCount"); + if(!icall) + { + platform_log("UnityEngine.Mesh::get_vertexCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); + int32_t i2res = icall(i2thiz); + return i2res; } -MonoObject* UnityEngine_ExposedPropertyResolver_ResolveReferenceBindingsInternal_Injected(void * ptr, void * name, void * isValid) +int32_t UnityEngine_Mesh_get_subMeshCount(MonoObject* thiz) { - typedef Il2CppObject* (* ICallMethod) (void * ptr, void * name, void * isValid); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ExposedPropertyResolver::ResolveReferenceBindingsInternal_Injected"); - Il2CppObject* i2res = icall(ptr,name,isValid); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::get_subMeshCount"); + if(!icall) + { + platform_log("UnityEngine.Mesh::get_subMeshCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); + int32_t i2res = icall(i2thiz); + return i2res; } -float UnityEngine_DynamicGI_get_indirectScale() +void UnityEngine_Mesh_set_subMeshCount(MonoObject* thiz, int32_t value) { - typedef float (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::get_indirectScale"); - float i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::set_subMeshCount"); + if(!icall) + { + platform_log("UnityEngine.Mesh::set_subMeshCount func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); + icall(i2thiz,value); +} +bool UnityEngine_Mesh_get_canAccess(MonoObject* thiz) +{ + typedef bool (* ICallMethod) (Il2CppObject* thiz); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::get_canAccess"); + if(!icall) + { + platform_log("UnityEngine.Mesh::get_canAccess func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); + bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_DynamicGI_set_indirectScale(float value) +void UnityEngine_Mesh_Internal_Create(MonoObject* mono) { - typedef void (* ICallMethod) (float value); + typedef void (* ICallMethod) (Il2CppObject* mono); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::set_indirectScale"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::Internal_Create"); + if(!icall) + { + platform_log("UnityEngine.Mesh::Internal_Create func not found"); + return; + } + } + Il2CppObject* i2mono = get_il2cpp_object(mono,il2cpp_get_class_UnityEngine_Mesh()); + icall(i2mono); } -float UnityEngine_DynamicGI_get_updateThreshold() +void UnityEngine_Mesh_ClearImpl(MonoObject* thiz, bool keepVertexLayout) { - typedef float (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool keepVertexLayout); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::get_updateThreshold"); - float i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::ClearImpl"); + if(!icall) + { + platform_log("UnityEngine.Mesh::ClearImpl func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); + icall(i2thiz,keepVertexLayout); } -void UnityEngine_DynamicGI_set_updateThreshold(float value) +void UnityEngine_Mesh_MarkDynamicImpl(MonoObject* thiz) { - typedef void (* ICallMethod) (float value); + typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::set_updateThreshold"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::MarkDynamicImpl"); + if(!icall) + { + platform_log("UnityEngine.Mesh::MarkDynamicImpl func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); + icall(i2thiz); } -int32_t UnityEngine_DynamicGI_get_materialUpdateTimeSlice() +bool UnityEngine_Mesh_HasVertexAttribute(MonoObject* thiz, int32_t attr) { - typedef int32_t (* ICallMethod) (); + typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t attr); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::get_materialUpdateTimeSlice"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::HasVertexAttribute"); + if(!icall) + { + platform_log("UnityEngine.Mesh::HasVertexAttribute func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); + bool i2res = icall(i2thiz,attr); return i2res; } -void UnityEngine_DynamicGI_set_materialUpdateTimeSlice(int32_t value) +MonoObject* UnityEngine_Material_get_shader(MonoObject* thiz) { - typedef void (* ICallMethod) (int32_t value); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::set_materialUpdateTimeSlice"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::get_shader"); + if(!icall) + { + platform_log("UnityEngine.Material::get_shader func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Shader()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Material::get_shader fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_DynamicGI_SetEnvironmentData(void* input) +void UnityEngine_Material_set_shader(MonoObject* thiz, MonoObject* value) { - typedef void (* ICallMethod) (void* input); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::SetEnvironmentData"); - icall(input); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::set_shader"); + if(!icall) + { + platform_log("UnityEngine.Material::set_shader func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Shader()); + icall(i2thiz,i2value); } -bool UnityEngine_DynamicGI_get_synchronousMode() +int32_t UnityEngine_Material_get_renderQueue(MonoObject* thiz) { - typedef bool (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::get_synchronousMode"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::get_renderQueue"); + if(!icall) + { + platform_log("UnityEngine.Material::get_renderQueue func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_DynamicGI_set_synchronousMode(bool value) +void UnityEngine_Material_set_renderQueue(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (bool value); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::set_synchronousMode"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::set_renderQueue"); + if(!icall) + { + platform_log("UnityEngine.Material::set_renderQueue func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + icall(i2thiz,value); } -bool UnityEngine_DynamicGI_get_isConverged() +void UnityEngine_Material_CreateWithShader(MonoObject* self, MonoObject* shader) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* self, Il2CppObject* shader); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::get_isConverged"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::CreateWithShader"); + if(!icall) + { + platform_log("UnityEngine.Material::CreateWithShader func not found"); + return; + } + } + Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_Material()); + Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); + icall(i2self,i2shader); } -int32_t UnityEngine_DynamicGI_get_scheduledMaterialUpdatesCount() +void UnityEngine_Material_CreateWithMaterial(MonoObject* self, MonoObject* source) { - typedef int32_t (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* self, Il2CppObject* source); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::get_scheduledMaterialUpdatesCount"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::CreateWithMaterial"); + if(!icall) + { + platform_log("UnityEngine.Material::CreateWithMaterial func not found"); + return; + } + } + Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_Material()); + Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Material()); + icall(i2self,i2source); } -bool UnityEngine_DynamicGI_get_asyncMaterialUpdates() +void UnityEngine_Material_CreateWithString(MonoObject* self) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::get_asyncMaterialUpdates"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::CreateWithString"); + if(!icall) + { + platform_log("UnityEngine.Material::CreateWithString func not found"); + return; + } + } + Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_Material()); + icall(i2self); } -void UnityEngine_DynamicGI_set_asyncMaterialUpdates(bool value) +MonoString* UnityEngine_Material_GetTagImpl(MonoObject* thiz, MonoString* tag, bool currentSubShaderOnly, MonoString* defaultValue) { - typedef void (* ICallMethod) (bool value); + typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* tag, bool currentSubShaderOnly, Il2CppString* defaultValue); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::set_asyncMaterialUpdates"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetTagImpl"); + if(!icall) + { + platform_log("UnityEngine.Material::GetTagImpl func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + Il2CppString* i2tag = get_il2cpp_string(tag); + Il2CppString* i2defaultValue = get_il2cpp_string(defaultValue); + Il2CppString* i2res = icall(i2thiz,i2tag,currentSubShaderOnly,i2defaultValue); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Material::GetTagImpl fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_DynamicGI_UpdateEnvironment() +void UnityEngine_Material_SetFloatImpl(MonoObject* thiz, int32_t name, float value) { - typedef void (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::UpdateEnvironment"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetFloatImpl"); + if(!icall) + { + platform_log("UnityEngine.Material::SetFloatImpl func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + icall(i2thiz,name,value); } -void UnityEngine_DynamicGI_SetEmissive_Injected(MonoObject* renderer, void * color) +void UnityEngine_Material_SetColorImpl_Injected(MonoObject* thiz, int32_t name, void * value) { - typedef void (* ICallMethod) (Il2CppObject* renderer, void * color); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DynamicGI::SetEmissive_Injected"); - Il2CppObject* i2renderer = get_il2cpp_object(renderer,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2renderer,color); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetColorImpl_Injected"); + if(!icall) + { + platform_log("UnityEngine.Material::SetColorImpl_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + icall(i2thiz,name,value); } -bool UnityEngine_Bounds_Contains_Injected(void * _unity_self, void * point) +void UnityEngine_Material_SetMatrixImpl_Injected(MonoObject* thiz, int32_t name, void * value) { - typedef bool (* ICallMethod) (void * _unity_self, void * point); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Bounds::Contains_Injected"); - bool i2res = icall(_unity_self,point); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetMatrixImpl_Injected"); + if(!icall) + { + platform_log("UnityEngine.Material::SetMatrixImpl_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + icall(i2thiz,name,value); } -float UnityEngine_Bounds_SqrDistance_Injected(void * _unity_self, void * point) +void UnityEngine_Material_SetTextureImpl(MonoObject* thiz, int32_t name, MonoObject* value) { - typedef float (* ICallMethod) (void * _unity_self, void * point); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Bounds::SqrDistance_Injected"); - float i2res = icall(_unity_self,point); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetTextureImpl"); + if(!icall) + { + platform_log("UnityEngine.Material::SetTextureImpl func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Texture()); + icall(i2thiz,name,i2value); } -bool UnityEngine_Bounds_IntersectRayAABB_Injected(void * ray, void * bounds, void * dist) +float UnityEngine_Material_GetFloatImpl(MonoObject* thiz, int32_t name) { - typedef bool (* ICallMethod) (void * ray, void * bounds, void * dist); + typedef float (* ICallMethod) (Il2CppObject* thiz, int32_t name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Bounds::IntersectRayAABB_Injected"); - bool i2res = icall(ray,bounds,dist); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetFloatImpl"); + if(!icall) + { + platform_log("UnityEngine.Material::GetFloatImpl func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + float i2res = icall(i2thiz,name); return i2res; } -void UnityEngine_Bounds_ClosestPoint_Injected(void * _unity_self, void * point, void * ret) +void UnityEngine_Material_GetColorImpl_Injected(MonoObject* thiz, int32_t name, void * ret) { - typedef void (* ICallMethod) (void * _unity_self, void * point, void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Bounds::ClosestPoint_Injected"); - icall(_unity_self,point,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetColorImpl_Injected"); + if(!icall) + { + platform_log("UnityEngine.Material::GetColorImpl_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + icall(i2thiz,name,ret); } -bool UnityEngine_GeometryUtility_TestPlanesAABB_Injected(void* planes, void * bounds) +MonoObject* UnityEngine_Material_GetTextureImpl(MonoObject* thiz, int32_t name) { - typedef bool (* ICallMethod) (void* planes, void * bounds); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, int32_t name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GeometryUtility::TestPlanesAABB_Injected"); - bool i2res = icall(planes,bounds); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetTextureImpl"); + if(!icall) + { + platform_log("UnityEngine.Material::GetTextureImpl func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + Il2CppObject* i2res = icall(i2thiz,name); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Material::GetTextureImpl fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_GeometryUtility_Internal_ExtractPlanes_Injected(void* planes, void * worldToProjectionMatrix) +void UnityEngine_Material_SetTextureOffsetImpl_Injected(MonoObject* thiz, int32_t name, void * offset) { - typedef void (* ICallMethod) (void* planes, void * worldToProjectionMatrix); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * offset); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GeometryUtility::Internal_ExtractPlanes_Injected"); - icall(planes,worldToProjectionMatrix); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetTextureOffsetImpl_Injected"); + if(!icall) + { + platform_log("UnityEngine.Material::SetTextureOffsetImpl_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + icall(i2thiz,name,offset); } -void UnityEngine_GeometryUtility_Internal_CalculateBounds_Injected(void* positions, void * transform, void * ret) +void UnityEngine_Material_SetTextureScaleImpl_Injected(MonoObject* thiz, int32_t name, void * scale) { - typedef void (* ICallMethod) (void* positions, void * transform, void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * scale); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GeometryUtility::Internal_CalculateBounds_Injected"); - icall(positions,transform,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetTextureScaleImpl_Injected"); + if(!icall) + { + platform_log("UnityEngine.Material::SetTextureScaleImpl_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + icall(i2thiz,name,scale); } -void * UnityEngine_RectOffset_InternalCreate() +bool UnityEngine_Material_HasProperty(MonoObject* thiz, int32_t nameID) { - typedef void * (* ICallMethod) (); + typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t nameID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::InternalCreate"); - void * i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::HasProperty"); + if(!icall) + { + platform_log("UnityEngine.Material::HasProperty func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + bool i2res = icall(i2thiz,nameID); return i2res; } -void UnityEngine_RectOffset_InternalDestroy(void * ptr) +void UnityEngine_Material_EnableKeyword(MonoObject* thiz, MonoString* keyword) +{ + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* keyword); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::EnableKeyword"); + if(!icall) + { + platform_log("UnityEngine.Material::EnableKeyword func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + Il2CppString* i2keyword = get_il2cpp_string(keyword); + icall(i2thiz,i2keyword); +} +void UnityEngine_Material_DisableKeyword(MonoObject* thiz, MonoString* keyword) { - typedef void (* ICallMethod) (void * ptr); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* keyword); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::InternalDestroy"); - icall(ptr); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::DisableKeyword"); + if(!icall) + { + platform_log("UnityEngine.Material::DisableKeyword func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + Il2CppString* i2keyword = get_il2cpp_string(keyword); + icall(i2thiz,i2keyword); } -int32_t UnityEngine_RectOffset_get_left(MonoObject* thiz) +bool UnityEngine_Material_SetPass(MonoObject* thiz, int32_t pass) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t pass); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::get_left"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetPass"); + if(!icall) + { + platform_log("UnityEngine.Material::SetPass func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + bool i2res = icall(i2thiz,pass); return i2res; } -void UnityEngine_RectOffset_set_left(MonoObject* thiz, int32_t value) +void UnityEngine_Material_CopyPropertiesFromMaterial(MonoObject* thiz, MonoObject* mat) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* mat); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::set_left"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::CopyPropertiesFromMaterial"); + if(!icall) + { + platform_log("UnityEngine.Material::CopyPropertiesFromMaterial func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); + Il2CppObject* i2mat = get_il2cpp_object(mat,il2cpp_get_class_UnityEngine_Material()); + icall(i2thiz,i2mat); } -int32_t UnityEngine_RectOffset_get_right(MonoObject* thiz) +int32_t UnityEngine_Shader_get_maximumLOD(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::get_right"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_maximumLOD"); + if(!icall) + { + platform_log("UnityEngine.Shader::get_maximumLOD func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_RectOffset_set_right(MonoObject* thiz, int32_t value) +void UnityEngine_Shader_set_maximumLOD(MonoObject* thiz, int32_t value) { typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::set_right"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::set_maximumLOD"); + if(!icall) + { + platform_log("UnityEngine.Shader::set_maximumLOD func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); icall(i2thiz,value); } -int32_t UnityEngine_RectOffset_get_top(MonoObject* thiz) +int32_t UnityEngine_Shader_get_globalMaximumLOD() { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::get_top"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_globalMaximumLOD"); + if(!icall) + { + platform_log("UnityEngine.Shader::get_globalMaximumLOD func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -void UnityEngine_RectOffset_set_top(MonoObject* thiz, int32_t value) +void UnityEngine_Shader_set_globalMaximumLOD(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::set_top"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::set_globalMaximumLOD"); + if(!icall) + { + platform_log("UnityEngine.Shader::set_globalMaximumLOD func not found"); + return; + } + } + icall(value); } -int32_t UnityEngine_RectOffset_get_bottom(MonoObject* thiz) +bool UnityEngine_Shader_get_isSupported(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::get_bottom"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_isSupported"); + if(!icall) + { + platform_log("UnityEngine.Shader::get_isSupported func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); + bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_RectOffset_set_bottom(MonoObject* thiz, int32_t value) +MonoString* UnityEngine_Shader_get_globalRenderPipeline() { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); + typedef Il2CppString* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::set_bottom"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_globalRenderPipeline"); + if(!icall) + { + platform_log("UnityEngine.Shader::get_globalRenderPipeline func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Shader::get_globalRenderPipeline fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t UnityEngine_RectOffset_get_horizontal(MonoObject* thiz) +void UnityEngine_Shader_set_globalRenderPipeline(MonoString* value) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppString* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::get_horizontal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::set_globalRenderPipeline"); + if(!icall) + { + platform_log("UnityEngine.Shader::set_globalRenderPipeline func not found"); + return; + } + } + Il2CppString* i2value = get_il2cpp_string(value); + icall(i2value); } -int32_t UnityEngine_RectOffset_get_vertical(MonoObject* thiz) +int32_t UnityEngine_Shader_get_renderQueue_1(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::get_vertical"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_renderQueue"); + if(!icall) + { + platform_log("UnityEngine.Shader::get_renderQueue func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_RectOffset_Add_Injected(MonoObject* thiz, void * rect, void * ret) +int32_t UnityEngine_Shader_get_passCount(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * rect, void * ret); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::Add_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); - icall(i2thiz,rect,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_passCount"); + if(!icall) + { + platform_log("UnityEngine.Shader::get_passCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); + int32_t i2res = icall(i2thiz); + return i2res; } -void UnityEngine_RectOffset_Remove_Injected(MonoObject* thiz, void * rect, void * ret) +int32_t UnityEngine_Shader_TagToID(MonoString* name) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * rect, void * ret); + typedef int32_t (* ICallMethod) (Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectOffset::Remove_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectOffset()); - icall(i2thiz,rect,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::TagToID"); + if(!icall) + { + platform_log("UnityEngine.Shader::TagToID func not found"); + return 0; + } + } + Il2CppString* i2name = get_il2cpp_string(name); + int32_t i2res = icall(i2name); + return i2res; } -MonoObject* UnityEngine_Gizmos_get_exposure() +void UnityEngine_Shader_SetGlobalFloatImpl(int32_t name, float value) { - typedef Il2CppObject* (* ICallMethod) (); + typedef void (* ICallMethod) (int32_t name, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::get_exposure"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalFloatImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::SetGlobalFloatImpl func not found"); + return; + } + } + icall(name,value); } -void UnityEngine_Gizmos_set_exposure(MonoObject* value) +void UnityEngine_Shader_SetGlobalIntImpl(int32_t name, int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* value); + typedef void (* ICallMethod) (int32_t name, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::set_exposure"); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Texture()); - icall(i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalIntImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::SetGlobalIntImpl func not found"); + return; + } + } + icall(name,value); } -void UnityEngine_Gizmos_DrawLine_Injected_1(void * from, void * to) +void UnityEngine_Shader_SetGlobalVectorImpl_Injected(int32_t name, void * value) { - typedef void (* ICallMethod) (void * from, void * to); + typedef void (* ICallMethod) (int32_t name, void * value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawLine_Injected"); - icall(from,to); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalVectorImpl_Injected"); + if(!icall) + { + platform_log("UnityEngine.Shader::SetGlobalVectorImpl_Injected func not found"); + return; + } + } + icall(name,value); } -void UnityEngine_Gizmos_DrawWireSphere_Injected(void * center, float radius) +void UnityEngine_Shader_SetGlobalMatrixImpl_Injected(int32_t name, void * value) { - typedef void (* ICallMethod) (void * center, float radius); + typedef void (* ICallMethod) (int32_t name, void * value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawWireSphere_Injected"); - icall(center,radius); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalMatrixImpl_Injected"); + if(!icall) + { + platform_log("UnityEngine.Shader::SetGlobalMatrixImpl_Injected func not found"); + return; + } + } + icall(name,value); } -void UnityEngine_Gizmos_DrawSphere_Injected(void * center, float radius) +void UnityEngine_Shader_SetGlobalTextureImpl(int32_t name, MonoObject* value) { - typedef void (* ICallMethod) (void * center, float radius); + typedef void (* ICallMethod) (int32_t name, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawSphere_Injected"); - icall(center,radius); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalTextureImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::SetGlobalTextureImpl func not found"); + return; + } + } + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Texture()); + icall(name,i2value); } -void UnityEngine_Gizmos_DrawWireCube_Injected(void * center, void * size) +void UnityEngine_Shader_SetGlobalRenderTextureImpl(int32_t name, MonoObject* value, int32_t element) { - typedef void (* ICallMethod) (void * center, void * size); + typedef void (* ICallMethod) (int32_t name, Il2CppObject* value, int32_t element); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawWireCube_Injected"); - icall(center,size); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalRenderTextureImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::SetGlobalRenderTextureImpl func not found"); + return; + } + } + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_RenderTexture()); + icall(name,i2value,element); } -void UnityEngine_Gizmos_DrawCube_Injected(void * center, void * size) +void UnityEngine_Shader_SetGlobalGraphicsBufferImpl(int32_t name, MonoObject* value) { - typedef void (* ICallMethod) (void * center, void * size); + typedef void (* ICallMethod) (int32_t name, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawCube_Injected"); - icall(center,size); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalGraphicsBufferImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::SetGlobalGraphicsBufferImpl func not found"); + return; + } + } + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_GraphicsBuffer()); + icall(name,i2value); } -void UnityEngine_Gizmos_DrawMesh_Injected(MonoObject* mesh, int32_t submeshIndex, void * position, void * rotation, void * scale) +void UnityEngine_Shader_SetGlobalConstantGraphicsBufferImpl(int32_t name, MonoObject* value, int32_t offset, int32_t size) { - typedef void (* ICallMethod) (Il2CppObject* mesh, int32_t submeshIndex, void * position, void * rotation, void * scale); + typedef void (* ICallMethod) (int32_t name, Il2CppObject* value, int32_t offset, int32_t size); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawMesh_Injected"); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2mesh,submeshIndex,position,rotation,scale); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalConstantGraphicsBufferImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::SetGlobalConstantGraphicsBufferImpl func not found"); + return; + } + } + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_GraphicsBuffer()); + icall(name,i2value,offset,size); } -void UnityEngine_Gizmos_DrawWireMesh_Injected(MonoObject* mesh, int32_t submeshIndex, void * position, void * rotation, void * scale) +float UnityEngine_Shader_GetGlobalFloatImpl(int32_t name) { - typedef void (* ICallMethod) (Il2CppObject* mesh, int32_t submeshIndex, void * position, void * rotation, void * scale); + typedef float (* ICallMethod) (int32_t name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawWireMesh_Injected"); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2mesh,submeshIndex,position,rotation,scale); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalFloatImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetGlobalFloatImpl func not found"); + return 0; + } + } + float i2res = icall(name); + return i2res; } -void UnityEngine_Gizmos_DrawIcon_Injected(void * center, MonoString* name, bool allowScaling, void * tint) +int32_t UnityEngine_Shader_GetGlobalIntImpl(int32_t name) { - typedef void (* ICallMethod) (void * center, Il2CppString* name, bool allowScaling, void * tint); + typedef int32_t (* ICallMethod) (int32_t name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawIcon_Injected"); - Il2CppString* i2name = get_il2cpp_string(name); - icall(center,i2name,allowScaling,tint); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalIntImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetGlobalIntImpl func not found"); + return 0; + } + } + int32_t i2res = icall(name); + return i2res; } -void UnityEngine_Gizmos_DrawGUITexture_Injected(void * screenRect, MonoObject* texture, int32_t leftBorder, int32_t rightBorder, int32_t topBorder, int32_t bottomBorder, MonoObject* mat) +void UnityEngine_Shader_GetGlobalVectorImpl_Injected(int32_t name, void * ret) { - typedef void (* ICallMethod) (void * screenRect, Il2CppObject* texture, int32_t leftBorder, int32_t rightBorder, int32_t topBorder, int32_t bottomBorder, Il2CppObject* mat); + typedef void (* ICallMethod) (int32_t name, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawGUITexture_Injected"); - Il2CppObject* i2texture = get_il2cpp_object(texture,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2mat = get_il2cpp_object(mat,il2cpp_get_class_UnityEngine_Material()); - icall(screenRect,i2texture,leftBorder,rightBorder,topBorder,bottomBorder,i2mat); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalVectorImpl_Injected"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetGlobalVectorImpl_Injected func not found"); + return; + } + } + icall(name,ret); } -void UnityEngine_Gizmos_get_color_Injected(void * ret) +void UnityEngine_Shader_GetGlobalMatrixImpl_Injected(int32_t name, void * ret) { - typedef void (* ICallMethod) (void * ret); + typedef void (* ICallMethod) (int32_t name, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::get_color_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalMatrixImpl_Injected"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetGlobalMatrixImpl_Injected func not found"); + return; + } + } + icall(name,ret); } -void UnityEngine_Gizmos_set_color_Injected(void * value) +MonoObject* UnityEngine_Shader_GetGlobalTextureImpl(int32_t name) { - typedef void (* ICallMethod) (void * value); + typedef Il2CppObject* (* ICallMethod) (int32_t name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::set_color_Injected"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalTextureImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetGlobalTextureImpl func not found"); + return NULL; + } + } + Il2CppObject* i2res = icall(name); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Shader::GetGlobalTextureImpl fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Gizmos_get_matrix_Injected(void * ret) +int32_t UnityEngine_Shader_GetGlobalFloatArrayCountImpl(int32_t name) { - typedef void (* ICallMethod) (void * ret); + typedef int32_t (* ICallMethod) (int32_t name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::get_matrix_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalFloatArrayCountImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetGlobalFloatArrayCountImpl func not found"); + return 0; + } + } + int32_t i2res = icall(name); + return i2res; } -void UnityEngine_Gizmos_set_matrix_Injected(void * value) +MonoArray* UnityEngine_Shader_GetGlobalFloatArrayImpl(int32_t name) { - typedef void (* ICallMethod) (void * value); + typedef Il2CppArray* (* ICallMethod) (int32_t name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::set_matrix_Injected"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalFloatArrayImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetGlobalFloatArrayImpl func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(name); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Shader::GetGlobalFloatArrayImpl fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Gizmos_DrawFrustum_Injected(void * center, float fov, float maxRange, float minRange, float aspect) +int32_t UnityEngine_Shader_GetGlobalVectorArrayCountImpl(int32_t name) { - typedef void (* ICallMethod) (void * center, float fov, float maxRange, float minRange, float aspect); + typedef int32_t (* ICallMethod) (int32_t name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gizmos::DrawFrustum_Injected"); - icall(center,fov,maxRange,minRange,aspect); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalVectorArrayCountImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetGlobalVectorArrayCountImpl func not found"); + return 0; + } + } + int32_t i2res = icall(name); + return i2res; } -void UnityEngine_BillboardAsset_Internal_Create_2(MonoObject* obj) +void* UnityEngine_Shader_GetGlobalVectorArrayImpl(int32_t name) { - typedef void (* ICallMethod) (Il2CppObject* obj); + typedef void* (* ICallMethod) (int32_t name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::Internal_Create"); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_BillboardAsset()); - icall(i2obj); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalVectorArrayImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetGlobalVectorArrayImpl func not found"); + return NULL; + } + } + void* i2res = icall(name); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.Shader::GetGlobalVectorArrayImpl fail to convert il2cpp obj to mono"); + } + return i2res; } -float UnityEngine_BillboardAsset_get_width(MonoObject* thiz) +int32_t UnityEngine_Shader_GetGlobalMatrixArrayCountImpl(int32_t name) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (int32_t name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::get_width"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - float i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalMatrixArrayCountImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetGlobalMatrixArrayCountImpl func not found"); + return 0; + } + } + int32_t i2res = icall(name); return i2res; } -void UnityEngine_BillboardAsset_set_width(MonoObject* thiz, float value) +void* UnityEngine_Shader_GetGlobalMatrixArrayImpl(int32_t name) { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef void* (* ICallMethod) (int32_t name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::set_width"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalMatrixArrayImpl"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetGlobalMatrixArrayImpl func not found"); + return NULL; + } + } + void* i2res = icall(name); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.Shader::GetGlobalMatrixArrayImpl fail to convert il2cpp obj to mono"); + } + return i2res; } -float UnityEngine_BillboardAsset_get_height(MonoObject* thiz) +void UnityEngine_Shader_EnableKeyword_1(MonoString* keyword) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppString* keyword); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::get_height"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - float i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::EnableKeyword"); + if(!icall) + { + platform_log("UnityEngine.Shader::EnableKeyword func not found"); + return; + } + } + Il2CppString* i2keyword = get_il2cpp_string(keyword); + icall(i2keyword); } -void UnityEngine_BillboardAsset_set_height(MonoObject* thiz, float value) +void UnityEngine_Shader_DisableKeyword_1(MonoString* keyword) { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef void (* ICallMethod) (Il2CppString* keyword); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::set_height"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::DisableKeyword"); + if(!icall) + { + platform_log("UnityEngine.Shader::DisableKeyword func not found"); + return; + } + } + Il2CppString* i2keyword = get_il2cpp_string(keyword); + icall(i2keyword); } -float UnityEngine_BillboardAsset_get_bottom_1(MonoObject* thiz) +bool UnityEngine_Shader_IsKeywordEnabled(MonoString* keyword) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (Il2CppString* keyword); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::get_bottom"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - float i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::IsKeywordEnabled"); + if(!icall) + { + platform_log("UnityEngine.Shader::IsKeywordEnabled func not found"); + return 0; + } + } + Il2CppString* i2keyword = get_il2cpp_string(keyword); + bool i2res = icall(i2keyword); return i2res; } -void UnityEngine_BillboardAsset_set_bottom_1(MonoObject* thiz, float value) +void UnityEngine_Shader_WarmupAllShaders() { - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); + typedef void (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::set_bottom"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::WarmupAllShaders"); + if(!icall) + { + platform_log("UnityEngine.Shader::WarmupAllShaders func not found"); + return; + } + } + icall(); } -int32_t UnityEngine_BillboardAsset_get_imageCount(MonoObject* thiz) +int32_t UnityEngine_Shader_PropertyToID(MonoString* name) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::get_imageCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - int32_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::PropertyToID"); + if(!icall) + { + platform_log("UnityEngine.Shader::PropertyToID func not found"); + return 0; + } + } + Il2CppString* i2name = get_il2cpp_string(name); + int32_t i2res = icall(i2name); return i2res; } -int32_t UnityEngine_BillboardAsset_get_vertexCount(MonoObject* thiz) +MonoObject* UnityEngine_Shader_GetDependency(MonoObject* thiz, MonoString* name) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::get_vertexCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - int32_t i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetDependency"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetDependency func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); + Il2CppString* i2name = get_il2cpp_string(name); + Il2CppObject* i2res = icall(i2thiz,i2name); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Shader()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Shader::GetDependency fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t UnityEngine_BillboardAsset_get_indexCount(MonoObject* thiz) +int32_t UnityEngine_Shader_GetPropertyCount(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::get_indexCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetPropertyCount"); + if(!icall) + { + platform_log("UnityEngine.Shader::GetPropertyCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); int32_t i2res = icall(i2thiz); return i2res; } -MonoObject* UnityEngine_BillboardAsset_get_material(MonoObject* thiz) +int32_t UnityEngine_Shader_FindPropertyIndex(MonoObject* thiz, MonoString* propertyName) { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppString* propertyName); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::get_material"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::FindPropertyIndex"); + if(!icall) + { + platform_log("UnityEngine.Shader::FindPropertyIndex func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); + Il2CppString* i2propertyName = get_il2cpp_string(propertyName); + int32_t i2res = icall(i2thiz,i2propertyName); + return i2res; } -void UnityEngine_BillboardAsset_set_material(MonoObject* thiz, MonoObject* value) +bool UnityEngine_Texture_get_isReadable(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::set_material"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_isReadable"); + if(!icall) + { + platform_log("UnityEngine.Texture::get_isReadable func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); + bool i2res = icall(i2thiz); + return i2res; } -void* UnityEngine_BillboardAsset_GetImageTexCoords(MonoObject* thiz) +int32_t UnityEngine_Texture_get_wrapMode(MonoObject* thiz) { - typedef void* (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::GetImageTexCoords"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - void* i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_wrapMode"); + if(!icall) + { + platform_log("UnityEngine.Texture::get_wrapMode func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_BillboardAsset_GetImageTexCoordsInternal(MonoObject* thiz, MonoObject* list) +void UnityEngine_Texture_set_wrapMode_2(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* list); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::GetImageTexCoordsInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - Il2CppObject* i2list = get_il2cpp_object(list,NULL); - icall(i2thiz,i2list); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_wrapMode"); + if(!icall) + { + platform_log("UnityEngine.Texture::set_wrapMode func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); + icall(i2thiz,value); } -void UnityEngine_BillboardAsset_SetImageTexCoords(MonoObject* thiz, void* imageTexCoords) +void UnityEngine_Texture_set_filterMode(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void* imageTexCoords); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::SetImageTexCoords"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - icall(i2thiz,imageTexCoords); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_filterMode"); + if(!icall) + { + platform_log("UnityEngine.Texture::set_filterMode func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); + icall(i2thiz,value); } -void UnityEngine_BillboardAsset_SetImageTexCoordsInternalList(MonoObject* thiz, MonoObject* list) +int32_t UnityEngine_Texture_get_anisoLevel(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* list); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::SetImageTexCoordsInternalList"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - Il2CppObject* i2list = get_il2cpp_object(list,NULL); - icall(i2thiz,i2list); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_anisoLevel"); + if(!icall) + { + platform_log("UnityEngine.Texture::get_anisoLevel func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); + int32_t i2res = icall(i2thiz); + return i2res; } -void* UnityEngine_BillboardAsset_GetVertices(MonoObject* thiz) +void UnityEngine_Texture_set_anisoLevel(MonoObject* thiz, int32_t value) { - typedef void* (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::GetVertices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - void* i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_anisoLevel"); + if(!icall) + { + platform_log("UnityEngine.Texture::set_anisoLevel func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); + icall(i2thiz,value); } -void UnityEngine_BillboardAsset_GetVerticesInternal(MonoObject* thiz, MonoObject* list) +void UnityEngine_Texture_set_mipMapBias(MonoObject* thiz, float value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* list); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::GetVerticesInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - Il2CppObject* i2list = get_il2cpp_object(list,NULL); - icall(i2thiz,i2list); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_mipMapBias"); + if(!icall) + { + platform_log("UnityEngine.Texture::set_mipMapBias func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); + icall(i2thiz,value); } -void UnityEngine_BillboardAsset_SetVertices(MonoObject* thiz, void* vertices) +int32_t UnityEngine_Texture_GetDataWidth(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void* vertices); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::SetVertices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - icall(i2thiz,vertices); -} -void UnityEngine_BillboardAsset_SetVerticesInternalList(MonoObject* thiz, MonoObject* list) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* list); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::SetVerticesInternalList"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - Il2CppObject* i2list = get_il2cpp_object(list,NULL); - icall(i2thiz,i2list); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::GetDataWidth"); + if(!icall) + { + platform_log("UnityEngine.Texture::GetDataWidth func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); + int32_t i2res = icall(i2thiz); + return i2res; } -void* UnityEngine_BillboardAsset_GetIndices(MonoObject* thiz) +int32_t UnityEngine_Texture_GetDataHeight(MonoObject* thiz) { - typedef void* (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::GetIndices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - void* i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::GetDataHeight"); + if(!icall) + { + platform_log("UnityEngine.Texture::GetDataHeight func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_BillboardAsset_GetIndicesInternal(MonoObject* thiz, MonoObject* list) +void UnityEngine_MaterialPropertyBlock_SetFloatImpl_1(MonoObject* thiz, int32_t name, float value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* list); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::GetIndicesInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - Il2CppObject* i2list = get_il2cpp_object(list,NULL); - icall(i2thiz,i2list); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::SetFloatImpl"); + if(!icall) + { + platform_log("UnityEngine.MaterialPropertyBlock::SetFloatImpl func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); + icall(i2thiz,name,value); } -void UnityEngine_BillboardAsset_SetIndices(MonoObject* thiz, void* indices) +void UnityEngine_GL_Vertex3(float x, float y, float z) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void* indices); + typedef void (* ICallMethod) (float x, float y, float z); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::SetIndices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - icall(i2thiz,indices); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::Vertex3"); + if(!icall) + { + platform_log("UnityEngine.GL::Vertex3 func not found"); + return; + } + } + icall(x,y,z); } -void UnityEngine_BillboardAsset_SetIndicesInternalList(MonoObject* thiz, MonoObject* list) +void UnityEngine_GL_MultiTexCoord3(int32_t unit, float x, float y, float z) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* list); + typedef void (* ICallMethod) (int32_t unit, float x, float y, float z); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::SetIndicesInternalList"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - Il2CppObject* i2list = get_il2cpp_object(list,NULL); - icall(i2thiz,i2list); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::MultiTexCoord3"); + if(!icall) + { + platform_log("UnityEngine.GL::MultiTexCoord3 func not found"); + return; + } + } + icall(unit,x,y,z); } -void UnityEngine_BillboardAsset_MakeMaterialProperties(MonoObject* thiz, MonoObject* properties, MonoObject* camera) +void UnityEngine_GL_PushMatrix() { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* properties, Il2CppObject* camera); + typedef void (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardAsset::MakeMaterialProperties"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardAsset()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,i2properties,i2camera); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::PushMatrix"); + if(!icall) + { + platform_log("UnityEngine.GL::PushMatrix func not found"); + return; + } + } + icall(); } -MonoObject* UnityEngine_BillboardRenderer_get_billboard(MonoObject* thiz) +void UnityEngine_GL_PopMatrix() { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardRenderer::get_billboard"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardRenderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_BillboardAsset()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::PopMatrix"); + if(!icall) + { + platform_log("UnityEngine.GL::PopMatrix func not found"); + return; + } + } + icall(); } -void UnityEngine_BillboardRenderer_set_billboard(MonoObject* thiz, MonoObject* value) +void UnityEngine_GL_LoadOrtho() { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); + typedef void (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.BillboardRenderer::set_billboard"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_BillboardRenderer()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_BillboardAsset()); - icall(i2thiz,i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::LoadOrtho"); + if(!icall) + { + platform_log("UnityEngine.GL::LoadOrtho func not found"); + return; + } + } + icall(); } -void UnityEngine_Display_GetSystemExtImpl(void * nativeDisplay, void * w, void * h) +void UnityEngine_GL_Begin(int32_t mode) { - typedef void (* ICallMethod) (void * nativeDisplay, void * w, void * h); + typedef void (* ICallMethod) (int32_t mode); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Display::GetSystemExtImpl"); - icall(nativeDisplay,w,h); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::Begin"); + if(!icall) + { + platform_log("UnityEngine.GL::Begin func not found"); + return; + } + } + icall(mode); } -void UnityEngine_Display_GetRenderingExtImpl(void * nativeDisplay, void * w, void * h) +void UnityEngine_GL_End() { - typedef void (* ICallMethod) (void * nativeDisplay, void * w, void * h); + typedef void (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Display::GetRenderingExtImpl"); - icall(nativeDisplay,w,h); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::End"); + if(!icall) + { + platform_log("UnityEngine.GL::End func not found"); + return; + } + } + icall(); } -void UnityEngine_Display_GetRenderingBuffersImpl(void * nativeDisplay, void * color, void * depth) +float UnityEngine_TrailRenderer_get_time_1(MonoObject* thiz) { - typedef void (* ICallMethod) (void * nativeDisplay, void * color, void * depth); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Display::GetRenderingBuffersImpl"); - icall(nativeDisplay,color,depth); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_time"); + if(!icall) + { + platform_log("UnityEngine.TrailRenderer::get_time func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); + float i2res = icall(i2thiz); + return i2res; } -void UnityEngine_Display_SetRenderingResolutionImpl(void * nativeDisplay, int32_t w, int32_t h) +void UnityEngine_TrailRenderer_set_time_1(MonoObject* thiz, float value) { - typedef void (* ICallMethod) (void * nativeDisplay, int32_t w, int32_t h); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Display::SetRenderingResolutionImpl"); - icall(nativeDisplay,w,h); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_time"); + if(!icall) + { + platform_log("UnityEngine.TrailRenderer::set_time func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); + icall(i2thiz,value); } -void UnityEngine_Display_ActivateDisplayImpl(void * nativeDisplay, int32_t width, int32_t height, int32_t refreshRate) +void UnityEngine_LineRenderer_set_widthMultiplier(MonoObject* thiz, float value) { - typedef void (* ICallMethod) (void * nativeDisplay, int32_t width, int32_t height, int32_t refreshRate); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Display::ActivateDisplayImpl"); - icall(nativeDisplay,width,height,refreshRate); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_widthMultiplier"); + if(!icall) + { + platform_log("UnityEngine.LineRenderer::set_widthMultiplier func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); + icall(i2thiz,value); } -void UnityEngine_Display_SetParamsImpl(void * nativeDisplay, int32_t width, int32_t height, int32_t x, int32_t y) +void UnityEngine_LineRenderer_set_positionCount(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (void * nativeDisplay, int32_t width, int32_t height, int32_t x, int32_t y); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Display::SetParamsImpl"); - icall(nativeDisplay,width,height,x,y); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_positionCount"); + if(!icall) + { + platform_log("UnityEngine.LineRenderer::set_positionCount func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); + icall(i2thiz,value); } -int32_t UnityEngine_Display_RelativeMouseAtImpl(int32_t x, int32_t y, void * rx, void * ry) +void UnityEngine_LineRenderer_SetPosition_Injected(MonoObject* thiz, int32_t index, void * position) { - typedef int32_t (* ICallMethod) (int32_t x, int32_t y, void * rx, void * ry); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, void * position); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Display::RelativeMouseAtImpl"); - int32_t i2res = icall(x,y,rx,ry); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::SetPosition_Injected"); + if(!icall) + { + platform_log("UnityEngine.LineRenderer::SetPosition_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); + icall(i2thiz,index,position); } -bool UnityEngine_Display_GetActiveImpl(void * nativeDisplay) +bool UnityEngine_Renderer_get_enabled_1(MonoObject* thiz) { - typedef bool (* ICallMethod) (void * nativeDisplay); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Display::GetActiveImpl"); - bool i2res = icall(nativeDisplay); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_enabled"); + if(!icall) + { + platform_log("UnityEngine.Renderer::get_enabled func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + bool i2res = icall(i2thiz); return i2res; } -bool UnityEngine_Display_RequiresBlitToBackbufferImpl(void * nativeDisplay) +void UnityEngine_Renderer_set_enabled_1(MonoObject* thiz, bool value) { - typedef bool (* ICallMethod) (void * nativeDisplay); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Display::RequiresBlitToBackbufferImpl"); - bool i2res = icall(nativeDisplay); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_enabled"); + if(!icall) + { + platform_log("UnityEngine.Renderer::set_enabled func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + icall(i2thiz,value); } -bool UnityEngine_Display_RequiresSrgbBlitToBackbufferImpl(void * nativeDisplay) +int32_t UnityEngine_Renderer_get_shadowCastingMode(MonoObject* thiz) { - typedef bool (* ICallMethod) (void * nativeDisplay); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Display::RequiresSrgbBlitToBackbufferImpl"); - bool i2res = icall(nativeDisplay); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_shadowCastingMode"); + if(!icall) + { + platform_log("UnityEngine.Renderer::get_shadowCastingMode func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + int32_t i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_Screen_get_width_1() +void UnityEngine_Renderer_set_shadowCastingMode(MonoObject* thiz, int32_t value) { - typedef int32_t (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_width"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_shadowCastingMode"); + if(!icall) + { + platform_log("UnityEngine.Renderer::set_shadowCastingMode func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + icall(i2thiz,value); } -int32_t UnityEngine_Screen_get_height_1() +bool UnityEngine_Renderer_get_receiveShadows(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_height"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_receiveShadows"); + if(!icall) + { + platform_log("UnityEngine.Renderer::get_receiveShadows func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + bool i2res = icall(i2thiz); return i2res; } -float UnityEngine_Screen_get_dpi() +void UnityEngine_Renderer_set_receiveShadows(MonoObject* thiz, bool value) { - typedef float (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_dpi"); - float i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_receiveShadows"); + if(!icall) + { + platform_log("UnityEngine.Renderer::set_receiveShadows func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + icall(i2thiz,value); } -void UnityEngine_Screen_RequestOrientation(int32_t orient) +int32_t UnityEngine_Renderer_get_motionVectorGenerationMode(MonoObject* thiz) { - typedef void (* ICallMethod) (int32_t orient); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::RequestOrientation"); - icall(orient); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_motionVectorGenerationMode"); + if(!icall) + { + platform_log("UnityEngine.Renderer::get_motionVectorGenerationMode func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + int32_t i2res = icall(i2thiz); + return i2res; } -int32_t UnityEngine_Screen_GetScreenOrientation() +void UnityEngine_Renderer_set_motionVectorGenerationMode(MonoObject* thiz, int32_t value) { - typedef int32_t (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::GetScreenOrientation"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_motionVectorGenerationMode"); + if(!icall) + { + platform_log("UnityEngine.Renderer::set_motionVectorGenerationMode func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + icall(i2thiz,value); } -int32_t UnityEngine_Screen_get_sleepTimeout() +int32_t UnityEngine_Renderer_get_lightProbeUsage(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_sleepTimeout"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_lightProbeUsage"); + if(!icall) + { + platform_log("UnityEngine.Renderer::get_lightProbeUsage func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Screen_set_sleepTimeout(int32_t value) +void UnityEngine_Renderer_set_lightProbeUsage(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (int32_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::set_sleepTimeout"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_lightProbeUsage"); + if(!icall) + { + platform_log("UnityEngine.Renderer::set_lightProbeUsage func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + icall(i2thiz,value); } -bool UnityEngine_Screen_IsOrientationEnabled(int32_t orient) +int32_t UnityEngine_Renderer_get_reflectionProbeUsage(MonoObject* thiz) { - typedef bool (* ICallMethod) (int32_t orient); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::IsOrientationEnabled"); - bool i2res = icall(orient); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_reflectionProbeUsage"); + if(!icall) + { + platform_log("UnityEngine.Renderer::get_reflectionProbeUsage func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Screen_SetOrientationEnabled(int32_t orient, bool enabled) +void UnityEngine_Renderer_set_reflectionProbeUsage(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (int32_t orient, bool enabled); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::SetOrientationEnabled"); - icall(orient,enabled); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_reflectionProbeUsage"); + if(!icall) + { + platform_log("UnityEngine.Renderer::set_reflectionProbeUsage func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + icall(i2thiz,value); } -bool UnityEngine_Screen_get_fullScreen() +int32_t UnityEngine_Renderer_get_sortingLayerID(MonoObject* thiz) { - typedef bool (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_fullScreen"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_sortingLayerID"); + if(!icall) + { + platform_log("UnityEngine.Renderer::get_sortingLayerID func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Screen_set_fullScreen(bool value) +void UnityEngine_Renderer_set_sortingLayerID(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (bool value); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::set_fullScreen"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_sortingLayerID"); + if(!icall) + { + platform_log("UnityEngine.Renderer::set_sortingLayerID func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + icall(i2thiz,value); } -int32_t UnityEngine_Screen_get_fullScreenMode() +int32_t UnityEngine_Renderer_get_sortingOrder(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_fullScreenMode"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_sortingOrder"); + if(!icall) + { + platform_log("UnityEngine.Renderer::get_sortingOrder func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Screen_set_fullScreenMode(int32_t value) +void UnityEngine_Renderer_set_sortingOrder(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (int32_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::set_fullScreenMode"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_sortingOrder"); + if(!icall) + { + platform_log("UnityEngine.Renderer::set_sortingOrder func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + icall(i2thiz,value); } -void* UnityEngine_Screen_get_cutouts() +MonoObject* UnityEngine_Renderer_get_probeAnchor(MonoObject* thiz) { - typedef void* (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_cutouts"); - void* i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_probeAnchor"); + if(!icall) + { + platform_log("UnityEngine.Renderer::get_probeAnchor func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Renderer::get_probeAnchor fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Screen_SetResolution(int32_t width, int32_t height, int32_t fullscreenMode, int32_t preferredRefreshRate) +void UnityEngine_Renderer_set_probeAnchor(MonoObject* thiz, MonoObject* value) { - typedef void (* ICallMethod) (int32_t width, int32_t height, int32_t fullscreenMode, int32_t preferredRefreshRate); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::SetResolution"); - icall(width,height,fullscreenMode,preferredRefreshRate); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_probeAnchor"); + if(!icall) + { + platform_log("UnityEngine.Renderer::set_probeAnchor func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Transform()); + icall(i2thiz,i2value); } -void* UnityEngine_Screen_get_resolutions() +void UnityEngine_Renderer_Internal_SetPropertyBlock(MonoObject* thiz, MonoObject* properties) { - typedef void* (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* properties); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_resolutions"); - void* i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::Internal_SetPropertyBlock"); + if(!icall) + { + platform_log("UnityEngine.Renderer::Internal_SetPropertyBlock func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); + icall(i2thiz,i2properties); } -float UnityEngine_Screen_get_brightness() +void UnityEngine_Renderer_Internal_GetPropertyBlock(MonoObject* thiz, MonoObject* dest) { - typedef float (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* dest); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_brightness"); - float i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::Internal_GetPropertyBlock"); + if(!icall) + { + platform_log("UnityEngine.Renderer::Internal_GetPropertyBlock func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); + Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); + icall(i2thiz,i2dest); } -void UnityEngine_Screen_set_brightness(float value) +void UnityEngine_Projector_set_orthographic_1(MonoObject* thiz, bool value) { - typedef void (* ICallMethod) (float value); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::set_brightness"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::set_orthographic"); + if(!icall) + { + platform_log("UnityEngine.Projector::set_orthographic func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); + icall(i2thiz,value); } -void UnityEngine_Screen_get_currentResolution_Injected(void * ret) +void UnityEngine_Projector_set_orthographicSize_1(MonoObject* thiz, float value) { - typedef void (* ICallMethod) (void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_currentResolution_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::set_orthographicSize"); + if(!icall) + { + platform_log("UnityEngine.Projector::set_orthographicSize func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); + icall(i2thiz,value); } -void UnityEngine_Screen_get_safeArea_Injected(void * ret) +void UnityEngine_Projector_set_ignoreLayers(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Screen::get_safeArea_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::set_ignoreLayers"); + if(!icall) + { + platform_log("UnityEngine.Projector::set_ignoreLayers func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); + icall(i2thiz,value); } -void UnityEngine_RenderBuffer_SetLoadAction_Injected(void * _unity_self, int32_t action) +MonoObject* UnityEngine_Projector_get_material(MonoObject* thiz) { - typedef void (* ICallMethod) (void * _unity_self, int32_t action); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderBuffer::SetLoadAction_Injected"); - icall(_unity_self,action); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::get_material"); + if(!icall) + { + platform_log("UnityEngine.Projector::get_material func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Projector::get_material fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_RenderBuffer_SetStoreAction_Injected(void * _unity_self, int32_t action) +void UnityEngine_Projector_set_material(MonoObject* thiz, MonoObject* value) { - typedef void (* ICallMethod) (void * _unity_self, int32_t action); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderBuffer::SetStoreAction_Injected"); - icall(_unity_self,action); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::set_material"); + if(!icall) + { + platform_log("UnityEngine.Projector::set_material func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Material()); + icall(i2thiz,i2value); } -int32_t UnityEngine_RenderBuffer_GetLoadAction_Injected(void * _unity_self) +int32_t UnityEngine_Light_get_type(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (void * _unity_self); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderBuffer::GetLoadAction_Injected"); - int32_t i2res = icall(_unity_self); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_type"); + if(!icall) + { + platform_log("UnityEngine.Light::get_type func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); + int32_t i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_RenderBuffer_GetStoreAction_Injected(void * _unity_self) +float UnityEngine_Light_get_spotAngle(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (void * _unity_self); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderBuffer::GetStoreAction_Injected"); - int32_t i2res = icall(_unity_self); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_spotAngle"); + if(!icall) + { + platform_log("UnityEngine.Light::get_spotAngle func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); + float i2res = icall(i2thiz); return i2res; } -void * UnityEngine_RenderBuffer_GetNativeRenderBufferPtr_Injected(void * _unity_self) +float UnityEngine_Light_get_intensity(MonoObject* thiz) { - typedef void * (* ICallMethod) (void * _unity_self); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderBuffer::GetNativeRenderBufferPtr_Injected"); - void * i2res = icall(_unity_self); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_intensity"); + if(!icall) + { + platform_log("UnityEngine.Light::get_intensity func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); + float i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_Graphics_Internal_GetMaxDrawMeshInstanceCount() +float UnityEngine_Light_get_bounceIntensity(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_GetMaxDrawMeshInstanceCount"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_bounceIntensity"); + if(!icall) + { + platform_log("UnityEngine.Light::get_bounceIntensity func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); + float i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_Graphics_GetActiveColorGamut() +float UnityEngine_Light_get_range(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::GetActiveColorGamut"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_range"); + if(!icall) + { + platform_log("UnityEngine.Light::get_range func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); + float i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_Graphics_get_activeTier() +int32_t UnityEngine_Light_get_shadows_1(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::get_activeTier"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_shadows"); + if(!icall) + { + platform_log("UnityEngine.Light::get_shadows func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Graphics_set_activeTier(int32_t value) +float UnityEngine_Light_get_cookieSize(MonoObject* thiz) { - typedef void (* ICallMethod) (int32_t value); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::set_activeTier"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_cookieSize"); + if(!icall) + { + platform_log("UnityEngine.Light::get_cookieSize func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); + float i2res = icall(i2thiz); + return i2res; } -bool UnityEngine_Graphics_GetPreserveFramebufferAlpha() +MonoObject* UnityEngine_Light_get_cookie(MonoObject* thiz) { - typedef bool (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::GetPreserveFramebufferAlpha"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_cookie"); + if(!icall) + { + platform_log("UnityEngine.Light::get_cookie func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Light::get_cookie fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Graphics_Internal_SetNullRT() +MonoObject* UnityEngine_MeshFilter_get_sharedMesh(MonoObject* thiz) { - typedef void (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_SetNullRT"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MeshFilter::get_sharedMesh"); + if(!icall) + { + platform_log("UnityEngine.MeshFilter::get_sharedMesh func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MeshFilter()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Mesh()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.MeshFilter::get_sharedMesh fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Graphics_Internal_SetRandomWriteTargetRT(int32_t index, MonoObject* uav) +void UnityEngine_MeshFilter_set_sharedMesh(MonoObject* thiz, MonoObject* value) { - typedef void (* ICallMethod) (int32_t index, Il2CppObject* uav); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_SetRandomWriteTargetRT"); - Il2CppObject* i2uav = get_il2cpp_object(uav,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(index,i2uav); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MeshFilter::set_sharedMesh"); + if(!icall) + { + platform_log("UnityEngine.MeshFilter::set_sharedMesh func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MeshFilter()); + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Mesh()); + icall(i2thiz,i2value); } -void UnityEngine_Graphics_ClearRandomWriteTargets() +MonoObject* UnityEngine_MeshFilter_get_mesh(MonoObject* thiz) { - typedef void (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::ClearRandomWriteTargets"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MeshFilter::get_mesh"); + if(!icall) + { + platform_log("UnityEngine.MeshFilter::get_mesh func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MeshFilter()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Mesh()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.MeshFilter::get_mesh fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Graphics_CopyTexture_Full(MonoObject* src, MonoObject* dst) +void UnityEngine_MeshFilter_set_mesh(MonoObject* thiz, MonoObject* value) { - typedef void (* ICallMethod) (Il2CppObject* src, Il2CppObject* dst); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::CopyTexture_Full"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dst = get_il2cpp_object(dst,il2cpp_get_class_UnityEngine_Texture()); - icall(i2src,i2dst); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MeshFilter::set_mesh"); + if(!icall) + { + platform_log("UnityEngine.MeshFilter::set_mesh func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MeshFilter()); + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Mesh()); + icall(i2thiz,i2value); } -void UnityEngine_Graphics_CopyTexture_Slice_AllMips(MonoObject* src, int32_t srcElement, MonoObject* dst, int32_t dstElement) +void UnityEngine_SkinnedMeshRenderer_BakeMesh(MonoObject* thiz, MonoObject* mesh, bool useScale) { - typedef void (* ICallMethod) (Il2CppObject* src, int32_t srcElement, Il2CppObject* dst, int32_t dstElement); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* mesh, bool useScale); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::CopyTexture_Slice_AllMips"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dst = get_il2cpp_object(dst,il2cpp_get_class_UnityEngine_Texture()); - icall(i2src,srcElement,i2dst,dstElement); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::BakeMesh"); + if(!icall) + { + platform_log("UnityEngine.SkinnedMeshRenderer::BakeMesh func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); + Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); + icall(i2thiz,i2mesh,useScale); } -void UnityEngine_Graphics_CopyTexture_Slice(MonoObject* src, int32_t srcElement, int32_t srcMip, MonoObject* dst, int32_t dstElement, int32_t dstMip) +MonoObject* UnityEngine_Texture2D_get_whiteTexture() { - typedef void (* ICallMethod) (Il2CppObject* src, int32_t srcElement, int32_t srcMip, Il2CppObject* dst, int32_t dstElement, int32_t dstMip); + typedef Il2CppObject* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::CopyTexture_Slice"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dst = get_il2cpp_object(dst,il2cpp_get_class_UnityEngine_Texture()); - icall(i2src,srcElement,srcMip,i2dst,dstElement,dstMip); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_whiteTexture"); + if(!icall) + { + platform_log("UnityEngine.Texture2D::get_whiteTexture func not found"); + return NULL; + } + } + Il2CppObject* i2res = icall(); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture2D()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Texture2D::get_whiteTexture fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Graphics_CopyTexture_Region(MonoObject* src, int32_t srcElement, int32_t srcMip, int32_t srcX, int32_t srcY, int32_t srcWidth, int32_t srcHeight, MonoObject* dst, int32_t dstElement, int32_t dstMip, int32_t dstX, int32_t dstY) +bool UnityEngine_Texture2D_get_isReadable_1(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* src, int32_t srcElement, int32_t srcMip, int32_t srcX, int32_t srcY, int32_t srcWidth, int32_t srcHeight, Il2CppObject* dst, int32_t dstElement, int32_t dstMip, int32_t dstX, int32_t dstY); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::CopyTexture_Region"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dst = get_il2cpp_object(dst,il2cpp_get_class_UnityEngine_Texture()); - icall(i2src,srcElement,srcMip,srcX,srcY,srcWidth,srcHeight,i2dst,dstElement,dstMip,dstX,dstY); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_isReadable"); + if(!icall) + { + platform_log("UnityEngine.Texture2D::get_isReadable func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); + bool i2res = icall(i2thiz); + return i2res; } -bool UnityEngine_Graphics_ConvertTexture_Full(MonoObject* src, MonoObject* dst) +void* UnityEngine_Texture2D_GetPixels(MonoObject* thiz, int32_t x, int32_t y, int32_t blockWidth, int32_t blockHeight, int32_t miplevel) { - typedef bool (* ICallMethod) (Il2CppObject* src, Il2CppObject* dst); + typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t x, int32_t y, int32_t blockWidth, int32_t blockHeight, int32_t miplevel); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::ConvertTexture_Full"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dst = get_il2cpp_object(dst,il2cpp_get_class_UnityEngine_Texture()); - bool i2res = icall(i2src,i2dst); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::GetPixels"); + if(!icall) + { + platform_log("UnityEngine.Texture2D::GetPixels func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); + void* i2res = icall(i2thiz,x,y,blockWidth,blockHeight,miplevel); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.Texture2D::GetPixels fail to convert il2cpp obj to mono"); + } return i2res; } -bool UnityEngine_Graphics_ConvertTexture_Slice(MonoObject* src, int32_t srcElement, MonoObject* dst, int32_t dstElement) +void* UnityEngine_Texture2D_PackTextures(MonoObject* thiz, MonoArray* textures, int32_t padding, int32_t maximumAtlasSize, bool makeNoLongerReadable) { - typedef bool (* ICallMethod) (Il2CppObject* src, int32_t srcElement, Il2CppObject* dst, int32_t dstElement); + typedef void* (* ICallMethod) (Il2CppObject* thiz, Il2CppArray* textures, int32_t padding, int32_t maximumAtlasSize, bool makeNoLongerReadable); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::ConvertTexture_Slice"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dst = get_il2cpp_object(dst,il2cpp_get_class_UnityEngine_Texture()); - bool i2res = icall(i2src,srcElement,i2dst,dstElement); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::PackTextures"); + if(!icall) + { + platform_log("UnityEngine.Texture2D::PackTextures func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); + Il2CppArray* i2textures = get_il2cpp_array(textures); + void* i2res = icall(i2thiz,i2textures,padding,maximumAtlasSize,makeNoLongerReadable); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.Texture2D::PackTextures fail to convert il2cpp obj to mono"); + } return i2res; } -void UnityEngine_Graphics_Internal_DrawTexture(void * args) +bool UnityEngine_Cubemap_get_isReadable_2(MonoObject* thiz) { - typedef void (* ICallMethod) (void * args); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_DrawTexture"); - icall(args); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::get_isReadable"); + if(!icall) + { + platform_log("UnityEngine.Cubemap::get_isReadable func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); + bool i2res = icall(i2thiz); + return i2res; } -void UnityEngine_Graphics_Internal_DrawMeshInstanced(MonoObject* mesh, int32_t submeshIndex, MonoObject* material, void* matrices, int32_t count, MonoObject* properties, int32_t castShadows, bool receiveShadows, int32_t layer, MonoObject* camera, int32_t lightProbeUsage, MonoObject* lightProbeProxyVolume) +bool UnityEngine_Texture3D_get_isReadable_3(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* mesh, int32_t submeshIndex, Il2CppObject* material, void* matrices, int32_t count, Il2CppObject* properties, int32_t castShadows, bool receiveShadows, int32_t layer, Il2CppObject* camera, int32_t lightProbeUsage, Il2CppObject* lightProbeProxyVolume); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_DrawMeshInstanced"); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2lightProbeProxyVolume = get_il2cpp_object(lightProbeProxyVolume,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2mesh,submeshIndex,i2material,matrices,count,i2properties,castShadows,receiveShadows,layer,i2camera,lightProbeUsage,i2lightProbeProxyVolume); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::get_isReadable"); + if(!icall) + { + platform_log("UnityEngine.Texture3D::get_isReadable func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); + bool i2res = icall(i2thiz); + return i2res; } -void UnityEngine_Graphics_Internal_DrawProceduralNow(int32_t topology, int32_t vertexCount, int32_t instanceCount) +bool UnityEngine_Texture2DArray_get_isReadable_4(MonoObject* thiz) { - typedef void (* ICallMethod) (int32_t topology, int32_t vertexCount, int32_t instanceCount); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_DrawProceduralNow"); - icall(topology,vertexCount,instanceCount); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::get_isReadable"); + if(!icall) + { + platform_log("UnityEngine.Texture2DArray::get_isReadable func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2DArray()); + bool i2res = icall(i2thiz); + return i2res; } -void UnityEngine_Graphics_Internal_DrawProceduralIndexedNow(int32_t topology, MonoObject* indexBuffer, int32_t indexCount, int32_t instanceCount) +bool UnityEngine_CubemapArray_get_isReadable_5(MonoObject* thiz) { - typedef void (* ICallMethod) (int32_t topology, Il2CppObject* indexBuffer, int32_t indexCount, int32_t instanceCount); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_DrawProceduralIndexedNow"); - Il2CppObject* i2indexBuffer = get_il2cpp_object(indexBuffer,il2cpp_get_class_UnityEngine_GraphicsBuffer()); - icall(topology,i2indexBuffer,indexCount,instanceCount); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CubemapArray::get_isReadable"); + if(!icall) + { + platform_log("UnityEngine.CubemapArray::get_isReadable func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CubemapArray()); + bool i2res = icall(i2thiz); + return i2res; } -void UnityEngine_Graphics_Internal_BlitMaterial5(MonoObject* source, MonoObject* dest, MonoObject* mat, int32_t pass, bool setRT) +void UnityEngine_Cursor_set_visible(bool value) { - typedef void (* ICallMethod) (Il2CppObject* source, Il2CppObject* dest, Il2CppObject* mat, int32_t pass, bool setRT); + typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_BlitMaterial5"); - Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_RenderTexture()); - Il2CppObject* i2mat = get_il2cpp_object(mat,il2cpp_get_class_UnityEngine_Material()); - icall(i2source,i2dest,i2mat,pass,setRT); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cursor::set_visible"); + if(!icall) + { + platform_log("UnityEngine.Cursor::set_visible func not found"); + return; + } + } + icall(value); } -void UnityEngine_Graphics_Internal_BlitMaterial6(MonoObject* source, MonoObject* dest, MonoObject* mat, int32_t pass, bool setRT, int32_t destDepthSlice) +int32_t UnityEngine_Cursor_get_lockState() { - typedef void (* ICallMethod) (Il2CppObject* source, Il2CppObject* dest, Il2CppObject* mat, int32_t pass, bool setRT, int32_t destDepthSlice); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_BlitMaterial6"); - Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_RenderTexture()); - Il2CppObject* i2mat = get_il2cpp_object(mat,il2cpp_get_class_UnityEngine_Material()); - icall(i2source,i2dest,i2mat,pass,setRT,destDepthSlice); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cursor::get_lockState"); + if(!icall) + { + platform_log("UnityEngine.Cursor::get_lockState func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_Graphics_Internal_BlitMultiTap4(MonoObject* source, MonoObject* dest, MonoObject* mat, void* offsets) +void UnityEngine_Cursor_set_lockState(int32_t value) { - typedef void (* ICallMethod) (Il2CppObject* source, Il2CppObject* dest, Il2CppObject* mat, void* offsets); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_BlitMultiTap4"); - Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_RenderTexture()); - Il2CppObject* i2mat = get_il2cpp_object(mat,il2cpp_get_class_UnityEngine_Material()); - icall(i2source,i2dest,i2mat,offsets); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cursor::set_lockState"); + if(!icall) + { + platform_log("UnityEngine.Cursor::set_lockState func not found"); + return; + } + } + icall(value); } -void UnityEngine_Graphics_Internal_BlitMultiTap5(MonoObject* source, MonoObject* dest, MonoObject* mat, void* offsets, int32_t destDepthSlice) +int32_t UnityEngine_PlayerPrefs_GetInt(MonoString* key, int32_t defaultValue) { - typedef void (* ICallMethod) (Il2CppObject* source, Il2CppObject* dest, Il2CppObject* mat, void* offsets, int32_t destDepthSlice); + typedef int32_t (* ICallMethod) (Il2CppString* key, int32_t defaultValue); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_BlitMultiTap5"); - Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_RenderTexture()); - Il2CppObject* i2mat = get_il2cpp_object(mat,il2cpp_get_class_UnityEngine_Material()); - icall(i2source,i2dest,i2mat,offsets,destDepthSlice); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::GetInt"); + if(!icall) + { + platform_log("UnityEngine.PlayerPrefs::GetInt func not found"); + return 0; + } + } + Il2CppString* i2key = get_il2cpp_string(key); + int32_t i2res = icall(i2key,defaultValue); + return i2res; } -void UnityEngine_Graphics_Blit2(MonoObject* source, MonoObject* dest) +float UnityEngine_PlayerPrefs_GetFloat(MonoString* key, float defaultValue) { - typedef void (* ICallMethod) (Il2CppObject* source, Il2CppObject* dest); + typedef float (* ICallMethod) (Il2CppString* key, float defaultValue); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Blit2"); - Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2source,i2dest); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::GetFloat"); + if(!icall) + { + platform_log("UnityEngine.PlayerPrefs::GetFloat func not found"); + return 0; + } + } + Il2CppString* i2key = get_il2cpp_string(key); + float i2res = icall(i2key,defaultValue); + return i2res; } -void UnityEngine_Graphics_Blit3(MonoObject* source, MonoObject* dest, int32_t sourceDepthSlice, int32_t destDepthSlice) +MonoString* UnityEngine_PlayerPrefs_GetString(MonoString* key, MonoString* defaultValue) { - typedef void (* ICallMethod) (Il2CppObject* source, Il2CppObject* dest, int32_t sourceDepthSlice, int32_t destDepthSlice); + typedef Il2CppString* (* ICallMethod) (Il2CppString* key, Il2CppString* defaultValue); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Blit3"); - Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2source,i2dest,sourceDepthSlice,destDepthSlice); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::GetString"); + if(!icall) + { + platform_log("UnityEngine.PlayerPrefs::GetString func not found"); + return NULL; + } + } + Il2CppString* i2key = get_il2cpp_string(key); + Il2CppString* i2defaultValue = get_il2cpp_string(defaultValue); + Il2CppString* i2res = icall(i2key,i2defaultValue); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.PlayerPrefs::GetString fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void * UnityEngine_Graphics_CreateGPUFenceImpl(int32_t fenceType, int32_t stage) +bool UnityEngine_PlayerPrefs_HasKey(MonoString* key) { - typedef void * (* ICallMethod) (int32_t fenceType, int32_t stage); + typedef bool (* ICallMethod) (Il2CppString* key); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::CreateGPUFenceImpl"); - void * i2res = icall(fenceType,stage); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::HasKey"); + if(!icall) + { + platform_log("UnityEngine.PlayerPrefs::HasKey func not found"); + return 0; + } + } + Il2CppString* i2key = get_il2cpp_string(key); + bool i2res = icall(i2key); return i2res; } -void UnityEngine_Graphics_WaitOnGPUFenceImpl(void * fencePtr, int32_t stage) +void UnityEngine_PlayerPrefs_DeleteKey(MonoString* key) { - typedef void (* ICallMethod) (void * fencePtr, int32_t stage); + typedef void (* ICallMethod) (Il2CppString* key); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::WaitOnGPUFenceImpl"); - icall(fencePtr,stage); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::DeleteKey"); + if(!icall) + { + platform_log("UnityEngine.PlayerPrefs::DeleteKey func not found"); + return; + } + } + Il2CppString* i2key = get_il2cpp_string(key); + icall(i2key); } -void UnityEngine_Graphics_ExecuteCommandBuffer(MonoObject* buffer) +void UnityEngine_PlayerPrefs_DeleteAll() { - typedef void (* ICallMethod) (Il2CppObject* buffer); + typedef void (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::ExecuteCommandBuffer"); - Il2CppObject* i2buffer = get_il2cpp_object(buffer,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2buffer); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::DeleteAll"); + if(!icall) + { + platform_log("UnityEngine.PlayerPrefs::DeleteAll func not found"); + return; + } + } + icall(); } -void UnityEngine_Graphics_ExecuteCommandBufferAsync(MonoObject* buffer, int32_t queueType) +void UnityEngine_PlayerPrefs_Save() { - typedef void (* ICallMethod) (Il2CppObject* buffer, int32_t queueType); + typedef void (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::ExecuteCommandBufferAsync"); - Il2CppObject* i2buffer = get_il2cpp_object(buffer,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2buffer,queueType); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::Save"); + if(!icall) + { + platform_log("UnityEngine.PlayerPrefs::Save func not found"); + return; + } + } + icall(); } -void UnityEngine_Graphics_GetActiveColorBuffer_Injected(void * ret) +void UnityEngine_PropertyNameUtils_PropertyNameFromString_Injected(MonoString* name, void * ret) { - typedef void (* ICallMethod) (void * ret); + typedef void (* ICallMethod) (Il2CppString* name, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::GetActiveColorBuffer_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PropertyNameUtils::PropertyNameFromString_Injected"); + if(!icall) + { + platform_log("UnityEngine.PropertyNameUtils::PropertyNameFromString_Injected func not found"); + return; + } + } + Il2CppString* i2name = get_il2cpp_string(name); + icall(i2name,ret); } -void UnityEngine_Graphics_GetActiveDepthBuffer_Injected(void * ret) +int32_t UnityEngine_Random_RandomRangeInt(int32_t minInclusive, int32_t maxExclusive) { - typedef void (* ICallMethod) (void * ret); + typedef int32_t (* ICallMethod) (int32_t minInclusive, int32_t maxExclusive); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::GetActiveDepthBuffer_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::RandomRangeInt"); + if(!icall) + { + platform_log("UnityEngine.Random::RandomRangeInt func not found"); + return 0; + } + } + int32_t i2res = icall(minInclusive,maxExclusive); + return i2res; } -void UnityEngine_Graphics_Internal_SetRTSimple_Injected(void * color, void * depth, int32_t mip, int32_t face, int32_t depthSlice) +void UnityEngine_Random_InitState(int32_t seed) { - typedef void (* ICallMethod) (void * color, void * depth, int32_t mip, int32_t face, int32_t depthSlice); + typedef void (* ICallMethod) (int32_t seed); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_SetRTSimple_Injected"); - icall(color,depth,mip,face,depthSlice); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::InitState"); + if(!icall) + { + platform_log("UnityEngine.Random::InitState func not found"); + return; + } + } + icall(seed); } -void UnityEngine_Graphics_Internal_SetMRTSimple_Injected(void* color, void * depth, int32_t mip, int32_t face, int32_t depthSlice) +float UnityEngine_Random_Range(float minInclusive, float maxInclusive) { - typedef void (* ICallMethod) (void* color, void * depth, int32_t mip, int32_t face, int32_t depthSlice); + typedef float (* ICallMethod) (float minInclusive, float maxInclusive); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_SetMRTSimple_Injected"); - icall(color,depth,mip,face,depthSlice); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::Range"); + if(!icall) + { + platform_log("UnityEngine.Random::Range func not found"); + return 0; + } + } + float i2res = icall(minInclusive,maxInclusive); + return i2res; } -void UnityEngine_Graphics_Internal_SetMRTFullSetup_Injected(void* color, void * depth, int32_t mip, int32_t face, int32_t depthSlice, int32_t colorLA, int32_t colorSA, int32_t depthLA, int32_t depthSA) +MonoArray* UnityEngine_ResourcesAPIInternal_FindObjectsOfTypeAll(MonoReflectionType* type) { - typedef void (* ICallMethod) (void* color, void * depth, int32_t mip, int32_t face, int32_t depthSlice, int32_t colorLA, int32_t colorSA, int32_t depthLA, int32_t depthSA); + typedef Il2CppArray* (* ICallMethod) (Il2CppReflectionType* type); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_SetMRTFullSetup_Injected"); - icall(color,depth,mip,face,depthSlice,colorLA,colorSA,depthLA,depthSA); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ResourcesAPIInternal::FindObjectsOfTypeAll"); + if(!icall) + { + platform_log("UnityEngine.ResourcesAPIInternal::FindObjectsOfTypeAll func not found"); + return NULL; + } + } + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + Il2CppArray* i2res = icall(i2type); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.ResourcesAPIInternal::FindObjectsOfTypeAll fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Graphics_Internal_DrawMeshNow1_Injected(MonoObject* mesh, int32_t subsetIndex, void * position, void * rotation) +MonoObject* UnityEngine_ResourcesAPIInternal_FindShaderByName(MonoString* name) { - typedef void (* ICallMethod) (Il2CppObject* mesh, int32_t subsetIndex, void * position, void * rotation); + typedef Il2CppObject* (* ICallMethod) (Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_DrawMeshNow1_Injected"); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2mesh,subsetIndex,position,rotation); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ResourcesAPIInternal::FindShaderByName"); + if(!icall) + { + platform_log("UnityEngine.ResourcesAPIInternal::FindShaderByName func not found"); + return NULL; + } + } + Il2CppString* i2name = get_il2cpp_string(name); + Il2CppObject* i2res = icall(i2name); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Shader()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.ResourcesAPIInternal::FindShaderByName fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Graphics_Internal_DrawMeshNow2_Injected(MonoObject* mesh, int32_t subsetIndex, void * matrix) +MonoObject* UnityEngine_ResourcesAPIInternal_Load(MonoString* path, MonoReflectionType* systemTypeInstance) { - typedef void (* ICallMethod) (Il2CppObject* mesh, int32_t subsetIndex, void * matrix); + typedef Il2CppObject* (* ICallMethod) (Il2CppString* path, Il2CppReflectionType* systemTypeInstance); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_DrawMeshNow2_Injected"); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2mesh,subsetIndex,matrix); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ResourcesAPIInternal::Load"); + if(!icall) + { + platform_log("UnityEngine.ResourcesAPIInternal::Load func not found"); + return NULL; + } + } + Il2CppString* i2path = get_il2cpp_string(path); + Il2CppReflectionType* i2systemTypeInstance = get_il2cpp_reflection_type(systemTypeInstance); + Il2CppObject* i2res = icall(i2path,i2systemTypeInstance); + MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.ResourcesAPIInternal::Load fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Graphics_Internal_DrawMesh_Injected(MonoObject* mesh, int32_t submeshIndex, void * matrix, MonoObject* material, int32_t layer, MonoObject* camera, MonoObject* properties, int32_t castShadows, bool receiveShadows, MonoObject* probeAnchor, int32_t lightProbeUsage, MonoObject* lightProbeProxyVolume) +MonoArray* UnityEngine_ResourcesAPIInternal_LoadAll(MonoString* path, MonoReflectionType* systemTypeInstance) { - typedef void (* ICallMethod) (Il2CppObject* mesh, int32_t submeshIndex, void * matrix, Il2CppObject* material, int32_t layer, Il2CppObject* camera, Il2CppObject* properties, int32_t castShadows, bool receiveShadows, Il2CppObject* probeAnchor, int32_t lightProbeUsage, Il2CppObject* lightProbeProxyVolume); + typedef Il2CppArray* (* ICallMethod) (Il2CppString* path, Il2CppReflectionType* systemTypeInstance); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_DrawMesh_Injected"); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - Il2CppObject* i2probeAnchor = get_il2cpp_object(probeAnchor,il2cpp_get_class_UnityEngine_Transform()); - Il2CppObject* i2lightProbeProxyVolume = get_il2cpp_object(lightProbeProxyVolume,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2mesh,submeshIndex,matrix,i2material,layer,i2camera,i2properties,castShadows,receiveShadows,i2probeAnchor,lightProbeUsage,i2lightProbeProxyVolume); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ResourcesAPIInternal::LoadAll"); + if(!icall) + { + platform_log("UnityEngine.ResourcesAPIInternal::LoadAll func not found"); + return NULL; + } + } + Il2CppString* i2path = get_il2cpp_string(path); + Il2CppReflectionType* i2systemTypeInstance = get_il2cpp_reflection_type(systemTypeInstance); + Il2CppArray* i2res = icall(i2path,i2systemTypeInstance); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.ResourcesAPIInternal::LoadAll fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Graphics_Internal_DrawMeshInstancedProcedural_Injected(MonoObject* mesh, int32_t submeshIndex, MonoObject* material, void * bounds, int32_t count, MonoObject* properties, int32_t castShadows, bool receiveShadows, int32_t layer, MonoObject* camera, int32_t lightProbeUsage, MonoObject* lightProbeProxyVolume) +MonoObject* UnityEngine_ResourcesAPIInternal_LoadAsyncInternal(MonoString* path, MonoReflectionType* type) { - typedef void (* ICallMethod) (Il2CppObject* mesh, int32_t submeshIndex, Il2CppObject* material, void * bounds, int32_t count, Il2CppObject* properties, int32_t castShadows, bool receiveShadows, int32_t layer, Il2CppObject* camera, int32_t lightProbeUsage, Il2CppObject* lightProbeProxyVolume); + typedef Il2CppObject* (* ICallMethod) (Il2CppString* path, Il2CppReflectionType* type); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_DrawMeshInstancedProcedural_Injected"); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2lightProbeProxyVolume = get_il2cpp_object(lightProbeProxyVolume,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2mesh,submeshIndex,i2material,bounds,count,i2properties,castShadows,receiveShadows,layer,i2camera,lightProbeUsage,i2lightProbeProxyVolume); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ResourcesAPIInternal::LoadAsyncInternal"); + if(!icall) + { + platform_log("UnityEngine.ResourcesAPIInternal::LoadAsyncInternal func not found"); + return NULL; + } + } + Il2CppString* i2path = get_il2cpp_string(path); + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + Il2CppObject* i2res = icall(i2path,i2type); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_ResourceRequest()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.ResourcesAPIInternal::LoadAsyncInternal fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Graphics_Internal_DrawProcedural_Injected(MonoObject* material, void * bounds, int32_t topology, int32_t vertexCount, int32_t instanceCount, MonoObject* camera, MonoObject* properties, int32_t castShadows, bool receiveShadows, int32_t layer) +void UnityEngine_ResourcesAPIInternal_UnloadAsset(MonoObject* assetToUnload) { - typedef void (* ICallMethod) (Il2CppObject* material, void * bounds, int32_t topology, int32_t vertexCount, int32_t instanceCount, Il2CppObject* camera, Il2CppObject* properties, int32_t castShadows, bool receiveShadows, int32_t layer); + typedef void (* ICallMethod) (Il2CppObject* assetToUnload); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_DrawProcedural_Injected"); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2material,bounds,topology,vertexCount,instanceCount,i2camera,i2properties,castShadows,receiveShadows,layer); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ResourcesAPIInternal::UnloadAsset"); + if(!icall) + { + platform_log("UnityEngine.ResourcesAPIInternal::UnloadAsset func not found"); + return; + } + } + Il2CppObject* i2assetToUnload = get_il2cpp_object(assetToUnload,il2cpp_get_class_UnityEngine_Object()); + icall(i2assetToUnload); } -void UnityEngine_Graphics_Internal_DrawProceduralIndexed_Injected(MonoObject* material, void * bounds, int32_t topology, MonoObject* indexBuffer, int32_t indexCount, int32_t instanceCount, MonoObject* camera, MonoObject* properties, int32_t castShadows, bool receiveShadows, int32_t layer) +MonoObject* UnityEngine_Resources_GetBuiltinResource(MonoReflectionType* type, MonoString* path) { - typedef void (* ICallMethod) (Il2CppObject* material, void * bounds, int32_t topology, Il2CppObject* indexBuffer, int32_t indexCount, int32_t instanceCount, Il2CppObject* camera, Il2CppObject* properties, int32_t castShadows, bool receiveShadows, int32_t layer); + typedef Il2CppObject* (* ICallMethod) (Il2CppReflectionType* type, Il2CppString* path); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Internal_DrawProceduralIndexed_Injected"); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2indexBuffer = get_il2cpp_object(indexBuffer,il2cpp_get_class_UnityEngine_GraphicsBuffer()); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2material,bounds,topology,i2indexBuffer,indexCount,instanceCount,i2camera,i2properties,castShadows,receiveShadows,layer); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Resources::GetBuiltinResource"); + if(!icall) + { + platform_log("UnityEngine.Resources::GetBuiltinResource func not found"); + return NULL; + } + } + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + Il2CppString* i2path = get_il2cpp_string(path); + Il2CppObject* i2res = icall(i2type,i2path); + MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Resources::GetBuiltinResource fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Graphics_Blit4_Injected(MonoObject* source, MonoObject* dest, void * scale, void * offset) +void UnityEngine_Resources_UnloadAssetImplResourceManager(MonoObject* assetToUnload) { - typedef void (* ICallMethod) (Il2CppObject* source, Il2CppObject* dest, void * scale, void * offset); + typedef void (* ICallMethod) (Il2CppObject* assetToUnload); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Blit4_Injected"); - Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2source,i2dest,scale,offset); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Resources::UnloadAssetImplResourceManager"); + if(!icall) + { + platform_log("UnityEngine.Resources::UnloadAssetImplResourceManager func not found"); + return; + } + } + Il2CppObject* i2assetToUnload = get_il2cpp_object(assetToUnload,il2cpp_get_class_UnityEngine_Object()); + icall(i2assetToUnload); } -void UnityEngine_Graphics_Blit5_Injected(MonoObject* source, MonoObject* dest, void * scale, void * offset, int32_t sourceDepthSlice, int32_t destDepthSlice) +MonoObject* UnityEngine_Resources_UnloadUnusedAssets() { - typedef void (* ICallMethod) (Il2CppObject* source, Il2CppObject* dest, void * scale, void * offset, int32_t sourceDepthSlice, int32_t destDepthSlice); + typedef Il2CppObject* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Graphics::Blit5_Injected"); - Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2source,i2dest,scale,offset,sourceDepthSlice,destDepthSlice); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Resources::UnloadUnusedAssets"); + if(!icall) + { + platform_log("UnityEngine.Resources::UnloadUnusedAssets func not found"); + return NULL; + } + } + Il2CppObject* i2res = icall(); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AsyncOperation()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Resources::UnloadUnusedAssets fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_GL_Vertex3(float x, float y, float z) +MonoObject* UnityEngine_Resources_InstanceIDToObject(int32_t instanceID) { - typedef void (* ICallMethod) (float x, float y, float z); + typedef Il2CppObject* (* ICallMethod) (int32_t instanceID); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::Vertex3"); - icall(x,y,z); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Resources::InstanceIDToObject"); + if(!icall) + { + platform_log("UnityEngine.Resources::InstanceIDToObject func not found"); + return NULL; + } + } + Il2CppObject* i2res = icall(instanceID); + MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Resources::InstanceIDToObject fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_GL_TexCoord3(float x, float y, float z) +void UnityEngine_Resources_InstanceIDToObjectList(void * instanceIDs, int32_t instanceCount, MonoObject* objects) { - typedef void (* ICallMethod) (float x, float y, float z); + typedef void (* ICallMethod) (void * instanceIDs, int32_t instanceCount, Il2CppObject* objects); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::TexCoord3"); - icall(x,y,z); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Resources::InstanceIDToObjectList"); + if(!icall) + { + platform_log("UnityEngine.Resources::InstanceIDToObjectList func not found"); + return; + } + } + Il2CppObject* i2objects = get_il2cpp_object(objects,NULL); + icall(instanceIDs,instanceCount,i2objects); } -void UnityEngine_GL_MultiTexCoord3(int32_t unit, float x, float y, float z) +bool UnityEngine_AsyncOperation_get_isDone(MonoObject* thiz) { - typedef void (* ICallMethod) (int32_t unit, float x, float y, float z); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::MultiTexCoord3"); - icall(unit,x,y,z); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AsyncOperation::get_isDone"); + if(!icall) + { + platform_log("UnityEngine.AsyncOperation::get_isDone func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AsyncOperation()); + bool i2res = icall(i2thiz); + return i2res; } -void UnityEngine_GL_ImmediateColor(float r, float g, float b, float a) +int32_t UnityEngine_LayerMask_NameToLayer(MonoString* layerName) { - typedef void (* ICallMethod) (float r, float g, float b, float a); + typedef int32_t (* ICallMethod) (Il2CppString* layerName); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::ImmediateColor"); - icall(r,g,b,a); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LayerMask::NameToLayer"); + if(!icall) + { + platform_log("UnityEngine.LayerMask::NameToLayer func not found"); + return 0; + } + } + Il2CppString* i2layerName = get_il2cpp_string(layerName); + int32_t i2res = icall(i2layerName); + return i2res; } -bool UnityEngine_GL_get_wireframe() +bool UnityEngine_MonoBehaviour_get_useGUILayout(MonoObject* thiz) { - typedef bool (* ICallMethod) (); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::get_wireframe"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::get_useGUILayout"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::get_useGUILayout func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); + bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_GL_set_wireframe(bool value) +void UnityEngine_MonoBehaviour_set_useGUILayout(MonoObject* thiz, bool value) { - typedef void (* ICallMethod) (bool value); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::set_wireframe"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::set_useGUILayout"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::set_useGUILayout func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); + icall(i2thiz,value); } -bool UnityEngine_GL_get_sRGBWrite() +void UnityEngine_MonoBehaviour_StopCoroutine(MonoObject* thiz, MonoString* methodName) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::get_sRGBWrite"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::StopCoroutine"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::StopCoroutine func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); + Il2CppString* i2methodName = get_il2cpp_string(methodName); + icall(i2thiz,i2methodName); } -void UnityEngine_GL_set_sRGBWrite(bool value) +void UnityEngine_MonoBehaviour_StopAllCoroutines(MonoObject* thiz) { - typedef void (* ICallMethod) (bool value); + typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::set_sRGBWrite"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::StopAllCoroutines"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::StopAllCoroutines func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); + icall(i2thiz); } -bool UnityEngine_GL_get_invertCulling() +void UnityEngine_MonoBehaviour_Internal_CancelInvokeAll(MonoObject* self) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::get_invertCulling"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::Internal_CancelInvokeAll"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::Internal_CancelInvokeAll func not found"); + return; + } + } + Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_MonoBehaviour()); + icall(i2self); } -void UnityEngine_GL_set_invertCulling(bool value) +bool UnityEngine_MonoBehaviour_Internal_IsInvokingAll(MonoObject* self) { - typedef void (* ICallMethod) (bool value); + typedef bool (* ICallMethod) (Il2CppObject* self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::set_invertCulling"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::Internal_IsInvokingAll"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::Internal_IsInvokingAll func not found"); + return 0; + } + } + Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_MonoBehaviour()); + bool i2res = icall(i2self); + return i2res; } -void UnityEngine_GL_Flush() +void UnityEngine_MonoBehaviour_InvokeDelayed(MonoObject* self, MonoString* methodName, float time, float repeatRate) { - typedef void (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* self, Il2CppString* methodName, float time, float repeatRate); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::Flush"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::InvokeDelayed"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::InvokeDelayed func not found"); + return; + } + } + Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_MonoBehaviour()); + Il2CppString* i2methodName = get_il2cpp_string(methodName); + icall(i2self,i2methodName,time,repeatRate); } -void UnityEngine_GL_RenderTargetBarrier() +void UnityEngine_MonoBehaviour_CancelInvoke(MonoObject* self, MonoString* methodName) { - typedef void (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* self, Il2CppString* methodName); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::RenderTargetBarrier"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::CancelInvoke"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::CancelInvoke func not found"); + return; + } + } + Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_MonoBehaviour()); + Il2CppString* i2methodName = get_il2cpp_string(methodName); + icall(i2self,i2methodName); } -void UnityEngine_GL_IssuePluginEvent(int32_t eventID) +bool UnityEngine_MonoBehaviour_IsInvoking(MonoObject* self, MonoString* methodName) { - typedef void (* ICallMethod) (int32_t eventID); + typedef bool (* ICallMethod) (Il2CppObject* self, Il2CppString* methodName); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::IssuePluginEvent"); - icall(eventID); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::IsInvoking"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::IsInvoking func not found"); + return 0; + } + } + Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_MonoBehaviour()); + Il2CppString* i2methodName = get_il2cpp_string(methodName); + bool i2res = icall(i2self,i2methodName); + return i2res; } -void UnityEngine_GL_SetRevertBackfacing(bool revertBackFaces) +bool UnityEngine_MonoBehaviour_IsObjectMonoBehaviour(MonoObject* obj) { - typedef void (* ICallMethod) (bool revertBackFaces); + typedef bool (* ICallMethod) (Il2CppObject* obj); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::SetRevertBackfacing"); - icall(revertBackFaces); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::IsObjectMonoBehaviour"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::IsObjectMonoBehaviour func not found"); + return 0; + } + } + Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); + bool i2res = icall(i2obj); + return i2res; } -void UnityEngine_GL_PushMatrix() +MonoObject* UnityEngine_MonoBehaviour_StartCoroutineManaged(MonoObject* thiz, MonoString* methodName, MonoObject* value) { - typedef void (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::PushMatrix"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::StartCoroutineManaged"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::StartCoroutineManaged func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); + Il2CppString* i2methodName = get_il2cpp_string(methodName); + Il2CppObject* i2value = get_il2cpp_object(value,NULL); + Il2CppObject* i2res = icall(i2thiz,i2methodName,i2value); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Coroutine()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.MonoBehaviour::StartCoroutineManaged fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_GL_PopMatrix() +void UnityEngine_MonoBehaviour_StopCoroutineManaged(MonoObject* thiz, MonoObject* routine) { - typedef void (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* routine); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::PopMatrix"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::StopCoroutineManaged"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::StopCoroutineManaged func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); + Il2CppObject* i2routine = get_il2cpp_object(routine,il2cpp_get_class_UnityEngine_Coroutine()); + icall(i2thiz,i2routine); } -void UnityEngine_GL_LoadIdentity() +void UnityEngine_MonoBehaviour_StopCoroutineFromEnumeratorManaged(MonoObject* thiz, MonoObject* routine) { - typedef void (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* routine); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::LoadIdentity"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::StopCoroutineFromEnumeratorManaged"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::StopCoroutineFromEnumeratorManaged func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); + Il2CppObject* i2routine = get_il2cpp_object(routine,NULL); + icall(i2thiz,i2routine); } -void UnityEngine_GL_LoadOrtho() +MonoString* UnityEngine_MonoBehaviour_GetScriptClassName(MonoObject* thiz) { - typedef void (* ICallMethod) (); + typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::LoadOrtho"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::GetScriptClassName"); + if(!icall) + { + platform_log("UnityEngine.MonoBehaviour::GetScriptClassName func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); + Il2CppString* i2res = icall(i2thiz); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.MonoBehaviour::GetScriptClassName fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_GL_LoadPixelMatrix() +void UnityEngine_ScriptableObject_CreateScriptableObject(MonoObject* self) { - typedef void (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::LoadPixelMatrix"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ScriptableObject::CreateScriptableObject"); + if(!icall) + { + platform_log("UnityEngine.ScriptableObject::CreateScriptableObject func not found"); + return; + } + } + Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_ScriptableObject()); + icall(i2self); } -void UnityEngine_GL_InvalidateState() +MonoObject* UnityEngine_ScriptableObject_CreateScriptableObjectInstanceFromType(MonoReflectionType* type, bool applyDefaultsAndReset) { - typedef void (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppReflectionType* type, bool applyDefaultsAndReset); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::InvalidateState"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ScriptableObject::CreateScriptableObjectInstanceFromType"); + if(!icall) + { + platform_log("UnityEngine.ScriptableObject::CreateScriptableObjectInstanceFromType func not found"); + return NULL; + } + } + Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); + Il2CppObject* i2res = icall(i2type,applyDefaultsAndReset); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_ScriptableObject()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.ScriptableObject::CreateScriptableObjectInstanceFromType fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_GL_GLLoadPixelMatrixScript(float left, float right, float bottom, float top) +MonoArray* UnityEngine_TextAsset_get_bytes(MonoObject* thiz) { - typedef void (* ICallMethod) (float left, float right, float bottom, float top); + typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::GLLoadPixelMatrixScript"); - icall(left,right,bottom,top); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TextAsset::get_bytes"); + if(!icall) + { + platform_log("UnityEngine.TextAsset::get_bytes func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TextAsset()); + Il2CppArray* i2res = icall(i2thiz); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.TextAsset::get_bytes fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_GL_GLIssuePluginEvent(void * callback, int32_t eventID) +int32_t UnityEngine_ComputeShader_FindKernel(MonoObject* thiz, MonoString* name) { - typedef void (* ICallMethod) (void * callback, int32_t eventID); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::GLIssuePluginEvent"); - icall(callback,eventID); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::FindKernel"); + if(!icall) + { + platform_log("UnityEngine.ComputeShader::FindKernel func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); + Il2CppString* i2name = get_il2cpp_string(name); + int32_t i2res = icall(i2thiz,i2name); + return i2res; } -void UnityEngine_GL_Begin(int32_t mode) +float UnityEngine_Time_get_time_2() { - typedef void (* ICallMethod) (int32_t mode); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::Begin"); - icall(mode); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_time"); + if(!icall) + { + platform_log("UnityEngine.Time::get_time func not found"); + return 0; + } + } + float i2res = icall(); + return i2res; } -void UnityEngine_GL_End() +float UnityEngine_Time_get_deltaTime() { - typedef void (* ICallMethod) (); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::End"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_deltaTime"); + if(!icall) + { + platform_log("UnityEngine.Time::get_deltaTime func not found"); + return 0; + } + } + float i2res = icall(); + return i2res; } -void UnityEngine_GL_ClearWithSkybox(bool clearDepth, MonoObject* camera) +float UnityEngine_Time_get_unscaledTime() { - typedef void (* ICallMethod) (bool clearDepth, Il2CppObject* camera); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::ClearWithSkybox"); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(clearDepth,i2camera); -} -void UnityEngine_GL_GetWorldViewMatrix_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::GetWorldViewMatrix_Injected"); - icall(ret); -} -void UnityEngine_GL_SetViewMatrix_Injected(void * m) -{ - typedef void (* ICallMethod) (void * m); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::SetViewMatrix_Injected"); - icall(m); -} -void UnityEngine_GL_MultMatrix_Injected(void * m) -{ - typedef void (* ICallMethod) (void * m); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::MultMatrix_Injected"); - icall(m); -} -void UnityEngine_GL_LoadProjectionMatrix_Injected(void * mat) -{ - typedef void (* ICallMethod) (void * mat); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::LoadProjectionMatrix_Injected"); - icall(mat); -} -void UnityEngine_GL_GetGPUProjectionMatrix_Injected(void * proj, bool renderIntoTexture, void * ret) -{ - typedef void (* ICallMethod) (void * proj, bool renderIntoTexture, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::GetGPUProjectionMatrix_Injected"); - icall(proj,renderIntoTexture,ret); -} -void UnityEngine_GL_GLClear_Injected(bool clearDepth, bool clearColor, void * backgroundColor, float depth) -{ - typedef void (* ICallMethod) (bool clearDepth, bool clearColor, void * backgroundColor, float depth); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::GLClear_Injected"); - icall(clearDepth,clearColor,backgroundColor,depth); -} -void UnityEngine_GL_Viewport_Injected(void * pixelRect) -{ - typedef void (* ICallMethod) (void * pixelRect); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GL::Viewport_Injected"); - icall(pixelRect); -} -float UnityEngine_ScalableBufferManager_get_widthScaleFactor() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ScalableBufferManager::get_widthScaleFactor"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_unscaledTime"); + if(!icall) + { + platform_log("UnityEngine.Time::get_unscaledTime func not found"); + return 0; + } + } float i2res = icall(); return i2res; } -float UnityEngine_ScalableBufferManager_get_heightScaleFactor() +float UnityEngine_Time_get_unscaledDeltaTime() { typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ScalableBufferManager::get_heightScaleFactor"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_unscaledDeltaTime"); + if(!icall) + { + platform_log("UnityEngine.Time::get_unscaledDeltaTime func not found"); + return 0; + } + } float i2res = icall(); return i2res; } -void UnityEngine_ScalableBufferManager_ResizeBuffers(float widthScale, float heightScale) -{ - typedef void (* ICallMethod) (float widthScale, float heightScale); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ScalableBufferManager::ResizeBuffers"); - icall(widthScale,heightScale); -} -void UnityEngine_FrameTimingManager_CaptureFrameTimings() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.FrameTimingManager::CaptureFrameTimings"); - icall(); -} -uint32_t UnityEngine_FrameTimingManager_GetLatestTimings(uint32_t numFrames, void* timings) -{ - typedef uint32_t (* ICallMethod) (uint32_t numFrames, void* timings); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.FrameTimingManager::GetLatestTimings"); - uint32_t i2res = icall(numFrames,timings); - return i2res; -} -float UnityEngine_FrameTimingManager_GetVSyncsPerSecond() +float UnityEngine_Time_get_fixedDeltaTime() { typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.FrameTimingManager::GetVSyncsPerSecond"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_fixedDeltaTime"); + if(!icall) + { + platform_log("UnityEngine.Time::get_fixedDeltaTime func not found"); + return 0; + } + } float i2res = icall(); return i2res; } -uint64_t UnityEngine_FrameTimingManager_GetGpuTimerFrequency() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.FrameTimingManager::GetGpuTimerFrequency"); - uint64_t i2res = icall(); - return i2res; -} -uint64_t UnityEngine_FrameTimingManager_GetCpuTimerFrequency() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.FrameTimingManager::GetCpuTimerFrequency"); - uint64_t i2res = icall(); - return i2res; -} -MonoArray* UnityEngine_LightmapSettings_get_lightmaps() -{ - typedef Il2CppArray* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightmapSettings::get_lightmaps"); - Il2CppArray* i2res = icall(); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -void UnityEngine_LightmapSettings_set_lightmaps(MonoArray* value) -{ - typedef void (* ICallMethod) (Il2CppArray* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightmapSettings::set_lightmaps"); - Il2CppArray* i2value = get_il2cpp_array(value); - icall(i2value); -} -int32_t UnityEngine_LightmapSettings_get_lightmapsMode() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightmapSettings::get_lightmapsMode"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_LightmapSettings_set_lightmapsMode(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightmapSettings::set_lightmapsMode"); - icall(value); -} -MonoObject* UnityEngine_LightmapSettings_get_lightProbes() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightmapSettings::get_lightProbes"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_LightProbes()); - return monoi2res; -} -void UnityEngine_LightmapSettings_set_lightProbes(MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightmapSettings::set_lightProbes"); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_LightProbes()); - icall(i2value); -} -void UnityEngine_LightmapSettings_Reset_2() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightmapSettings::Reset"); - icall(); -} -void UnityEngine_LightProbes_Tetrahedralize() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbes::Tetrahedralize"); - icall(); -} -void UnityEngine_LightProbes_TetrahedralizeAsync() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbes::TetrahedralizeAsync"); - icall(); -} -bool UnityEngine_LightProbes_AreLightProbesAllowed(MonoObject* renderer) -{ - typedef bool (* ICallMethod) (Il2CppObject* renderer); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbes::AreLightProbesAllowed"); - Il2CppObject* i2renderer = get_il2cpp_object(renderer,il2cpp_get_class_UnityEngine_Renderer()); - bool i2res = icall(i2renderer); - return i2res; -} -void UnityEngine_LightProbes_CalculateInterpolatedLightAndOcclusionProbes_Internal(void* positions, int32_t positionsCount, void* lightProbes, void* occlusionProbes) -{ - typedef void (* ICallMethod) (void* positions, int32_t positionsCount, void* lightProbes, void* occlusionProbes); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbes::CalculateInterpolatedLightAndOcclusionProbes_Internal"); - icall(positions,positionsCount,lightProbes,occlusionProbes); -} -void* UnityEngine_LightProbes_get_positions(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbes::get_positions"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbes()); - void* i2res = icall(i2thiz); - return i2res; -} -void* UnityEngine_LightProbes_get_bakedProbes(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbes::get_bakedProbes"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbes()); - void* i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LightProbes_set_bakedProbes(MonoObject* thiz, void* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbes::set_bakedProbes"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbes()); - icall(i2thiz,value); -} -int32_t UnityEngine_LightProbes_get_count(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbes::get_count"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbes()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_LightProbes_get_cellCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbes::get_cellCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbes()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_LightProbes_GetCount() +float UnityEngine_Time_get_maximumDeltaTime() { - typedef int32_t (* ICallMethod) (); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbes::GetCount"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_maximumDeltaTime"); + if(!icall) + { + platform_log("UnityEngine.Time::get_maximumDeltaTime func not found"); + return 0; + } + } + float i2res = icall(); return i2res; } -void UnityEngine_LightProbes_GetInterpolatedProbe_Injected(void * position, MonoObject* renderer, void * probe) -{ - typedef void (* ICallMethod) (void * position, Il2CppObject* renderer, void * probe); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbes::GetInterpolatedProbe_Injected"); - Il2CppObject* i2renderer = get_il2cpp_object(renderer,il2cpp_get_class_UnityEngine_Renderer()); - icall(position,i2renderer,probe); -} -void UnityEngine_HDROutputSettings_SetPaperWhiteInNits(float paperWhite) -{ - typedef void (* ICallMethod) (float paperWhite); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.HDROutputSettings::SetPaperWhiteInNits"); - icall(paperWhite); -} -int32_t UnityEngine_QualitySettings_get_pixelLightCount() +float UnityEngine_Time_get_timeScale() { - typedef int32_t (* ICallMethod) (); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_pixelLightCount"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_timeScale"); + if(!icall) + { + platform_log("UnityEngine.Time::get_timeScale func not found"); + return 0; + } + } + float i2res = icall(); return i2res; } -void UnityEngine_QualitySettings_set_pixelLightCount(int32_t value) +void UnityEngine_Time_set_timeScale(float value) { - typedef void (* ICallMethod) (int32_t value); + typedef void (* ICallMethod) (float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_pixelLightCount"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::set_timeScale"); + if(!icall) + { + platform_log("UnityEngine.Time::set_timeScale func not found"); + return; + } + } icall(value); } -int32_t UnityEngine_QualitySettings_get_shadows() +int32_t UnityEngine_Time_get_frameCount() { typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadows"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_frameCount"); + if(!icall) + { + platform_log("UnityEngine.Time::get_frameCount func not found"); + return 0; + } + } int32_t i2res = icall(); return i2res; } -void UnityEngine_QualitySettings_set_shadows(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadows"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_shadowProjection() +float UnityEngine_Time_get_realtimeSinceStartup() { - typedef int32_t (* ICallMethod) (); + typedef float (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowProjection"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_realtimeSinceStartup"); + if(!icall) + { + platform_log("UnityEngine.Time::get_realtimeSinceStartup func not found"); + return 0; + } + } + float i2res = icall(); return i2res; } -void UnityEngine_QualitySettings_set_shadowProjection(int32_t value) +void UnityEngine_Time_set_captureDeltaTime(float value) { - typedef void (* ICallMethod) (int32_t value); + typedef void (* ICallMethod) (float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowProjection"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::set_captureDeltaTime"); + if(!icall) + { + platform_log("UnityEngine.Time::set_captureDeltaTime func not found"); + return; + } + } icall(value); } -int32_t UnityEngine_QualitySettings_get_shadowCascades() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowCascades"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_shadowCascades(int32_t value) +MonoString* UnityEngine_TouchScreenKeyboard_get_text(MonoObject* thiz) { - typedef void (* ICallMethod) (int32_t value); + typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowCascades"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_text"); + if(!icall) + { + platform_log("UnityEngine.TouchScreenKeyboard::get_text func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); + Il2CppString* i2res = icall(i2thiz); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.TouchScreenKeyboard::get_text fail to convert il2cpp obj to mono"); + } + return monoi2res; } -float UnityEngine_QualitySettings_get_shadowDistance_1() +void UnityEngine_TouchScreenKeyboard_set_text(MonoObject* thiz, MonoString* value) { - typedef float (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowDistance"); - float i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::set_text"); + if(!icall) + { + platform_log("UnityEngine.TouchScreenKeyboard::set_text func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); + Il2CppString* i2value = get_il2cpp_string(value); + icall(i2thiz,i2value); } -void UnityEngine_QualitySettings_set_shadowDistance_1(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowDistance"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_shadowResolution() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowResolution"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_shadowResolution(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowResolution"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_shadowmaskMode() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowmaskMode"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_shadowmaskMode(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowmaskMode"); - icall(value); -} -float UnityEngine_QualitySettings_get_shadowNearPlaneOffset() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowNearPlaneOffset"); - float i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_shadowNearPlaneOffset(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowNearPlaneOffset"); - icall(value); -} -float UnityEngine_QualitySettings_get_shadowCascade2Split() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowCascade2Split"); - float i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_shadowCascade2Split(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowCascade2Split"); - icall(value); -} -float UnityEngine_QualitySettings_get_lodBias() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_lodBias"); - float i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_lodBias(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_lodBias"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_anisotropicFiltering() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_anisotropicFiltering"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_anisotropicFiltering(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_anisotropicFiltering"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_masterTextureLimit() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_masterTextureLimit"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_masterTextureLimit(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_masterTextureLimit"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_maximumLODLevel() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_maximumLODLevel"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_maximumLODLevel(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_maximumLODLevel"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_particleRaycastBudget() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_particleRaycastBudget"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_particleRaycastBudget(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_particleRaycastBudget"); - icall(value); -} -bool UnityEngine_QualitySettings_get_softParticles() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_softParticles"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_softParticles(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_softParticles"); - icall(value); -} -bool UnityEngine_QualitySettings_get_softVegetation() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_softVegetation"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_softVegetation(bool value) +void UnityEngine_TouchScreenKeyboard_set_hideInput(bool value) { typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_softVegetation"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_vSyncCount() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_vSyncCount"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_vSyncCount(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_vSyncCount"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_antiAliasing() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_antiAliasing"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_antiAliasing(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_antiAliasing"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_asyncUploadTimeSlice() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_asyncUploadTimeSlice"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_asyncUploadTimeSlice(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_asyncUploadTimeSlice"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_asyncUploadBufferSize() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_asyncUploadBufferSize"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_asyncUploadBufferSize(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_asyncUploadBufferSize"); - icall(value); -} -bool UnityEngine_QualitySettings_get_asyncUploadPersistentBuffer() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_asyncUploadPersistentBuffer"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_asyncUploadPersistentBuffer(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_asyncUploadPersistentBuffer"); - icall(value); -} -bool UnityEngine_QualitySettings_get_realtimeReflectionProbes() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_realtimeReflectionProbes"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_realtimeReflectionProbes(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_realtimeReflectionProbes"); - icall(value); -} -bool UnityEngine_QualitySettings_get_billboardsFaceCameraPosition() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_billboardsFaceCameraPosition"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_billboardsFaceCameraPosition(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_billboardsFaceCameraPosition"); - icall(value); -} -float UnityEngine_QualitySettings_get_resolutionScalingFixedDPIFactor() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_resolutionScalingFixedDPIFactor"); - float i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_resolutionScalingFixedDPIFactor(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_resolutionScalingFixedDPIFactor"); - icall(value); -} -MonoObject* UnityEngine_QualitySettings_get_INTERNAL_renderPipeline() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_INTERNAL_renderPipeline"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_ScriptableObject()); - return monoi2res; -} -void UnityEngine_QualitySettings_set_INTERNAL_renderPipeline(MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_INTERNAL_renderPipeline"); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_ScriptableObject()); - icall(i2value); -} -MonoObject* UnityEngine_QualitySettings_InternalGetRenderPipelineAssetAt(int32_t index) -{ - typedef Il2CppObject* (* ICallMethod) (int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::InternalGetRenderPipelineAssetAt"); - Il2CppObject* i2res = icall(index); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_ScriptableObject()); - return monoi2res; -} -int32_t UnityEngine_QualitySettings_get_blendWeights() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_blendWeights"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_blendWeights(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_blendWeights"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_skinWeights() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_skinWeights"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_skinWeights(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_skinWeights"); - icall(value); -} -bool UnityEngine_QualitySettings_get_streamingMipmapsActive() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_streamingMipmapsActive"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_streamingMipmapsActive(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_streamingMipmapsActive"); - icall(value); -} -float UnityEngine_QualitySettings_get_streamingMipmapsMemoryBudget() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_streamingMipmapsMemoryBudget"); - float i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_streamingMipmapsMemoryBudget(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_streamingMipmapsMemoryBudget"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_streamingMipmapsRenderersPerFrame() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_streamingMipmapsRenderersPerFrame"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_QualitySettings_get_streamingMipmapsMaxLevelReduction() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_streamingMipmapsMaxLevelReduction"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_streamingMipmapsMaxLevelReduction(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_streamingMipmapsMaxLevelReduction"); - icall(value); -} -bool UnityEngine_QualitySettings_get_streamingMipmapsAddAllCameras() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_streamingMipmapsAddAllCameras"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_streamingMipmapsAddAllCameras(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_streamingMipmapsAddAllCameras"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_streamingMipmapsMaxFileIORequests() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_streamingMipmapsMaxFileIORequests"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_streamingMipmapsMaxFileIORequests(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_streamingMipmapsMaxFileIORequests"); - icall(value); -} -int32_t UnityEngine_QualitySettings_get_maxQueuedFrames() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_maxQueuedFrames"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_set_maxQueuedFrames(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_maxQueuedFrames"); - icall(value); -} -int32_t UnityEngine_QualitySettings_GetQualityLevel() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::GetQualityLevel"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_SetQualityLevel(int32_t index, bool applyExpensiveChanges) -{ - typedef void (* ICallMethod) (int32_t index, bool applyExpensiveChanges); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::SetQualityLevel"); - icall(index,applyExpensiveChanges); -} -MonoArray* UnityEngine_QualitySettings_get_names() -{ - typedef Il2CppArray* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_names"); - Il2CppArray* i2res = icall(); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -int32_t UnityEngine_QualitySettings_get_desiredColorSpace() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_desiredColorSpace"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_QualitySettings_get_activeColorSpace() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_activeColorSpace"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_QualitySettings_get_shadowCascade4Split_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::get_shadowCascade4Split_Injected"); - icall(ret); -} -void UnityEngine_QualitySettings_set_shadowCascade4Split_Injected(void * value) -{ - typedef void (* ICallMethod) (void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.QualitySettings::set_shadowCascade4Split_Injected"); - icall(value); -} -void UnityEngine_RendererExtensions_UpdateGIMaterialsForRenderer(MonoObject* renderer) -{ - typedef void (* ICallMethod) (Il2CppObject* renderer); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RendererExtensions::UpdateGIMaterialsForRenderer"); - Il2CppObject* i2renderer = get_il2cpp_object(renderer,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2renderer); -} -float UnityEngine_TrailRenderer_get_time(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_time"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_time(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_time"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -float UnityEngine_TrailRenderer_get_startWidth(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_startWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_startWidth(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_startWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -float UnityEngine_TrailRenderer_get_endWidth(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_endWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_endWidth(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_endWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -float UnityEngine_TrailRenderer_get_widthMultiplier(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_widthMultiplier"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_widthMultiplier(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_widthMultiplier"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -bool UnityEngine_TrailRenderer_get_autodestruct(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_autodestruct"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_autodestruct(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_autodestruct"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -bool UnityEngine_TrailRenderer_get_emitting(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_emitting"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_emitting(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_emitting"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_TrailRenderer_get_numCornerVertices(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_numCornerVertices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_numCornerVertices(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_numCornerVertices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_TrailRenderer_get_numCapVertices(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_numCapVertices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_numCapVertices(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_numCapVertices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -float UnityEngine_TrailRenderer_get_minVertexDistance(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_minVertexDistance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_minVertexDistance(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_minVertexDistance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_TrailRenderer_get_positionCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_positionCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -float UnityEngine_TrailRenderer_get_shadowBias(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_shadowBias"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_shadowBias(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_shadowBias"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -bool UnityEngine_TrailRenderer_get_generateLightingData(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_generateLightingData"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_generateLightingData(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_generateLightingData"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_TrailRenderer_get_textureMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_textureMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_textureMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_textureMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_TrailRenderer_get_alignment(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_alignment"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TrailRenderer_set_alignment(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_alignment"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -void UnityEngine_TrailRenderer_Clear(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::Clear"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz); -} -void UnityEngine_TrailRenderer_BakeMesh(MonoObject* thiz, MonoObject* mesh, MonoObject* camera, bool useTransform) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* mesh, Il2CppObject* camera, bool useTransform); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::BakeMesh"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,i2mesh,i2camera,useTransform); -} -MonoObject* UnityEngine_TrailRenderer_GetWidthCurveCopy(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::GetWidthCurveCopy"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AnimationCurve()); - return monoi2res; -} -void UnityEngine_TrailRenderer_SetWidthCurve(MonoObject* thiz, MonoObject* curve) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* curve); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::SetWidthCurve"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - Il2CppObject* i2curve = get_il2cpp_object(curve,il2cpp_get_class_UnityEngine_AnimationCurve()); - icall(i2thiz,i2curve); -} -MonoObject* UnityEngine_TrailRenderer_GetColorGradientCopy(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::GetColorGradientCopy"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Gradient()); - return monoi2res; -} -void UnityEngine_TrailRenderer_SetColorGradient(MonoObject* thiz, MonoObject* curve) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* curve); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::SetColorGradient"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - Il2CppObject* i2curve = get_il2cpp_object(curve,il2cpp_get_class_UnityEngine_Gradient()); - icall(i2thiz,i2curve); -} -int32_t UnityEngine_TrailRenderer_GetPositions(MonoObject* thiz, void* positions) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, void* positions); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::GetPositions"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - int32_t i2res = icall(i2thiz,positions); - return i2res; -} -void UnityEngine_TrailRenderer_SetPositions(MonoObject* thiz, void* positions) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* positions); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::SetPositions"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,positions); -} -void UnityEngine_TrailRenderer_AddPositions(MonoObject* thiz, void* positions) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* positions); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::AddPositions"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,positions); -} -void UnityEngine_TrailRenderer_get_startColor_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_startColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,ret); -} -void UnityEngine_TrailRenderer_set_startColor_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_startColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -void UnityEngine_TrailRenderer_get_endColor_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::get_endColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,ret); -} -void UnityEngine_TrailRenderer_set_endColor_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::set_endColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,value); -} -void UnityEngine_TrailRenderer_SetPosition_Injected(MonoObject* thiz, int32_t index, void * position) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, void * position); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::SetPosition_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,index,position); -} -void UnityEngine_TrailRenderer_GetPosition_Injected(MonoObject* thiz, int32_t index, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::GetPosition_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,index,ret); -} -void UnityEngine_TrailRenderer_AddPosition_Injected(MonoObject* thiz, void * position) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TrailRenderer::AddPosition_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TrailRenderer()); - icall(i2thiz,position); -} -float UnityEngine_LineRenderer_get_startWidth_1(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_startWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LineRenderer_set_startWidth_1(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_startWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -float UnityEngine_LineRenderer_get_endWidth_1(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_endWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LineRenderer_set_endWidth_1(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_endWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -float UnityEngine_LineRenderer_get_widthMultiplier_1(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_widthMultiplier"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LineRenderer_set_widthMultiplier_1(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_widthMultiplier"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_LineRenderer_get_numCornerVertices_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_numCornerVertices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LineRenderer_set_numCornerVertices_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_numCornerVertices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_LineRenderer_get_numCapVertices_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_numCapVertices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LineRenderer_set_numCapVertices_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_numCapVertices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -bool UnityEngine_LineRenderer_get_useWorldSpace(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_useWorldSpace"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LineRenderer_set_useWorldSpace(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_useWorldSpace"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -bool UnityEngine_LineRenderer_get_loop(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_loop"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LineRenderer_set_loop(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_loop"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_LineRenderer_get_positionCount_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_positionCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LineRenderer_set_positionCount(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_positionCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -float UnityEngine_LineRenderer_get_shadowBias_1(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_shadowBias"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LineRenderer_set_shadowBias_1(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_shadowBias"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -bool UnityEngine_LineRenderer_get_generateLightingData_1(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_generateLightingData"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LineRenderer_set_generateLightingData_1(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_generateLightingData"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_LineRenderer_get_textureMode_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_textureMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LineRenderer_set_textureMode_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_textureMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_LineRenderer_get_alignment_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_alignment"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LineRenderer_set_alignment_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_alignment"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -void UnityEngine_LineRenderer_Simplify(MonoObject* thiz, float tolerance) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float tolerance); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::Simplify"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,tolerance); -} -void UnityEngine_LineRenderer_BakeMesh_1(MonoObject* thiz, MonoObject* mesh, MonoObject* camera, bool useTransform) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* mesh, Il2CppObject* camera, bool useTransform); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::BakeMesh"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,i2mesh,i2camera,useTransform); -} -MonoObject* UnityEngine_LineRenderer_GetWidthCurveCopy_1(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::GetWidthCurveCopy"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AnimationCurve()); - return monoi2res; -} -void UnityEngine_LineRenderer_SetWidthCurve_1(MonoObject* thiz, MonoObject* curve) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* curve); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::SetWidthCurve"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - Il2CppObject* i2curve = get_il2cpp_object(curve,il2cpp_get_class_UnityEngine_AnimationCurve()); - icall(i2thiz,i2curve); -} -MonoObject* UnityEngine_LineRenderer_GetColorGradientCopy_1(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::GetColorGradientCopy"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Gradient()); - return monoi2res; -} -void UnityEngine_LineRenderer_SetColorGradient_1(MonoObject* thiz, MonoObject* curve) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* curve); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::SetColorGradient"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - Il2CppObject* i2curve = get_il2cpp_object(curve,il2cpp_get_class_UnityEngine_Gradient()); - icall(i2thiz,i2curve); -} -int32_t UnityEngine_LineRenderer_GetPositions_1(MonoObject* thiz, void* positions) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, void* positions); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::GetPositions"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - int32_t i2res = icall(i2thiz,positions); - return i2res; -} -void UnityEngine_LineRenderer_SetPositions_1(MonoObject* thiz, void* positions) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* positions); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::SetPositions"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,positions); -} -void UnityEngine_LineRenderer_get_startColor_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_startColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,ret); -} -void UnityEngine_LineRenderer_set_startColor_Injected_1(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_startColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -void UnityEngine_LineRenderer_get_endColor_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::get_endColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,ret); -} -void UnityEngine_LineRenderer_set_endColor_Injected_1(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::set_endColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,value); -} -void UnityEngine_LineRenderer_SetPosition_Injected_1(MonoObject* thiz, int32_t index, void * position) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, void * position); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::SetPosition_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,index,position); -} -void UnityEngine_LineRenderer_GetPosition_Injected_1(MonoObject* thiz, int32_t index, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineRenderer::GetPosition_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LineRenderer()); - icall(i2thiz,index,ret); -} -float UnityEngine_MaterialPropertyBlock_GetFloatImpl(MonoObject* thiz, int32_t name) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::GetFloatImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - float i2res = icall(i2thiz,name); - return i2res; -} -MonoObject* UnityEngine_MaterialPropertyBlock_GetTextureImpl(MonoObject* thiz, int32_t name) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::GetTextureImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - Il2CppObject* i2res = icall(i2thiz,name); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); - return monoi2res; -} -void UnityEngine_MaterialPropertyBlock_SetFloatImpl(MonoObject* thiz, int32_t name, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::SetFloatImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,value); -} -void UnityEngine_MaterialPropertyBlock_SetTextureImpl(MonoObject* thiz, int32_t name, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::SetTextureImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,name,i2value); -} -void UnityEngine_MaterialPropertyBlock_SetRenderTextureImpl(MonoObject* thiz, int32_t name, MonoObject* value, int32_t element) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, Il2CppObject* value, int32_t element); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::SetRenderTextureImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,name,i2value,element); -} -void UnityEngine_MaterialPropertyBlock_SetFloatArrayImpl(MonoObject* thiz, int32_t name, void* values, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* values, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::SetFloatArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,values,count); -} -void UnityEngine_MaterialPropertyBlock_SetVectorArrayImpl(MonoObject* thiz, int32_t name, void* values, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* values, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::SetVectorArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,values,count); -} -void UnityEngine_MaterialPropertyBlock_SetMatrixArrayImpl(MonoObject* thiz, int32_t name, void* values, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* values, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::SetMatrixArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,values,count); -} -void* UnityEngine_MaterialPropertyBlock_GetFloatArrayImpl(MonoObject* thiz, int32_t name) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::GetFloatArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - void* i2res = icall(i2thiz,name); - return i2res; -} -void* UnityEngine_MaterialPropertyBlock_GetVectorArrayImpl(MonoObject* thiz, int32_t name) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::GetVectorArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - void* i2res = icall(i2thiz,name); - return i2res; -} -void* UnityEngine_MaterialPropertyBlock_GetMatrixArrayImpl(MonoObject* thiz, int32_t name) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::GetMatrixArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - void* i2res = icall(i2thiz,name); - return i2res; -} -int32_t UnityEngine_MaterialPropertyBlock_GetFloatArrayCountImpl(MonoObject* thiz, int32_t name) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::GetFloatArrayCountImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - int32_t i2res = icall(i2thiz,name); - return i2res; -} -int32_t UnityEngine_MaterialPropertyBlock_GetVectorArrayCountImpl(MonoObject* thiz, int32_t name) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::GetVectorArrayCountImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - int32_t i2res = icall(i2thiz,name); - return i2res; -} -int32_t UnityEngine_MaterialPropertyBlock_GetMatrixArrayCountImpl(MonoObject* thiz, int32_t name) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::GetMatrixArrayCountImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - int32_t i2res = icall(i2thiz,name); - return i2res; -} -void UnityEngine_MaterialPropertyBlock_ExtractFloatArrayImpl(MonoObject* thiz, int32_t name, void* val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::ExtractFloatArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,val); -} -void UnityEngine_MaterialPropertyBlock_ExtractVectorArrayImpl(MonoObject* thiz, int32_t name, void* val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::ExtractVectorArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,val); -} -void UnityEngine_MaterialPropertyBlock_ExtractMatrixArrayImpl(MonoObject* thiz, int32_t name, void* val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::ExtractMatrixArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,val); -} -void UnityEngine_MaterialPropertyBlock_Internal_CopySHCoefficientArraysFrom(MonoObject* properties, void* lightProbes, int32_t sourceStart, int32_t destStart, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* properties, void* lightProbes, int32_t sourceStart, int32_t destStart, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::Internal_CopySHCoefficientArraysFrom"); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2properties,lightProbes,sourceStart,destStart,count); -} -void UnityEngine_MaterialPropertyBlock_Internal_CopyProbeOcclusionArrayFrom(MonoObject* properties, void* occlusionProbes, int32_t sourceStart, int32_t destStart, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* properties, void* occlusionProbes, int32_t sourceStart, int32_t destStart, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::Internal_CopyProbeOcclusionArrayFrom"); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2properties,occlusionProbes,sourceStart,destStart,count); -} -void * UnityEngine_MaterialPropertyBlock_CreateImpl() -{ - typedef void * (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::CreateImpl"); - void * i2res = icall(); - return i2res; -} -void UnityEngine_MaterialPropertyBlock_DestroyImpl(void * mpb) -{ - typedef void (* ICallMethod) (void * mpb); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::DestroyImpl"); - icall(mpb); -} -bool UnityEngine_MaterialPropertyBlock_get_isEmpty(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::get_isEmpty"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_MaterialPropertyBlock_Clear_1(MonoObject* thiz, bool keepMemory) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool keepMemory); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::Clear"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,keepMemory); -} -void UnityEngine_MaterialPropertyBlock_GetVectorImpl_Injected(MonoObject* thiz, int32_t name, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::GetVectorImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,ret); -} -void UnityEngine_MaterialPropertyBlock_GetColorImpl_Injected(MonoObject* thiz, int32_t name, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::GetColorImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,ret); -} -void UnityEngine_MaterialPropertyBlock_GetMatrixImpl_Injected(MonoObject* thiz, int32_t name, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::GetMatrixImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,ret); -} -void UnityEngine_MaterialPropertyBlock_SetVectorImpl_Injected(MonoObject* thiz, int32_t name, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::SetVectorImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,value); -} -void UnityEngine_MaterialPropertyBlock_SetColorImpl_Injected(MonoObject* thiz, int32_t name, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::SetColorImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,value); -} -void UnityEngine_MaterialPropertyBlock_SetMatrixImpl_Injected(MonoObject* thiz, int32_t name, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MaterialPropertyBlock::SetMatrixImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,name,value); -} -MonoObject* UnityEngine_Renderer_GetMaterial(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::GetMaterial"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; -} -MonoObject* UnityEngine_Renderer_GetSharedMaterial(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::GetSharedMaterial"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; -} -void UnityEngine_Renderer_SetMaterial(MonoObject* thiz, MonoObject* m) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* m); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::SetMaterial"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2m = get_il2cpp_object(m,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,i2m); -} -MonoArray* UnityEngine_Renderer_GetMaterialArray(MonoObject* thiz) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::GetMaterialArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppArray* i2res = icall(i2thiz); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -void UnityEngine_Renderer_CopyMaterialArray(MonoObject* thiz, MonoArray* m) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppArray* m); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::CopyMaterialArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppArray* i2m = get_il2cpp_array(m); - icall(i2thiz,i2m); -} -void UnityEngine_Renderer_CopySharedMaterialArray(MonoObject* thiz, MonoArray* m) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppArray* m); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::CopySharedMaterialArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppArray* i2m = get_il2cpp_array(m); - icall(i2thiz,i2m); -} -void UnityEngine_Renderer_SetMaterialArray(MonoObject* thiz, MonoArray* m) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppArray* m); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::SetMaterialArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppArray* i2m = get_il2cpp_array(m); - icall(i2thiz,i2m); -} -void UnityEngine_Renderer_Internal_SetPropertyBlock(MonoObject* thiz, MonoObject* properties) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* properties); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::Internal_SetPropertyBlock"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,i2properties); -} -void UnityEngine_Renderer_Internal_GetPropertyBlock(MonoObject* thiz, MonoObject* dest) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* dest); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::Internal_GetPropertyBlock"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,i2dest); -} -void UnityEngine_Renderer_Internal_SetPropertyBlockMaterialIndex(MonoObject* thiz, MonoObject* properties, int32_t materialIndex) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* properties, int32_t materialIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::Internal_SetPropertyBlockMaterialIndex"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,i2properties,materialIndex); -} -void UnityEngine_Renderer_Internal_GetPropertyBlockMaterialIndex(MonoObject* thiz, MonoObject* dest, int32_t materialIndex) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* dest, int32_t materialIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::Internal_GetPropertyBlockMaterialIndex"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2dest = get_il2cpp_object(dest,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,i2dest,materialIndex); -} -bool UnityEngine_Renderer_HasPropertyBlock(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::HasPropertyBlock"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_GetClosestReflectionProbesInternal(MonoObject* thiz, MonoObject* result) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* result); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::GetClosestReflectionProbesInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2result = get_il2cpp_object(result,NULL); - icall(i2thiz,i2result); -} -bool UnityEngine_Renderer_get_enabled_1(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_enabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_enabled_1(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_enabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -bool UnityEngine_Renderer_get_isVisible(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_isVisible"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - bool i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Renderer_get_shadowCastingMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_shadowCastingMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_shadowCastingMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_shadowCastingMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -bool UnityEngine_Renderer_get_receiveShadows(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_receiveShadows"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_receiveShadows(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_receiveShadows"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -bool UnityEngine_Renderer_get_forceRenderingOff(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_forceRenderingOff"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_forceRenderingOff(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_forceRenderingOff"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_Renderer_get_motionVectorGenerationMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_motionVectorGenerationMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_motionVectorGenerationMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_motionVectorGenerationMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_Renderer_get_lightProbeUsage(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_lightProbeUsage"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_lightProbeUsage(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_lightProbeUsage"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_Renderer_get_reflectionProbeUsage(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_reflectionProbeUsage"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_reflectionProbeUsage(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_reflectionProbeUsage"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -uint32_t UnityEngine_Renderer_get_renderingLayerMask(MonoObject* thiz) -{ - typedef uint32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_renderingLayerMask"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - uint32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_renderingLayerMask(MonoObject* thiz, uint32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, uint32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_renderingLayerMask"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_Renderer_get_rendererPriority(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_rendererPriority"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_rendererPriority(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_rendererPriority"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_Renderer_get_rayTracingMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_rayTracingMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_rayTracingMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_rayTracingMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -MonoString* UnityEngine_Renderer_get_sortingLayerName(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_sortingLayerName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_Renderer_set_sortingLayerName(MonoObject* thiz, MonoString* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_sortingLayerName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2thiz,i2value); -} -int32_t UnityEngine_Renderer_get_sortingLayerID(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_sortingLayerID"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_sortingLayerID(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_sortingLayerID"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_Renderer_get_sortingOrder(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_sortingOrder"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_sortingOrder(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_sortingOrder"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_Renderer_get_sortingGroupID(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_sortingGroupID"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_sortingGroupID(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_sortingGroupID"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_Renderer_get_sortingGroupOrder(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_sortingGroupOrder"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_sortingGroupOrder(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_sortingGroupOrder"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -bool UnityEngine_Renderer_get_allowOcclusionWhenDynamic(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_allowOcclusionWhenDynamic"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_set_allowOcclusionWhenDynamic(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_allowOcclusionWhenDynamic"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,value); -} -MonoObject* UnityEngine_Renderer_get_staticBatchRootTransform(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_staticBatchRootTransform"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); - return monoi2res; -} -void UnityEngine_Renderer_set_staticBatchRootTransform(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_staticBatchRootTransform"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,i2value); -} -int32_t UnityEngine_Renderer_get_staticBatchIndex(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_staticBatchIndex"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Renderer_SetStaticBatchInfo(MonoObject* thiz, int32_t firstSubMesh, int32_t subMeshCount) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t firstSubMesh, int32_t subMeshCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::SetStaticBatchInfo"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,firstSubMesh,subMeshCount); -} -bool UnityEngine_Renderer_get_isPartOfStaticBatch(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_isPartOfStaticBatch"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - bool i2res = icall(i2thiz); - return i2res; -} -MonoObject* UnityEngine_Renderer_get_lightProbeProxyVolumeOverride(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_lightProbeProxyVolumeOverride"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_GameObject()); - return monoi2res; -} -void UnityEngine_Renderer_set_lightProbeProxyVolumeOverride(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_lightProbeProxyVolumeOverride"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_GameObject()); - icall(i2thiz,i2value); -} -MonoObject* UnityEngine_Renderer_get_probeAnchor(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_probeAnchor"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); - return monoi2res; -} -void UnityEngine_Renderer_set_probeAnchor(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::set_probeAnchor"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,i2value); -} -int32_t UnityEngine_Renderer_GetLightmapIndex(MonoObject* thiz, int32_t lt) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t lt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::GetLightmapIndex"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz,lt); - return i2res; -} -void UnityEngine_Renderer_SetLightmapIndex(MonoObject* thiz, int32_t index, int32_t lt) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, int32_t lt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::SetLightmapIndex"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,index,lt); -} -int32_t UnityEngine_Renderer_GetMaterialCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::GetMaterialCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -MonoArray* UnityEngine_Renderer_GetSharedMaterialArray(MonoObject* thiz) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::GetSharedMaterialArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppArray* i2res = icall(i2thiz); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -void UnityEngine_Renderer_get_bounds_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_bounds_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,ret); -} -void UnityEngine_Renderer_SetStaticLightmapST_Injected(MonoObject* thiz, void * st) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * st); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::SetStaticLightmapST_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,st); -} -void UnityEngine_Renderer_get_worldToLocalMatrix_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_worldToLocalMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,ret); -} -void UnityEngine_Renderer_get_localToWorldMatrix_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::get_localToWorldMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,ret); -} -void UnityEngine_Renderer_GetLightmapST_Injected(MonoObject* thiz, int32_t lt, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t lt, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::GetLightmapST_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,lt,ret); -} -void UnityEngine_Renderer_SetLightmapST_Injected(MonoObject* thiz, void * st, int32_t lt) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * st, int32_t lt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Renderer::SetLightmapST_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,st,lt); -} -bool UnityEngine_RenderSettings_get_fog() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_fog"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_fog(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_fog"); - icall(value); -} -float UnityEngine_RenderSettings_get_fogStartDistance() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_fogStartDistance"); - float i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_fogStartDistance(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_fogStartDistance"); - icall(value); -} -float UnityEngine_RenderSettings_get_fogEndDistance() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_fogEndDistance"); - float i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_fogEndDistance(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_fogEndDistance"); - icall(value); -} -int32_t UnityEngine_RenderSettings_get_fogMode() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_fogMode"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_fogMode(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_fogMode"); - icall(value); -} -float UnityEngine_RenderSettings_get_fogDensity() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_fogDensity"); - float i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_fogDensity(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_fogDensity"); - icall(value); -} -int32_t UnityEngine_RenderSettings_get_ambientMode() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_ambientMode"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_ambientMode(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_ambientMode"); - icall(value); -} -float UnityEngine_RenderSettings_get_ambientIntensity() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_ambientIntensity"); - float i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_ambientIntensity(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_ambientIntensity"); - icall(value); -} -MonoObject* UnityEngine_RenderSettings_get_skybox() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_skybox"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; -} -void UnityEngine_RenderSettings_set_skybox(MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_skybox"); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Material()); - icall(i2value); -} -MonoObject* UnityEngine_RenderSettings_get_sun() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_sun"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Light()); - return monoi2res; -} -void UnityEngine_RenderSettings_set_sun(MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_sun"); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Light()); - icall(i2value); -} -MonoObject* UnityEngine_RenderSettings_get_customReflection() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_customReflection"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Cubemap()); - return monoi2res; -} -void UnityEngine_RenderSettings_set_customReflection(MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_customReflection"); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Cubemap()); - icall(i2value); -} -float UnityEngine_RenderSettings_get_reflectionIntensity() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_reflectionIntensity"); - float i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_reflectionIntensity(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_reflectionIntensity"); - icall(value); -} -int32_t UnityEngine_RenderSettings_get_reflectionBounces() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_reflectionBounces"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_reflectionBounces(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_reflectionBounces"); - icall(value); -} -int32_t UnityEngine_RenderSettings_get_defaultReflectionMode() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_defaultReflectionMode"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_defaultReflectionMode(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_defaultReflectionMode"); - icall(value); -} -int32_t UnityEngine_RenderSettings_get_defaultReflectionResolution() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_defaultReflectionResolution"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_defaultReflectionResolution(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_defaultReflectionResolution"); - icall(value); -} -float UnityEngine_RenderSettings_get_haloStrength() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_haloStrength"); - float i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_haloStrength(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_haloStrength"); - icall(value); -} -float UnityEngine_RenderSettings_get_flareStrength() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_flareStrength"); - float i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_flareStrength(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_flareStrength"); - icall(value); -} -float UnityEngine_RenderSettings_get_flareFadeSpeed() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_flareFadeSpeed"); - float i2res = icall(); - return i2res; -} -void UnityEngine_RenderSettings_set_flareFadeSpeed(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_flareFadeSpeed"); - icall(value); -} -MonoObject* UnityEngine_RenderSettings_GetRenderSettings() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::GetRenderSettings"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -void UnityEngine_RenderSettings_Reset_3() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::Reset"); - icall(); -} -void UnityEngine_RenderSettings_get_fogColor_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_fogColor_Injected"); - icall(ret); -} -void UnityEngine_RenderSettings_set_fogColor_Injected(void * value) -{ - typedef void (* ICallMethod) (void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_fogColor_Injected"); - icall(value); -} -void UnityEngine_RenderSettings_get_ambientSkyColor_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_ambientSkyColor_Injected"); - icall(ret); -} -void UnityEngine_RenderSettings_set_ambientSkyColor_Injected(void * value) -{ - typedef void (* ICallMethod) (void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_ambientSkyColor_Injected"); - icall(value); -} -void UnityEngine_RenderSettings_get_ambientEquatorColor_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_ambientEquatorColor_Injected"); - icall(ret); -} -void UnityEngine_RenderSettings_set_ambientEquatorColor_Injected(void * value) -{ - typedef void (* ICallMethod) (void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_ambientEquatorColor_Injected"); - icall(value); -} -void UnityEngine_RenderSettings_get_ambientGroundColor_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_ambientGroundColor_Injected"); - icall(ret); -} -void UnityEngine_RenderSettings_set_ambientGroundColor_Injected(void * value) -{ - typedef void (* ICallMethod) (void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_ambientGroundColor_Injected"); - icall(value); -} -void UnityEngine_RenderSettings_get_ambientLight_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_ambientLight_Injected"); - icall(ret); -} -void UnityEngine_RenderSettings_set_ambientLight_Injected(void * value) -{ - typedef void (* ICallMethod) (void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_ambientLight_Injected"); - icall(value); -} -void UnityEngine_RenderSettings_get_subtractiveShadowColor_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_subtractiveShadowColor_Injected"); - icall(ret); -} -void UnityEngine_RenderSettings_set_subtractiveShadowColor_Injected(void * value) -{ - typedef void (* ICallMethod) (void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_subtractiveShadowColor_Injected"); - icall(value); -} -void UnityEngine_RenderSettings_get_ambientProbe_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::get_ambientProbe_Injected"); - icall(ret); -} -void UnityEngine_RenderSettings_set_ambientProbe_Injected(void * value) -{ - typedef void (* ICallMethod) (void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderSettings::set_ambientProbe_Injected"); - icall(value); -} -MonoObject* UnityEngine_Shader_Find(MonoString* name) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::Find"); - Il2CppString* i2name = get_il2cpp_string(name); - Il2CppObject* i2res = icall(i2name); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Shader()); - return monoi2res; -} -MonoObject* UnityEngine_Shader_FindBuiltin(MonoString* name) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::FindBuiltin"); - Il2CppString* i2name = get_il2cpp_string(name); - Il2CppObject* i2res = icall(i2name); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Shader()); - return monoi2res; -} -int32_t UnityEngine_Shader_get_maximumLOD(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_maximumLOD"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Shader_set_maximumLOD(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::set_maximumLOD"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); - icall(i2thiz,value); -} -int32_t UnityEngine_Shader_get_globalMaximumLOD() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_globalMaximumLOD"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_Shader_set_globalMaximumLOD(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::set_globalMaximumLOD"); - icall(value); -} -bool UnityEngine_Shader_get_isSupported(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_isSupported"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); - bool i2res = icall(i2thiz); - return i2res; -} -MonoString* UnityEngine_Shader_get_globalRenderPipeline() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_globalRenderPipeline"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_Shader_set_globalRenderPipeline(MonoString* value) -{ - typedef void (* ICallMethod) (Il2CppString* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::set_globalRenderPipeline"); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2value); -} -void UnityEngine_Shader_EnableKeyword(MonoString* keyword) -{ - typedef void (* ICallMethod) (Il2CppString* keyword); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::EnableKeyword"); - Il2CppString* i2keyword = get_il2cpp_string(keyword); - icall(i2keyword); -} -void UnityEngine_Shader_DisableKeyword(MonoString* keyword) -{ - typedef void (* ICallMethod) (Il2CppString* keyword); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::DisableKeyword"); - Il2CppString* i2keyword = get_il2cpp_string(keyword); - icall(i2keyword); -} -bool UnityEngine_Shader_IsKeywordEnabled(MonoString* keyword) -{ - typedef bool (* ICallMethod) (Il2CppString* keyword); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::IsKeywordEnabled"); - Il2CppString* i2keyword = get_il2cpp_string(keyword); - bool i2res = icall(i2keyword); - return i2res; -} -int32_t UnityEngine_Shader_get_renderQueue(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_renderQueue"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Shader_get_disableBatching(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_disableBatching"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Shader_WarmupAllShaders() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::WarmupAllShaders"); - icall(); -} -int32_t UnityEngine_Shader_TagToID(MonoString* name) -{ - typedef int32_t (* ICallMethod) (Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::TagToID"); - Il2CppString* i2name = get_il2cpp_string(name); - int32_t i2res = icall(i2name); - return i2res; -} -MonoString* UnityEngine_Shader_IDToTag(int32_t name) -{ - typedef Il2CppString* (* ICallMethod) (int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::IDToTag"); - Il2CppString* i2res = icall(name); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_Shader_PropertyToID(MonoString* name) -{ - typedef int32_t (* ICallMethod) (Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::PropertyToID"); - Il2CppString* i2name = get_il2cpp_string(name); - int32_t i2res = icall(i2name); - return i2res; -} -MonoObject* UnityEngine_Shader_GetDependency(MonoObject* thiz, MonoString* name) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetDependency"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); - Il2CppString* i2name = get_il2cpp_string(name); - Il2CppObject* i2res = icall(i2thiz,i2name); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Shader()); - return monoi2res; -} -int32_t UnityEngine_Shader_get_passCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::get_passCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Shader_Internal_FindPassTagValue(MonoObject* thiz, int32_t passIndex, int32_t tagName) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t passIndex, int32_t tagName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::Internal_FindPassTagValue"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); - int32_t i2res = icall(i2thiz,passIndex,tagName); - return i2res; -} -void UnityEngine_Shader_SetGlobalFloatImpl(int32_t name, float value) -{ - typedef void (* ICallMethod) (int32_t name, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalFloatImpl"); - icall(name,value); -} -void UnityEngine_Shader_SetGlobalTextureImpl(int32_t name, MonoObject* value) -{ - typedef void (* ICallMethod) (int32_t name, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalTextureImpl"); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Texture()); - icall(name,i2value); -} -void UnityEngine_Shader_SetGlobalRenderTextureImpl(int32_t name, MonoObject* value, int32_t element) -{ - typedef void (* ICallMethod) (int32_t name, Il2CppObject* value, int32_t element); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalRenderTextureImpl"); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(name,i2value,element); -} -float UnityEngine_Shader_GetGlobalFloatImpl(int32_t name) -{ - typedef float (* ICallMethod) (int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalFloatImpl"); - float i2res = icall(name); - return i2res; -} -MonoObject* UnityEngine_Shader_GetGlobalTextureImpl(int32_t name) -{ - typedef Il2CppObject* (* ICallMethod) (int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalTextureImpl"); - Il2CppObject* i2res = icall(name); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); - return monoi2res; -} -void UnityEngine_Shader_SetGlobalFloatArrayImpl(int32_t name, void* values, int32_t count) -{ - typedef void (* ICallMethod) (int32_t name, void* values, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalFloatArrayImpl"); - icall(name,values,count); -} -void UnityEngine_Shader_SetGlobalVectorArrayImpl(int32_t name, void* values, int32_t count) -{ - typedef void (* ICallMethod) (int32_t name, void* values, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalVectorArrayImpl"); - icall(name,values,count); -} -void UnityEngine_Shader_SetGlobalMatrixArrayImpl(int32_t name, void* values, int32_t count) -{ - typedef void (* ICallMethod) (int32_t name, void* values, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalMatrixArrayImpl"); - icall(name,values,count); -} -void* UnityEngine_Shader_GetGlobalFloatArrayImpl(int32_t name) -{ - typedef void* (* ICallMethod) (int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalFloatArrayImpl"); - void* i2res = icall(name); - return i2res; -} -void* UnityEngine_Shader_GetGlobalVectorArrayImpl(int32_t name) -{ - typedef void* (* ICallMethod) (int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalVectorArrayImpl"); - void* i2res = icall(name); - return i2res; -} -void* UnityEngine_Shader_GetGlobalMatrixArrayImpl(int32_t name) -{ - typedef void* (* ICallMethod) (int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalMatrixArrayImpl"); - void* i2res = icall(name); - return i2res; -} -int32_t UnityEngine_Shader_GetGlobalFloatArrayCountImpl(int32_t name) -{ - typedef int32_t (* ICallMethod) (int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalFloatArrayCountImpl"); - int32_t i2res = icall(name); - return i2res; -} -int32_t UnityEngine_Shader_GetGlobalVectorArrayCountImpl(int32_t name) -{ - typedef int32_t (* ICallMethod) (int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalVectorArrayCountImpl"); - int32_t i2res = icall(name); - return i2res; -} -int32_t UnityEngine_Shader_GetGlobalMatrixArrayCountImpl(int32_t name) -{ - typedef int32_t (* ICallMethod) (int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalMatrixArrayCountImpl"); - int32_t i2res = icall(name); - return i2res; -} -void UnityEngine_Shader_ExtractGlobalFloatArrayImpl(int32_t name, void* val) -{ - typedef void (* ICallMethod) (int32_t name, void* val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::ExtractGlobalFloatArrayImpl"); - icall(name,val); -} -void UnityEngine_Shader_ExtractGlobalVectorArrayImpl(int32_t name, void* val) -{ - typedef void (* ICallMethod) (int32_t name, void* val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::ExtractGlobalVectorArrayImpl"); - icall(name,val); -} -void UnityEngine_Shader_ExtractGlobalMatrixArrayImpl(int32_t name, void* val) -{ - typedef void (* ICallMethod) (int32_t name, void* val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::ExtractGlobalMatrixArrayImpl"); - icall(name,val); -} -MonoString* UnityEngine_Shader_GetPropertyName(MonoObject* shader, int32_t propertyIndex) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* shader, int32_t propertyIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetPropertyName"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - Il2CppString* i2res = icall(i2shader,propertyIndex); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_Shader_GetPropertyNameId(MonoObject* shader, int32_t propertyIndex) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* shader, int32_t propertyIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetPropertyNameId"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - int32_t i2res = icall(i2shader,propertyIndex); - return i2res; -} -int32_t UnityEngine_Shader_GetPropertyType(MonoObject* shader, int32_t propertyIndex) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* shader, int32_t propertyIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetPropertyType"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - int32_t i2res = icall(i2shader,propertyIndex); - return i2res; -} -MonoString* UnityEngine_Shader_GetPropertyDescription(MonoObject* shader, int32_t propertyIndex) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* shader, int32_t propertyIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetPropertyDescription"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - Il2CppString* i2res = icall(i2shader,propertyIndex); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_Shader_GetPropertyFlags(MonoObject* shader, int32_t propertyIndex) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* shader, int32_t propertyIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetPropertyFlags"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - int32_t i2res = icall(i2shader,propertyIndex); - return i2res; -} -MonoArray* UnityEngine_Shader_GetPropertyAttributes(MonoObject* shader, int32_t propertyIndex) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppObject* shader, int32_t propertyIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetPropertyAttributes"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - Il2CppArray* i2res = icall(i2shader,propertyIndex); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -int32_t UnityEngine_Shader_GetPropertyTextureDimension(MonoObject* shader, int32_t propertyIndex) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* shader, int32_t propertyIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetPropertyTextureDimension"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - int32_t i2res = icall(i2shader,propertyIndex); - return i2res; -} -MonoString* UnityEngine_Shader_GetPropertyTextureDefaultName(MonoObject* shader, int32_t propertyIndex) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* shader, int32_t propertyIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetPropertyTextureDefaultName"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - Il2CppString* i2res = icall(i2shader,propertyIndex); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_Shader_GetPropertyCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetPropertyCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Shader_FindPropertyIndex(MonoObject* thiz, MonoString* propertyName) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppString* propertyName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::FindPropertyIndex"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Shader()); - Il2CppString* i2propertyName = get_il2cpp_string(propertyName); - int32_t i2res = icall(i2thiz,i2propertyName); - return i2res; -} -void UnityEngine_Shader_SetGlobalVectorImpl_Injected(int32_t name, void * value) -{ - typedef void (* ICallMethod) (int32_t name, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalVectorImpl_Injected"); - icall(name,value); -} -void UnityEngine_Shader_SetGlobalMatrixImpl_Injected(int32_t name, void * value) -{ - typedef void (* ICallMethod) (int32_t name, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::SetGlobalMatrixImpl_Injected"); - icall(name,value); -} -void UnityEngine_Shader_GetGlobalVectorImpl_Injected(int32_t name, void * ret) -{ - typedef void (* ICallMethod) (int32_t name, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalVectorImpl_Injected"); - icall(name,ret); -} -void UnityEngine_Shader_GetGlobalMatrixImpl_Injected(int32_t name, void * ret) -{ - typedef void (* ICallMethod) (int32_t name, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetGlobalMatrixImpl_Injected"); - icall(name,ret); -} -void UnityEngine_Shader_GetPropertyDefaultValue_Injected(MonoObject* shader, int32_t propertyIndex, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* shader, int32_t propertyIndex, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Shader::GetPropertyDefaultValue_Injected"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - icall(i2shader,propertyIndex,ret); -} -void UnityEngine_Material_CreateWithShader(MonoObject* self, MonoObject* shader) -{ - typedef void (* ICallMethod) (Il2CppObject* self, Il2CppObject* shader); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::CreateWithShader"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - icall(i2self,i2shader); -} -void UnityEngine_Material_CreateWithMaterial(MonoObject* self, MonoObject* source) -{ - typedef void (* ICallMethod) (Il2CppObject* self, Il2CppObject* source); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::CreateWithMaterial"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Material()); - icall(i2self,i2source); -} -void UnityEngine_Material_CreateWithString(MonoObject* self) -{ - typedef void (* ICallMethod) (Il2CppObject* self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::CreateWithString"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_Material()); - icall(i2self); -} -MonoObject* UnityEngine_Material_GetDefaultMaterial() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetDefaultMaterial"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; -} -MonoObject* UnityEngine_Material_GetDefaultParticleMaterial() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetDefaultParticleMaterial"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; -} -MonoObject* UnityEngine_Material_GetDefaultLineMaterial() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetDefaultLineMaterial"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; -} -MonoObject* UnityEngine_Material_get_shader(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::get_shader"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Shader()); - return monoi2res; -} -void UnityEngine_Material_set_shader(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::set_shader"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Shader()); - icall(i2thiz,i2value); -} -int32_t UnityEngine_Material_GetFirstPropertyNameIdByAttribute(MonoObject* thiz, int32_t attributeFlag) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t attributeFlag); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetFirstPropertyNameIdByAttribute"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - int32_t i2res = icall(i2thiz,attributeFlag); - return i2res; -} -bool UnityEngine_Material_HasProperty(MonoObject* thiz, int32_t nameID) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t nameID); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::HasProperty"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - bool i2res = icall(i2thiz,nameID); - return i2res; -} -int32_t UnityEngine_Material_get_renderQueue_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::get_renderQueue"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Material_set_renderQueue(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::set_renderQueue"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,value); -} -int32_t UnityEngine_Material_get_rawRenderQueue(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::get_rawRenderQueue"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Material_EnableKeyword_1(MonoObject* thiz, MonoString* keyword) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* keyword); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::EnableKeyword"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppString* i2keyword = get_il2cpp_string(keyword); - icall(i2thiz,i2keyword); -} -void UnityEngine_Material_DisableKeyword_1(MonoObject* thiz, MonoString* keyword) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* keyword); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::DisableKeyword"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppString* i2keyword = get_il2cpp_string(keyword); - icall(i2thiz,i2keyword); -} -bool UnityEngine_Material_IsKeywordEnabled_1(MonoObject* thiz, MonoString* keyword) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppString* keyword); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::IsKeywordEnabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppString* i2keyword = get_il2cpp_string(keyword); - bool i2res = icall(i2thiz,i2keyword); - return i2res; -} -int32_t UnityEngine_Material_get_globalIlluminationFlags(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::get_globalIlluminationFlags"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Material_set_globalIlluminationFlags(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::set_globalIlluminationFlags"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,value); -} -bool UnityEngine_Material_get_doubleSidedGI(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::get_doubleSidedGI"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Material_set_doubleSidedGI(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::set_doubleSidedGI"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,value); -} -bool UnityEngine_Material_get_enableInstancing(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::get_enableInstancing"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Material_set_enableInstancing(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::set_enableInstancing"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,value); -} -int32_t UnityEngine_Material_get_passCount_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::get_passCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Material_SetShaderPassEnabled(MonoObject* thiz, MonoString* passName, bool enabled) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* passName, bool enabled); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetShaderPassEnabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppString* i2passName = get_il2cpp_string(passName); - icall(i2thiz,i2passName,enabled); -} -bool UnityEngine_Material_GetShaderPassEnabled(MonoObject* thiz, MonoString* passName) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppString* passName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetShaderPassEnabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppString* i2passName = get_il2cpp_string(passName); - bool i2res = icall(i2thiz,i2passName); - return i2res; -} -MonoString* UnityEngine_Material_GetPassName(MonoObject* thiz, int32_t pass) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz, int32_t pass); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetPassName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppString* i2res = icall(i2thiz,pass); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_Material_FindPass(MonoObject* thiz, MonoString* passName) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppString* passName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::FindPass"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppString* i2passName = get_il2cpp_string(passName); - int32_t i2res = icall(i2thiz,i2passName); - return i2res; -} -void UnityEngine_Material_SetOverrideTag(MonoObject* thiz, MonoString* tag, MonoString* val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* tag, Il2CppString* val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetOverrideTag"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppString* i2tag = get_il2cpp_string(tag); - Il2CppString* i2val = get_il2cpp_string(val); - icall(i2thiz,i2tag,i2val); -} -MonoString* UnityEngine_Material_GetTagImpl(MonoObject* thiz, MonoString* tag, bool currentSubShaderOnly, MonoString* defaultValue) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* tag, bool currentSubShaderOnly, Il2CppString* defaultValue); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetTagImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppString* i2tag = get_il2cpp_string(tag); - Il2CppString* i2defaultValue = get_il2cpp_string(defaultValue); - Il2CppString* i2res = icall(i2thiz,i2tag,currentSubShaderOnly,i2defaultValue); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_Material_Lerp(MonoObject* thiz, MonoObject* start, MonoObject* end, float t) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* start, Il2CppObject* end, float t); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::Lerp"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2start = get_il2cpp_object(start,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2end = get_il2cpp_object(end,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,i2start,i2end,t); -} -bool UnityEngine_Material_SetPass(MonoObject* thiz, int32_t pass) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t pass); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetPass"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - bool i2res = icall(i2thiz,pass); - return i2res; -} -void UnityEngine_Material_CopyPropertiesFromMaterial(MonoObject* thiz, MonoObject* mat) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* mat); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::CopyPropertiesFromMaterial"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2mat = get_il2cpp_object(mat,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,i2mat); -} -MonoArray* UnityEngine_Material_GetShaderKeywords(MonoObject* thiz) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetShaderKeywords"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppArray* i2res = icall(i2thiz); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -void UnityEngine_Material_SetShaderKeywords(MonoObject* thiz, MonoArray* names) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppArray* names); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetShaderKeywords"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppArray* i2names = get_il2cpp_array(names); - icall(i2thiz,i2names); -} -int32_t UnityEngine_Material_ComputeCRC(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::ComputeCRC"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - int32_t i2res = icall(i2thiz); - return i2res; -} -MonoArray* UnityEngine_Material_GetTexturePropertyNames(MonoObject* thiz) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetTexturePropertyNames"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppArray* i2res = icall(i2thiz); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -void* UnityEngine_Material_GetTexturePropertyNameIDs(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetTexturePropertyNameIDs"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - void* i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Material_GetTexturePropertyNamesInternal(MonoObject* thiz, MonoObject* outNames) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* outNames); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetTexturePropertyNamesInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2outNames = get_il2cpp_object(outNames,NULL); - icall(i2thiz,i2outNames); -} -void UnityEngine_Material_GetTexturePropertyNameIDsInternal(MonoObject* thiz, MonoObject* outNames) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* outNames); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetTexturePropertyNameIDsInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2outNames = get_il2cpp_object(outNames,NULL); - icall(i2thiz,i2outNames); -} -void UnityEngine_Material_SetFloatImpl_1(MonoObject* thiz, int32_t name, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetFloatImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,value); -} -void UnityEngine_Material_SetTextureImpl_1(MonoObject* thiz, int32_t name, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetTextureImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,name,i2value); -} -void UnityEngine_Material_SetRenderTextureImpl_1(MonoObject* thiz, int32_t name, MonoObject* value, int32_t element) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, Il2CppObject* value, int32_t element); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetRenderTextureImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,name,i2value,element); -} -float UnityEngine_Material_GetFloatImpl_1(MonoObject* thiz, int32_t name) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetFloatImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - float i2res = icall(i2thiz,name); - return i2res; -} -MonoObject* UnityEngine_Material_GetTextureImpl_1(MonoObject* thiz, int32_t name) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetTextureImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2res = icall(i2thiz,name); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); - return monoi2res; -} -void UnityEngine_Material_SetFloatArrayImpl_1(MonoObject* thiz, int32_t name, void* values, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* values, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetFloatArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,values,count); -} -void UnityEngine_Material_SetVectorArrayImpl_1(MonoObject* thiz, int32_t name, void* values, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* values, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetVectorArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,values,count); -} -void UnityEngine_Material_SetColorArrayImpl(MonoObject* thiz, int32_t name, void* values, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* values, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetColorArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,values,count); -} -void UnityEngine_Material_SetMatrixArrayImpl_1(MonoObject* thiz, int32_t name, void* values, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* values, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetMatrixArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,values,count); -} -void* UnityEngine_Material_GetFloatArrayImpl_1(MonoObject* thiz, int32_t name) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetFloatArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - void* i2res = icall(i2thiz,name); - return i2res; -} -void* UnityEngine_Material_GetVectorArrayImpl_1(MonoObject* thiz, int32_t name) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetVectorArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - void* i2res = icall(i2thiz,name); - return i2res; -} -void* UnityEngine_Material_GetColorArrayImpl(MonoObject* thiz, int32_t name) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetColorArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - void* i2res = icall(i2thiz,name); - return i2res; -} -void* UnityEngine_Material_GetMatrixArrayImpl_1(MonoObject* thiz, int32_t name) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetMatrixArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - void* i2res = icall(i2thiz,name); - return i2res; -} -int32_t UnityEngine_Material_GetFloatArrayCountImpl_1(MonoObject* thiz, int32_t name) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetFloatArrayCountImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - int32_t i2res = icall(i2thiz,name); - return i2res; -} -int32_t UnityEngine_Material_GetVectorArrayCountImpl_1(MonoObject* thiz, int32_t name) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetVectorArrayCountImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - int32_t i2res = icall(i2thiz,name); - return i2res; -} -int32_t UnityEngine_Material_GetColorArrayCountImpl(MonoObject* thiz, int32_t name) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetColorArrayCountImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - int32_t i2res = icall(i2thiz,name); - return i2res; -} -int32_t UnityEngine_Material_GetMatrixArrayCountImpl_1(MonoObject* thiz, int32_t name) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetMatrixArrayCountImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - int32_t i2res = icall(i2thiz,name); - return i2res; -} -void UnityEngine_Material_ExtractFloatArrayImpl_1(MonoObject* thiz, int32_t name, void* val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::ExtractFloatArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,val); -} -void UnityEngine_Material_ExtractVectorArrayImpl_1(MonoObject* thiz, int32_t name, void* val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::ExtractVectorArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,val); -} -void UnityEngine_Material_ExtractColorArrayImpl(MonoObject* thiz, int32_t name, void* val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::ExtractColorArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,val); -} -void UnityEngine_Material_ExtractMatrixArrayImpl_1(MonoObject* thiz, int32_t name, void* val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void* val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::ExtractMatrixArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,val); -} -void UnityEngine_Material_SetColorImpl_Injected_1(MonoObject* thiz, int32_t name, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetColorImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,value); -} -void UnityEngine_Material_SetMatrixImpl_Injected_1(MonoObject* thiz, int32_t name, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetMatrixImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,value); -} -void UnityEngine_Material_GetColorImpl_Injected_1(MonoObject* thiz, int32_t name, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetColorImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,ret); -} -void UnityEngine_Material_GetMatrixImpl_Injected_1(MonoObject* thiz, int32_t name, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetMatrixImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,ret); -} -void UnityEngine_Material_GetTextureScaleAndOffsetImpl_Injected(MonoObject* thiz, int32_t name, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::GetTextureScaleAndOffsetImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,ret); -} -void UnityEngine_Material_SetTextureOffsetImpl_Injected(MonoObject* thiz, int32_t name, void * offset) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * offset); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetTextureOffsetImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,offset); -} -void UnityEngine_Material_SetTextureScaleImpl_Injected(MonoObject* thiz, int32_t name, void * scale) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t name, void * scale); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Material::SetTextureScaleImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,name,scale); -} -void * UnityEngine_GraphicsBuffer_InitBuffer(int32_t target, int32_t count, int32_t stride) -{ - typedef void * (* ICallMethod) (int32_t target, int32_t count, int32_t stride); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GraphicsBuffer::InitBuffer"); - void * i2res = icall(target,count,stride); - return i2res; -} -void UnityEngine_GraphicsBuffer_DestroyBuffer(MonoObject* buf) -{ - typedef void (* ICallMethod) (Il2CppObject* buf); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GraphicsBuffer::DestroyBuffer"); - Il2CppObject* i2buf = get_il2cpp_object(buf,il2cpp_get_class_UnityEngine_GraphicsBuffer()); - icall(i2buf); -} -int32_t UnityEngine_GraphicsBuffer_get_count_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GraphicsBuffer::get_count"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GraphicsBuffer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_GraphicsBuffer_get_stride(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GraphicsBuffer::get_stride"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GraphicsBuffer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_GraphicsBuffer_InternalSetNativeData(MonoObject* thiz, void * data, int32_t nativeBufferStartIndex, int32_t graphicsBufferStartIndex, int32_t count, int32_t elemSize) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * data, int32_t nativeBufferStartIndex, int32_t graphicsBufferStartIndex, int32_t count, int32_t elemSize); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GraphicsBuffer::InternalSetNativeData"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GraphicsBuffer()); - icall(i2thiz,data,nativeBufferStartIndex,graphicsBufferStartIndex,count,elemSize); -} -void UnityEngine_GraphicsBuffer_InternalSetData(MonoObject* thiz, MonoObject* data, int32_t managedBufferStartIndex, int32_t graphicsBufferStartIndex, int32_t count, int32_t elemSize) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* data, int32_t managedBufferStartIndex, int32_t graphicsBufferStartIndex, int32_t count, int32_t elemSize); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GraphicsBuffer::InternalSetData"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GraphicsBuffer()); - Il2CppObject* i2data = get_il2cpp_object(data,NULL); - icall(i2thiz,i2data,managedBufferStartIndex,graphicsBufferStartIndex,count,elemSize); -} -void * UnityEngine_GraphicsBuffer_GetNativeBufferPtr(MonoObject* thiz) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GraphicsBuffer::GetNativeBufferPtr"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GraphicsBuffer()); - void * i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_OcclusionPortal_get_open(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.OcclusionPortal::get_open"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_OcclusionPortal()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_OcclusionPortal_set_open(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.OcclusionPortal::set_open"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_OcclusionPortal()); - icall(i2thiz,value); -} -void UnityEngine_OcclusionArea_get_center_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.OcclusionArea::get_center_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_OcclusionArea()); - icall(i2thiz,ret); -} -void UnityEngine_OcclusionArea_set_center_Injected_1(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.OcclusionArea::set_center_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_OcclusionArea()); - icall(i2thiz,value); -} -void UnityEngine_OcclusionArea_get_size_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.OcclusionArea::get_size_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_OcclusionArea()); - icall(i2thiz,ret); -} -void UnityEngine_OcclusionArea_set_size_Injected_1(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.OcclusionArea::set_size_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_OcclusionArea()); - icall(i2thiz,value); -} -void UnityEngine_Flare_Internal_Create_3(MonoObject* self) -{ - typedef void (* ICallMethod) (Il2CppObject* self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Flare::Internal_Create"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_Flare()); - icall(i2self); -} -float UnityEngine_LensFlare_get_brightness_1(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LensFlare::get_brightness"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LensFlare()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LensFlare_set_brightness_1(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LensFlare::set_brightness"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LensFlare()); - icall(i2thiz,value); -} -float UnityEngine_LensFlare_get_fadeSpeed(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LensFlare::get_fadeSpeed"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LensFlare()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LensFlare_set_fadeSpeed(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LensFlare::set_fadeSpeed"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LensFlare()); - icall(i2thiz,value); -} -MonoObject* UnityEngine_LensFlare_get_flare(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LensFlare::get_flare"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LensFlare()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Flare()); - return monoi2res; -} -void UnityEngine_LensFlare_set_flare(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LensFlare::set_flare"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LensFlare()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Flare()); - icall(i2thiz,i2value); -} -void UnityEngine_LensFlare_get_color_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LensFlare::get_color_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LensFlare()); - icall(i2thiz,ret); -} -void UnityEngine_LensFlare_set_color_Injected_1(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LensFlare::set_color_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LensFlare()); - icall(i2thiz,value); -} -float UnityEngine_Projector_get_nearClipPlane_2(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::get_nearClipPlane"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Projector_set_nearClipPlane_2(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::set_nearClipPlane"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - icall(i2thiz,value); -} -float UnityEngine_Projector_get_farClipPlane_2(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::get_farClipPlane"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Projector_set_farClipPlane_2(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::set_farClipPlane"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - icall(i2thiz,value); -} -float UnityEngine_Projector_get_fieldOfView_1(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::get_fieldOfView"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Projector_set_fieldOfView_1(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::set_fieldOfView"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - icall(i2thiz,value); -} -float UnityEngine_Projector_get_aspectRatio(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::get_aspectRatio"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Projector_set_aspectRatio(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::set_aspectRatio"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - icall(i2thiz,value); -} -bool UnityEngine_Projector_get_orthographic_1(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::get_orthographic"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Projector_set_orthographic_1(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::set_orthographic"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - icall(i2thiz,value); -} -float UnityEngine_Projector_get_orthographicSize_1(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::get_orthographicSize"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Projector_set_orthographicSize_1(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::set_orthographicSize"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - icall(i2thiz,value); -} -int32_t UnityEngine_Projector_get_ignoreLayers(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::get_ignoreLayers"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Projector_set_ignoreLayers(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::set_ignoreLayers"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - icall(i2thiz,value); -} -MonoObject* UnityEngine_Projector_get_material_1(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::get_material"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; -} -void UnityEngine_Projector_set_material_1(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Projector::set_material"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Projector()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,i2value); -} -int32_t UnityEngine_Light_get_type_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_type"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_type_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_type"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -int32_t UnityEngine_Light_get_shape(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_shape"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_shape(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_shape"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -float UnityEngine_Light_get_spotAngle(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_spotAngle"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_spotAngle(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_spotAngle"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -float UnityEngine_Light_get_innerSpotAngle(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_innerSpotAngle"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_innerSpotAngle(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_innerSpotAngle"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -float UnityEngine_Light_get_colorTemperature(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_colorTemperature"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_colorTemperature(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_colorTemperature"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -bool UnityEngine_Light_get_useColorTemperature(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_useColorTemperature"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_useColorTemperature(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_useColorTemperature"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -float UnityEngine_Light_get_intensity_1(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_intensity"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_intensity_1(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_intensity"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -float UnityEngine_Light_get_bounceIntensity(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_bounceIntensity"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_bounceIntensity(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_bounceIntensity"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -bool UnityEngine_Light_get_useBoundingSphereOverride(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_useBoundingSphereOverride"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_useBoundingSphereOverride(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_useBoundingSphereOverride"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -int32_t UnityEngine_Light_get_shadowCustomResolution(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_shadowCustomResolution"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_shadowCustomResolution(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_shadowCustomResolution"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -float UnityEngine_Light_get_shadowBias_2(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_shadowBias"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_shadowBias_2(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_shadowBias"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -float UnityEngine_Light_get_shadowNormalBias(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_shadowNormalBias"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_shadowNormalBias(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_shadowNormalBias"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -float UnityEngine_Light_get_shadowNearPlane(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_shadowNearPlane"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_shadowNearPlane(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_shadowNearPlane"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -bool UnityEngine_Light_get_useShadowMatrixOverride(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_useShadowMatrixOverride"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_useShadowMatrixOverride(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_useShadowMatrixOverride"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -float UnityEngine_Light_get_range(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_range"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_range(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_range"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -MonoObject* UnityEngine_Light_get_flare_1(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_flare"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Flare()); - return monoi2res; -} -void UnityEngine_Light_set_flare_1(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_flare"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Flare()); - icall(i2thiz,i2value); -} -int32_t UnityEngine_Light_get_cullingMask_2(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_cullingMask"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_cullingMask_2(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_cullingMask"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -int32_t UnityEngine_Light_get_renderingLayerMask_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_renderingLayerMask"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_renderingLayerMask_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_renderingLayerMask"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -int32_t UnityEngine_Light_get_lightShadowCasterMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_lightShadowCasterMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_lightShadowCasterMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_lightShadowCasterMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -void UnityEngine_Light_Reset_4(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::Reset"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz); -} -int32_t UnityEngine_Light_get_shadows_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_shadows"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_shadows_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_shadows"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -float UnityEngine_Light_get_shadowStrength(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_shadowStrength"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_shadowStrength(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_shadowStrength"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -int32_t UnityEngine_Light_get_shadowResolution_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_shadowResolution"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_shadowResolution_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_shadowResolution"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -void* UnityEngine_Light_get_layerShadowCullDistances(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_layerShadowCullDistances"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - void* i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_layerShadowCullDistances(MonoObject* thiz, void* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_layerShadowCullDistances"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -float UnityEngine_Light_get_cookieSize(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_cookieSize"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_cookieSize(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_cookieSize"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -MonoObject* UnityEngine_Light_get_cookie(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_cookie"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); - return monoi2res; -} -void UnityEngine_Light_set_cookie(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_cookie"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,i2value); -} -int32_t UnityEngine_Light_get_renderMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_renderMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Light_set_renderMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_renderMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -void UnityEngine_Light_AddCommandBuffer(MonoObject* thiz, int32_t evt, MonoObject* buffer, int32_t shadowPassMask) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t evt, Il2CppObject* buffer, int32_t shadowPassMask); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::AddCommandBuffer"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - Il2CppObject* i2buffer = get_il2cpp_object(buffer,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,evt,i2buffer,shadowPassMask); -} -void UnityEngine_Light_AddCommandBufferAsync(MonoObject* thiz, int32_t evt, MonoObject* buffer, int32_t shadowPassMask, int32_t queueType) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t evt, Il2CppObject* buffer, int32_t shadowPassMask, int32_t queueType); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::AddCommandBufferAsync"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - Il2CppObject* i2buffer = get_il2cpp_object(buffer,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,evt,i2buffer,shadowPassMask,queueType); -} -void UnityEngine_Light_RemoveCommandBuffer(MonoObject* thiz, int32_t evt, MonoObject* buffer) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t evt, Il2CppObject* buffer); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::RemoveCommandBuffer"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - Il2CppObject* i2buffer = get_il2cpp_object(buffer,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,evt,i2buffer); -} -void UnityEngine_Light_RemoveCommandBuffers_1(MonoObject* thiz, int32_t evt) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t evt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::RemoveCommandBuffers"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,evt); -} -void UnityEngine_Light_RemoveAllCommandBuffers_1(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::RemoveAllCommandBuffers"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz); -} -MonoArray* UnityEngine_Light_GetCommandBuffers_1(MonoObject* thiz, int32_t evt) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz, int32_t evt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::GetCommandBuffers"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - Il2CppArray* i2res = icall(i2thiz,evt); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -int32_t UnityEngine_Light_get_commandBufferCount_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_commandBufferCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - int32_t i2res = icall(i2thiz); - return i2res; -} -MonoArray* UnityEngine_Light_GetLights(int32_t type, int32_t layer) -{ - typedef Il2CppArray* (* ICallMethod) (int32_t type, int32_t layer); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::GetLights"); - Il2CppArray* i2res = icall(type,layer); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -void UnityEngine_Light_get_color_Injected_2(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_color_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,ret); -} -void UnityEngine_Light_set_color_Injected_2(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_color_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -void UnityEngine_Light_get_boundingSphereOverride_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_boundingSphereOverride_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,ret); -} -void UnityEngine_Light_set_boundingSphereOverride_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_boundingSphereOverride_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -void UnityEngine_Light_get_shadowMatrixOverride_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_shadowMatrixOverride_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,ret); -} -void UnityEngine_Light_set_shadowMatrixOverride_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_shadowMatrixOverride_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -void UnityEngine_Light_get_bakingOutput_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::get_bakingOutput_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,ret); -} -void UnityEngine_Light_set_bakingOutput_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Light::set_bakingOutput_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Light()); - icall(i2thiz,value); -} -MonoObject* UnityEngine_Skybox_get_material_2(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Skybox::get_material"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Skybox()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; -} -void UnityEngine_Skybox_set_material_2(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Skybox::set_material"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Skybox()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,i2value); -} -MonoObject* UnityEngine_MeshFilter_get_sharedMesh(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MeshFilter::get_sharedMesh"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MeshFilter()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Mesh()); - return monoi2res; -} -void UnityEngine_MeshFilter_set_sharedMesh(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MeshFilter::set_sharedMesh"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MeshFilter()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,i2value); -} -MonoObject* UnityEngine_MeshFilter_get_mesh(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MeshFilter::get_mesh"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MeshFilter()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Mesh()); - return monoi2res; -} -void UnityEngine_MeshFilter_set_mesh(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MeshFilter::set_mesh"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MeshFilter()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,i2value); -} -bool UnityEngine_LightProbeProxyVolume_get_isFeatureSupported() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_isFeatureSupported"); - bool i2res = icall(); - return i2res; -} -float UnityEngine_LightProbeProxyVolume_get_probeDensity(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_probeDensity"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LightProbeProxyVolume_set_probeDensity(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::set_probeDensity"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,value); -} -int32_t UnityEngine_LightProbeProxyVolume_get_gridResolutionX(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_gridResolutionX"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LightProbeProxyVolume_set_gridResolutionX(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::set_gridResolutionX"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,value); -} -int32_t UnityEngine_LightProbeProxyVolume_get_gridResolutionY(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_gridResolutionY"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LightProbeProxyVolume_set_gridResolutionY(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::set_gridResolutionY"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,value); -} -int32_t UnityEngine_LightProbeProxyVolume_get_gridResolutionZ(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_gridResolutionZ"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LightProbeProxyVolume_set_gridResolutionZ(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::set_gridResolutionZ"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,value); -} -int32_t UnityEngine_LightProbeProxyVolume_get_boundingBoxMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_boundingBoxMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LightProbeProxyVolume_set_boundingBoxMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::set_boundingBoxMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,value); -} -int32_t UnityEngine_LightProbeProxyVolume_get_resolutionMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_resolutionMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LightProbeProxyVolume_set_resolutionMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::set_resolutionMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,value); -} -int32_t UnityEngine_LightProbeProxyVolume_get_probePositionMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_probePositionMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LightProbeProxyVolume_set_probePositionMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::set_probePositionMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,value); -} -int32_t UnityEngine_LightProbeProxyVolume_get_refreshMode_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_refreshMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LightProbeProxyVolume_set_refreshMode_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::set_refreshMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,value); -} -int32_t UnityEngine_LightProbeProxyVolume_get_qualityMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_qualityMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LightProbeProxyVolume_set_qualityMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::set_qualityMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,value); -} -void UnityEngine_LightProbeProxyVolume_SetDirtyFlag(MonoObject* thiz, bool flag) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool flag); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::SetDirtyFlag"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,flag); -} -void UnityEngine_LightProbeProxyVolume_get_boundsGlobal_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_boundsGlobal_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,ret); -} -void UnityEngine_LightProbeProxyVolume_get_sizeCustom_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_sizeCustom_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,ret); -} -void UnityEngine_LightProbeProxyVolume_set_sizeCustom_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::set_sizeCustom_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,value); -} -void UnityEngine_LightProbeProxyVolume_get_originCustom_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::get_originCustom_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,ret); -} -void UnityEngine_LightProbeProxyVolume_set_originCustom_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LightProbeProxyVolume::set_originCustom_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LightProbeProxyVolume()); - icall(i2thiz,value); -} -int32_t UnityEngine_SkinnedMeshRenderer_get_quality(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::get_quality"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_SkinnedMeshRenderer_set_quality(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::set_quality"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - icall(i2thiz,value); -} -bool UnityEngine_SkinnedMeshRenderer_get_updateWhenOffscreen(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::get_updateWhenOffscreen"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_SkinnedMeshRenderer_set_updateWhenOffscreen(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::set_updateWhenOffscreen"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - icall(i2thiz,value); -} -bool UnityEngine_SkinnedMeshRenderer_get_forceMatrixRecalculationPerRender(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::get_forceMatrixRecalculationPerRender"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_SkinnedMeshRenderer_set_forceMatrixRecalculationPerRender(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::set_forceMatrixRecalculationPerRender"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - icall(i2thiz,value); -} -MonoObject* UnityEngine_SkinnedMeshRenderer_get_rootBone(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::get_rootBone"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); - return monoi2res; -} -void UnityEngine_SkinnedMeshRenderer_set_rootBone(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::set_rootBone"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,i2value); -} -MonoArray* UnityEngine_SkinnedMeshRenderer_get_bones(MonoObject* thiz) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::get_bones"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - Il2CppArray* i2res = icall(i2thiz); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -void UnityEngine_SkinnedMeshRenderer_set_bones(MonoObject* thiz, MonoArray* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppArray* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::set_bones"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - Il2CppArray* i2value = get_il2cpp_array(value); - icall(i2thiz,i2value); -} -MonoObject* UnityEngine_SkinnedMeshRenderer_get_sharedMesh_1(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::get_sharedMesh"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Mesh()); - return monoi2res; -} -void UnityEngine_SkinnedMeshRenderer_set_sharedMesh_1(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::set_sharedMesh"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,i2value); -} -bool UnityEngine_SkinnedMeshRenderer_get_skinnedMotionVectors(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::get_skinnedMotionVectors"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_SkinnedMeshRenderer_set_skinnedMotionVectors(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::set_skinnedMotionVectors"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - icall(i2thiz,value); -} -float UnityEngine_SkinnedMeshRenderer_GetBlendShapeWeight(MonoObject* thiz, int32_t index) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz, int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::GetBlendShapeWeight"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - float i2res = icall(i2thiz,index); - return i2res; -} -void UnityEngine_SkinnedMeshRenderer_SetBlendShapeWeight(MonoObject* thiz, int32_t index, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::SetBlendShapeWeight"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - icall(i2thiz,index,value); -} -void UnityEngine_SkinnedMeshRenderer_BakeMesh_2(MonoObject* thiz, MonoObject* mesh) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* mesh); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::BakeMesh"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,i2mesh); -} -void UnityEngine_SkinnedMeshRenderer_GetLocalAABB_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::GetLocalAABB_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - icall(i2thiz,ret); -} -void UnityEngine_SkinnedMeshRenderer_SetLocalAABB_Injected(MonoObject* thiz, void * b) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * b); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SkinnedMeshRenderer::SetLocalAABB_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SkinnedMeshRenderer()); - icall(i2thiz,b); -} -MonoObject* UnityEngine_MeshRenderer_get_additionalVertexStreams(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MeshRenderer::get_additionalVertexStreams"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MeshRenderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Mesh()); - return monoi2res; -} -void UnityEngine_MeshRenderer_set_additionalVertexStreams(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MeshRenderer::set_additionalVertexStreams"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MeshRenderer()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,i2value); -} -int32_t UnityEngine_MeshRenderer_get_subMeshStartIndex(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MeshRenderer::get_subMeshStartIndex"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MeshRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -float UnityEngine_LODGroup_get_size(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::get_size"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LODGroup_set_size(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::set_size"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - icall(i2thiz,value); -} -int32_t UnityEngine_LODGroup_get_lodCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::get_lodCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_LODGroup_get_fadeMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::get_fadeMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LODGroup_set_fadeMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::set_fadeMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - icall(i2thiz,value); -} -bool UnityEngine_LODGroup_get_animateCrossFading(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::get_animateCrossFading"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LODGroup_set_animateCrossFading(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::set_animateCrossFading"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - icall(i2thiz,value); -} -bool UnityEngine_LODGroup_get_enabled_2(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::get_enabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LODGroup_set_enabled_2(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::set_enabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - icall(i2thiz,value); -} -void UnityEngine_LODGroup_RecalculateBounds(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::RecalculateBounds"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - icall(i2thiz); -} -void* UnityEngine_LODGroup_GetLODs(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::GetLODs"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - void* i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_LODGroup_SetLODs(MonoObject* thiz, void* lods) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* lods); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::SetLODs"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - icall(i2thiz,lods); -} -void UnityEngine_LODGroup_ForceLOD(MonoObject* thiz, int32_t index) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::ForceLOD"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - icall(i2thiz,index); -} -float UnityEngine_LODGroup_get_crossFadeAnimationDuration() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::get_crossFadeAnimationDuration"); - float i2res = icall(); - return i2res; -} -void UnityEngine_LODGroup_set_crossFadeAnimationDuration(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::set_crossFadeAnimationDuration"); - icall(value); -} -void UnityEngine_LODGroup_get_localReferencePoint_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::get_localReferencePoint_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - icall(i2thiz,ret); -} -void UnityEngine_LODGroup_set_localReferencePoint_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LODGroup::set_localReferencePoint_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_LODGroup()); - icall(i2thiz,value); -} -void UnityEngine_LineUtility_GeneratePointsToKeep3D(MonoObject* pointsList, float tolerance, MonoObject* pointsToKeepList) -{ - typedef void (* ICallMethod) (Il2CppObject* pointsList, float tolerance, Il2CppObject* pointsToKeepList); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineUtility::GeneratePointsToKeep3D"); - Il2CppObject* i2pointsList = get_il2cpp_object(pointsList,NULL); - Il2CppObject* i2pointsToKeepList = get_il2cpp_object(pointsToKeepList,NULL); - icall(i2pointsList,tolerance,i2pointsToKeepList); -} -void UnityEngine_LineUtility_GeneratePointsToKeep2D(MonoObject* pointsList, float tolerance, MonoObject* pointsToKeepList) -{ - typedef void (* ICallMethod) (Il2CppObject* pointsList, float tolerance, Il2CppObject* pointsToKeepList); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineUtility::GeneratePointsToKeep2D"); - Il2CppObject* i2pointsList = get_il2cpp_object(pointsList,NULL); - Il2CppObject* i2pointsToKeepList = get_il2cpp_object(pointsToKeepList,NULL); - icall(i2pointsList,tolerance,i2pointsToKeepList); -} -void UnityEngine_LineUtility_GenerateSimplifiedPoints3D(MonoObject* pointsList, float tolerance, MonoObject* simplifiedPoints) -{ - typedef void (* ICallMethod) (Il2CppObject* pointsList, float tolerance, Il2CppObject* simplifiedPoints); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineUtility::GenerateSimplifiedPoints3D"); - Il2CppObject* i2pointsList = get_il2cpp_object(pointsList,NULL); - Il2CppObject* i2simplifiedPoints = get_il2cpp_object(simplifiedPoints,NULL); - icall(i2pointsList,tolerance,i2simplifiedPoints); -} -void UnityEngine_LineUtility_GenerateSimplifiedPoints2D(MonoObject* pointsList, float tolerance, MonoObject* simplifiedPoints) -{ - typedef void (* ICallMethod) (Il2CppObject* pointsList, float tolerance, Il2CppObject* simplifiedPoints); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LineUtility::GenerateSimplifiedPoints2D"); - Il2CppObject* i2pointsList = get_il2cpp_object(pointsList,NULL); - Il2CppObject* i2simplifiedPoints = get_il2cpp_object(simplifiedPoints,NULL); - icall(i2pointsList,tolerance,i2simplifiedPoints); -} -void UnityEngine_Mesh_Internal_Create_4(MonoObject* mono) -{ - typedef void (* ICallMethod) (Il2CppObject* mono); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::Internal_Create"); - Il2CppObject* i2mono = get_il2cpp_object(mono,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2mono); -} -MonoObject* UnityEngine_Mesh_FromInstanceID(int32_t id) -{ - typedef Il2CppObject* (* ICallMethod) (int32_t id); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::FromInstanceID"); - Il2CppObject* i2res = icall(id); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Mesh()); - return monoi2res; -} -int32_t UnityEngine_Mesh_get_indexFormat(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::get_indexFormat"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Mesh_set_indexFormat(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::set_indexFormat"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,value); -} -void UnityEngine_Mesh_SetIndexBufferParams(MonoObject* thiz, int32_t indexCount, int32_t format) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t indexCount, int32_t format); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::SetIndexBufferParams"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,indexCount,format); -} -void UnityEngine_Mesh_InternalSetIndexBufferData(MonoObject* thiz, void * data, int32_t dataStart, int32_t meshBufferStart, int32_t count, int32_t elemSize, int32_t flags) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * data, int32_t dataStart, int32_t meshBufferStart, int32_t count, int32_t elemSize, int32_t flags); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::InternalSetIndexBufferData"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,data,dataStart,meshBufferStart,count,elemSize,flags); -} -void UnityEngine_Mesh_InternalSetIndexBufferDataFromArray(MonoObject* thiz, MonoObject* data, int32_t dataStart, int32_t meshBufferStart, int32_t count, int32_t elemSize, int32_t flags) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* data, int32_t dataStart, int32_t meshBufferStart, int32_t count, int32_t elemSize, int32_t flags); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::InternalSetIndexBufferDataFromArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2data = get_il2cpp_object(data,NULL); - icall(i2thiz,i2data,dataStart,meshBufferStart,count,elemSize,flags); -} -void UnityEngine_Mesh_SetVertexBufferParams(MonoObject* thiz, int32_t vertexCount, void* attributes) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t vertexCount, void* attributes); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::SetVertexBufferParams"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,vertexCount,attributes); -} -void UnityEngine_Mesh_InternalSetVertexBufferData(MonoObject* thiz, int32_t stream, void * data, int32_t dataStart, int32_t meshBufferStart, int32_t count, int32_t elemSize, int32_t flags) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t stream, void * data, int32_t dataStart, int32_t meshBufferStart, int32_t count, int32_t elemSize, int32_t flags); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::InternalSetVertexBufferData"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,stream,data,dataStart,meshBufferStart,count,elemSize,flags); -} -void UnityEngine_Mesh_InternalSetVertexBufferDataFromArray(MonoObject* thiz, int32_t stream, MonoObject* data, int32_t dataStart, int32_t meshBufferStart, int32_t count, int32_t elemSize, int32_t flags) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t stream, Il2CppObject* data, int32_t dataStart, int32_t meshBufferStart, int32_t count, int32_t elemSize, int32_t flags); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::InternalSetVertexBufferDataFromArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2data = get_il2cpp_object(data,NULL); - icall(i2thiz,stream,i2data,dataStart,meshBufferStart,count,elemSize,flags); -} -MonoObject* UnityEngine_Mesh_GetVertexAttributesAlloc(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetVertexAttributesAlloc"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_System_Array()); - return monoi2res; -} -int32_t UnityEngine_Mesh_GetVertexAttributesArray(MonoObject* thiz, void* attributes) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, void* attributes); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetVertexAttributesArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz,attributes); - return i2res; -} -int32_t UnityEngine_Mesh_GetVertexAttributesList(MonoObject* thiz, MonoObject* attributes) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* attributes); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetVertexAttributesList"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2attributes = get_il2cpp_object(attributes,NULL); - int32_t i2res = icall(i2thiz,i2attributes); - return i2res; -} -int32_t UnityEngine_Mesh_GetVertexAttributeCountImpl(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetVertexAttributeCountImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz); - return i2res; -} -uint32_t UnityEngine_Mesh_GetIndexStartImpl(MonoObject* thiz, int32_t submesh) -{ - typedef uint32_t (* ICallMethod) (Il2CppObject* thiz, int32_t submesh); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetIndexStartImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - uint32_t i2res = icall(i2thiz,submesh); - return i2res; -} -uint32_t UnityEngine_Mesh_GetIndexCountImpl(MonoObject* thiz, int32_t submesh) -{ - typedef uint32_t (* ICallMethod) (Il2CppObject* thiz, int32_t submesh); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetIndexCountImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - uint32_t i2res = icall(i2thiz,submesh); - return i2res; -} -uint32_t UnityEngine_Mesh_GetTrianglesCountImpl(MonoObject* thiz, int32_t submesh) -{ - typedef uint32_t (* ICallMethod) (Il2CppObject* thiz, int32_t submesh); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetTrianglesCountImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - uint32_t i2res = icall(i2thiz,submesh); - return i2res; -} -uint32_t UnityEngine_Mesh_GetBaseVertexImpl(MonoObject* thiz, int32_t submesh) -{ - typedef uint32_t (* ICallMethod) (Il2CppObject* thiz, int32_t submesh); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetBaseVertexImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - uint32_t i2res = icall(i2thiz,submesh); - return i2res; -} -void* UnityEngine_Mesh_GetTrianglesImpl(MonoObject* thiz, int32_t submesh, bool applyBaseVertex) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t submesh, bool applyBaseVertex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetTrianglesImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - void* i2res = icall(i2thiz,submesh,applyBaseVertex); - return i2res; -} -void* UnityEngine_Mesh_GetIndicesImpl(MonoObject* thiz, int32_t submesh, bool applyBaseVertex) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t submesh, bool applyBaseVertex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetIndicesImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - void* i2res = icall(i2thiz,submesh,applyBaseVertex); - return i2res; -} -void UnityEngine_Mesh_SetIndicesImpl(MonoObject* thiz, int32_t submesh, int32_t topology, int32_t indicesFormat, MonoObject* indices, int32_t arrayStart, int32_t arraySize, bool calculateBounds, int32_t baseVertex) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t submesh, int32_t topology, int32_t indicesFormat, Il2CppObject* indices, int32_t arrayStart, int32_t arraySize, bool calculateBounds, int32_t baseVertex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::SetIndicesImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2indices = get_il2cpp_object(indices,NULL); - icall(i2thiz,submesh,topology,indicesFormat,i2indices,arrayStart,arraySize,calculateBounds,baseVertex); -} -void UnityEngine_Mesh_SetIndicesNativeArrayImpl(MonoObject* thiz, int32_t submesh, int32_t topology, int32_t indicesFormat, void * indices, int32_t arrayStart, int32_t arraySize, bool calculateBounds, int32_t baseVertex) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t submesh, int32_t topology, int32_t indicesFormat, void * indices, int32_t arrayStart, int32_t arraySize, bool calculateBounds, int32_t baseVertex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::SetIndicesNativeArrayImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,submesh,topology,indicesFormat,indices,arrayStart,arraySize,calculateBounds,baseVertex); -} -void UnityEngine_Mesh_GetTrianglesNonAllocImpl(MonoObject* thiz, void* values, int32_t submesh, bool applyBaseVertex) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* values, int32_t submesh, bool applyBaseVertex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetTrianglesNonAllocImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,values,submesh,applyBaseVertex); -} -void UnityEngine_Mesh_GetTrianglesNonAllocImpl16(MonoObject* thiz, void* values, int32_t submesh, bool applyBaseVertex) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* values, int32_t submesh, bool applyBaseVertex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetTrianglesNonAllocImpl16"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,values,submesh,applyBaseVertex); -} -void UnityEngine_Mesh_GetIndicesNonAllocImpl(MonoObject* thiz, void* values, int32_t submesh, bool applyBaseVertex) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* values, int32_t submesh, bool applyBaseVertex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetIndicesNonAllocImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,values,submesh,applyBaseVertex); -} -void UnityEngine_Mesh_GetIndicesNonAllocImpl16(MonoObject* thiz, void* values, int32_t submesh, bool applyBaseVertex) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* values, int32_t submesh, bool applyBaseVertex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetIndicesNonAllocImpl16"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,values,submesh,applyBaseVertex); -} -void UnityEngine_Mesh_PrintErrorCantAccessChannel(MonoObject* thiz, int32_t ch) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t ch); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::PrintErrorCantAccessChannel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,ch); -} -bool UnityEngine_Mesh_HasVertexAttribute(MonoObject* thiz, int32_t attr) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t attr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::HasVertexAttribute"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - bool i2res = icall(i2thiz,attr); - return i2res; -} -int32_t UnityEngine_Mesh_GetVertexAttributeDimension(MonoObject* thiz, int32_t attr) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t attr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetVertexAttributeDimension"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz,attr); - return i2res; -} -int32_t UnityEngine_Mesh_GetVertexAttributeFormat(MonoObject* thiz, int32_t attr) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t attr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetVertexAttributeFormat"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz,attr); - return i2res; -} -void UnityEngine_Mesh_SetArrayForChannelImpl(MonoObject* thiz, int32_t channel, int32_t format, int32_t dim, MonoObject* values, int32_t arraySize, int32_t valuesStart, int32_t valuesCount) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t channel, int32_t format, int32_t dim, Il2CppObject* values, int32_t arraySize, int32_t valuesStart, int32_t valuesCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::SetArrayForChannelImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2values = get_il2cpp_object(values,NULL); - icall(i2thiz,channel,format,dim,i2values,arraySize,valuesStart,valuesCount); -} -void UnityEngine_Mesh_SetNativeArrayForChannelImpl(MonoObject* thiz, int32_t channel, int32_t format, int32_t dim, void * values, int32_t arraySize, int32_t valuesStart, int32_t valuesCount) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t channel, int32_t format, int32_t dim, void * values, int32_t arraySize, int32_t valuesStart, int32_t valuesCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::SetNativeArrayForChannelImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,channel,format,dim,values,arraySize,valuesStart,valuesCount); -} -MonoObject* UnityEngine_Mesh_GetAllocArrayFromChannelImpl(MonoObject* thiz, int32_t channel, int32_t format, int32_t dim) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, int32_t channel, int32_t format, int32_t dim); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetAllocArrayFromChannelImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2res = icall(i2thiz,channel,format,dim); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_System_Array()); - return monoi2res; -} -void UnityEngine_Mesh_GetArrayFromChannelImpl(MonoObject* thiz, int32_t channel, int32_t format, int32_t dim, MonoObject* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t channel, int32_t format, int32_t dim, Il2CppObject* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetArrayFromChannelImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2values = get_il2cpp_object(values,NULL); - icall(i2thiz,channel,format,dim,i2values); -} -int32_t UnityEngine_Mesh_get_vertexBufferCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::get_vertexBufferCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void * UnityEngine_Mesh_GetNativeVertexBufferPtr(MonoObject* thiz, int32_t index) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz, int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetNativeVertexBufferPtr"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - void * i2res = icall(i2thiz,index); - return i2res; -} -void * UnityEngine_Mesh_GetNativeIndexBufferPtr(MonoObject* thiz) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetNativeIndexBufferPtr"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - void * i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Mesh_get_blendShapeCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::get_blendShapeCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Mesh_ClearBlendShapes(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::ClearBlendShapes"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz); -} -MonoString* UnityEngine_Mesh_GetBlendShapeName(MonoObject* thiz, int32_t shapeIndex) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz, int32_t shapeIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetBlendShapeName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppString* i2res = icall(i2thiz,shapeIndex); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_Mesh_GetBlendShapeIndex(MonoObject* thiz, MonoString* blendShapeName) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppString* blendShapeName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetBlendShapeIndex"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppString* i2blendShapeName = get_il2cpp_string(blendShapeName); - int32_t i2res = icall(i2thiz,i2blendShapeName); - return i2res; -} -int32_t UnityEngine_Mesh_GetBlendShapeFrameCount(MonoObject* thiz, int32_t shapeIndex) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t shapeIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetBlendShapeFrameCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz,shapeIndex); - return i2res; -} -float UnityEngine_Mesh_GetBlendShapeFrameWeight(MonoObject* thiz, int32_t shapeIndex, int32_t frameIndex) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz, int32_t shapeIndex, int32_t frameIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetBlendShapeFrameWeight"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - float i2res = icall(i2thiz,shapeIndex,frameIndex); - return i2res; -} -void UnityEngine_Mesh_GetBlendShapeFrameVertices(MonoObject* thiz, int32_t shapeIndex, int32_t frameIndex, void* deltaVertices, void* deltaNormals, void* deltaTangents) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t shapeIndex, int32_t frameIndex, void* deltaVertices, void* deltaNormals, void* deltaTangents); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetBlendShapeFrameVertices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,shapeIndex,frameIndex,deltaVertices,deltaNormals,deltaTangents); -} -void UnityEngine_Mesh_AddBlendShapeFrame(MonoObject* thiz, MonoString* shapeName, float frameWeight, void* deltaVertices, void* deltaNormals, void* deltaTangents) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* shapeName, float frameWeight, void* deltaVertices, void* deltaNormals, void* deltaTangents); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::AddBlendShapeFrame"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppString* i2shapeName = get_il2cpp_string(shapeName); - icall(i2thiz,i2shapeName,frameWeight,deltaVertices,deltaNormals,deltaTangents); -} -bool UnityEngine_Mesh_HasBoneWeights(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::HasBoneWeights"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - bool i2res = icall(i2thiz); - return i2res; -} -void* UnityEngine_Mesh_GetBoneWeightsImpl(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetBoneWeightsImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - void* i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Mesh_SetBoneWeightsImpl(MonoObject* thiz, void* weights) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* weights); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::SetBoneWeightsImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,weights); -} -void UnityEngine_Mesh_InternalSetBoneWeights(MonoObject* thiz, void * bonesPerVertex, int32_t bonesPerVertexSize, void * weights, int32_t weightsSize) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * bonesPerVertex, int32_t bonesPerVertexSize, void * weights, int32_t weightsSize); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::InternalSetBoneWeights"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,bonesPerVertex,bonesPerVertexSize,weights,weightsSize); -} -int32_t UnityEngine_Mesh_GetAllBoneWeightsArraySize(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetAllBoneWeightsArraySize"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void * UnityEngine_Mesh_GetAllBoneWeightsArray(MonoObject* thiz) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetAllBoneWeightsArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - void * i2res = icall(i2thiz); - return i2res; -} -void * UnityEngine_Mesh_GetBonesPerVertexArray(MonoObject* thiz) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetBonesPerVertexArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - void * i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Mesh_GetBindposeCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetBindposeCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void* UnityEngine_Mesh_get_bindposes(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::get_bindposes"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - void* i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Mesh_set_bindposes(MonoObject* thiz, void* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::set_bindposes"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,value); -} -void UnityEngine_Mesh_GetBoneWeightsNonAllocImpl(MonoObject* thiz, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetBoneWeightsNonAllocImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,values); -} -void UnityEngine_Mesh_GetBindposesNonAllocImpl(MonoObject* thiz, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetBindposesNonAllocImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,values); -} -bool UnityEngine_Mesh_get_isReadable(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::get_isReadable"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - bool i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_Mesh_get_canAccess(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::get_canAccess"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - bool i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Mesh_get_vertexCount_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::get_vertexCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Mesh_get_subMeshCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::get_subMeshCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Mesh_set_subMeshCount(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::set_subMeshCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,value); -} -void UnityEngine_Mesh_ClearImpl(MonoObject* thiz, bool keepVertexLayout) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool keepVertexLayout); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::ClearImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,keepVertexLayout); -} -void UnityEngine_Mesh_RecalculateBoundsImpl(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::RecalculateBoundsImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz); -} -void UnityEngine_Mesh_RecalculateNormalsImpl(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::RecalculateNormalsImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz); -} -void UnityEngine_Mesh_RecalculateTangentsImpl(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::RecalculateTangentsImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz); -} -void UnityEngine_Mesh_MarkDynamicImpl(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::MarkDynamicImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz); -} -void UnityEngine_Mesh_MarkModified(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::MarkModified"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz); -} -void UnityEngine_Mesh_UploadMeshDataImpl(MonoObject* thiz, bool markNoLongerReadable) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool markNoLongerReadable); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::UploadMeshDataImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,markNoLongerReadable); -} -int32_t UnityEngine_Mesh_GetTopologyImpl(MonoObject* thiz, int32_t submesh) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t submesh); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetTopologyImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - int32_t i2res = icall(i2thiz,submesh); - return i2res; -} -float UnityEngine_Mesh_GetUVDistributionMetric(MonoObject* thiz, int32_t uvSetIndex) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz, int32_t uvSetIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetUVDistributionMetric"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - float i2res = icall(i2thiz,uvSetIndex); - return i2res; -} -void UnityEngine_Mesh_CombineMeshesImpl(MonoObject* thiz, void* combine, bool mergeSubMeshes, bool useMatrices, bool hasLightmapData) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* combine, bool mergeSubMeshes, bool useMatrices, bool hasLightmapData); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::CombineMeshesImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,combine,mergeSubMeshes,useMatrices,hasLightmapData); -} -void UnityEngine_Mesh_OptimizeImpl(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::OptimizeImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz); -} -void UnityEngine_Mesh_OptimizeIndexBuffersImpl(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::OptimizeIndexBuffersImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz); -} -void UnityEngine_Mesh_OptimizeReorderVertexBufferImpl(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::OptimizeReorderVertexBufferImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz); -} -void UnityEngine_Mesh_GetVertexAttribute_Injected(MonoObject* thiz, int32_t index, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetVertexAttribute_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,index,ret); -} -void UnityEngine_Mesh_SetSubMesh_Injected(MonoObject* thiz, int32_t index, void * desc, int32_t flags) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, void * desc, int32_t flags); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::SetSubMesh_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,index,desc,flags); -} -void UnityEngine_Mesh_GetSubMesh_Injected(MonoObject* thiz, int32_t index, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::GetSubMesh_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,index,ret); -} -void UnityEngine_Mesh_get_bounds_Injected_2(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::get_bounds_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,ret); -} -void UnityEngine_Mesh_set_bounds_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mesh::set_bounds_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Mesh()); - icall(i2thiz,value); -} -MonoObject* UnityEngine_StaticBatchingHelper_InternalCombineVertices(void* meshes, MonoString* meshName) -{ - typedef Il2CppObject* (* ICallMethod) (void* meshes, Il2CppString* meshName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.StaticBatchingHelper::InternalCombineVertices"); - Il2CppString* i2meshName = get_il2cpp_string(meshName); - Il2CppObject* i2res = icall(meshes,i2meshName); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Mesh()); - return monoi2res; -} -void UnityEngine_StaticBatchingHelper_InternalCombineIndices(void* submeshes, MonoObject* combinedMesh) -{ - typedef void (* ICallMethod) (void* submeshes, Il2CppObject* combinedMesh); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.StaticBatchingHelper::InternalCombineIndices"); - Il2CppObject* i2combinedMesh = get_il2cpp_object(combinedMesh,il2cpp_get_class_UnityEngine_Mesh()); - icall(submeshes,i2combinedMesh); -} -int32_t UnityEngine_Texture_get_masterTextureLimit_1() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_masterTextureLimit"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_Texture_set_masterTextureLimit_1(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_masterTextureLimit"); - icall(value); -} -int32_t UnityEngine_Texture_get_mipmapCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_mipmapCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Texture_get_anisotropicFiltering_1() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_anisotropicFiltering"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_Texture_set_anisotropicFiltering_1(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_anisotropicFiltering"); - icall(value); -} -void UnityEngine_Texture_SetGlobalAnisotropicFilteringLimits(int32_t forcedMin, int32_t globalMax) -{ - typedef void (* ICallMethod) (int32_t forcedMin, int32_t globalMax); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::SetGlobalAnisotropicFilteringLimits"); - icall(forcedMin,globalMax); -} -int32_t UnityEngine_Texture_GetDataWidth(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::GetDataWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Texture_GetDataHeight(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::GetDataHeight"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Texture_GetDimension(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::GetDimension"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_Texture_get_isReadable_1(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_isReadable"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - bool i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Texture_get_wrapMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_wrapMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture_set_wrapMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_wrapMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,value); -} -int32_t UnityEngine_Texture_get_wrapModeU(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_wrapModeU"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture_set_wrapModeU(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_wrapModeU"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,value); -} -int32_t UnityEngine_Texture_get_wrapModeV(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_wrapModeV"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture_set_wrapModeV(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_wrapModeV"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,value); -} -int32_t UnityEngine_Texture_get_wrapModeW(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_wrapModeW"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture_set_wrapModeW(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_wrapModeW"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,value); -} -int32_t UnityEngine_Texture_get_filterMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_filterMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture_set_filterMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_filterMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,value); -} -int32_t UnityEngine_Texture_get_anisoLevel(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_anisoLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture_set_anisoLevel(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_anisoLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,value); -} -float UnityEngine_Texture_get_mipMapBias(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_mipMapBias"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture_set_mipMapBias(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_mipMapBias"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,value); -} -void * UnityEngine_Texture_GetNativeTexturePtr(MonoObject* thiz) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::GetNativeTexturePtr"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - void * i2res = icall(i2thiz); - return i2res; -} -uint32_t UnityEngine_Texture_get_updateCount(MonoObject* thiz) -{ - typedef uint32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_updateCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - uint32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture_IncrementUpdateCount(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::IncrementUpdateCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz); -} -int32_t UnityEngine_Texture_Internal_GetActiveTextureColorSpace(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::Internal_GetActiveTextureColorSpace"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -uint64_t UnityEngine_Texture_get_totalTextureMemory() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_totalTextureMemory"); - uint64_t i2res = icall(); - return i2res; -} -uint64_t UnityEngine_Texture_get_desiredTextureMemory() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_desiredTextureMemory"); - uint64_t i2res = icall(); - return i2res; -} -uint64_t UnityEngine_Texture_get_targetTextureMemory() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_targetTextureMemory"); - uint64_t i2res = icall(); - return i2res; -} -uint64_t UnityEngine_Texture_get_currentTextureMemory() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_currentTextureMemory"); - uint64_t i2res = icall(); - return i2res; -} -uint64_t UnityEngine_Texture_get_nonStreamingTextureMemory() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_nonStreamingTextureMemory"); - uint64_t i2res = icall(); - return i2res; -} -uint64_t UnityEngine_Texture_get_streamingMipmapUploadCount() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_streamingMipmapUploadCount"); - uint64_t i2res = icall(); - return i2res; -} -uint64_t UnityEngine_Texture_get_streamingRendererCount() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_streamingRendererCount"); - uint64_t i2res = icall(); - return i2res; -} -uint64_t UnityEngine_Texture_get_streamingTextureCount() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_streamingTextureCount"); - uint64_t i2res = icall(); - return i2res; -} -uint64_t UnityEngine_Texture_get_nonStreamingTextureCount() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_nonStreamingTextureCount"); - uint64_t i2res = icall(); - return i2res; -} -uint64_t UnityEngine_Texture_get_streamingTexturePendingLoadCount() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_streamingTexturePendingLoadCount"); - uint64_t i2res = icall(); - return i2res; -} -uint64_t UnityEngine_Texture_get_streamingTextureLoadingCount() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_streamingTextureLoadingCount"); - uint64_t i2res = icall(); - return i2res; -} -void UnityEngine_Texture_SetStreamingTextureMaterialDebugProperties() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::SetStreamingTextureMaterialDebugProperties"); - icall(); -} -bool UnityEngine_Texture_get_streamingTextureForceLoadAll() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_streamingTextureForceLoadAll"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Texture_set_streamingTextureForceLoadAll(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_streamingTextureForceLoadAll"); - icall(value); -} -bool UnityEngine_Texture_get_streamingTextureDiscardUnusedMips() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_streamingTextureDiscardUnusedMips"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Texture_set_streamingTextureDiscardUnusedMips(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_streamingTextureDiscardUnusedMips"); - icall(value); -} -bool UnityEngine_Texture_get_allowThreadedTextureCreation() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_allowThreadedTextureCreation"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Texture_set_allowThreadedTextureCreation(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::set_allowThreadedTextureCreation"); - icall(value); -} -void UnityEngine_Texture_get_texelSize_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture::get_texelSize_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,ret); -} -int32_t UnityEngine_Texture2D_get_format(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_format"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - int32_t i2res = icall(i2thiz); - return i2res; -} -MonoObject* UnityEngine_Texture2D_get_whiteTexture() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_whiteTexture"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture2D()); - return monoi2res; -} -MonoObject* UnityEngine_Texture2D_get_blackTexture() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_blackTexture"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture2D()); - return monoi2res; -} -MonoObject* UnityEngine_Texture2D_get_redTexture() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_redTexture"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture2D()); - return monoi2res; -} -MonoObject* UnityEngine_Texture2D_get_grayTexture() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_grayTexture"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture2D()); - return monoi2res; -} -MonoObject* UnityEngine_Texture2D_get_linearGrayTexture() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_linearGrayTexture"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture2D()); - return monoi2res; -} -MonoObject* UnityEngine_Texture2D_get_normalTexture() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_normalTexture"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture2D()); - return monoi2res; -} -void UnityEngine_Texture2D_Compress(MonoObject* thiz, bool highQuality) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool highQuality); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::Compress"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,highQuality); -} -bool UnityEngine_Texture2D_Internal_CreateImpl(MonoObject* mono, int32_t w, int32_t h, int32_t mipCount, int32_t format, int32_t flags, void * nativeTex) -{ - typedef bool (* ICallMethod) (Il2CppObject* mono, int32_t w, int32_t h, int32_t mipCount, int32_t format, int32_t flags, void * nativeTex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::Internal_CreateImpl"); - Il2CppObject* i2mono = get_il2cpp_object(mono,il2cpp_get_class_UnityEngine_Texture2D()); - bool i2res = icall(i2mono,w,h,mipCount,format,flags,nativeTex); - return i2res; -} -bool UnityEngine_Texture2D_get_isReadable_2(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_isReadable"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture2D_ApplyImpl(MonoObject* thiz, bool updateMipmaps, bool makeNoLongerReadable) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool updateMipmaps, bool makeNoLongerReadable); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::ApplyImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,updateMipmaps,makeNoLongerReadable); -} -bool UnityEngine_Texture2D_ResizeImpl(MonoObject* thiz, int32_t width, int32_t height) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t width, int32_t height); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::ResizeImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - bool i2res = icall(i2thiz,width,height); - return i2res; -} -bool UnityEngine_Texture2D_ResizeWithFormatImpl(MonoObject* thiz, int32_t width, int32_t height, int32_t format, bool hasMipMap) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t width, int32_t height, int32_t format, bool hasMipMap); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::ResizeWithFormatImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - bool i2res = icall(i2thiz,width,height,format,hasMipMap); - return i2res; -} -void UnityEngine_Texture2D_SetPixelsImpl(MonoObject* thiz, int32_t x, int32_t y, int32_t w, int32_t h, void* pixel, int32_t miplevel, int32_t frame) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t x, int32_t y, int32_t w, int32_t h, void* pixel, int32_t miplevel, int32_t frame); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::SetPixelsImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,x,y,w,h,pixel,miplevel,frame); -} -bool UnityEngine_Texture2D_LoadRawTextureDataImpl(MonoObject* thiz, void * data, int32_t size) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, void * data, int32_t size); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::LoadRawTextureDataImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - bool i2res = icall(i2thiz,data,size); - return i2res; -} -bool UnityEngine_Texture2D_LoadRawTextureDataImplArray(MonoObject* thiz, void* data) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, void* data); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::LoadRawTextureDataImplArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - bool i2res = icall(i2thiz,data); - return i2res; -} -bool UnityEngine_Texture2D_SetPixelDataImplArray(MonoObject* thiz, MonoObject* data, int32_t mipLevel, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* data, int32_t mipLevel, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::SetPixelDataImplArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - Il2CppObject* i2data = get_il2cpp_object(data,NULL); - bool i2res = icall(i2thiz,i2data,mipLevel,elementSize,dataArraySize,sourceDataStartIndex); - return i2res; -} -bool UnityEngine_Texture2D_SetPixelDataImpl(MonoObject* thiz, void * data, int32_t mipLevel, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, void * data, int32_t mipLevel, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::SetPixelDataImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - bool i2res = icall(i2thiz,data,mipLevel,elementSize,dataArraySize,sourceDataStartIndex); - return i2res; -} -void * UnityEngine_Texture2D_GetWritableImageData(MonoObject* thiz, int32_t frame) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz, int32_t frame); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::GetWritableImageData"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - void * i2res = icall(i2thiz,frame); - return i2res; -} -int64_t UnityEngine_Texture2D_GetRawImageDataSize(MonoObject* thiz) -{ - typedef int64_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::GetRawImageDataSize"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - int64_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture2D_GenerateAtlasImpl(void* sizes, int32_t padding, int32_t atlasSize, void* rect) -{ - typedef void (* ICallMethod) (void* sizes, int32_t padding, int32_t atlasSize, void* rect); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::GenerateAtlasImpl"); - icall(sizes,padding,atlasSize,rect); -} -bool UnityEngine_Texture2D_get_isPreProcessed(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_isPreProcessed"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - bool i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_Texture2D_get_streamingMipmaps(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_streamingMipmaps"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - bool i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Texture2D_get_streamingMipmapsPriority(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_streamingMipmapsPriority"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Texture2D_get_requestedMipmapLevel(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_requestedMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture2D_set_requestedMipmapLevel(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::set_requestedMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,value); -} -int32_t UnityEngine_Texture2D_get_minimumMipmapLevel(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_minimumMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture2D_set_minimumMipmapLevel(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::set_minimumMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,value); -} -bool UnityEngine_Texture2D_get_loadAllMips(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_loadAllMips"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture2D_set_loadAllMips(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::set_loadAllMips"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,value); -} -int32_t UnityEngine_Texture2D_get_calculatedMipmapLevel(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_calculatedMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Texture2D_get_desiredMipmapLevel(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_desiredMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Texture2D_get_loadingMipmapLevel(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_loadingMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Texture2D_get_loadedMipmapLevel(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::get_loadedMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture2D_ClearRequestedMipmapLevel(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::ClearRequestedMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz); -} -bool UnityEngine_Texture2D_IsRequestedMipmapLevelLoaded(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::IsRequestedMipmapLevelLoaded"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Texture2D_ClearMinimumMipmapLevel(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::ClearMinimumMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz); -} -void UnityEngine_Texture2D_UpdateExternalTexture(MonoObject* thiz, void * nativeTex) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * nativeTex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::UpdateExternalTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,nativeTex); -} -void UnityEngine_Texture2D_SetAllPixels32(MonoObject* thiz, void* colors, int32_t miplevel) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* colors, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::SetAllPixels32"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,colors,miplevel); -} -void UnityEngine_Texture2D_SetBlockOfPixels32(MonoObject* thiz, int32_t x, int32_t y, int32_t blockWidth, int32_t blockHeight, void* colors, int32_t miplevel) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t x, int32_t y, int32_t blockWidth, int32_t blockHeight, void* colors, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::SetBlockOfPixels32"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,x,y,blockWidth,blockHeight,colors,miplevel); -} -void* UnityEngine_Texture2D_GetRawTextureData(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::GetRawTextureData"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - void* i2res = icall(i2thiz); - return i2res; -} -void* UnityEngine_Texture2D_GetPixels(MonoObject* thiz, int32_t x, int32_t y, int32_t blockWidth, int32_t blockHeight, int32_t miplevel) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t x, int32_t y, int32_t blockWidth, int32_t blockHeight, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::GetPixels"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - void* i2res = icall(i2thiz,x,y,blockWidth,blockHeight,miplevel); - return i2res; -} -void* UnityEngine_Texture2D_GetPixels32(MonoObject* thiz, int32_t miplevel) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::GetPixels32"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - void* i2res = icall(i2thiz,miplevel); - return i2res; -} -void* UnityEngine_Texture2D_PackTextures(MonoObject* thiz, MonoArray* textures, int32_t padding, int32_t maximumAtlasSize, bool makeNoLongerReadable) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, Il2CppArray* textures, int32_t padding, int32_t maximumAtlasSize, bool makeNoLongerReadable); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::PackTextures"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - Il2CppArray* i2textures = get_il2cpp_array(textures); - void* i2res = icall(i2thiz,i2textures,padding,maximumAtlasSize,makeNoLongerReadable); - return i2res; -} -void UnityEngine_Texture2D_SetPixelImpl_Injected(MonoObject* thiz, int32_t image, int32_t x, int32_t y, void * color) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t image, int32_t x, int32_t y, void * color); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::SetPixelImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,image,x,y,color); -} -void UnityEngine_Texture2D_GetPixelImpl_Injected(MonoObject* thiz, int32_t image, int32_t x, int32_t y, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t image, int32_t x, int32_t y, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::GetPixelImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,image,x,y,ret); -} -void UnityEngine_Texture2D_GetPixelBilinearImpl_Injected(MonoObject* thiz, int32_t image, float u, float v, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t image, float u, float v, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::GetPixelBilinearImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,image,u,v,ret); -} -void UnityEngine_Texture2D_ReadPixelsImpl_Injected(MonoObject* thiz, void * source, int32_t destX, int32_t destY, bool recalculateMipMaps) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * source, int32_t destX, int32_t destY, bool recalculateMipMaps); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2D::ReadPixelsImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2thiz,source,destX,destY,recalculateMipMaps); -} -int32_t UnityEngine_Cubemap_get_format_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::get_format"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - int32_t i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_Cubemap_Internal_CreateImpl_1(MonoObject* mono, int32_t ext, int32_t mipCount, int32_t format, int32_t flags, void * nativeTex) -{ - typedef bool (* ICallMethod) (Il2CppObject* mono, int32_t ext, int32_t mipCount, int32_t format, int32_t flags, void * nativeTex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::Internal_CreateImpl"); - Il2CppObject* i2mono = get_il2cpp_object(mono,il2cpp_get_class_UnityEngine_Cubemap()); - bool i2res = icall(i2mono,ext,mipCount,format,flags,nativeTex); - return i2res; -} -void UnityEngine_Cubemap_ApplyImpl_1(MonoObject* thiz, bool updateMipmaps, bool makeNoLongerReadable) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool updateMipmaps, bool makeNoLongerReadable); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::ApplyImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - icall(i2thiz,updateMipmaps,makeNoLongerReadable); -} -void UnityEngine_Cubemap_UpdateExternalTexture_1(MonoObject* thiz, void * nativeTexture) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * nativeTexture); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::UpdateExternalTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - icall(i2thiz,nativeTexture); -} -bool UnityEngine_Cubemap_get_isReadable_3(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::get_isReadable"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Cubemap_SmoothEdges(MonoObject* thiz, int32_t smoothRegionWidthInPixels) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t smoothRegionWidthInPixels); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::SmoothEdges"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - icall(i2thiz,smoothRegionWidthInPixels); -} -void* UnityEngine_Cubemap_GetPixels_1(MonoObject* thiz, int32_t face, int32_t miplevel) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t face, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::GetPixels"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - void* i2res = icall(i2thiz,face,miplevel); - return i2res; -} -void UnityEngine_Cubemap_SetPixels(MonoObject* thiz, void* colors, int32_t face, int32_t miplevel) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* colors, int32_t face, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::SetPixels"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - icall(i2thiz,colors,face,miplevel); -} -bool UnityEngine_Cubemap_SetPixelDataImplArray_1(MonoObject* thiz, MonoObject* data, int32_t mipLevel, int32_t face, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* data, int32_t mipLevel, int32_t face, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::SetPixelDataImplArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - Il2CppObject* i2data = get_il2cpp_object(data,NULL); - bool i2res = icall(i2thiz,i2data,mipLevel,face,elementSize,dataArraySize,sourceDataStartIndex); - return i2res; -} -bool UnityEngine_Cubemap_SetPixelDataImpl_1(MonoObject* thiz, void * data, int32_t mipLevel, int32_t face, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, void * data, int32_t mipLevel, int32_t face, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::SetPixelDataImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - bool i2res = icall(i2thiz,data,mipLevel,face,elementSize,dataArraySize,sourceDataStartIndex); - return i2res; -} -bool UnityEngine_Cubemap_get_streamingMipmaps_1(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::get_streamingMipmaps"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - bool i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Cubemap_get_streamingMipmapsPriority_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::get_streamingMipmapsPriority"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Cubemap_get_requestedMipmapLevel_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::get_requestedMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Cubemap_set_requestedMipmapLevel_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::set_requestedMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - icall(i2thiz,value); -} -bool UnityEngine_Cubemap_get_loadAllMips_1(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::get_loadAllMips"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Cubemap_set_loadAllMips_1(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::set_loadAllMips"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - icall(i2thiz,value); -} -int32_t UnityEngine_Cubemap_get_desiredMipmapLevel_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::get_desiredMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Cubemap_get_loadingMipmapLevel_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::get_loadingMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Cubemap_get_loadedMipmapLevel_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::get_loadedMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Cubemap_ClearRequestedMipmapLevel_1(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::ClearRequestedMipmapLevel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - icall(i2thiz); -} -bool UnityEngine_Cubemap_IsRequestedMipmapLevelLoaded_1(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::IsRequestedMipmapLevelLoaded"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Cubemap_SetPixelImpl_Injected_1(MonoObject* thiz, int32_t image, int32_t x, int32_t y, void * color) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t image, int32_t x, int32_t y, void * color); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::SetPixelImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - icall(i2thiz,image,x,y,color); -} -void UnityEngine_Cubemap_GetPixelImpl_Injected_1(MonoObject* thiz, int32_t image, int32_t x, int32_t y, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t image, int32_t x, int32_t y, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cubemap::GetPixelImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Cubemap()); - icall(i2thiz,image,x,y,ret); -} -int32_t UnityEngine_Texture3D_get_depth_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::get_depth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Texture3D_get_format_2(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::get_format"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - int32_t i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_Texture3D_get_isReadable_4(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::get_isReadable"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - bool i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_Texture3D_Internal_CreateImpl_2(MonoObject* mono, int32_t w, int32_t h, int32_t d, int32_t mipCount, int32_t format, int32_t flags) -{ - typedef bool (* ICallMethod) (Il2CppObject* mono, int32_t w, int32_t h, int32_t d, int32_t mipCount, int32_t format, int32_t flags); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::Internal_CreateImpl"); - Il2CppObject* i2mono = get_il2cpp_object(mono,il2cpp_get_class_UnityEngine_Texture3D()); - bool i2res = icall(i2mono,w,h,d,mipCount,format,flags); - return i2res; -} -void UnityEngine_Texture3D_ApplyImpl_2(MonoObject* thiz, bool updateMipmaps, bool makeNoLongerReadable) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool updateMipmaps, bool makeNoLongerReadable); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::ApplyImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - icall(i2thiz,updateMipmaps,makeNoLongerReadable); -} -void* UnityEngine_Texture3D_GetPixels_2(MonoObject* thiz, int32_t miplevel) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::GetPixels"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - void* i2res = icall(i2thiz,miplevel); - return i2res; -} -void* UnityEngine_Texture3D_GetPixels32_1(MonoObject* thiz, int32_t miplevel) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::GetPixels32"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - void* i2res = icall(i2thiz,miplevel); - return i2res; -} -void UnityEngine_Texture3D_SetPixels_1(MonoObject* thiz, void* colors, int32_t miplevel) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* colors, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::SetPixels"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - icall(i2thiz,colors,miplevel); -} -void UnityEngine_Texture3D_SetPixels32(MonoObject* thiz, void* colors, int32_t miplevel) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* colors, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::SetPixels32"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - icall(i2thiz,colors,miplevel); -} -bool UnityEngine_Texture3D_SetPixelDataImplArray_2(MonoObject* thiz, MonoObject* data, int32_t mipLevel, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* data, int32_t mipLevel, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::SetPixelDataImplArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - Il2CppObject* i2data = get_il2cpp_object(data,NULL); - bool i2res = icall(i2thiz,i2data,mipLevel,elementSize,dataArraySize,sourceDataStartIndex); - return i2res; -} -bool UnityEngine_Texture3D_SetPixelDataImpl_2(MonoObject* thiz, void * data, int32_t mipLevel, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, void * data, int32_t mipLevel, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::SetPixelDataImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - bool i2res = icall(i2thiz,data,mipLevel,elementSize,dataArraySize,sourceDataStartIndex); - return i2res; -} -void UnityEngine_Texture3D_SetPixelImpl_Injected_2(MonoObject* thiz, int32_t image, int32_t x, int32_t y, int32_t z, void * color) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t image, int32_t x, int32_t y, int32_t z, void * color); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::SetPixelImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - icall(i2thiz,image,x,y,z,color); -} -void UnityEngine_Texture3D_GetPixelImpl_Injected_2(MonoObject* thiz, int32_t image, int32_t x, int32_t y, int32_t z, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t image, int32_t x, int32_t y, int32_t z, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::GetPixelImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - icall(i2thiz,image,x,y,z,ret); -} -void UnityEngine_Texture3D_GetPixelBilinearImpl_Injected_1(MonoObject* thiz, int32_t image, float u, float v, float w, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t image, float u, float v, float w, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture3D::GetPixelBilinearImpl_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture3D()); - icall(i2thiz,image,u,v,w,ret); -} -int32_t UnityEngine_Texture2DArray_get_allSlices() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::get_allSlices"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_Texture2DArray_get_depth_2(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::get_depth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2DArray()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Texture2DArray_get_format_3(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::get_format"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2DArray()); - int32_t i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_Texture2DArray_get_isReadable_5(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::get_isReadable"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2DArray()); - bool i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_Texture2DArray_Internal_CreateImpl_3(MonoObject* mono, int32_t w, int32_t h, int32_t d, int32_t mipCount, int32_t format, int32_t flags) -{ - typedef bool (* ICallMethod) (Il2CppObject* mono, int32_t w, int32_t h, int32_t d, int32_t mipCount, int32_t format, int32_t flags); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::Internal_CreateImpl"); - Il2CppObject* i2mono = get_il2cpp_object(mono,il2cpp_get_class_UnityEngine_Texture2DArray()); - bool i2res = icall(i2mono,w,h,d,mipCount,format,flags); - return i2res; -} -void UnityEngine_Texture2DArray_ApplyImpl_3(MonoObject* thiz, bool updateMipmaps, bool makeNoLongerReadable) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool updateMipmaps, bool makeNoLongerReadable); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::ApplyImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2DArray()); - icall(i2thiz,updateMipmaps,makeNoLongerReadable); -} -void* UnityEngine_Texture2DArray_GetPixels_3(MonoObject* thiz, int32_t arrayElement, int32_t miplevel) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t arrayElement, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::GetPixels"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2DArray()); - void* i2res = icall(i2thiz,arrayElement,miplevel); - return i2res; -} -bool UnityEngine_Texture2DArray_SetPixelDataImplArray_3(MonoObject* thiz, MonoObject* data, int32_t mipLevel, int32_t element, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* data, int32_t mipLevel, int32_t element, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::SetPixelDataImplArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2DArray()); - Il2CppObject* i2data = get_il2cpp_object(data,NULL); - bool i2res = icall(i2thiz,i2data,mipLevel,element,elementSize,dataArraySize,sourceDataStartIndex); - return i2res; -} -bool UnityEngine_Texture2DArray_SetPixelDataImpl_3(MonoObject* thiz, void * data, int32_t mipLevel, int32_t element, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, void * data, int32_t mipLevel, int32_t element, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::SetPixelDataImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2DArray()); - bool i2res = icall(i2thiz,data,mipLevel,element,elementSize,dataArraySize,sourceDataStartIndex); - return i2res; -} -void* UnityEngine_Texture2DArray_GetPixels32_2(MonoObject* thiz, int32_t arrayElement, int32_t miplevel) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t arrayElement, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::GetPixels32"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2DArray()); - void* i2res = icall(i2thiz,arrayElement,miplevel); - return i2res; -} -void UnityEngine_Texture2DArray_SetPixels_2(MonoObject* thiz, void* colors, int32_t arrayElement, int32_t miplevel) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* colors, int32_t arrayElement, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::SetPixels"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2DArray()); - icall(i2thiz,colors,arrayElement,miplevel); -} -void UnityEngine_Texture2DArray_SetPixels32_1(MonoObject* thiz, void* colors, int32_t arrayElement, int32_t miplevel) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* colors, int32_t arrayElement, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Texture2DArray::SetPixels32"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Texture2DArray()); - icall(i2thiz,colors,arrayElement,miplevel); -} -int32_t UnityEngine_CubemapArray_get_cubemapCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CubemapArray::get_cubemapCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CubemapArray()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_CubemapArray_get_format_4(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CubemapArray::get_format"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CubemapArray()); - int32_t i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_CubemapArray_get_isReadable_6(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CubemapArray::get_isReadable"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CubemapArray()); - bool i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_CubemapArray_Internal_CreateImpl_4(MonoObject* mono, int32_t ext, int32_t count, int32_t mipCount, int32_t format, int32_t flags) -{ - typedef bool (* ICallMethod) (Il2CppObject* mono, int32_t ext, int32_t count, int32_t mipCount, int32_t format, int32_t flags); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CubemapArray::Internal_CreateImpl"); - Il2CppObject* i2mono = get_il2cpp_object(mono,il2cpp_get_class_UnityEngine_CubemapArray()); - bool i2res = icall(i2mono,ext,count,mipCount,format,flags); - return i2res; -} -void UnityEngine_CubemapArray_ApplyImpl_4(MonoObject* thiz, bool updateMipmaps, bool makeNoLongerReadable) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool updateMipmaps, bool makeNoLongerReadable); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CubemapArray::ApplyImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CubemapArray()); - icall(i2thiz,updateMipmaps,makeNoLongerReadable); -} -void* UnityEngine_CubemapArray_GetPixels_4(MonoObject* thiz, int32_t face, int32_t arrayElement, int32_t miplevel) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t face, int32_t arrayElement, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CubemapArray::GetPixels"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CubemapArray()); - void* i2res = icall(i2thiz,face,arrayElement,miplevel); - return i2res; -} -void* UnityEngine_CubemapArray_GetPixels32_3(MonoObject* thiz, int32_t face, int32_t arrayElement, int32_t miplevel) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz, int32_t face, int32_t arrayElement, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CubemapArray::GetPixels32"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CubemapArray()); - void* i2res = icall(i2thiz,face,arrayElement,miplevel); - return i2res; -} -void UnityEngine_CubemapArray_SetPixels_3(MonoObject* thiz, void* colors, int32_t face, int32_t arrayElement, int32_t miplevel) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* colors, int32_t face, int32_t arrayElement, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CubemapArray::SetPixels"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CubemapArray()); - icall(i2thiz,colors,face,arrayElement,miplevel); -} -void UnityEngine_CubemapArray_SetPixels32_2(MonoObject* thiz, void* colors, int32_t face, int32_t arrayElement, int32_t miplevel) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* colors, int32_t face, int32_t arrayElement, int32_t miplevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CubemapArray::SetPixels32"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CubemapArray()); - icall(i2thiz,colors,face,arrayElement,miplevel); -} -bool UnityEngine_CubemapArray_SetPixelDataImplArray_4(MonoObject* thiz, MonoObject* data, int32_t mipLevel, int32_t face, int32_t element, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* data, int32_t mipLevel, int32_t face, int32_t element, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CubemapArray::SetPixelDataImplArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CubemapArray()); - Il2CppObject* i2data = get_il2cpp_object(data,NULL); - bool i2res = icall(i2thiz,i2data,mipLevel,face,element,elementSize,dataArraySize,sourceDataStartIndex); - return i2res; -} -bool UnityEngine_CubemapArray_SetPixelDataImpl_4(MonoObject* thiz, void * data, int32_t mipLevel, int32_t face, int32_t element, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, void * data, int32_t mipLevel, int32_t face, int32_t element, int32_t elementSize, int32_t dataArraySize, int32_t sourceDataStartIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CubemapArray::SetPixelDataImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CubemapArray()); - bool i2res = icall(i2thiz,data,mipLevel,face,element,elementSize,dataArraySize,sourceDataStartIndex); - return i2res; -} -int32_t UnityEngine_SparseTexture_get_tileWidth(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SparseTexture::get_tileWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SparseTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_SparseTexture_get_tileHeight(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SparseTexture::get_tileHeight"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SparseTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_SparseTexture_get_isCreated(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SparseTexture::get_isCreated"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SparseTexture()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_SparseTexture_Internal_Create_5(MonoObject* mono, int32_t width, int32_t height, int32_t format, int32_t mipCount) -{ - typedef void (* ICallMethod) (Il2CppObject* mono, int32_t width, int32_t height, int32_t format, int32_t mipCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SparseTexture::Internal_Create"); - Il2CppObject* i2mono = get_il2cpp_object(mono,il2cpp_get_class_UnityEngine_SparseTexture()); - icall(i2mono,width,height,format,mipCount); -} -void UnityEngine_SparseTexture_UpdateTile(MonoObject* thiz, int32_t tileX, int32_t tileY, int32_t miplevel, void* data) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t tileX, int32_t tileY, int32_t miplevel, void* data); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SparseTexture::UpdateTile"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SparseTexture()); - icall(i2thiz,tileX,tileY,miplevel,data); -} -void UnityEngine_SparseTexture_UpdateTileRaw(MonoObject* thiz, int32_t tileX, int32_t tileY, int32_t miplevel, void* data) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t tileX, int32_t tileY, int32_t miplevel, void* data); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SparseTexture::UpdateTileRaw"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SparseTexture()); - icall(i2thiz,tileX,tileY,miplevel,data); -} -int32_t UnityEngine_RenderTexture_get_width_2(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_width"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_width_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_width"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -int32_t UnityEngine_RenderTexture_get_height_2(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_height"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_height_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_height"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -int32_t UnityEngine_RenderTexture_get_dimension(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_dimension"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_dimension(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_dimension"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -int32_t UnityEngine_RenderTexture_get_graphicsFormat(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_graphicsFormat"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_graphicsFormat(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_graphicsFormat"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -bool UnityEngine_RenderTexture_get_useMipMap(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_useMipMap"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_useMipMap(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_useMipMap"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -bool UnityEngine_RenderTexture_get_sRGB(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_sRGB"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - bool i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_RenderTexture_get_vrUsage(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_vrUsage"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_vrUsage(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_vrUsage"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -int32_t UnityEngine_RenderTexture_get_memorylessMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_memorylessMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_memorylessMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_memorylessMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -int32_t UnityEngine_RenderTexture_get_stencilFormat(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_stencilFormat"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_stencilFormat(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_stencilFormat"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -bool UnityEngine_RenderTexture_get_autoGenerateMips(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_autoGenerateMips"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_autoGenerateMips(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_autoGenerateMips"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -int32_t UnityEngine_RenderTexture_get_volumeDepth(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_volumeDepth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_volumeDepth(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_volumeDepth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -int32_t UnityEngine_RenderTexture_get_antiAliasing_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_antiAliasing"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_antiAliasing_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_antiAliasing"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -bool UnityEngine_RenderTexture_get_bindTextureMS(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_bindTextureMS"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_bindTextureMS(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_bindTextureMS"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -bool UnityEngine_RenderTexture_get_enableRandomWrite(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_enableRandomWrite"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_enableRandomWrite(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_enableRandomWrite"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -bool UnityEngine_RenderTexture_get_useDynamicScale(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_useDynamicScale"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_useDynamicScale(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_useDynamicScale"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -bool UnityEngine_RenderTexture_GetIsPowerOfTwo(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::GetIsPowerOfTwo"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - bool i2res = icall(i2thiz); - return i2res; -} -MonoObject* UnityEngine_RenderTexture_GetActive() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::GetActive"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_RenderTexture()); - return monoi2res; -} -void UnityEngine_RenderTexture_SetActive(MonoObject* rt) -{ - typedef void (* ICallMethod) (Il2CppObject* rt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::SetActive"); - Il2CppObject* i2rt = get_il2cpp_object(rt,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2rt); -} -void * UnityEngine_RenderTexture_GetNativeDepthBufferPtr(MonoObject* thiz) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::GetNativeDepthBufferPtr"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - void * i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_DiscardContents(MonoObject* thiz, bool discardColor, bool discardDepth) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool discardColor, bool discardDepth); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::DiscardContents"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,discardColor,discardDepth); -} -void UnityEngine_RenderTexture_MarkRestoreExpected(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::MarkRestoreExpected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz); -} -void UnityEngine_RenderTexture_ResolveAA(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::ResolveAA"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz); -} -void UnityEngine_RenderTexture_ResolveAATo(MonoObject* thiz, MonoObject* rt) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::ResolveAATo"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - Il2CppObject* i2rt = get_il2cpp_object(rt,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,i2rt); -} -void UnityEngine_RenderTexture_SetGlobalShaderProperty(MonoObject* thiz, MonoString* propertyName) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* propertyName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::SetGlobalShaderProperty"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - Il2CppString* i2propertyName = get_il2cpp_string(propertyName); - icall(i2thiz,i2propertyName); -} -bool UnityEngine_RenderTexture_Create(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::Create"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_Release(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::Release"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz); -} -bool UnityEngine_RenderTexture_IsCreated(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::IsCreated"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_GenerateMips(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::GenerateMips"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz); -} -void UnityEngine_RenderTexture_ConvertToEquirect(MonoObject* thiz, MonoObject* equirect, int32_t eye) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* equirect, int32_t eye); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::ConvertToEquirect"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - Il2CppObject* i2equirect = get_il2cpp_object(equirect,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,i2equirect,eye); -} -void UnityEngine_RenderTexture_SetSRGBReadWrite(MonoObject* thiz, bool srgb) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool srgb); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::SetSRGBReadWrite"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,srgb); -} -void UnityEngine_RenderTexture_Internal_Create_6(MonoObject* rt) -{ - typedef void (* ICallMethod) (Il2CppObject* rt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::Internal_Create"); - Il2CppObject* i2rt = get_il2cpp_object(rt,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2rt); -} -bool UnityEngine_RenderTexture_SupportsStencil(MonoObject* rt) -{ - typedef bool (* ICallMethod) (Il2CppObject* rt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::SupportsStencil"); - Il2CppObject* i2rt = get_il2cpp_object(rt,il2cpp_get_class_UnityEngine_RenderTexture()); - bool i2res = icall(i2rt); - return i2res; -} -void UnityEngine_RenderTexture_ReleaseTemporary(MonoObject* temp) -{ - typedef void (* ICallMethod) (Il2CppObject* temp); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::ReleaseTemporary"); - Il2CppObject* i2temp = get_il2cpp_object(temp,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2temp); -} -int32_t UnityEngine_RenderTexture_get_depth_3(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::get_depth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RenderTexture_set_depth_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::set_depth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,value); -} -void UnityEngine_RenderTexture_GetColorBuffer_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::GetColorBuffer_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,ret); -} -void UnityEngine_RenderTexture_GetDepthBuffer_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::GetDepthBuffer_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,ret); -} -void UnityEngine_RenderTexture_SetRenderTextureDescriptor_Injected(MonoObject* thiz, void * desc) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * desc); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::SetRenderTextureDescriptor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,desc); -} -void UnityEngine_RenderTexture_GetDescriptor_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::GetDescriptor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,ret); -} -MonoObject* UnityEngine_RenderTexture_GetTemporary_Internal_Injected(void * desc) -{ - typedef Il2CppObject* (* ICallMethod) (void * desc); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RenderTexture::GetTemporary_Internal_Injected"); - Il2CppObject* i2res = icall(desc); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_RenderTexture()); - return monoi2res; -} -void UnityEngine_CustomRenderTexture_Internal_CreateCustomRenderTexture(MonoObject* rt) -{ - typedef void (* ICallMethod) (Il2CppObject* rt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::Internal_CreateCustomRenderTexture"); - Il2CppObject* i2rt = get_il2cpp_object(rt,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2rt); -} -void UnityEngine_CustomRenderTexture_Update(MonoObject* thiz, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::Update"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz,count); -} -void UnityEngine_CustomRenderTexture_Initialize(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::Initialize"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz); -} -void UnityEngine_CustomRenderTexture_ClearUpdateZones(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::ClearUpdateZones"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz); -} -MonoObject* UnityEngine_CustomRenderTexture_get_material_3(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::get_material"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; -} -void UnityEngine_CustomRenderTexture_set_material_3(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::set_material"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,i2value); -} -MonoObject* UnityEngine_CustomRenderTexture_get_initializationMaterial(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::get_initializationMaterial"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; -} -void UnityEngine_CustomRenderTexture_set_initializationMaterial(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::set_initializationMaterial"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,i2value); -} -MonoObject* UnityEngine_CustomRenderTexture_get_initializationTexture(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::get_initializationTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture()); - return monoi2res; -} -void UnityEngine_CustomRenderTexture_set_initializationTexture(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::set_initializationTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,i2value); -} -void UnityEngine_CustomRenderTexture_GetUpdateZonesInternal(MonoObject* thiz, MonoObject* updateZones) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* updateZones); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::GetUpdateZonesInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - Il2CppObject* i2updateZones = get_il2cpp_object(updateZones,NULL); - icall(i2thiz,i2updateZones); -} -void UnityEngine_CustomRenderTexture_SetUpdateZonesInternal(MonoObject* thiz, void* updateZones) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* updateZones); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::SetUpdateZonesInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz,updateZones); -} -int32_t UnityEngine_CustomRenderTexture_get_initializationSource(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::get_initializationSource"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_CustomRenderTexture_set_initializationSource(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::set_initializationSource"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz,value); -} -int32_t UnityEngine_CustomRenderTexture_get_updateMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::get_updateMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_CustomRenderTexture_set_updateMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::set_updateMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz,value); -} -int32_t UnityEngine_CustomRenderTexture_get_initializationMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::get_initializationMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_CustomRenderTexture_set_initializationMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::set_initializationMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz,value); -} -int32_t UnityEngine_CustomRenderTexture_get_updateZoneSpace(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::get_updateZoneSpace"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_CustomRenderTexture_set_updateZoneSpace(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::set_updateZoneSpace"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz,value); -} -int32_t UnityEngine_CustomRenderTexture_get_shaderPass(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::get_shaderPass"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_CustomRenderTexture_set_shaderPass(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::set_shaderPass"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz,value); -} -uint32_t UnityEngine_CustomRenderTexture_get_cubemapFaceMask(MonoObject* thiz) -{ - typedef uint32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::get_cubemapFaceMask"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - uint32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_CustomRenderTexture_set_cubemapFaceMask(MonoObject* thiz, uint32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, uint32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::set_cubemapFaceMask"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz,value); -} -bool UnityEngine_CustomRenderTexture_get_doubleBuffered(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::get_doubleBuffered"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_CustomRenderTexture_set_doubleBuffered(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::set_doubleBuffered"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz,value); -} -bool UnityEngine_CustomRenderTexture_get_wrapUpdateZones(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::get_wrapUpdateZones"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_CustomRenderTexture_set_wrapUpdateZones(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::set_wrapUpdateZones"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz,value); -} -void UnityEngine_CustomRenderTexture_get_initializationColor_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::get_initializationColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz,ret); -} -void UnityEngine_CustomRenderTexture_set_initializationColor_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CustomRenderTexture::set_initializationColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CustomRenderTexture()); - icall(i2thiz,value); -} -void UnityEngine_Handheld_Vibrate() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Handheld::Vibrate"); - icall(); -} -bool UnityEngine_Handheld_GetUse32BitDisplayBuffer_Bindings() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Handheld::GetUse32BitDisplayBuffer_Bindings"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Handheld_SetActivityIndicatorStyleImpl_Bindings(int32_t style) -{ - typedef void (* ICallMethod) (int32_t style); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Handheld::SetActivityIndicatorStyleImpl_Bindings"); - icall(style); -} -int32_t UnityEngine_Handheld_GetActivityIndicatorStyle() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Handheld::GetActivityIndicatorStyle"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_Handheld_StartActivityIndicator() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Handheld::StartActivityIndicator"); - icall(); -} -void UnityEngine_Handheld_StopActivityIndicator() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Handheld::StopActivityIndicator"); - icall(); -} -void UnityEngine_Handheld_ClearShaderCache() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Handheld::ClearShaderCache"); - icall(); -} -bool UnityEngine_Handheld_PlayFullScreenMovie_Bindings_Injected(MonoString* path, void * bgColor, int32_t controlMode, int32_t scalingMode) -{ - typedef bool (* ICallMethod) (Il2CppString* path, void * bgColor, int32_t controlMode, int32_t scalingMode); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Handheld::PlayFullScreenMovie_Bindings_Injected"); - Il2CppString* i2path = get_il2cpp_string(path); - bool i2res = icall(i2path,bgColor,controlMode,scalingMode); - return i2res; -} -void UnityEngine_Hash128_Parse_Injected(MonoString* hashString, void * ret) -{ - typedef void (* ICallMethod) (Il2CppString* hashString, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Hash128::Parse_Injected"); - Il2CppString* i2hashString = get_il2cpp_string(hashString); - icall(i2hashString,ret); -} -MonoString* UnityEngine_Hash128_Internal_Hash128ToString_Injected(void * hash128) -{ - typedef Il2CppString* (* ICallMethod) (void * hash128); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Hash128::Internal_Hash128ToString_Injected"); - Il2CppString* i2res = icall(hash128); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_Hash128_Compute_Injected(MonoString* hashString, void * ret) -{ - typedef void (* ICallMethod) (Il2CppString* hashString, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Hash128::Compute_Injected"); - Il2CppString* i2hashString = get_il2cpp_string(hashString); - icall(i2hashString,ret); -} -void UnityEngine_HotReloadDeserializer_PrepareHotReload() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.HotReloadDeserializer::PrepareHotReload"); - icall(); -} -void UnityEngine_HotReloadDeserializer_FinishHotReload(MonoArray* typesToReset) -{ - typedef void (* ICallMethod) (Il2CppArray* typesToReset); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.HotReloadDeserializer::FinishHotReload"); - Il2CppArray* i2typesToReset = get_il2cpp_array(typesToReset); - icall(i2typesToReset); -} -MonoObject* UnityEngine_HotReloadDeserializer_CreateEmptyAsset(MonoReflectionType* type) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppReflectionType* type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.HotReloadDeserializer::CreateEmptyAsset"); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - Il2CppObject* i2res = icall(i2type); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -void UnityEngine_HotReloadDeserializer_DeserializeAsset(MonoObject* asset, void* data) -{ - typedef void (* ICallMethod) (Il2CppObject* asset, void* data); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.HotReloadDeserializer::DeserializeAsset"); - Il2CppObject* i2asset = get_il2cpp_object(asset,il2cpp_get_class_UnityEngine_Object()); - icall(i2asset,data); -} -void UnityEngine_HotReloadDeserializer_RemapInstanceIds(MonoObject* editorAsset, void* editorToPlayerInstanceIdMapKeys, void* editorToPlayerInstanceIdMapValues) -{ - typedef void (* ICallMethod) (Il2CppObject* editorAsset, void* editorToPlayerInstanceIdMapKeys, void* editorToPlayerInstanceIdMapValues); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.HotReloadDeserializer::RemapInstanceIds"); - Il2CppObject* i2editorAsset = get_il2cpp_object(editorAsset,il2cpp_get_class_UnityEngine_Object()); - icall(i2editorAsset,editorToPlayerInstanceIdMapKeys,editorToPlayerInstanceIdMapValues); -} -void UnityEngine_HotReloadDeserializer_FinalizeAssetCreation(MonoObject* asset) -{ - typedef void (* ICallMethod) (Il2CppObject* asset); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.HotReloadDeserializer::FinalizeAssetCreation"); - Il2CppObject* i2asset = get_il2cpp_object(asset,il2cpp_get_class_UnityEngine_Object()); - icall(i2asset); -} -MonoArray* UnityEngine_HotReloadDeserializer_GetDependencies(MonoObject* asset) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppObject* asset); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.HotReloadDeserializer::GetDependencies"); - Il2CppObject* i2asset = get_il2cpp_object(asset,il2cpp_get_class_UnityEngine_Object()); - Il2CppArray* i2res = icall(i2asset); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -void* UnityEngine_HotReloadDeserializer_GetNullDependencies(MonoObject* asset) -{ - typedef void* (* ICallMethod) (Il2CppObject* asset); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.HotReloadDeserializer::GetNullDependencies"); - Il2CppObject* i2asset = get_il2cpp_object(asset,il2cpp_get_class_UnityEngine_Object()); - void* i2res = icall(i2asset); - return i2res; -} -bool UnityEngine_Cursor_get_visible() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cursor::get_visible"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Cursor_set_visible(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cursor::set_visible"); - icall(value); -} -int32_t UnityEngine_Cursor_get_lockState() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cursor::get_lockState"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_Cursor_set_lockState(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cursor::set_lockState"); - icall(value); -} -void UnityEngine_Cursor_SetCursor_Injected(MonoObject* texture, void * hotspot, int32_t cursorMode) -{ - typedef void (* ICallMethod) (Il2CppObject* texture, void * hotspot, int32_t cursorMode); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Cursor::SetCursor_Injected"); - Il2CppObject* i2texture = get_il2cpp_object(texture,il2cpp_get_class_UnityEngine_Texture2D()); - icall(i2texture,hotspot,cursorMode); -} -void UnityEngine_UnityLogWriter_WriteStringToUnityLogImpl(MonoString* s) -{ - typedef void (* ICallMethod) (Il2CppString* s); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.UnityLogWriter::WriteStringToUnityLogImpl"); - Il2CppString* i2s = get_il2cpp_string(s); - icall(i2s); -} -bool UnityEngine_ColorUtility_DoTryParseHtmlColor(MonoString* htmlString, void * color) -{ - typedef bool (* ICallMethod) (Il2CppString* htmlString, void * color); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ColorUtility::DoTryParseHtmlColor"); - Il2CppString* i2htmlString = get_il2cpp_string(htmlString); - bool i2res = icall(i2htmlString,color); - return i2res; -} -void * UnityEngine_Gradient_Init_1() -{ - typedef void * (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gradient::Init"); - void * i2res = icall(); - return i2res; -} -void UnityEngine_Gradient_Cleanup(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gradient::Cleanup"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Gradient()); - icall(i2thiz); -} -bool UnityEngine_Gradient_Internal_Equals_1(MonoObject* thiz, void * other) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, void * other); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gradient::Internal_Equals"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Gradient()); - bool i2res = icall(i2thiz,other); - return i2res; -} -void* UnityEngine_Gradient_get_colorKeys(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gradient::get_colorKeys"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Gradient()); - void* i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Gradient_set_colorKeys(MonoObject* thiz, void* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gradient::set_colorKeys"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Gradient()); - icall(i2thiz,value); -} -void* UnityEngine_Gradient_get_alphaKeys(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gradient::get_alphaKeys"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Gradient()); - void* i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Gradient_set_alphaKeys(MonoObject* thiz, void* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gradient::set_alphaKeys"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Gradient()); - icall(i2thiz,value); -} -int32_t UnityEngine_Gradient_get_mode_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gradient::get_mode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Gradient()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Gradient_set_mode_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gradient::set_mode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Gradient()); - icall(i2thiz,value); -} -void UnityEngine_Gradient_SetKeys_1(MonoObject* thiz, void* colorKeys, void* alphaKeys) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* colorKeys, void* alphaKeys); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gradient::SetKeys"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Gradient()); - icall(i2thiz,colorKeys,alphaKeys); -} -void UnityEngine_Gradient_Evaluate_Injected(MonoObject* thiz, float time, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float time, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Gradient::Evaluate_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Gradient()); - icall(i2thiz,time,ret); -} -void UnityEngine_Matrix4x4_GetRotation_Injected(void * _unity_self, void * ret) -{ - typedef void (* ICallMethod) (void * _unity_self, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::GetRotation_Injected"); - icall(_unity_self,ret); -} -void UnityEngine_Matrix4x4_GetLossyScale_Injected(void * _unity_self, void * ret) -{ - typedef void (* ICallMethod) (void * _unity_self, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::GetLossyScale_Injected"); - icall(_unity_self,ret); -} -bool UnityEngine_Matrix4x4_IsIdentity_Injected(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::IsIdentity_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -float UnityEngine_Matrix4x4_GetDeterminant_Injected(void * _unity_self) -{ - typedef float (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::GetDeterminant_Injected"); - float i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Matrix4x4_DecomposeProjection_Injected(void * _unity_self, void * ret) -{ - typedef void (* ICallMethod) (void * _unity_self, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::DecomposeProjection_Injected"); - icall(_unity_self,ret); -} -bool UnityEngine_Matrix4x4_ValidTRS_Injected(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::ValidTRS_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Matrix4x4_TRS_Injected(void * pos, void * q, void * s, void * ret) -{ - typedef void (* ICallMethod) (void * pos, void * q, void * s, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::TRS_Injected"); - icall(pos,q,s,ret); -} -bool UnityEngine_Matrix4x4_Inverse3DAffine_Injected(void * input, void * result) -{ - typedef bool (* ICallMethod) (void * input, void * result); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::Inverse3DAffine_Injected"); - bool i2res = icall(input,result); - return i2res; -} -void UnityEngine_Matrix4x4_Inverse_Injected(void * m, void * ret) -{ - typedef void (* ICallMethod) (void * m, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::Inverse_Injected"); - icall(m,ret); -} -void UnityEngine_Matrix4x4_Transpose_Injected(void * m, void * ret) -{ - typedef void (* ICallMethod) (void * m, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::Transpose_Injected"); - icall(m,ret); -} -void UnityEngine_Matrix4x4_Ortho_Injected(float left, float right, float bottom, float top, float zNear, float zFar, void * ret) -{ - typedef void (* ICallMethod) (float left, float right, float bottom, float top, float zNear, float zFar, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::Ortho_Injected"); - icall(left,right,bottom,top,zNear,zFar,ret); -} -void UnityEngine_Matrix4x4_Perspective_Injected(float fov, float aspect, float zNear, float zFar, void * ret) -{ - typedef void (* ICallMethod) (float fov, float aspect, float zNear, float zFar, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::Perspective_Injected"); - icall(fov,aspect,zNear,zFar,ret); -} -void UnityEngine_Matrix4x4_LookAt_Injected(void * from, void * to, void * up, void * ret) -{ - typedef void (* ICallMethod) (void * from, void * to, void * up, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::LookAt_Injected"); - icall(from,to,up,ret); -} -void UnityEngine_Matrix4x4_Frustum_Injected(float left, float right, float bottom, float top, float zNear, float zFar, void * ret) -{ - typedef void (* ICallMethod) (float left, float right, float bottom, float top, float zNear, float zFar, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Matrix4x4::Frustum_Injected"); - icall(left,right,bottom,top,zNear,zFar,ret); -} -void UnityEngine_Vector3_OrthoNormalize2(void * a, void * b) -{ - typedef void (* ICallMethod) (void * a, void * b); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Vector3::OrthoNormalize2"); - icall(a,b); -} -void UnityEngine_Vector3_OrthoNormalize3(void * a, void * b, void * c) -{ - typedef void (* ICallMethod) (void * a, void * b, void * c); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Vector3::OrthoNormalize3"); - icall(a,b,c); -} -void UnityEngine_Vector3_Slerp_Injected(void * a, void * b, float t, void * ret) -{ - typedef void (* ICallMethod) (void * a, void * b, float t, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Vector3::Slerp_Injected"); - icall(a,b,t,ret); -} -void UnityEngine_Vector3_SlerpUnclamped_Injected(void * a, void * b, float t, void * ret) -{ - typedef void (* ICallMethod) (void * a, void * b, float t, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Vector3::SlerpUnclamped_Injected"); - icall(a,b,t,ret); -} -void UnityEngine_Vector3_RotateTowards_Injected(void * current, void * target, float maxRadiansDelta, float maxMagnitudeDelta, void * ret) -{ - typedef void (* ICallMethod) (void * current, void * target, float maxRadiansDelta, float maxMagnitudeDelta, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Vector3::RotateTowards_Injected"); - icall(current,target,maxRadiansDelta,maxMagnitudeDelta,ret); -} -void UnityEngine_Quaternion_FromToRotation_Injected(void * fromDirection, void * toDirection, void * ret) -{ - typedef void (* ICallMethod) (void * fromDirection, void * toDirection, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::FromToRotation_Injected"); - icall(fromDirection,toDirection,ret); -} -void UnityEngine_Quaternion_Inverse_Injected_1(void * rotation, void * ret) -{ - typedef void (* ICallMethod) (void * rotation, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::Inverse_Injected"); - icall(rotation,ret); -} -void UnityEngine_Quaternion_Slerp_Injected_1(void * a, void * b, float t, void * ret) -{ - typedef void (* ICallMethod) (void * a, void * b, float t, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::Slerp_Injected"); - icall(a,b,t,ret); -} -void UnityEngine_Quaternion_SlerpUnclamped_Injected_1(void * a, void * b, float t, void * ret) -{ - typedef void (* ICallMethod) (void * a, void * b, float t, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::SlerpUnclamped_Injected"); - icall(a,b,t,ret); -} -void UnityEngine_Quaternion_Lerp_Injected(void * a, void * b, float t, void * ret) -{ - typedef void (* ICallMethod) (void * a, void * b, float t, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::Lerp_Injected"); - icall(a,b,t,ret); -} -void UnityEngine_Quaternion_LerpUnclamped_Injected(void * a, void * b, float t, void * ret) -{ - typedef void (* ICallMethod) (void * a, void * b, float t, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::LerpUnclamped_Injected"); - icall(a,b,t,ret); -} -void UnityEngine_Quaternion_Internal_FromEulerRad_Injected(void * euler, void * ret) -{ - typedef void (* ICallMethod) (void * euler, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::Internal_FromEulerRad_Injected"); - icall(euler,ret); -} -void UnityEngine_Quaternion_Internal_ToEulerRad_Injected(void * rotation, void * ret) -{ - typedef void (* ICallMethod) (void * rotation, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::Internal_ToEulerRad_Injected"); - icall(rotation,ret); -} -void UnityEngine_Quaternion_Internal_ToAxisAngleRad_Injected(void * q, void * axis, void * angle) -{ - typedef void (* ICallMethod) (void * q, void * axis, void * angle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::Internal_ToAxisAngleRad_Injected"); - icall(q,axis,angle); -} -void UnityEngine_Quaternion_AngleAxis_Injected(float angle, void * axis, void * ret) -{ - typedef void (* ICallMethod) (float angle, void * axis, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::AngleAxis_Injected"); - icall(angle,axis,ret); -} -void UnityEngine_Quaternion_LookRotation_Injected(void * forward, void * upwards, void * ret) -{ - typedef void (* ICallMethod) (void * forward, void * upwards, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Quaternion::LookRotation_Injected"); - icall(forward,upwards,ret); -} -int32_t UnityEngine_Mathf_ClosestPowerOfTwo(int32_t value) -{ - typedef int32_t (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::ClosestPowerOfTwo"); - int32_t i2res = icall(value); - return i2res; -} -bool UnityEngine_Mathf_IsPowerOfTwo(int32_t value) -{ - typedef bool (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::IsPowerOfTwo"); - bool i2res = icall(value); - return i2res; -} -int32_t UnityEngine_Mathf_NextPowerOfTwo(int32_t value) -{ - typedef int32_t (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::NextPowerOfTwo"); - int32_t i2res = icall(value); - return i2res; -} -float UnityEngine_Mathf_GammaToLinearSpace(float value) -{ - typedef float (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::GammaToLinearSpace"); - float i2res = icall(value); - return i2res; -} -float UnityEngine_Mathf_LinearToGammaSpace(float value) -{ - typedef float (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::LinearToGammaSpace"); - float i2res = icall(value); - return i2res; -} -uint16_t UnityEngine_Mathf_FloatToHalf(float val) -{ - typedef uint16_t (* ICallMethod) (float val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::FloatToHalf"); - uint16_t i2res = icall(val); - return i2res; -} -float UnityEngine_Mathf_HalfToFloat(uint16_t val) -{ - typedef float (* ICallMethod) (uint16_t val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::HalfToFloat"); - float i2res = icall(val); - return i2res; -} -float UnityEngine_Mathf_PerlinNoise(float x, float y) -{ - typedef float (* ICallMethod) (float x, float y); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::PerlinNoise"); - float i2res = icall(x,y); - return i2res; -} -void UnityEngine_Mathf_CorrelatedColorTemperatureToRGB_Injected(float kelvin, void * ret) -{ - typedef void (* ICallMethod) (float kelvin, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Mathf::CorrelatedColorTemperatureToRGB_Injected"); - icall(kelvin,ret); -} -void UnityEngine_Ping_Internal_Destroy_1(void * ptr) -{ - typedef void (* ICallMethod) (void * ptr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Ping::Internal_Destroy"); - icall(ptr); -} -void * UnityEngine_Ping_Internal_Create_7(MonoString* address) -{ - typedef void * (* ICallMethod) (Il2CppString* address); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Ping::Internal_Create"); - Il2CppString* i2address = get_il2cpp_string(address); - void * i2res = icall(i2address); - return i2res; -} -bool UnityEngine_Ping_Internal_IsDone(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Ping::Internal_IsDone"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Ping()); - bool i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Ping_get_time_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Ping::get_time"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Ping()); - int32_t i2res = icall(i2thiz); - return i2res; -} -MonoString* UnityEngine_Ping_get_ip(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Ping::get_ip"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Ping()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -bool UnityEngine_PlayerConnectionInternal_IsConnected() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerConnectionInternal::IsConnected"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_PlayerConnectionInternal_Initialize_1() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerConnectionInternal::Initialize"); - icall(); -} -void UnityEngine_PlayerConnectionInternal_RegisterInternal(MonoString* messageId) -{ - typedef void (* ICallMethod) (Il2CppString* messageId); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerConnectionInternal::RegisterInternal"); - Il2CppString* i2messageId = get_il2cpp_string(messageId); - icall(i2messageId); -} -void UnityEngine_PlayerConnectionInternal_UnregisterInternal(MonoString* messageId) -{ - typedef void (* ICallMethod) (Il2CppString* messageId); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerConnectionInternal::UnregisterInternal"); - Il2CppString* i2messageId = get_il2cpp_string(messageId); - icall(i2messageId); -} -void UnityEngine_PlayerConnectionInternal_SendMessage(MonoString* messageId, void* data, int32_t playerId) -{ - typedef void (* ICallMethod) (Il2CppString* messageId, void* data, int32_t playerId); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerConnectionInternal::SendMessage"); - Il2CppString* i2messageId = get_il2cpp_string(messageId); - icall(i2messageId,data,playerId); -} -bool UnityEngine_PlayerConnectionInternal_TrySendMessage(MonoString* messageId, void* data, int32_t playerId) -{ - typedef bool (* ICallMethod) (Il2CppString* messageId, void* data, int32_t playerId); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerConnectionInternal::TrySendMessage"); - Il2CppString* i2messageId = get_il2cpp_string(messageId); - bool i2res = icall(i2messageId,data,playerId); - return i2res; -} -void UnityEngine_PlayerConnectionInternal_PollInternal() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerConnectionInternal::PollInternal"); - icall(); -} -void UnityEngine_PlayerConnectionInternal_DisconnectAll() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerConnectionInternal::DisconnectAll"); - icall(); -} -bool UnityEngine_PlayerPrefs_TrySetInt(MonoString* key, int32_t value) -{ - typedef bool (* ICallMethod) (Il2CppString* key, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::TrySetInt"); - Il2CppString* i2key = get_il2cpp_string(key); - bool i2res = icall(i2key,value); - return i2res; -} -bool UnityEngine_PlayerPrefs_TrySetFloat(MonoString* key, float value) -{ - typedef bool (* ICallMethod) (Il2CppString* key, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::TrySetFloat"); - Il2CppString* i2key = get_il2cpp_string(key); - bool i2res = icall(i2key,value); - return i2res; -} -bool UnityEngine_PlayerPrefs_TrySetSetString(MonoString* key, MonoString* value) -{ - typedef bool (* ICallMethod) (Il2CppString* key, Il2CppString* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::TrySetSetString"); - Il2CppString* i2key = get_il2cpp_string(key); - Il2CppString* i2value = get_il2cpp_string(value); - bool i2res = icall(i2key,i2value); - return i2res; -} -int32_t UnityEngine_PlayerPrefs_GetInt(MonoString* key, int32_t defaultValue) -{ - typedef int32_t (* ICallMethod) (Il2CppString* key, int32_t defaultValue); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::GetInt"); - Il2CppString* i2key = get_il2cpp_string(key); - int32_t i2res = icall(i2key,defaultValue); - return i2res; -} -float UnityEngine_PlayerPrefs_GetFloat(MonoString* key, float defaultValue) -{ - typedef float (* ICallMethod) (Il2CppString* key, float defaultValue); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::GetFloat"); - Il2CppString* i2key = get_il2cpp_string(key); - float i2res = icall(i2key,defaultValue); - return i2res; -} -MonoString* UnityEngine_PlayerPrefs_GetString(MonoString* key, MonoString* defaultValue) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppString* key, Il2CppString* defaultValue); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::GetString"); - Il2CppString* i2key = get_il2cpp_string(key); - Il2CppString* i2defaultValue = get_il2cpp_string(defaultValue); - Il2CppString* i2res = icall(i2key,i2defaultValue); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -bool UnityEngine_PlayerPrefs_HasKey(MonoString* key) -{ - typedef bool (* ICallMethod) (Il2CppString* key); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::HasKey"); - Il2CppString* i2key = get_il2cpp_string(key); - bool i2res = icall(i2key); - return i2res; -} -void UnityEngine_PlayerPrefs_DeleteKey(MonoString* key) -{ - typedef void (* ICallMethod) (Il2CppString* key); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::DeleteKey"); - Il2CppString* i2key = get_il2cpp_string(key); - icall(i2key); -} -void UnityEngine_PlayerPrefs_DeleteAll() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::DeleteAll"); - icall(); -} -void UnityEngine_PlayerPrefs_Save() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PlayerPrefs::Save"); - icall(); -} -void UnityEngine_DrivenPropertyManager_UnregisterProperties(MonoObject* driver) -{ - typedef void (* ICallMethod) (Il2CppObject* driver); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DrivenPropertyManager::UnregisterProperties"); - Il2CppObject* i2driver = get_il2cpp_object(driver,il2cpp_get_class_UnityEngine_Object()); - icall(i2driver); -} -void UnityEngine_DrivenPropertyManager_RegisterPropertyPartial(MonoObject* driver, MonoObject* target, MonoString* propertyPath) -{ - typedef void (* ICallMethod) (Il2CppObject* driver, Il2CppObject* target, Il2CppString* propertyPath); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DrivenPropertyManager::RegisterPropertyPartial"); - Il2CppObject* i2driver = get_il2cpp_object(driver,il2cpp_get_class_UnityEngine_Object()); - Il2CppObject* i2target = get_il2cpp_object(target,il2cpp_get_class_UnityEngine_Object()); - Il2CppString* i2propertyPath = get_il2cpp_string(propertyPath); - icall(i2driver,i2target,i2propertyPath); -} -void UnityEngine_DrivenPropertyManager_UnregisterPropertyPartial(MonoObject* driver, MonoObject* target, MonoString* propertyPath) -{ - typedef void (* ICallMethod) (Il2CppObject* driver, Il2CppObject* target, Il2CppString* propertyPath); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.DrivenPropertyManager::UnregisterPropertyPartial"); - Il2CppObject* i2driver = get_il2cpp_object(driver,il2cpp_get_class_UnityEngine_Object()); - Il2CppObject* i2target = get_il2cpp_object(target,il2cpp_get_class_UnityEngine_Object()); - Il2CppString* i2propertyPath = get_il2cpp_string(propertyPath); - icall(i2driver,i2target,i2propertyPath); -} -void UnityEngine_PropertyNameUtils_PropertyNameFromString_Injected(MonoString* name, void * ret) -{ - typedef void (* ICallMethod) (Il2CppString* name, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PropertyNameUtils::PropertyNameFromString_Injected"); - Il2CppString* i2name = get_il2cpp_string(name); - icall(i2name,ret); -} -int32_t UnityEngine_Random_get_seed() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::get_seed"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_Random_set_seed(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::set_seed"); - icall(value); -} -void UnityEngine_Random_InitState(int32_t seed) -{ - typedef void (* ICallMethod) (int32_t seed); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::InitState"); - icall(seed); -} -float UnityEngine_Random_Range(float min, float max) -{ - typedef float (* ICallMethod) (float min, float max); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::Range"); - float i2res = icall(min,max); - return i2res; -} -int32_t UnityEngine_Random_RandomRangeInt(int32_t min, int32_t max) -{ - typedef int32_t (* ICallMethod) (int32_t min, int32_t max); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::RandomRangeInt"); - int32_t i2res = icall(min,max); - return i2res; -} -float UnityEngine_Random_get_value() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::get_value"); - float i2res = icall(); - return i2res; -} -void UnityEngine_Random_GetRandomUnitCircle(void * output) -{ - typedef void (* ICallMethod) (void * output); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::GetRandomUnitCircle"); - icall(output); -} -void UnityEngine_Random_get_state_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::get_state_Injected"); - icall(ret); -} -void UnityEngine_Random_set_state_Injected(void * value) -{ - typedef void (* ICallMethod) (void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::set_state_Injected"); - icall(value); -} -void UnityEngine_Random_get_insideUnitSphere_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::get_insideUnitSphere_Injected"); - icall(ret); -} -void UnityEngine_Random_get_onUnitSphere_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::get_onUnitSphere_Injected"); - icall(ret); -} -void UnityEngine_Random_get_rotation_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::get_rotation_Injected"); - icall(ret); -} -void UnityEngine_Random_get_rotationUniform_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Random::get_rotationUniform_Injected"); - icall(ret); -} -MonoArray* UnityEngine_Resources_FindObjectsOfTypeAll(MonoReflectionType* type) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppReflectionType* type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Resources::FindObjectsOfTypeAll"); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - Il2CppArray* i2res = icall(i2type); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -MonoObject* UnityEngine_Resources_Load(MonoString* path, MonoReflectionType* systemTypeInstance) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppString* path, Il2CppReflectionType* systemTypeInstance); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Resources::Load"); - Il2CppString* i2path = get_il2cpp_string(path); - Il2CppReflectionType* i2systemTypeInstance = get_il2cpp_reflection_type(systemTypeInstance); - Il2CppObject* i2res = icall(i2path,i2systemTypeInstance); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -MonoObject* UnityEngine_Resources_LoadAsyncInternal(MonoString* path, MonoReflectionType* type) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppString* path, Il2CppReflectionType* type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Resources::LoadAsyncInternal"); - Il2CppString* i2path = get_il2cpp_string(path); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - Il2CppObject* i2res = icall(i2path,i2type); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_ResourceRequest()); - return monoi2res; -} -MonoArray* UnityEngine_Resources_LoadAll(MonoString* path, MonoReflectionType* systemTypeInstance) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppString* path, Il2CppReflectionType* systemTypeInstance); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Resources::LoadAll"); - Il2CppString* i2path = get_il2cpp_string(path); - Il2CppReflectionType* i2systemTypeInstance = get_il2cpp_reflection_type(systemTypeInstance); - Il2CppArray* i2res = icall(i2path,i2systemTypeInstance); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -MonoObject* UnityEngine_Resources_GetBuiltinResource(MonoReflectionType* type, MonoString* path) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppReflectionType* type, Il2CppString* path); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Resources::GetBuiltinResource"); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - Il2CppString* i2path = get_il2cpp_string(path); - Il2CppObject* i2res = icall(i2type,i2path); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -void UnityEngine_Resources_UnloadAsset(MonoObject* assetToUnload) -{ - typedef void (* ICallMethod) (Il2CppObject* assetToUnload); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Resources::UnloadAsset"); - Il2CppObject* i2assetToUnload = get_il2cpp_object(assetToUnload,il2cpp_get_class_UnityEngine_Object()); - icall(i2assetToUnload); -} -MonoObject* UnityEngine_Resources_UnloadUnusedAssets() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Resources::UnloadUnusedAssets"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AsyncOperation()); - return monoi2res; -} -void UnityEngine_AsyncOperation_InternalDestroy_1(void * ptr) -{ - typedef void (* ICallMethod) (void * ptr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AsyncOperation::InternalDestroy"); - icall(ptr); -} -bool UnityEngine_AsyncOperation_get_isDone(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AsyncOperation::get_isDone"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AsyncOperation()); - bool i2res = icall(i2thiz); - return i2res; -} -float UnityEngine_AsyncOperation_get_progress(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AsyncOperation::get_progress"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AsyncOperation()); - float i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_AsyncOperation_get_priority(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AsyncOperation::get_priority"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AsyncOperation()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_AsyncOperation_set_priority(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AsyncOperation::set_priority"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AsyncOperation()); - icall(i2thiz,value); -} -bool UnityEngine_AsyncOperation_get_allowSceneActivation(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AsyncOperation::get_allowSceneActivation"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AsyncOperation()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_AsyncOperation_set_allowSceneActivation(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.AsyncOperation::set_allowSceneActivation"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_AsyncOperation()); - icall(i2thiz,value); -} -bool UnityEngine_Behaviour_get_enabled_3(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Behaviour::get_enabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Behaviour()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Behaviour_set_enabled_3(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Behaviour::set_enabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Behaviour()); - icall(i2thiz,value); -} -bool UnityEngine_Behaviour_get_isActiveAndEnabled(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Behaviour::get_isActiveAndEnabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Behaviour()); - bool i2res = icall(i2thiz); - return i2res; -} -MonoObject* UnityEngine_Component_get_transform(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::get_transform"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Component()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); - return monoi2res; -} -MonoObject* UnityEngine_Component_get_gameObject(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::get_gameObject"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Component()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_GameObject()); - return monoi2res; -} -MonoObject* UnityEngine_Component_GetComponent(MonoObject* thiz, MonoString* type) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::GetComponent"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Component()); - Il2CppString* i2type = get_il2cpp_string(type); - Il2CppObject* i2res = icall(i2thiz,i2type); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Component()); - return monoi2res; -} -void UnityEngine_Component_GetComponentsForListInternal(MonoObject* thiz, MonoReflectionType* searchType, MonoObject* resultList) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppReflectionType* searchType, Il2CppObject* resultList); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::GetComponentsForListInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Component()); - Il2CppReflectionType* i2searchType = get_il2cpp_reflection_type(searchType); - Il2CppObject* i2resultList = get_il2cpp_object(resultList,NULL); - icall(i2thiz,i2searchType,i2resultList); -} -void UnityEngine_Component_SendMessageUpwards(MonoObject* thiz, MonoString* methodName, MonoObject* value, int32_t options) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName, Il2CppObject* value, int32_t options); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::SendMessageUpwards"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Component()); - Il2CppString* i2methodName = get_il2cpp_string(methodName); - Il2CppObject* i2value = get_il2cpp_object(value,NULL); - icall(i2thiz,i2methodName,i2value,options); -} -void UnityEngine_Component_SendMessage_1(MonoObject* thiz, MonoString* methodName, MonoObject* value, int32_t options) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName, Il2CppObject* value, int32_t options); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::SendMessage"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Component()); - Il2CppString* i2methodName = get_il2cpp_string(methodName); - Il2CppObject* i2value = get_il2cpp_object(value,NULL); - icall(i2thiz,i2methodName,i2value,options); -} -void UnityEngine_Component_BroadcastMessage(MonoObject* thiz, MonoString* methodName, MonoObject* parameter, int32_t options) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName, Il2CppObject* parameter, int32_t options); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::BroadcastMessage"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Component()); - Il2CppString* i2methodName = get_il2cpp_string(methodName); - Il2CppObject* i2parameter = get_il2cpp_object(parameter,NULL); - icall(i2thiz,i2methodName,i2parameter,options); -} -MonoObject* UnityEngine_GameObject_CreatePrimitive(int32_t type) -{ - typedef Il2CppObject* (* ICallMethod) (int32_t type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::CreatePrimitive"); - Il2CppObject* i2res = icall(type); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_GameObject()); - return monoi2res; -} -MonoObject* UnityEngine_GameObject_GetComponent_1(MonoObject* thiz, MonoReflectionType* type) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppReflectionType* type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::GetComponent"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - Il2CppObject* i2res = icall(i2thiz,i2type); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Component()); - return monoi2res; -} -MonoObject* UnityEngine_GameObject_GetComponentByName(MonoObject* thiz, MonoString* type) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::GetComponentByName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppString* i2type = get_il2cpp_string(type); - Il2CppObject* i2res = icall(i2thiz,i2type); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Component()); - return monoi2res; -} -MonoObject* UnityEngine_GameObject_GetComponentInChildren(MonoObject* thiz, MonoReflectionType* type, bool includeInactive) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppReflectionType* type, bool includeInactive); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::GetComponentInChildren"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - Il2CppObject* i2res = icall(i2thiz,i2type,includeInactive); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Component()); - return monoi2res; -} -MonoObject* UnityEngine_GameObject_GetComponentInParent(MonoObject* thiz, MonoReflectionType* type) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppReflectionType* type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::GetComponentInParent"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - Il2CppObject* i2res = icall(i2thiz,i2type); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Component()); - return monoi2res; -} -MonoObject* UnityEngine_GameObject_TryGetComponentInternal(MonoObject* thiz, MonoReflectionType* type) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppReflectionType* type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::TryGetComponentInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - Il2CppObject* i2res = icall(i2thiz,i2type); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Component()); - return monoi2res; -} -void UnityEngine_GameObject_TryGetComponentFastPath(MonoObject* thiz, MonoReflectionType* type, void * oneFurtherThanResultValue) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppReflectionType* type, void * oneFurtherThanResultValue); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::TryGetComponentFastPath"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - icall(i2thiz,i2type,oneFurtherThanResultValue); -} -MonoObject* UnityEngine_GameObject_AddComponentInternal(MonoObject* thiz, MonoString* className) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* className); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::AddComponentInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppString* i2className = get_il2cpp_string(className); - Il2CppObject* i2res = icall(i2thiz,i2className); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Component()); - return monoi2res; -} -MonoObject* UnityEngine_GameObject_get_transform_1(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_transform"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); - return monoi2res; -} -int32_t UnityEngine_GameObject_get_layer(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_layer"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_GameObject_set_layer(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::set_layer"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - icall(i2thiz,value); -} -bool UnityEngine_GameObject_get_active(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_active"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_GameObject_set_active(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::set_active"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - icall(i2thiz,value); -} -void UnityEngine_GameObject_SetActive_1(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::SetActive"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - icall(i2thiz,value); -} -bool UnityEngine_GameObject_get_activeSelf(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_activeSelf"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - bool i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_GameObject_get_activeInHierarchy(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_activeInHierarchy"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_GameObject_SetActiveRecursively(MonoObject* thiz, bool state) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool state); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::SetActiveRecursively"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - icall(i2thiz,state); -} -bool UnityEngine_GameObject_get_isStatic(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_isStatic"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_GameObject_set_isStatic(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::set_isStatic"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - icall(i2thiz,value); -} -bool UnityEngine_GameObject_get_isStaticBatchable(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_isStaticBatchable"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - bool i2res = icall(i2thiz); - return i2res; -} -MonoString* UnityEngine_GameObject_get_tag(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_tag"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_GameObject_set_tag(MonoObject* thiz, MonoString* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::set_tag"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2thiz,i2value); -} -bool UnityEngine_GameObject_CompareTag(MonoObject* thiz, MonoString* tag) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppString* tag); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::CompareTag"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppString* i2tag = get_il2cpp_string(tag); - bool i2res = icall(i2thiz,i2tag); - return i2res; -} -MonoObject* UnityEngine_GameObject_FindGameObjectWithTag(MonoString* tag) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppString* tag); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::FindGameObjectWithTag"); - Il2CppString* i2tag = get_il2cpp_string(tag); - Il2CppObject* i2res = icall(i2tag); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_GameObject()); - return monoi2res; -} -MonoArray* UnityEngine_GameObject_FindGameObjectsWithTag(MonoString* tag) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppString* tag); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::FindGameObjectsWithTag"); - Il2CppString* i2tag = get_il2cpp_string(tag); - Il2CppArray* i2res = icall(i2tag); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -void UnityEngine_GameObject_SendMessageUpwards_1(MonoObject* thiz, MonoString* methodName, MonoObject* value, int32_t options) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName, Il2CppObject* value, int32_t options); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::SendMessageUpwards"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppString* i2methodName = get_il2cpp_string(methodName); - Il2CppObject* i2value = get_il2cpp_object(value,NULL); - icall(i2thiz,i2methodName,i2value,options); -} -void UnityEngine_GameObject_SendMessage_2(MonoObject* thiz, MonoString* methodName, MonoObject* value, int32_t options) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName, Il2CppObject* value, int32_t options); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::SendMessage"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppString* i2methodName = get_il2cpp_string(methodName); - Il2CppObject* i2value = get_il2cpp_object(value,NULL); - icall(i2thiz,i2methodName,i2value,options); -} -void UnityEngine_GameObject_BroadcastMessage_1(MonoObject* thiz, MonoString* methodName, MonoObject* parameter, int32_t options) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName, Il2CppObject* parameter, int32_t options); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::BroadcastMessage"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppString* i2methodName = get_il2cpp_string(methodName); - Il2CppObject* i2parameter = get_il2cpp_object(parameter,NULL); - icall(i2thiz,i2methodName,i2parameter,options); -} -void UnityEngine_GameObject_Internal_CreateGameObject(MonoObject* self, MonoString* name) -{ - typedef void (* ICallMethod) (Il2CppObject* self, Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::Internal_CreateGameObject"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_GameObject()); - Il2CppString* i2name = get_il2cpp_string(name); - icall(i2self,i2name); -} -MonoObject* UnityEngine_GameObject_Find_1(MonoString* name) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::Find"); - Il2CppString* i2name = get_il2cpp_string(name); - Il2CppObject* i2res = icall(i2name); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_GameObject()); - return monoi2res; -} -uint64_t UnityEngine_GameObject_get_sceneCullingMask(MonoObject* thiz) -{ - typedef uint64_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_sceneCullingMask"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - uint64_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_GameObject_get_scene_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::get_scene_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GameObject()); - icall(i2thiz,ret); -} -MonoString* UnityEngine_LayerMask_LayerToName(int32_t layer) -{ - typedef Il2CppString* (* ICallMethod) (int32_t layer); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LayerMask::LayerToName"); - Il2CppString* i2res = icall(layer); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_LayerMask_NameToLayer(MonoString* layerName) -{ - typedef int32_t (* ICallMethod) (Il2CppString* layerName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LayerMask::NameToLayer"); - Il2CppString* i2layerName = get_il2cpp_string(layerName); - int32_t i2res = icall(i2layerName); - return i2res; -} -void UnityEngine_MonoBehaviour_StopCoroutine(MonoObject* thiz, MonoString* methodName) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::StopCoroutine"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); - Il2CppString* i2methodName = get_il2cpp_string(methodName); - icall(i2thiz,i2methodName); -} -void UnityEngine_MonoBehaviour_StopAllCoroutines(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::StopAllCoroutines"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); - icall(i2thiz); -} -bool UnityEngine_MonoBehaviour_get_useGUILayout(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::get_useGUILayout"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_MonoBehaviour_set_useGUILayout(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::set_useGUILayout"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); - icall(i2thiz,value); -} -void UnityEngine_MonoBehaviour_Internal_CancelInvokeAll(MonoObject* self) -{ - typedef void (* ICallMethod) (Il2CppObject* self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::Internal_CancelInvokeAll"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_MonoBehaviour()); - icall(i2self); -} -bool UnityEngine_MonoBehaviour_Internal_IsInvokingAll(MonoObject* self) -{ - typedef bool (* ICallMethod) (Il2CppObject* self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::Internal_IsInvokingAll"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_MonoBehaviour()); - bool i2res = icall(i2self); - return i2res; -} -void UnityEngine_MonoBehaviour_InvokeDelayed(MonoObject* self, MonoString* methodName, float time, float repeatRate) -{ - typedef void (* ICallMethod) (Il2CppObject* self, Il2CppString* methodName, float time, float repeatRate); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::InvokeDelayed"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_MonoBehaviour()); - Il2CppString* i2methodName = get_il2cpp_string(methodName); - icall(i2self,i2methodName,time,repeatRate); -} -void UnityEngine_MonoBehaviour_CancelInvoke(MonoObject* self, MonoString* methodName) -{ - typedef void (* ICallMethod) (Il2CppObject* self, Il2CppString* methodName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::CancelInvoke"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_MonoBehaviour()); - Il2CppString* i2methodName = get_il2cpp_string(methodName); - icall(i2self,i2methodName); -} -bool UnityEngine_MonoBehaviour_IsInvoking(MonoObject* self, MonoString* methodName) -{ - typedef bool (* ICallMethod) (Il2CppObject* self, Il2CppString* methodName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::IsInvoking"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_MonoBehaviour()); - Il2CppString* i2methodName = get_il2cpp_string(methodName); - bool i2res = icall(i2self,i2methodName); - return i2res; -} -bool UnityEngine_MonoBehaviour_IsObjectMonoBehaviour(MonoObject* obj) -{ - typedef bool (* ICallMethod) (Il2CppObject* obj); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::IsObjectMonoBehaviour"); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); - bool i2res = icall(i2obj); - return i2res; -} -MonoObject* UnityEngine_MonoBehaviour_StartCoroutineManaged(MonoObject* thiz, MonoString* methodName, MonoObject* value) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* methodName, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::StartCoroutineManaged"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); - Il2CppString* i2methodName = get_il2cpp_string(methodName); - Il2CppObject* i2value = get_il2cpp_object(value,NULL); - Il2CppObject* i2res = icall(i2thiz,i2methodName,i2value); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Coroutine()); - return monoi2res; -} -void UnityEngine_MonoBehaviour_StopCoroutineManaged(MonoObject* thiz, MonoObject* routine) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* routine); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::StopCoroutineManaged"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); - Il2CppObject* i2routine = get_il2cpp_object(routine,il2cpp_get_class_UnityEngine_Coroutine()); - icall(i2thiz,i2routine); -} -void UnityEngine_MonoBehaviour_StopCoroutineFromEnumeratorManaged(MonoObject* thiz, MonoObject* routine) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* routine); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::StopCoroutineFromEnumeratorManaged"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); - Il2CppObject* i2routine = get_il2cpp_object(routine,NULL); - icall(i2thiz,i2routine); -} -MonoString* UnityEngine_MonoBehaviour_GetScriptClassName(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.MonoBehaviour::GetScriptClassName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_MonoBehaviour()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_NoAllocHelpers_Internal_ResizeList(MonoObject* list, int32_t size) -{ - typedef void (* ICallMethod) (Il2CppObject* list, int32_t size); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.NoAllocHelpers::Internal_ResizeList"); - Il2CppObject* i2list = get_il2cpp_object(list,NULL); - icall(i2list,size); -} -MonoObject* UnityEngine_NoAllocHelpers_ExtractArrayFromList(MonoObject* list) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* list); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.NoAllocHelpers::ExtractArrayFromList"); - Il2CppObject* i2list = get_il2cpp_object(list,NULL); - Il2CppObject* i2res = icall(i2list); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_System_Array()); - return monoi2res; -} -void UnityEngine_ScriptableObject_SetDirty(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ScriptableObject::SetDirty"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ScriptableObject()); - icall(i2thiz); -} -void UnityEngine_ScriptableObject_CreateScriptableObject(MonoObject* self) -{ - typedef void (* ICallMethod) (Il2CppObject* self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ScriptableObject::CreateScriptableObject"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_ScriptableObject()); - icall(i2self); -} -MonoObject* UnityEngine_ScriptableObject_CreateScriptableObjectInstanceFromName(MonoString* className) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppString* className); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ScriptableObject::CreateScriptableObjectInstanceFromName"); - Il2CppString* i2className = get_il2cpp_string(className); - Il2CppObject* i2res = icall(i2className); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_ScriptableObject()); - return monoi2res; -} -MonoObject* UnityEngine_ScriptableObject_CreateScriptableObjectInstanceFromType(MonoReflectionType* type, bool applyDefaultsAndReset) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppReflectionType* type, bool applyDefaultsAndReset); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ScriptableObject::CreateScriptableObjectInstanceFromType"); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - Il2CppObject* i2res = icall(i2type,applyDefaultsAndReset); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_ScriptableObject()); - return monoi2res; -} -void UnityEngine_ScriptableObject_ResetAndApplyDefaultInstances(MonoObject* obj) -{ - typedef void (* ICallMethod) (Il2CppObject* obj); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ScriptableObject::ResetAndApplyDefaultInstances"); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); - icall(i2obj); -} -MonoArray* UnityEngine_ScriptingRuntime_GetAllUserAssemblies() -{ - typedef Il2CppArray* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ScriptingRuntime::GetAllUserAssemblies"); - Il2CppArray* i2res = icall(); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -MonoString* UnityEngine_TextAsset_get_text(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TextAsset::get_text"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TextAsset()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void* UnityEngine_TextAsset_get_bytes(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TextAsset::get_bytes"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TextAsset()); - void* i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TextAsset_Internal_CreateInstance(MonoObject* self, MonoString* text) -{ - typedef void (* ICallMethod) (Il2CppObject* self, Il2CppString* text); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TextAsset::Internal_CreateInstance"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_TextAsset()); - Il2CppString* i2text = get_il2cpp_string(text); - icall(i2self,i2text); -} -void UnityEngine_UnhandledExceptionHandler_iOSNativeUnhandledExceptionHandler(MonoString* managedExceptionType, MonoString* managedExceptionMessage, MonoString* managedExceptionStack) -{ - typedef void (* ICallMethod) (Il2CppString* managedExceptionType, Il2CppString* managedExceptionMessage, Il2CppString* managedExceptionStack); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.UnhandledExceptionHandler::iOSNativeUnhandledExceptionHandler"); - Il2CppString* i2managedExceptionType = get_il2cpp_string(managedExceptionType); - Il2CppString* i2managedExceptionMessage = get_il2cpp_string(managedExceptionMessage); - Il2CppString* i2managedExceptionStack = get_il2cpp_string(managedExceptionStack); - icall(i2managedExceptionType,i2managedExceptionMessage,i2managedExceptionStack); -} -void UnityEngine_Object_Destroy(MonoObject* obj, float t) -{ - typedef void (* ICallMethod) (Il2CppObject* obj, float t); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::Destroy"); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); - icall(i2obj,t); -} -void UnityEngine_Object_DestroyImmediate(MonoObject* obj, bool allowDestroyingAssets) -{ - typedef void (* ICallMethod) (Il2CppObject* obj, bool allowDestroyingAssets); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::DestroyImmediate"); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); - icall(i2obj,allowDestroyingAssets); -} -MonoArray* UnityEngine_Object_FindObjectsOfType(MonoReflectionType* type) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppReflectionType* type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::FindObjectsOfType"); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - Il2CppArray* i2res = icall(i2type); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -void UnityEngine_Object_DontDestroyOnLoad(MonoObject* target) -{ - typedef void (* ICallMethod) (Il2CppObject* target); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::DontDestroyOnLoad"); - Il2CppObject* i2target = get_il2cpp_object(target,il2cpp_get_class_UnityEngine_Object()); - icall(i2target); -} -int32_t UnityEngine_Object_get_hideFlags(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::get_hideFlags"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Object()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Object_set_hideFlags(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::set_hideFlags"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Object()); - icall(i2thiz,value); -} -MonoArray* UnityEngine_Object_FindSceneObjectsOfType(MonoReflectionType* type) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppReflectionType* type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::FindSceneObjectsOfType"); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - Il2CppArray* i2res = icall(i2type); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -MonoArray* UnityEngine_Object_FindObjectsOfTypeIncludingAssets(MonoReflectionType* type) -{ - typedef Il2CppArray* (* ICallMethod) (Il2CppReflectionType* type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::FindObjectsOfTypeIncludingAssets"); - Il2CppReflectionType* i2type = get_il2cpp_reflection_type(type); - Il2CppArray* i2res = icall(i2type); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -int32_t UnityEngine_Object_GetOffsetOfInstanceIDInCPlusPlusObject() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::GetOffsetOfInstanceIDInCPlusPlusObject"); - int32_t i2res = icall(); - return i2res; -} -bool UnityEngine_Object_CurrentThreadIsMainThread() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::CurrentThreadIsMainThread"); - bool i2res = icall(); - return i2res; -} -MonoObject* UnityEngine_Object_Internal_CloneSingle(MonoObject* data) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* data); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::Internal_CloneSingle"); - Il2CppObject* i2data = get_il2cpp_object(data,il2cpp_get_class_UnityEngine_Object()); - Il2CppObject* i2res = icall(i2data); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -MonoObject* UnityEngine_Object_Internal_CloneSingleWithParent(MonoObject* data, MonoObject* parent, bool worldPositionStays) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* data, Il2CppObject* parent, bool worldPositionStays); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::Internal_CloneSingleWithParent"); - Il2CppObject* i2data = get_il2cpp_object(data,il2cpp_get_class_UnityEngine_Object()); - Il2CppObject* i2parent = get_il2cpp_object(parent,il2cpp_get_class_UnityEngine_Transform()); - Il2CppObject* i2res = icall(i2data,i2parent,worldPositionStays); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -MonoString* UnityEngine_Object_ToString(MonoObject* obj) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* obj); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::ToString"); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); - Il2CppString* i2res = icall(i2obj); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -MonoString* UnityEngine_Object_GetName(MonoObject* obj) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* obj); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::GetName"); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); - Il2CppString* i2res = icall(i2obj); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -bool UnityEngine_Object_IsPersistent(MonoObject* obj) -{ - typedef bool (* ICallMethod) (Il2CppObject* obj); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::IsPersistent"); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); - bool i2res = icall(i2obj); - return i2res; -} -void UnityEngine_Object_SetName(MonoObject* obj, MonoString* name) -{ - typedef void (* ICallMethod) (Il2CppObject* obj, Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::SetName"); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); - Il2CppString* i2name = get_il2cpp_string(name); - icall(i2obj,i2name); -} -bool UnityEngine_Object_DoesObjectWithInstanceIDExist(int32_t instanceID) -{ - typedef bool (* ICallMethod) (int32_t instanceID); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::DoesObjectWithInstanceIDExist"); - bool i2res = icall(instanceID); - return i2res; -} -MonoObject* UnityEngine_Object_FindObjectFromInstanceID(int32_t instanceID) -{ - typedef Il2CppObject* (* ICallMethod) (int32_t instanceID); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::FindObjectFromInstanceID"); - Il2CppObject* i2res = icall(instanceID); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -MonoObject* UnityEngine_Object_ForceLoadFromInstanceID(int32_t instanceID) -{ - typedef Il2CppObject* (* ICallMethod) (int32_t instanceID); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::ForceLoadFromInstanceID"); - Il2CppObject* i2res = icall(instanceID); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -MonoObject* UnityEngine_Object_Internal_InstantiateSingle_Injected(MonoObject* data, void * pos, void * rot) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* data, void * pos, void * rot); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::Internal_InstantiateSingle_Injected"); - Il2CppObject* i2data = get_il2cpp_object(data,il2cpp_get_class_UnityEngine_Object()); - Il2CppObject* i2res = icall(i2data,pos,rot); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -MonoObject* UnityEngine_Object_Internal_InstantiateSingleWithParent_Injected(MonoObject* data, MonoObject* parent, void * pos, void * rot) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* data, Il2CppObject* parent, void * pos, void * rot); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::Internal_InstantiateSingleWithParent_Injected"); - Il2CppObject* i2data = get_il2cpp_object(data,il2cpp_get_class_UnityEngine_Object()); - Il2CppObject* i2parent = get_il2cpp_object(parent,il2cpp_get_class_UnityEngine_Transform()); - Il2CppObject* i2res = icall(i2data,i2parent,pos,rot); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -int32_t UnityEngine_ShaderVariantCollection_get_shaderCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ShaderVariantCollection::get_shaderCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ShaderVariantCollection()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_ShaderVariantCollection_get_variantCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ShaderVariantCollection::get_variantCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ShaderVariantCollection()); - int32_t i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_ShaderVariantCollection_get_isWarmedUp(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ShaderVariantCollection::get_isWarmedUp"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ShaderVariantCollection()); - bool i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_ShaderVariantCollection_AddVariant(MonoObject* thiz, MonoObject* shader, int32_t passType, MonoArray* keywords) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* shader, int32_t passType, Il2CppArray* keywords); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ShaderVariantCollection::AddVariant"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ShaderVariantCollection()); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - Il2CppArray* i2keywords = get_il2cpp_array(keywords); - bool i2res = icall(i2thiz,i2shader,passType,i2keywords); - return i2res; -} -bool UnityEngine_ShaderVariantCollection_RemoveVariant(MonoObject* thiz, MonoObject* shader, int32_t passType, MonoArray* keywords) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* shader, int32_t passType, Il2CppArray* keywords); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ShaderVariantCollection::RemoveVariant"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ShaderVariantCollection()); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - Il2CppArray* i2keywords = get_il2cpp_array(keywords); - bool i2res = icall(i2thiz,i2shader,passType,i2keywords); - return i2res; -} -bool UnityEngine_ShaderVariantCollection_ContainsVariant(MonoObject* thiz, MonoObject* shader, int32_t passType, MonoArray* keywords) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* shader, int32_t passType, Il2CppArray* keywords); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ShaderVariantCollection::ContainsVariant"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ShaderVariantCollection()); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - Il2CppArray* i2keywords = get_il2cpp_array(keywords); - bool i2res = icall(i2thiz,i2shader,passType,i2keywords); - return i2res; -} -void UnityEngine_ShaderVariantCollection_Clear_2(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ShaderVariantCollection::Clear"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ShaderVariantCollection()); - icall(i2thiz); -} -void UnityEngine_ShaderVariantCollection_WarmUp(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ShaderVariantCollection::WarmUp"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ShaderVariantCollection()); - icall(i2thiz); -} -void UnityEngine_ShaderVariantCollection_Internal_Create_8(MonoObject* svc) -{ - typedef void (* ICallMethod) (Il2CppObject* svc); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ShaderVariantCollection::Internal_Create"); - Il2CppObject* i2svc = get_il2cpp_object(svc,il2cpp_get_class_UnityEngine_ShaderVariantCollection()); - icall(i2svc); -} -int32_t UnityEngine_ComputeShader_FindKernel(MonoObject* thiz, MonoString* name) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::FindKernel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - Il2CppString* i2name = get_il2cpp_string(name); - int32_t i2res = icall(i2thiz,i2name); - return i2res; -} -bool UnityEngine_ComputeShader_HasKernel(MonoObject* thiz, MonoString* name) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::HasKernel"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - Il2CppString* i2name = get_il2cpp_string(name); - bool i2res = icall(i2thiz,i2name); - return i2res; -} -void UnityEngine_ComputeShader_SetFloat(MonoObject* thiz, int32_t nameID, float val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, float val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::SetFloat"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,nameID,val); -} -void UnityEngine_ComputeShader_SetInt(MonoObject* thiz, int32_t nameID, int32_t val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, int32_t val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::SetInt"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,nameID,val); -} -void UnityEngine_ComputeShader_SetFloatArray(MonoObject* thiz, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::SetFloatArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,nameID,values); -} -void UnityEngine_ComputeShader_SetIntArray(MonoObject* thiz, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::SetIntArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,nameID,values); -} -void UnityEngine_ComputeShader_SetVectorArray(MonoObject* thiz, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::SetVectorArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,nameID,values); -} -void UnityEngine_ComputeShader_SetMatrixArray(MonoObject* thiz, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::SetMatrixArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,nameID,values); -} -void UnityEngine_ComputeShader_SetTexture(MonoObject* thiz, int32_t kernelIndex, int32_t nameID, MonoObject* texture, int32_t mipLevel) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t kernelIndex, int32_t nameID, Il2CppObject* texture, int32_t mipLevel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::SetTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - Il2CppObject* i2texture = get_il2cpp_object(texture,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,kernelIndex,nameID,i2texture,mipLevel); -} -void UnityEngine_ComputeShader_SetRenderTexture(MonoObject* thiz, int32_t kernelIndex, int32_t nameID, MonoObject* texture, int32_t mipLevel, int32_t element) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t kernelIndex, int32_t nameID, Il2CppObject* texture, int32_t mipLevel, int32_t element); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::SetRenderTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - Il2CppObject* i2texture = get_il2cpp_object(texture,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,kernelIndex,nameID,i2texture,mipLevel,element); -} -void UnityEngine_ComputeShader_SetTextureFromGlobal(MonoObject* thiz, int32_t kernelIndex, int32_t nameID, int32_t globalTextureNameID) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t kernelIndex, int32_t nameID, int32_t globalTextureNameID); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::SetTextureFromGlobal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,kernelIndex,nameID,globalTextureNameID); -} -void UnityEngine_ComputeShader_GetKernelThreadGroupSizes(MonoObject* thiz, int32_t kernelIndex, void * x, void * y, void * z) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t kernelIndex, void * x, void * y, void * z); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::GetKernelThreadGroupSizes"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,kernelIndex,x,y,z); -} -void UnityEngine_ComputeShader_Dispatch(MonoObject* thiz, int32_t kernelIndex, int32_t threadGroupsX, int32_t threadGroupsY, int32_t threadGroupsZ) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t kernelIndex, int32_t threadGroupsX, int32_t threadGroupsY, int32_t threadGroupsZ); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::Dispatch"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,kernelIndex,threadGroupsX,threadGroupsY,threadGroupsZ); -} -void UnityEngine_ComputeShader_SetVector_Injected(MonoObject* thiz, int32_t nameID, void * val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void * val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::SetVector_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,nameID,val); -} -void UnityEngine_ComputeShader_SetMatrix_Injected(MonoObject* thiz, int32_t nameID, void * val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void * val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ComputeShader::SetMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,nameID,val); -} -float UnityEngine_SystemInfo_GetBatteryLevel() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetBatteryLevel"); - float i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetBatteryStatus() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetBatteryStatus"); - int32_t i2res = icall(); - return i2res; -} -MonoString* UnityEngine_SystemInfo_GetOperatingSystem() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetOperatingSystem"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_SystemInfo_GetOperatingSystemFamily() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetOperatingSystemFamily"); - int32_t i2res = icall(); - return i2res; -} -MonoString* UnityEngine_SystemInfo_GetProcessorType() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetProcessorType"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_SystemInfo_GetProcessorFrequencyMHz() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetProcessorFrequencyMHz"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetProcessorCount() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetProcessorCount"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetPhysicalMemoryMB() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetPhysicalMemoryMB"); - int32_t i2res = icall(); - return i2res; -} -MonoString* UnityEngine_SystemInfo_GetDeviceUniqueIdentifier() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetDeviceUniqueIdentifier"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -MonoString* UnityEngine_SystemInfo_GetDeviceName() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetDeviceName"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -MonoString* UnityEngine_SystemInfo_GetDeviceModel() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetDeviceModel"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -bool UnityEngine_SystemInfo_SupportsAccelerometer() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsAccelerometer"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_IsGyroAvailable() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::IsGyroAvailable"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsLocationService() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsLocationService"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsVibration() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsVibration"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsAudio() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsAudio"); - bool i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetDeviceType() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetDeviceType"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetGraphicsMemorySize() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetGraphicsMemorySize"); - int32_t i2res = icall(); - return i2res; -} -MonoString* UnityEngine_SystemInfo_GetGraphicsDeviceName() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetGraphicsDeviceName"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -MonoString* UnityEngine_SystemInfo_GetGraphicsDeviceVendor() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetGraphicsDeviceVendor"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_SystemInfo_GetGraphicsDeviceID() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetGraphicsDeviceID"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetGraphicsDeviceVendorID() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetGraphicsDeviceVendorID"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetGraphicsDeviceType() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetGraphicsDeviceType"); - int32_t i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_GetGraphicsUVStartsAtTop() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetGraphicsUVStartsAtTop"); - bool i2res = icall(); - return i2res; -} -MonoString* UnityEngine_SystemInfo_GetGraphicsDeviceVersion() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetGraphicsDeviceVersion"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_SystemInfo_GetGraphicsShaderLevel() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetGraphicsShaderLevel"); - int32_t i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_GetGraphicsMultiThreaded() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetGraphicsMultiThreaded"); - bool i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetRenderingThreadingMode() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetRenderingThreadingMode"); - int32_t i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_HasHiddenSurfaceRemovalOnGPU() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::HasHiddenSurfaceRemovalOnGPU"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_HasDynamicUniformArrayIndexingInFragmentShaders() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::HasDynamicUniformArrayIndexingInFragmentShaders"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsShadows() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsShadows"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsRawShadowDepthSampling() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsRawShadowDepthSampling"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsMotionVectors() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsMotionVectors"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_Supports3DTextures() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::Supports3DTextures"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_Supports2DArrayTextures() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::Supports2DArrayTextures"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_Supports3DRenderTextures() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::Supports3DRenderTextures"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsCubemapArrayTextures() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsCubemapArrayTextures"); - bool i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetCopyTextureSupport() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetCopyTextureSupport"); - int32_t i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsComputeShaders() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsComputeShaders"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsGeometryShaders() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsGeometryShaders"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsTessellationShaders() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsTessellationShaders"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsInstancing() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsInstancing"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsHardwareQuadTopology() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsHardwareQuadTopology"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_Supports32bitsIndexBuffer() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::Supports32bitsIndexBuffer"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsSparseTextures() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsSparseTextures"); - bool i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_SupportedRenderTargetCount() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportedRenderTargetCount"); - int32_t i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsSeparatedRenderTargetsBlend() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsSeparatedRenderTargetsBlend"); - bool i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_SupportedRandomWriteTargetCount() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportedRandomWriteTargetCount"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_MaxComputeBufferInputsVertex() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::MaxComputeBufferInputsVertex"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_MaxComputeBufferInputsFragment() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::MaxComputeBufferInputsFragment"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_MaxComputeBufferInputsGeometry() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::MaxComputeBufferInputsGeometry"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_MaxComputeBufferInputsDomain() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::MaxComputeBufferInputsDomain"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_MaxComputeBufferInputsHull() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::MaxComputeBufferInputsHull"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_MaxComputeBufferInputsCompute() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::MaxComputeBufferInputsCompute"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_SupportsMultisampledTextures() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsMultisampledTextures"); - int32_t i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsMultisampleAutoResolve() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsMultisampleAutoResolve"); - bool i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_SupportsTextureWrapMirrorOnce() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsTextureWrapMirrorOnce"); - int32_t i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_UsesReversedZBuffer() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::UsesReversedZBuffer"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_HasRenderTextureNative(int32_t format) -{ - typedef bool (* ICallMethod) (int32_t format); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::HasRenderTextureNative"); - bool i2res = icall(format); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsBlendingOnRenderTextureFormatNative(int32_t format) -{ - typedef bool (* ICallMethod) (int32_t format); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsBlendingOnRenderTextureFormatNative"); - bool i2res = icall(format); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsTextureFormatNative(int32_t format) -{ - typedef bool (* ICallMethod) (int32_t format); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsTextureFormatNative"); - bool i2res = icall(format); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsVertexAttributeFormatNative(int32_t format, int32_t dimension) -{ - typedef bool (* ICallMethod) (int32_t format, int32_t dimension); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsVertexAttributeFormatNative"); - bool i2res = icall(format,dimension); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetNPOTSupport() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetNPOTSupport"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetMaxTextureSize() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetMaxTextureSize"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetMaxCubemapSize() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetMaxCubemapSize"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetMaxRenderTextureSize() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetMaxRenderTextureSize"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetMaxComputeWorkGroupSize() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetMaxComputeWorkGroupSize"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetMaxComputeWorkGroupSizeX() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetMaxComputeWorkGroupSizeX"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetMaxComputeWorkGroupSizeY() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetMaxComputeWorkGroupSizeY"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetMaxComputeWorkGroupSizeZ() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetMaxComputeWorkGroupSizeZ"); - int32_t i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsAsyncCompute() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsAsyncCompute"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsGPUFence() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsGPUFence"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsAsyncGPUReadback() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsAsyncGPUReadback"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsRayTracing() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsRayTracing"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsSetConstantBuffer() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsSetConstantBuffer"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_MinConstantBufferOffsetAlignment() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::MinConstantBufferOffsetAlignment"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_HasMipMaxLevel() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::HasMipMaxLevel"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_SupportsMipStreaming() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::SupportsMipStreaming"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_SystemInfo_IsFormatSupported(int32_t format, int32_t usage) -{ - typedef bool (* ICallMethod) (int32_t format, int32_t usage); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::IsFormatSupported"); - bool i2res = icall(format,usage); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetCompatibleFormat(int32_t format, int32_t usage) -{ - typedef int32_t (* ICallMethod) (int32_t format, int32_t usage); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetCompatibleFormat"); - int32_t i2res = icall(format,usage); - return i2res; -} -int32_t UnityEngine_SystemInfo_GetGraphicsFormat(int32_t format) -{ - typedef int32_t (* ICallMethod) (int32_t format); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::GetGraphicsFormat"); - int32_t i2res = icall(format); - return i2res; -} -bool UnityEngine_SystemInfo_UsesLoadStoreActions() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SystemInfo::UsesLoadStoreActions"); - bool i2res = icall(); - return i2res; -} -float UnityEngine_Time_get_time_2() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_time"); - float i2res = icall(); - return i2res; -} -float UnityEngine_Time_get_timeSinceLevelLoad() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_timeSinceLevelLoad"); - float i2res = icall(); - return i2res; -} -float UnityEngine_Time_get_deltaTime() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_deltaTime"); - float i2res = icall(); - return i2res; -} -float UnityEngine_Time_get_fixedTime() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_fixedTime"); - float i2res = icall(); - return i2res; -} -float UnityEngine_Time_get_unscaledTime() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_unscaledTime"); - float i2res = icall(); - return i2res; -} -float UnityEngine_Time_get_fixedUnscaledTime() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_fixedUnscaledTime"); - float i2res = icall(); - return i2res; -} -float UnityEngine_Time_get_unscaledDeltaTime() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_unscaledDeltaTime"); - float i2res = icall(); - return i2res; -} -float UnityEngine_Time_get_fixedUnscaledDeltaTime() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_fixedUnscaledDeltaTime"); - float i2res = icall(); - return i2res; -} -float UnityEngine_Time_get_fixedDeltaTime() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_fixedDeltaTime"); - float i2res = icall(); - return i2res; -} -void UnityEngine_Time_set_fixedDeltaTime(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::set_fixedDeltaTime"); - icall(value); -} -float UnityEngine_Time_get_maximumDeltaTime() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_maximumDeltaTime"); - float i2res = icall(); - return i2res; -} -void UnityEngine_Time_set_maximumDeltaTime(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::set_maximumDeltaTime"); - icall(value); -} -float UnityEngine_Time_get_smoothDeltaTime() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_smoothDeltaTime"); - float i2res = icall(); - return i2res; -} -float UnityEngine_Time_get_maximumParticleDeltaTime() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_maximumParticleDeltaTime"); - float i2res = icall(); - return i2res; -} -void UnityEngine_Time_set_maximumParticleDeltaTime(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::set_maximumParticleDeltaTime"); - icall(value); -} -float UnityEngine_Time_get_timeScale() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_timeScale"); - float i2res = icall(); - return i2res; -} -void UnityEngine_Time_set_timeScale(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::set_timeScale"); - icall(value); -} -int32_t UnityEngine_Time_get_frameCount() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_frameCount"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_Time_get_renderedFrameCount() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_renderedFrameCount"); - int32_t i2res = icall(); - return i2res; -} -float UnityEngine_Time_get_realtimeSinceStartup() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_realtimeSinceStartup"); - float i2res = icall(); - return i2res; -} -float UnityEngine_Time_get_captureDeltaTime() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_captureDeltaTime"); - float i2res = icall(); - return i2res; -} -void UnityEngine_Time_set_captureDeltaTime(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::set_captureDeltaTime"); - icall(value); -} -bool UnityEngine_Time_get_inFixedTimeStep() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Time::get_inFixedTimeStep"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_TouchScreenKeyboard_Internal_Destroy_2(void * ptr) -{ - typedef void (* ICallMethod) (void * ptr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::Internal_Destroy"); - icall(ptr); -} -void * UnityEngine_TouchScreenKeyboard_TouchScreenKeyboard_InternalConstructorHelper(void * arguments, MonoString* text, MonoString* textPlaceholder) -{ - typedef void * (* ICallMethod) (void * arguments, Il2CppString* text, Il2CppString* textPlaceholder); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::TouchScreenKeyboard_InternalConstructorHelper"); - Il2CppString* i2text = get_il2cpp_string(text); - Il2CppString* i2textPlaceholder = get_il2cpp_string(textPlaceholder); - void * i2res = icall(arguments,i2text,i2textPlaceholder); - return i2res; -} -MonoString* UnityEngine_TouchScreenKeyboard_get_text_1(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_text"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_TouchScreenKeyboard_set_text(MonoObject* thiz, MonoString* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::set_text"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2thiz,i2value); -} -bool UnityEngine_TouchScreenKeyboard_get_hideInput() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_hideInput"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_TouchScreenKeyboard_set_hideInput(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::set_hideInput"); - icall(value); -} -bool UnityEngine_TouchScreenKeyboard_get_active_1(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_active"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TouchScreenKeyboard_set_active_1(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::set_active"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); - icall(i2thiz,value); -} -bool UnityEngine_TouchScreenKeyboard_GetDone(void * ptr) -{ - typedef bool (* ICallMethod) (void * ptr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::GetDone"); - bool i2res = icall(ptr); - return i2res; -} -bool UnityEngine_TouchScreenKeyboard_GetWasCanceled(void * ptr) -{ - typedef bool (* ICallMethod) (void * ptr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::GetWasCanceled"); - bool i2res = icall(ptr); - return i2res; -} -int32_t UnityEngine_TouchScreenKeyboard_get_status(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_status"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_TouchScreenKeyboard_get_characterLimit(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_characterLimit"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TouchScreenKeyboard_set_characterLimit(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::set_characterLimit"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); - icall(i2thiz,value); -} -bool UnityEngine_TouchScreenKeyboard_get_canGetSelection(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_canGetSelection"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); - bool i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_TouchScreenKeyboard_get_canSetSelection(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_canSetSelection"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_TouchScreenKeyboard_GetSelection(void * start, void * length) -{ - typedef void (* ICallMethod) (void * start, void * length); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::GetSelection"); - icall(start,length); -} -void UnityEngine_TouchScreenKeyboard_SetSelection(int32_t start, int32_t length) -{ - typedef void (* ICallMethod) (int32_t start, int32_t length); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::SetSelection"); - icall(start,length); -} -int32_t UnityEngine_TouchScreenKeyboard_get_type_2(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_type"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); - int32_t i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_TouchScreenKeyboard_get_visible_1() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_visible"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_TouchScreenKeyboard_get_area_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_area_Injected"); - icall(ret); -} -void * UnityEngine_UnityEventQueueSystem_GetGlobalEventQueue() -{ - typedef void * (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.UnityEventQueueSystem::GetGlobalEventQueue"); - void * i2res = icall(); - return i2res; -} -MonoObject* UnityEngine_RectTransform_get_drivenByObject(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::get_drivenByObject"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -void UnityEngine_RectTransform_set_drivenByObject(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::set_drivenByObject"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Object()); - icall(i2thiz,i2value); -} -int32_t UnityEngine_RectTransform_get_drivenProperties(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::get_drivenProperties"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_RectTransform_set_drivenProperties(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::set_drivenProperties"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz,value); -} -void UnityEngine_RectTransform_ForceUpdateRectTransforms(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::ForceUpdateRectTransforms"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz); -} -void UnityEngine_RectTransform_get_rect_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::get_rect_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz,ret); -} -void UnityEngine_RectTransform_get_anchorMin_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::get_anchorMin_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz,ret); -} -void UnityEngine_RectTransform_set_anchorMin_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::set_anchorMin_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz,value); -} -void UnityEngine_RectTransform_get_anchorMax_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::get_anchorMax_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz,ret); -} -void UnityEngine_RectTransform_set_anchorMax_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::set_anchorMax_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz,value); -} -void UnityEngine_RectTransform_get_anchoredPosition_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::get_anchoredPosition_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz,ret); -} -void UnityEngine_RectTransform_set_anchoredPosition_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::set_anchoredPosition_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz,value); -} -void UnityEngine_RectTransform_get_sizeDelta_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::get_sizeDelta_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz,ret); -} -void UnityEngine_RectTransform_set_sizeDelta_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::set_sizeDelta_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz,value); -} -void UnityEngine_RectTransform_get_pivot_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::get_pivot_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz,ret); -} -void UnityEngine_RectTransform_set_pivot_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransform::set_pivot_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_RectTransform()); - icall(i2thiz,value); -} -int32_t UnityEngine_Transform_GetRotationOrderInternal(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::GetRotationOrderInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Transform_SetRotationOrderInternal(MonoObject* thiz, int32_t rotationOrder) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t rotationOrder); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::SetRotationOrderInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,rotationOrder); -} -MonoObject* UnityEngine_Transform_GetParent(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::GetParent"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); - return monoi2res; -} -void UnityEngine_Transform_SetParent(MonoObject* thiz, MonoObject* parent, bool worldPositionStays) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* parent, bool worldPositionStays); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::SetParent"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - Il2CppObject* i2parent = get_il2cpp_object(parent,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,i2parent,worldPositionStays); -} -MonoObject* UnityEngine_Transform_GetRoot(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::GetRoot"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); - return monoi2res; -} -int32_t UnityEngine_Transform_get_childCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_childCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Transform_DetachChildren(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::DetachChildren"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz); -} -void UnityEngine_Transform_SetAsFirstSibling(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::SetAsFirstSibling"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz); -} -void UnityEngine_Transform_SetAsLastSibling(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::SetAsLastSibling"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz); -} -void UnityEngine_Transform_SetSiblingIndex(MonoObject* thiz, int32_t index) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::SetSiblingIndex"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,index); -} -int32_t UnityEngine_Transform_GetSiblingIndex(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::GetSiblingIndex"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - int32_t i2res = icall(i2thiz); - return i2res; -} -MonoObject* UnityEngine_Transform_FindRelativeTransformWithPath(MonoObject* transform, MonoString* path, bool isActiveOnly) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* transform, Il2CppString* path, bool isActiveOnly); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::FindRelativeTransformWithPath"); - Il2CppObject* i2transform = get_il2cpp_object(transform,il2cpp_get_class_UnityEngine_Transform()); - Il2CppString* i2path = get_il2cpp_string(path); - Il2CppObject* i2res = icall(i2transform,i2path,isActiveOnly); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); - return monoi2res; -} -void UnityEngine_Transform_SendTransformChangedScale(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::SendTransformChangedScale"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz); -} -bool UnityEngine_Transform_IsChildOf(MonoObject* thiz, MonoObject* parent) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* parent); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::IsChildOf"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - Il2CppObject* i2parent = get_il2cpp_object(parent,il2cpp_get_class_UnityEngine_Transform()); - bool i2res = icall(i2thiz,i2parent); - return i2res; -} -bool UnityEngine_Transform_get_hasChanged(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_hasChanged"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Transform_set_hasChanged(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::set_hasChanged"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,value); -} -MonoObject* UnityEngine_Transform_GetChild(MonoObject* thiz, int32_t index) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::GetChild"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - Il2CppObject* i2res = icall(i2thiz,index); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); - return monoi2res; -} -int32_t UnityEngine_Transform_GetChildCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::GetChildCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Transform_internal_getHierarchyCapacity(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::internal_getHierarchyCapacity"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Transform_internal_setHierarchyCapacity(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::internal_setHierarchyCapacity"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,value); -} -int32_t UnityEngine_Transform_internal_getHierarchyCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::internal_getHierarchyCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - int32_t i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_Transform_IsNonUniformScaleTransform(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::IsNonUniformScaleTransform"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Transform_get_position_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_position_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,ret); -} -void UnityEngine_Transform_set_position_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::set_position_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,value); -} -void UnityEngine_Transform_get_localPosition_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_localPosition_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,ret); -} -void UnityEngine_Transform_set_localPosition_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::set_localPosition_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,value); -} -void UnityEngine_Transform_GetLocalEulerAngles_Injected(MonoObject* thiz, int32_t order, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t order, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::GetLocalEulerAngles_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,order,ret); -} -void UnityEngine_Transform_SetLocalEulerAngles_Injected(MonoObject* thiz, void * euler, int32_t order) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * euler, int32_t order); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::SetLocalEulerAngles_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,euler,order); -} -void UnityEngine_Transform_SetLocalEulerHint_Injected(MonoObject* thiz, void * euler) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * euler); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::SetLocalEulerHint_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,euler); -} -void UnityEngine_Transform_get_rotation_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_rotation_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,ret); -} -void UnityEngine_Transform_set_rotation_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::set_rotation_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,value); -} -void UnityEngine_Transform_get_localRotation_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_localRotation_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,ret); -} -void UnityEngine_Transform_set_localRotation_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::set_localRotation_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,value); -} -void UnityEngine_Transform_get_localScale_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_localScale_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,ret); -} -void UnityEngine_Transform_set_localScale_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::set_localScale_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,value); -} -void UnityEngine_Transform_get_worldToLocalMatrix_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_worldToLocalMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,ret); -} -void UnityEngine_Transform_get_localToWorldMatrix_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_localToWorldMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,ret); -} -void UnityEngine_Transform_SetPositionAndRotation_Injected(MonoObject* thiz, void * position, void * rotation) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, void * rotation); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::SetPositionAndRotation_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,position,rotation); -} -void UnityEngine_Transform_RotateAroundInternal_Injected(MonoObject* thiz, void * axis, float angle) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * axis, float angle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::RotateAroundInternal_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,axis,angle); -} -void UnityEngine_Transform_Internal_LookAt_Injected(MonoObject* thiz, void * worldPosition, void * worldUp) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * worldPosition, void * worldUp); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::Internal_LookAt_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,worldPosition,worldUp); -} -void UnityEngine_Transform_TransformDirection_Injected(MonoObject* thiz, void * direction, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * direction, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::TransformDirection_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,direction,ret); -} -void UnityEngine_Transform_InverseTransformDirection_Injected(MonoObject* thiz, void * direction, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * direction, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::InverseTransformDirection_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,direction,ret); -} -void UnityEngine_Transform_TransformVector_Injected(MonoObject* thiz, void * vector, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * vector, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::TransformVector_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,vector,ret); -} -void UnityEngine_Transform_InverseTransformVector_Injected(MonoObject* thiz, void * vector, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * vector, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::InverseTransformVector_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,vector,ret); -} -void UnityEngine_Transform_TransformPoint_Injected(MonoObject* thiz, void * position, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::TransformPoint_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,position,ret); -} -void UnityEngine_Transform_InverseTransformPoint_Injected(MonoObject* thiz, void * position, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::InverseTransformPoint_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,position,ret); -} -void UnityEngine_Transform_get_lossyScale_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::get_lossyScale_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,ret); -} -void UnityEngine_Transform_RotateAround_Injected(MonoObject* thiz, void * axis, float angle) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * axis, float angle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::RotateAround_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,axis,angle); -} -void UnityEngine_Transform_RotateAroundLocal_Injected(MonoObject* thiz, void * axis, float angle) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * axis, float angle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Transform::RotateAroundLocal_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Transform()); - icall(i2thiz,axis,angle); -} -bool UnityEngine_SpriteRenderer_get_shouldSupportTiling(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::get_shouldSupportTiling"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -MonoObject* UnityEngine_SpriteRenderer_get_sprite(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::get_sprite"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Sprite()); - return monoi2res; -} -void UnityEngine_SpriteRenderer_set_sprite(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::set_sprite"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2thiz,i2value); -} -int32_t UnityEngine_SpriteRenderer_get_drawMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::get_drawMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_SpriteRenderer_set_drawMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::set_drawMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2thiz,value); -} -float UnityEngine_SpriteRenderer_get_adaptiveModeThreshold(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::get_adaptiveModeThreshold"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_SpriteRenderer_set_adaptiveModeThreshold(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::set_adaptiveModeThreshold"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_SpriteRenderer_get_tileMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::get_tileMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_SpriteRenderer_set_tileMode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::set_tileMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_SpriteRenderer_get_maskInteraction(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::get_maskInteraction"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_SpriteRenderer_set_maskInteraction(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::set_maskInteraction"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2thiz,value); -} -bool UnityEngine_SpriteRenderer_get_flipX(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::get_flipX"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_SpriteRenderer_set_flipX(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::set_flipX"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2thiz,value); -} -bool UnityEngine_SpriteRenderer_get_flipY(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::get_flipY"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_SpriteRenderer_set_flipY(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::set_flipY"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2thiz,value); -} -int32_t UnityEngine_SpriteRenderer_get_spriteSortPoint(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::get_spriteSortPoint"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_SpriteRenderer_set_spriteSortPoint(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::set_spriteSortPoint"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2thiz,value); -} -void UnityEngine_SpriteRenderer_get_size_Injected_2(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::get_size_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2thiz,ret); -} -void UnityEngine_SpriteRenderer_set_size_Injected_2(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::set_size_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2thiz,value); -} -void UnityEngine_SpriteRenderer_get_color_Injected_3(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::get_color_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2thiz,ret); -} -void UnityEngine_SpriteRenderer_set_color_Injected_3(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::set_color_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2thiz,value); -} -void UnityEngine_SpriteRenderer_Internal_GetSpriteBounds_Injected(MonoObject* thiz, int32_t mode, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t mode, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::Internal_GetSpriteBounds_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2thiz,mode,ret); -} -int32_t UnityEngine_Sprite_GetPackingMode(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetPackingMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Sprite_GetPackingRotation(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetPackingRotation"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Sprite_GetPacked(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetPacked"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - int32_t i2res = icall(i2thiz); - return i2res; -} -MonoObject* UnityEngine_Sprite_get_texture_1(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_texture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture2D()); - return monoi2res; -} -float UnityEngine_Sprite_get_pixelsPerUnit(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_pixelsPerUnit"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - float i2res = icall(i2thiz); - return i2res; -} -float UnityEngine_Sprite_get_spriteAtlasTextureScale(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_spriteAtlasTextureScale"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - float i2res = icall(i2thiz); - return i2res; -} -MonoObject* UnityEngine_Sprite_get_associatedAlphaSplitTexture(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_associatedAlphaSplitTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture2D()); - return monoi2res; -} -void* UnityEngine_Sprite_get_vertices(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_vertices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - void* i2res = icall(i2thiz); - return i2res; -} -void* UnityEngine_Sprite_get_triangles(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_triangles"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - void* i2res = icall(i2thiz); - return i2res; -} -void* UnityEngine_Sprite_get_uv(MonoObject* thiz) -{ - typedef void* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_uv"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - void* i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Sprite_GetPhysicsShapeCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetPhysicsShapeCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Sprite_Internal_GetPhysicsShapePointCount(MonoObject* thiz, int32_t shapeIdx) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t shapeIdx); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::Internal_GetPhysicsShapePointCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - int32_t i2res = icall(i2thiz,shapeIdx); - return i2res; -} -void UnityEngine_Sprite_GetPhysicsShapeImpl(MonoObject* sprite, int32_t shapeIdx, MonoObject* physicsShape) -{ - typedef void (* ICallMethod) (Il2CppObject* sprite, int32_t shapeIdx, Il2CppObject* physicsShape); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetPhysicsShapeImpl"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - Il2CppObject* i2physicsShape = get_il2cpp_object(physicsShape,NULL); - icall(i2sprite,shapeIdx,i2physicsShape); -} -void UnityEngine_Sprite_OverridePhysicsShapeCount(MonoObject* sprite, int32_t physicsShapeCount) -{ - typedef void (* ICallMethod) (Il2CppObject* sprite, int32_t physicsShapeCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::OverridePhysicsShapeCount"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2sprite,physicsShapeCount); -} -void UnityEngine_Sprite_OverridePhysicsShape(MonoObject* sprite, void* physicsShape, int32_t idx) -{ - typedef void (* ICallMethod) (Il2CppObject* sprite, void* physicsShape, int32_t idx); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::OverridePhysicsShape"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2sprite,physicsShape,idx); -} -void UnityEngine_Sprite_OverrideGeometry(MonoObject* thiz, void* vertices, void* triangles) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* vertices, void* triangles); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::OverrideGeometry"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2thiz,vertices,triangles); -} -void UnityEngine_Sprite_GetTextureRect_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetTextureRect_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2thiz,ret); -} -void UnityEngine_Sprite_GetTextureRectOffset_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetTextureRectOffset_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2thiz,ret); -} -void UnityEngine_Sprite_GetInnerUVs_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetInnerUVs_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2thiz,ret); -} -void UnityEngine_Sprite_GetOuterUVs_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetOuterUVs_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2thiz,ret); -} -void UnityEngine_Sprite_GetPadding_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetPadding_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2thiz,ret); -} -MonoObject* UnityEngine_Sprite_CreateSpriteWithoutTextureScripting_Injected(void * rect, void * pivot, float pixelsToUnits, MonoObject* texture) -{ - typedef Il2CppObject* (* ICallMethod) (void * rect, void * pivot, float pixelsToUnits, Il2CppObject* texture); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::CreateSpriteWithoutTextureScripting_Injected"); - Il2CppObject* i2texture = get_il2cpp_object(texture,il2cpp_get_class_UnityEngine_Texture2D()); - Il2CppObject* i2res = icall(rect,pivot,pixelsToUnits,i2texture); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Sprite()); - return monoi2res; -} -MonoObject* UnityEngine_Sprite_CreateSprite_Injected(MonoObject* texture, void * rect, void * pivot, float pixelsPerUnit, uint32_t extrude, int32_t meshType, void * border, bool generateFallbackPhysicsShape) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* texture, void * rect, void * pivot, float pixelsPerUnit, uint32_t extrude, int32_t meshType, void * border, bool generateFallbackPhysicsShape); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::CreateSprite_Injected"); - Il2CppObject* i2texture = get_il2cpp_object(texture,il2cpp_get_class_UnityEngine_Texture2D()); - Il2CppObject* i2res = icall(i2texture,rect,pivot,pixelsPerUnit,extrude,meshType,border,generateFallbackPhysicsShape); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Sprite()); - return monoi2res; -} -void UnityEngine_Sprite_get_bounds_Injected_3(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_bounds_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2thiz,ret); -} -void UnityEngine_Sprite_get_rect_Injected_2(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_rect_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2thiz,ret); -} -void UnityEngine_Sprite_get_border_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_border_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2thiz,ret); -} -void UnityEngine_Sprite_get_pivot_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_pivot_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2thiz,ret); -} -float UnityEngine_U2D_PixelPerfectRendering_get_pixelSnapSpacing() -{ - typedef float (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.PixelPerfectRendering::get_pixelSnapSpacing"); - float i2res = icall(); - return i2res; -} -void UnityEngine_U2D_PixelPerfectRendering_set_pixelSnapSpacing(float value) -{ - typedef void (* ICallMethod) (float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.PixelPerfectRendering::set_pixelSnapSpacing"); - icall(value); -} -bool UnityEngine_U2D_SpriteDataAccessExtensions_HasVertexAttribute_1(MonoObject* sprite, int32_t channel) -{ - typedef bool (* ICallMethod) (Il2CppObject* sprite, int32_t channel); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteDataAccessExtensions::HasVertexAttribute"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - bool i2res = icall(i2sprite,channel); - return i2res; -} -void UnityEngine_U2D_SpriteDataAccessExtensions_SetVertexCount(MonoObject* sprite, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* sprite, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteDataAccessExtensions::SetVertexCount"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2sprite,count); -} -int32_t UnityEngine_U2D_SpriteDataAccessExtensions_GetVertexCount(MonoObject* sprite) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* sprite); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteDataAccessExtensions::GetVertexCount"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - int32_t i2res = icall(i2sprite); - return i2res; -} -void UnityEngine_U2D_SpriteDataAccessExtensions_SetBindPoseData(MonoObject* sprite, void * src, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* sprite, void * src, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteDataAccessExtensions::SetBindPoseData"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2sprite,src,count); -} -void UnityEngine_U2D_SpriteDataAccessExtensions_SetIndicesData(MonoObject* sprite, void * src, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* sprite, void * src, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteDataAccessExtensions::SetIndicesData"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2sprite,src,count); -} -void UnityEngine_U2D_SpriteDataAccessExtensions_SetChannelData(MonoObject* sprite, int32_t channel, void * src) -{ - typedef void (* ICallMethod) (Il2CppObject* sprite, int32_t channel, void * src); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteDataAccessExtensions::SetChannelData"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2sprite,channel,src); -} -void* UnityEngine_U2D_SpriteDataAccessExtensions_GetBoneInfo(MonoObject* sprite) -{ - typedef void* (* ICallMethod) (Il2CppObject* sprite); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteDataAccessExtensions::GetBoneInfo"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - void* i2res = icall(i2sprite); - return i2res; -} -void UnityEngine_U2D_SpriteDataAccessExtensions_SetBoneData(MonoObject* sprite, void* src) -{ - typedef void (* ICallMethod) (Il2CppObject* sprite, void* src); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteDataAccessExtensions::SetBoneData"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2sprite,src); -} -int32_t UnityEngine_U2D_SpriteDataAccessExtensions_GetPrimaryVertexStreamSize(MonoObject* sprite) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* sprite); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteDataAccessExtensions::GetPrimaryVertexStreamSize"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - int32_t i2res = icall(i2sprite); - return i2res; -} -void UnityEngine_U2D_SpriteDataAccessExtensions_GetBindPoseInfo_Injected(MonoObject* sprite, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* sprite, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteDataAccessExtensions::GetBindPoseInfo_Injected"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2sprite,ret); -} -void UnityEngine_U2D_SpriteDataAccessExtensions_GetIndicesInfo_Injected(MonoObject* sprite, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* sprite, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteDataAccessExtensions::GetIndicesInfo_Injected"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2sprite,ret); -} -void UnityEngine_U2D_SpriteDataAccessExtensions_GetChannelInfo_Injected(MonoObject* sprite, int32_t channel, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* sprite, int32_t channel, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteDataAccessExtensions::GetChannelInfo_Injected"); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - icall(i2sprite,channel,ret); -} -void UnityEngine_U2D_SpriteRendererDataAccessExtensions_DeactivateDeformableBuffer(MonoObject* renderer) -{ - typedef void (* ICallMethod) (Il2CppObject* renderer); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteRendererDataAccessExtensions::DeactivateDeformableBuffer"); - Il2CppObject* i2renderer = get_il2cpp_object(renderer,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2renderer); -} -void UnityEngine_U2D_SpriteRendererDataAccessExtensions_SetDeformableBuffer(MonoObject* spriteRenderer, void * src, int32_t count) -{ - typedef void (* ICallMethod) (Il2CppObject* spriteRenderer, void * src, int32_t count); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteRendererDataAccessExtensions::SetDeformableBuffer"); - Il2CppObject* i2spriteRenderer = get_il2cpp_object(spriteRenderer,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2spriteRenderer,src,count); -} -void UnityEngine_U2D_SpriteRendererDataAccessExtensions_SetLocalAABB_Injected_1(MonoObject* renderer, void * aabb) -{ - typedef void (* ICallMethod) (Il2CppObject* renderer, void * aabb); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteRendererDataAccessExtensions::SetLocalAABB_Injected"); - Il2CppObject* i2renderer = get_il2cpp_object(renderer,il2cpp_get_class_UnityEngine_SpriteRenderer()); - icall(i2renderer,aabb); -} -void UnityEngine_U2D_SpriteAtlasManager_Register(MonoObject* spriteAtlas) -{ - typedef void (* ICallMethod) (Il2CppObject* spriteAtlas); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteAtlasManager::Register"); - Il2CppObject* i2spriteAtlas = get_il2cpp_object(spriteAtlas,il2cpp_get_class_UnityEngine_U2D_SpriteAtlas()); - icall(i2spriteAtlas); -} -bool UnityEngine_U2D_SpriteAtlas_get_isVariant(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteAtlas::get_isVariant"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_U2D_SpriteAtlas()); - bool i2res = icall(i2thiz); - return i2res; -} -MonoString* UnityEngine_U2D_SpriteAtlas_get_tag_1(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteAtlas::get_tag"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_U2D_SpriteAtlas()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_U2D_SpriteAtlas_get_spriteCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteAtlas::get_spriteCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_U2D_SpriteAtlas()); - int32_t i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_U2D_SpriteAtlas_CanBindTo(MonoObject* thiz, MonoObject* sprite) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* sprite); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteAtlas::CanBindTo"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_U2D_SpriteAtlas()); - Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); - bool i2res = icall(i2thiz,i2sprite); - return i2res; -} -MonoObject* UnityEngine_U2D_SpriteAtlas_GetSprite(MonoObject* thiz, MonoString* name) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteAtlas::GetSprite"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_U2D_SpriteAtlas()); - Il2CppString* i2name = get_il2cpp_string(name); - Il2CppObject* i2res = icall(i2thiz,i2name); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Sprite()); - return monoi2res; -} -int32_t UnityEngine_U2D_SpriteAtlas_GetSpritesScripting(MonoObject* thiz, MonoArray* sprites) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppArray* sprites); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteAtlas::GetSpritesScripting"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_U2D_SpriteAtlas()); - Il2CppArray* i2sprites = get_il2cpp_array(sprites); - int32_t i2res = icall(i2thiz,i2sprites); - return i2res; -} -int32_t UnityEngine_U2D_SpriteAtlas_GetSpritesWithNameScripting(MonoObject* thiz, MonoArray* sprites, MonoString* name) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppArray* sprites, Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteAtlas::GetSpritesWithNameScripting"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_U2D_SpriteAtlas()); - Il2CppArray* i2sprites = get_il2cpp_array(sprites); - Il2CppString* i2name = get_il2cpp_string(name); - int32_t i2res = icall(i2thiz,i2sprites,i2name); - return i2res; -} -bool UnityEngine_Profiling_Profiler_get_supported() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::get_supported"); - bool i2res = icall(); - return i2res; -} -MonoString* UnityEngine_Profiling_Profiler_get_logFile() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::get_logFile"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_Profiling_Profiler_set_logFile(MonoString* value) -{ - typedef void (* ICallMethod) (Il2CppString* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::set_logFile"); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2value); -} -bool UnityEngine_Profiling_Profiler_get_enableBinaryLog() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::get_enableBinaryLog"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Profiling_Profiler_set_enableBinaryLog(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::set_enableBinaryLog"); - icall(value); -} -int32_t UnityEngine_Profiling_Profiler_get_maxUsedMemory() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::get_maxUsedMemory"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_Profiling_Profiler_set_maxUsedMemory(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::set_maxUsedMemory"); - icall(value); -} -bool UnityEngine_Profiling_Profiler_get_enabled_4() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::get_enabled"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Profiling_Profiler_set_enabled_4(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::set_enabled"); - icall(value); -} -bool UnityEngine_Profiling_Profiler_get_enableAllocationCallstacks() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::get_enableAllocationCallstacks"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Profiling_Profiler_set_enableAllocationCallstacks(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::set_enableAllocationCallstacks"); - icall(value); -} -void UnityEngine_Profiling_Profiler_SetAreaEnabled(int32_t area, bool enabled) -{ - typedef void (* ICallMethod) (int32_t area, bool enabled); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::SetAreaEnabled"); - icall(area,enabled); -} -bool UnityEngine_Profiling_Profiler_GetAreaEnabled(int32_t area) -{ - typedef bool (* ICallMethod) (int32_t area); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::GetAreaEnabled"); - bool i2res = icall(area); - return i2res; -} -void UnityEngine_Profiling_Profiler_AddFramesFromFile_Internal(MonoString* file, bool keepExistingFrames) -{ - typedef void (* ICallMethod) (Il2CppString* file, bool keepExistingFrames); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::AddFramesFromFile_Internal"); - Il2CppString* i2file = get_il2cpp_string(file); - icall(i2file,keepExistingFrames); -} -void UnityEngine_Profiling_Profiler_BeginThreadProfilingInternal(MonoString* threadGroupName, MonoString* threadName) -{ - typedef void (* ICallMethod) (Il2CppString* threadGroupName, Il2CppString* threadName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::BeginThreadProfilingInternal"); - Il2CppString* i2threadGroupName = get_il2cpp_string(threadGroupName); - Il2CppString* i2threadName = get_il2cpp_string(threadName); - icall(i2threadGroupName,i2threadName); -} -void UnityEngine_Profiling_Profiler_EndThreadProfiling() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::EndThreadProfiling"); - icall(); -} -void UnityEngine_Profiling_Profiler_BeginSampleImpl(MonoString* name, MonoObject* targetObject) -{ - typedef void (* ICallMethod) (Il2CppString* name, Il2CppObject* targetObject); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::BeginSampleImpl"); - Il2CppString* i2name = get_il2cpp_string(name); - Il2CppObject* i2targetObject = get_il2cpp_object(targetObject,il2cpp_get_class_UnityEngine_Object()); - icall(i2name,i2targetObject); -} -void UnityEngine_Profiling_Profiler_EndSample() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::EndSample"); - icall(); -} -int64_t UnityEngine_Profiling_Profiler_get_usedHeapSizeLong() -{ - typedef int64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::get_usedHeapSizeLong"); - int64_t i2res = icall(); - return i2res; -} -int64_t UnityEngine_Profiling_Profiler_GetRuntimeMemorySizeLong(MonoObject* o) -{ - typedef int64_t (* ICallMethod) (Il2CppObject* o); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::GetRuntimeMemorySizeLong"); - Il2CppObject* i2o = get_il2cpp_object(o,il2cpp_get_class_UnityEngine_Object()); - int64_t i2res = icall(i2o); - return i2res; -} -int64_t UnityEngine_Profiling_Profiler_GetMonoHeapSizeLong() -{ - typedef int64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::GetMonoHeapSizeLong"); - int64_t i2res = icall(); - return i2res; -} -int64_t UnityEngine_Profiling_Profiler_GetMonoUsedSizeLong() -{ - typedef int64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::GetMonoUsedSizeLong"); - int64_t i2res = icall(); - return i2res; -} -bool UnityEngine_Profiling_Profiler_SetTempAllocatorRequestedSize(uint32_t size) -{ - typedef bool (* ICallMethod) (uint32_t size); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::SetTempAllocatorRequestedSize"); - bool i2res = icall(size); - return i2res; -} -uint32_t UnityEngine_Profiling_Profiler_GetTempAllocatorSize() -{ - typedef uint32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::GetTempAllocatorSize"); - uint32_t i2res = icall(); - return i2res; -} -int64_t UnityEngine_Profiling_Profiler_GetTotalAllocatedMemoryLong() -{ - typedef int64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::GetTotalAllocatedMemoryLong"); - int64_t i2res = icall(); - return i2res; -} -int64_t UnityEngine_Profiling_Profiler_GetTotalUnusedReservedMemoryLong() -{ - typedef int64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::GetTotalUnusedReservedMemoryLong"); - int64_t i2res = icall(); - return i2res; -} -int64_t UnityEngine_Profiling_Profiler_GetTotalReservedMemoryLong() -{ - typedef int64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::GetTotalReservedMemoryLong"); - int64_t i2res = icall(); - return i2res; -} -int64_t UnityEngine_Profiling_Profiler_GetAllocatedMemoryForGraphicsDriver() -{ - typedef int64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::GetAllocatedMemoryForGraphicsDriver"); - int64_t i2res = icall(); - return i2res; -} -void UnityEngine_Profiling_Profiler_Internal_EmitFrameMetaData_Array(void* id, int32_t tag, MonoObject* data, int32_t count, int32_t elementSize) -{ - typedef void (* ICallMethod) (void* id, int32_t tag, Il2CppObject* data, int32_t count, int32_t elementSize); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::Internal_EmitFrameMetaData_Array"); - Il2CppObject* i2data = get_il2cpp_object(data,NULL); - icall(id,tag,i2data,count,elementSize); -} -void UnityEngine_Profiling_Profiler_Internal_EmitFrameMetaData_Native(void* id, int32_t tag, void * data, int32_t count, int32_t elementSize) -{ - typedef void (* ICallMethod) (void* id, int32_t tag, void * data, int32_t count, int32_t elementSize); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Profiler::Internal_EmitFrameMetaData_Native"); - icall(id,tag,data,count,elementSize); -} -void * UnityEngine_Profiling_Recorder_GetInternal(MonoString* samplerName) -{ - typedef void * (* ICallMethod) (Il2CppString* samplerName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Recorder::GetInternal"); - Il2CppString* i2samplerName = get_il2cpp_string(samplerName); - void * i2res = icall(i2samplerName); - return i2res; -} -void UnityEngine_Profiling_Recorder_DisposeNative(void * ptr) -{ - typedef void (* ICallMethod) (void * ptr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Recorder::DisposeNative"); - icall(ptr); -} -bool UnityEngine_Profiling_Recorder_IsEnabled(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Recorder::IsEnabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Profiling_Recorder()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Profiling_Recorder_SetEnabled(MonoObject* thiz, bool enabled) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool enabled); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Recorder::SetEnabled"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Profiling_Recorder()); - icall(i2thiz,enabled); -} -int64_t UnityEngine_Profiling_Recorder_GetElapsedNanoseconds(MonoObject* thiz) -{ - typedef int64_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Recorder::GetElapsedNanoseconds"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Profiling_Recorder()); - int64_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Profiling_Recorder_GetSampleBlockCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Recorder::GetSampleBlockCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Profiling_Recorder()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Profiling_Recorder_FilterToCurrentThread(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Recorder::FilterToCurrentThread"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Profiling_Recorder()); - icall(i2thiz); -} -void UnityEngine_Profiling_Recorder_CollectFromAllThreads(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Recorder::CollectFromAllThreads"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Profiling_Recorder()); - icall(i2thiz); -} -MonoString* UnityEngine_Profiling_Sampler_GetSamplerName(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Sampler::GetSamplerName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Profiling_Sampler()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void * UnityEngine_Profiling_Sampler_GetRecorderInternal(void * ptr) -{ - typedef void * (* ICallMethod) (void * ptr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Sampler::GetRecorderInternal"); - void * i2res = icall(ptr); - return i2res; -} -void * UnityEngine_Profiling_Sampler_GetSamplerInternal(MonoString* name) -{ - typedef void * (* ICallMethod) (Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Sampler::GetSamplerInternal"); - Il2CppString* i2name = get_il2cpp_string(name); - void * i2res = icall(i2name); - return i2res; -} -int32_t UnityEngine_Profiling_Sampler_GetSamplerNamesInternal(MonoObject* namesScriptingPtr) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* namesScriptingPtr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Sampler::GetSamplerNamesInternal"); - Il2CppObject* i2namesScriptingPtr = get_il2cpp_object(namesScriptingPtr,NULL); - int32_t i2res = icall(i2namesScriptingPtr); - return i2res; -} -void * UnityEngine_Profiling_CustomSampler_CreateInternal(MonoString* name) -{ - typedef void * (* ICallMethod) (Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.CustomSampler::CreateInternal"); - Il2CppString* i2name = get_il2cpp_string(name); - void * i2res = icall(i2name); - return i2res; -} -void UnityEngine_Profiling_CustomSampler_Begin_1(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.CustomSampler::Begin"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Profiling_CustomSampler()); - icall(i2thiz); -} -void UnityEngine_Profiling_CustomSampler_BeginWithObject(MonoObject* thiz, MonoObject* targetObject) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* targetObject); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.CustomSampler::BeginWithObject"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Profiling_CustomSampler()); - Il2CppObject* i2targetObject = get_il2cpp_object(targetObject,il2cpp_get_class_UnityEngine_Object()); - icall(i2thiz,i2targetObject); -} -void UnityEngine_Profiling_CustomSampler_End_1(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.CustomSampler::End"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Profiling_CustomSampler()); - icall(i2thiz); -} -void UnityEngine_Profiling_Memory_Experimental_MemoryProfiler_StartOperation(uint32_t captureFlag, bool requestScreenshot, MonoString* path, bool isRemote) -{ - typedef void (* ICallMethod) (uint32_t captureFlag, bool requestScreenshot, Il2CppString* path, bool isRemote); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Profiling.Memory.Experimental.MemoryProfiler::StartOperation"); - Il2CppString* i2path = get_il2cpp_string(path); - icall(captureFlag,requestScreenshot,i2path,isRemote); -} -void UnityEngine_Jobs_TransformAccess_GetPosition(void * access, void * p) -{ - typedef void (* ICallMethod) (void * access, void * p); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccess::GetPosition"); - icall(access,p); -} -void UnityEngine_Jobs_TransformAccess_SetPosition(void * access, void * p) -{ - typedef void (* ICallMethod) (void * access, void * p); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccess::SetPosition"); - icall(access,p); -} -void UnityEngine_Jobs_TransformAccess_GetRotation(void * access, void * r) -{ - typedef void (* ICallMethod) (void * access, void * r); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccess::GetRotation"); - icall(access,r); -} -void UnityEngine_Jobs_TransformAccess_SetRotation(void * access, void * r) -{ - typedef void (* ICallMethod) (void * access, void * r); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccess::SetRotation"); - icall(access,r); -} -void UnityEngine_Jobs_TransformAccess_GetLocalPosition(void * access, void * p) -{ - typedef void (* ICallMethod) (void * access, void * p); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccess::GetLocalPosition"); - icall(access,p); -} -void UnityEngine_Jobs_TransformAccess_SetLocalPosition(void * access, void * p) -{ - typedef void (* ICallMethod) (void * access, void * p); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccess::SetLocalPosition"); - icall(access,p); -} -void UnityEngine_Jobs_TransformAccess_GetLocalRotation(void * access, void * r) -{ - typedef void (* ICallMethod) (void * access, void * r); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccess::GetLocalRotation"); - icall(access,r); -} -void UnityEngine_Jobs_TransformAccess_SetLocalRotation(void * access, void * r) -{ - typedef void (* ICallMethod) (void * access, void * r); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccess::SetLocalRotation"); - icall(access,r); -} -void UnityEngine_Jobs_TransformAccess_GetLocalScale(void * access, void * r) -{ - typedef void (* ICallMethod) (void * access, void * r); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccess::GetLocalScale"); - icall(access,r); -} -void UnityEngine_Jobs_TransformAccess_SetLocalScale(void * access, void * r) -{ - typedef void (* ICallMethod) (void * access, void * r); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccess::SetLocalScale"); - icall(access,r); -} -void UnityEngine_Jobs_TransformAccess_GetLocalToWorldMatrix(void * access, void * m) -{ - typedef void (* ICallMethod) (void * access, void * m); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccess::GetLocalToWorldMatrix"); - icall(access,m); -} -void UnityEngine_Jobs_TransformAccess_GetWorldToLocalMatrix(void * access, void * m) -{ - typedef void (* ICallMethod) (void * access, void * m); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccess::GetWorldToLocalMatrix"); - icall(access,m); -} -void * UnityEngine_Jobs_TransformAccessArray_Create_1(int32_t capacity, int32_t desiredJobCount) -{ - typedef void * (* ICallMethod) (int32_t capacity, int32_t desiredJobCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccessArray::Create"); - void * i2res = icall(capacity,desiredJobCount); - return i2res; -} -void UnityEngine_Jobs_TransformAccessArray_DestroyTransformAccessArray(void * transformArray) -{ - typedef void (* ICallMethod) (void * transformArray); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccessArray::DestroyTransformAccessArray"); - icall(transformArray); -} -void UnityEngine_Jobs_TransformAccessArray_SetTransforms(void * transformArrayIntPtr, MonoArray* transforms) -{ - typedef void (* ICallMethod) (void * transformArrayIntPtr, Il2CppArray* transforms); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccessArray::SetTransforms"); - Il2CppArray* i2transforms = get_il2cpp_array(transforms); - icall(transformArrayIntPtr,i2transforms); -} -void UnityEngine_Jobs_TransformAccessArray_Add(void * transformArrayIntPtr, MonoObject* transform) -{ - typedef void (* ICallMethod) (void * transformArrayIntPtr, Il2CppObject* transform); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccessArray::Add"); - Il2CppObject* i2transform = get_il2cpp_object(transform,il2cpp_get_class_UnityEngine_Transform()); - icall(transformArrayIntPtr,i2transform); -} -void UnityEngine_Jobs_TransformAccessArray_RemoveAtSwapBack(void * transformArrayIntPtr, int32_t index) -{ - typedef void (* ICallMethod) (void * transformArrayIntPtr, int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccessArray::RemoveAtSwapBack"); - icall(transformArrayIntPtr,index); -} -void * UnityEngine_Jobs_TransformAccessArray_GetSortedTransformAccess(void * transformArrayIntPtr) -{ - typedef void * (* ICallMethod) (void * transformArrayIntPtr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccessArray::GetSortedTransformAccess"); - void * i2res = icall(transformArrayIntPtr); - return i2res; -} -void * UnityEngine_Jobs_TransformAccessArray_GetSortedToUserIndex(void * transformArrayIntPtr) -{ - typedef void * (* ICallMethod) (void * transformArrayIntPtr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccessArray::GetSortedToUserIndex"); - void * i2res = icall(transformArrayIntPtr); - return i2res; -} -int32_t UnityEngine_Jobs_TransformAccessArray_GetLength(void * transformArrayIntPtr) -{ - typedef int32_t (* ICallMethod) (void * transformArrayIntPtr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccessArray::GetLength"); - int32_t i2res = icall(transformArrayIntPtr); - return i2res; -} -int32_t UnityEngine_Jobs_TransformAccessArray_GetCapacity(void * transformArrayIntPtr) -{ - typedef int32_t (* ICallMethod) (void * transformArrayIntPtr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccessArray::GetCapacity"); - int32_t i2res = icall(transformArrayIntPtr); - return i2res; -} -void UnityEngine_Jobs_TransformAccessArray_SetCapacity(void * transformArrayIntPtr, int32_t capacity) -{ - typedef void (* ICallMethod) (void * transformArrayIntPtr, int32_t capacity); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccessArray::SetCapacity"); - icall(transformArrayIntPtr,capacity); -} -MonoObject* UnityEngine_Jobs_TransformAccessArray_GetTransform(void * transformArrayIntPtr, int32_t index) -{ - typedef Il2CppObject* (* ICallMethod) (void * transformArrayIntPtr, int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccessArray::GetTransform"); - Il2CppObject* i2res = icall(transformArrayIntPtr,index); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Transform()); - return monoi2res; -} -void UnityEngine_Jobs_TransformAccessArray_SetTransform(void * transformArrayIntPtr, int32_t index, MonoObject* transform) -{ - typedef void (* ICallMethod) (void * transformArrayIntPtr, int32_t index, Il2CppObject* transform); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Jobs.TransformAccessArray::SetTransform"); - Il2CppObject* i2transform = get_il2cpp_object(transform,il2cpp_get_class_UnityEngine_Transform()); - icall(transformArrayIntPtr,index,i2transform); -} -bool UnityEngine_tvOS_Remote_get_allowExitToHome() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Remote::get_allowExitToHome"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_tvOS_Remote_set_allowExitToHome(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Remote::set_allowExitToHome"); - icall(value); -} -bool UnityEngine_tvOS_Remote_get_allowRemoteRotation() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Remote::get_allowRemoteRotation"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_tvOS_Remote_set_allowRemoteRotation(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Remote::set_allowRemoteRotation"); - icall(value); -} -bool UnityEngine_tvOS_Remote_get_reportAbsoluteDpadValues() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Remote::get_reportAbsoluteDpadValues"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_tvOS_Remote_set_reportAbsoluteDpadValues(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Remote::set_reportAbsoluteDpadValues"); - icall(value); -} -bool UnityEngine_tvOS_Remote_get_touchesEnabled() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Remote::get_touchesEnabled"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_tvOS_Remote_set_touchesEnabled(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Remote::set_touchesEnabled"); - icall(value); -} -MonoString* UnityEngine_tvOS_Device_get_tvOSsystemVersion() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Device::get_tvOSsystemVersion"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_tvOS_Device_get_tvOSGeneration() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Device::get_tvOSGeneration"); - int32_t i2res = icall(); - return i2res; -} -MonoString* UnityEngine_tvOS_Device_get_tvOSVendorIdentifier() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Device::get_tvOSVendorIdentifier"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -MonoString* UnityEngine_tvOS_Device_GetTVOSAdvertisingIdentifier() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Device::GetTVOSAdvertisingIdentifier"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -bool UnityEngine_tvOS_Device_IsTVOSAdvertisingTrackingEnabled() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Device::IsTVOSAdvertisingTrackingEnabled"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_tvOS_Device_SettvOSNoBackupFlag(MonoString* path) -{ - typedef void (* ICallMethod) (Il2CppString* path); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Device::SettvOSNoBackupFlag"); - Il2CppString* i2path = get_il2cpp_string(path); - icall(i2path); -} -void UnityEngine_tvOS_Device_tvOSResetNoBackupFlag(MonoString* path) -{ - typedef void (* ICallMethod) (Il2CppString* path); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.tvOS.Device::tvOSResetNoBackupFlag"); - Il2CppString* i2path = get_il2cpp_string(path); - icall(i2path); -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_get_APIAvailable() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::get_APIAvailable"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_get_broadcastingAPIAvailable() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::get_broadcastingAPIAvailable"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_get_recordingAvailable() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::get_recordingAvailable"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_get_isRecording() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::get_isRecording"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_get_isBroadcasting() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::get_isBroadcasting"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_get_isBroadcastingPaused() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::get_isBroadcastingPaused"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_get_isPreviewControllerActive() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::get_isPreviewControllerActive"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_get_cameraEnabled() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::get_cameraEnabled"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Apple_ReplayKit_ReplayKit_set_cameraEnabled(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::set_cameraEnabled"); - icall(value); -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_get_microphoneEnabled() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::get_microphoneEnabled"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Apple_ReplayKit_ReplayKit_set_microphoneEnabled(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::set_microphoneEnabled"); - icall(value); -} -MonoString* UnityEngine_Apple_ReplayKit_ReplayKit_get_broadcastURL() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::get_broadcastURL"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -MonoString* UnityEngine_Apple_ReplayKit_ReplayKit_get_lastError() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::get_lastError"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_StartRecordingImpl(bool enableMicrophone, bool enableCamera) -{ - typedef bool (* ICallMethod) (bool enableMicrophone, bool enableCamera); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::StartRecordingImpl"); - bool i2res = icall(enableMicrophone,enableCamera); - return i2res; -} -void UnityEngine_Apple_ReplayKit_ReplayKit_StartBroadcastingImpl(MonoObject* callback, bool enableMicrophone, bool enableCamera) -{ - typedef void (* ICallMethod) (Il2CppObject* callback, bool enableMicrophone, bool enableCamera); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::StartBroadcastingImpl"); - Il2CppObject* i2callback = get_il2cpp_object(callback,NULL); - icall(i2callback,enableMicrophone,enableCamera); -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_StopRecording() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::StopRecording"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Apple_ReplayKit_ReplayKit_StopBroadcasting() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::StopBroadcasting"); - icall(); -} -void UnityEngine_Apple_ReplayKit_ReplayKit_PauseBroadcasting() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::PauseBroadcasting"); - icall(); -} -void UnityEngine_Apple_ReplayKit_ReplayKit_ResumeBroadcasting() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::ResumeBroadcasting"); - icall(); -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_Preview() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::Preview"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_Discard() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::Discard"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_Apple_ReplayKit_ReplayKit_ShowCameraPreviewAt(float posX, float posY, float width, float height) -{ - typedef bool (* ICallMethod) (float posX, float posY, float width, float height); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::ShowCameraPreviewAt"); - bool i2res = icall(posX,posY,width,height); - return i2res; -} -void UnityEngine_Apple_ReplayKit_ReplayKit_HideCameraPreview() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Apple.ReplayKit.ReplayKit::HideCameraPreview"); - icall(); -} -MonoString* UnityEngine_iOS_OnDemandResourcesRequest_get_error(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.OnDemandResourcesRequest::get_error"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_iOS_OnDemandResourcesRequest()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -float UnityEngine_iOS_OnDemandResourcesRequest_get_loadingPriority(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.OnDemandResourcesRequest::get_loadingPriority"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_iOS_OnDemandResourcesRequest()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_iOS_OnDemandResourcesRequest_set_loadingPriority(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.OnDemandResourcesRequest::set_loadingPriority"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_iOS_OnDemandResourcesRequest()); - icall(i2thiz,value); -} -MonoString* UnityEngine_iOS_OnDemandResourcesRequest_GetResourcePath(MonoObject* thiz, MonoString* resourceName) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* resourceName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.OnDemandResourcesRequest::GetResourcePath"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_iOS_OnDemandResourcesRequest()); - Il2CppString* i2resourceName = get_il2cpp_string(resourceName); - Il2CppString* i2res = icall(i2thiz,i2resourceName); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_iOS_OnDemandResourcesRequest_DestroyFromScript(void * ptr) -{ - typedef void (* ICallMethod) (void * ptr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.OnDemandResourcesRequest::DestroyFromScript"); - icall(ptr); -} -bool UnityEngine_iOS_OnDemandResources_get_enabled_5() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.OnDemandResources::get_enabled"); - bool i2res = icall(); - return i2res; -} -MonoObject* UnityEngine_iOS_OnDemandResources_PreloadAsyncImpl(MonoArray* tags) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppArray* tags); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.OnDemandResources::PreloadAsyncImpl"); - Il2CppArray* i2tags = get_il2cpp_array(tags); - Il2CppObject* i2res = icall(i2tags); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_iOS_OnDemandResourcesRequest()); - return monoi2res; -} -MonoString* UnityEngine_iOS_Device_get_systemVersion() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::get_systemVersion"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_iOS_Device_get_generation() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::get_generation"); - int32_t i2res = icall(); - return i2res; -} -MonoString* UnityEngine_iOS_Device_get_vendorIdentifier() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::get_vendorIdentifier"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -MonoString* UnityEngine_iOS_Device_GetAdvertisingIdentifier() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::GetAdvertisingIdentifier"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -bool UnityEngine_iOS_Device_IsAdvertisingTrackingEnabled() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::IsAdvertisingTrackingEnabled"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_iOS_Device_get_hideHomeButton() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::get_hideHomeButton"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_iOS_Device_set_hideHomeButton(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::set_hideHomeButton"); - icall(value); -} -bool UnityEngine_iOS_Device_get_lowPowerModeEnabled() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::get_lowPowerModeEnabled"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_iOS_Device_get_wantsSoftwareDimming() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::get_wantsSoftwareDimming"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_iOS_Device_set_wantsSoftwareDimming(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::set_wantsSoftwareDimming"); - icall(value); -} -bool UnityEngine_iOS_Device_get_iosAppOnMac() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::get_iosAppOnMac"); - bool i2res = icall(); - return i2res; -} -int32_t UnityEngine_iOS_Device_get_deferSystemGesturesModeInternal() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::get_deferSystemGesturesModeInternal"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_iOS_Device_set_deferSystemGesturesModeInternal(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::set_deferSystemGesturesModeInternal"); - icall(value); -} -void UnityEngine_iOS_Device_SetNoBackupFlag(MonoString* path) -{ - typedef void (* ICallMethod) (Il2CppString* path); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::SetNoBackupFlag"); - Il2CppString* i2path = get_il2cpp_string(path); - icall(i2path); -} -void UnityEngine_iOS_Device_ResetNoBackupFlag(MonoString* path) -{ - typedef void (* ICallMethod) (Il2CppString* path); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::ResetNoBackupFlag"); - Il2CppString* i2path = get_il2cpp_string(path); - icall(i2path); -} -bool UnityEngine_iOS_Device_RequestStoreReview() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.Device::RequestStoreReview"); - bool i2res = icall(); - return i2res; -} -void * UnityEngine_iOS_NotificationHelper_CreateLocal() -{ - typedef void * (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationHelper::CreateLocal"); - void * i2res = icall(); - return i2res; -} -void UnityEngine_iOS_NotificationHelper_DestroyLocal(void * target) -{ - typedef void (* ICallMethod) (void * target); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationHelper::DestroyLocal"); - icall(target); -} -void UnityEngine_iOS_NotificationHelper_DestroyRemote(void * target) -{ - typedef void (* ICallMethod) (void * target); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationHelper::DestroyRemote"); - icall(target); -} -MonoString* UnityEngine_iOS_RemoteNotification_get_alertBody(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.RemoteNotification::get_alertBody"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_iOS_RemoteNotification()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -MonoString* UnityEngine_iOS_RemoteNotification_get_alertTitle(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.RemoteNotification::get_alertTitle"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_iOS_RemoteNotification()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -MonoString* UnityEngine_iOS_RemoteNotification_get_soundName(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.RemoteNotification::get_soundName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_iOS_RemoteNotification()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_iOS_RemoteNotification_get_applicationIconBadgeNumber(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.RemoteNotification::get_applicationIconBadgeNumber"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_iOS_RemoteNotification()); - int32_t i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_iOS_RemoteNotification_get_hasAction(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.RemoteNotification::get_hasAction"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_iOS_RemoteNotification()); - bool i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_iOS_NotificationServices_get_localNotificationCount() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationServices::get_localNotificationCount"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_iOS_NotificationServices_get_remoteNotificationCount() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationServices::get_remoteNotificationCount"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_iOS_NotificationServices_ClearLocalNotifications() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationServices::ClearLocalNotifications"); - icall(); -} -void UnityEngine_iOS_NotificationServices_ClearRemoteNotifications() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationServices::ClearRemoteNotifications"); - icall(); -} -void UnityEngine_iOS_NotificationServices_Internal_RegisterImpl(int32_t notificationTypes, bool registerForRemote) -{ - typedef void (* ICallMethod) (int32_t notificationTypes, bool registerForRemote); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationServices::Internal_RegisterImpl"); - icall(notificationTypes,registerForRemote); -} -int32_t UnityEngine_iOS_NotificationServices_get_enabledNotificationTypes() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationServices::get_enabledNotificationTypes"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_iOS_NotificationServices_CancelAllLocalNotifications() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationServices::CancelAllLocalNotifications"); - icall(); -} -void UnityEngine_iOS_NotificationServices_UnregisterForRemoteNotifications() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationServices::UnregisterForRemoteNotifications"); - icall(); -} -MonoString* UnityEngine_iOS_NotificationServices_get_registrationError() -{ - typedef Il2CppString* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationServices::get_registrationError"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void* UnityEngine_iOS_NotificationServices_get_deviceToken() -{ - typedef void* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationServices::get_deviceToken"); - void* i2res = icall(); - return i2res; -} -MonoObject* UnityEngine_iOS_NotificationServices_GetRemoteNotificationImpl(int32_t index) -{ - typedef Il2CppObject* (* ICallMethod) (int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.iOS.NotificationServices::GetRemoteNotificationImpl"); - Il2CppObject* i2res = icall(index); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_iOS_RemoteNotification()); - return monoi2res; -} -void UnityEngine_Scripting_GarbageCollector_SetMode(int32_t mode) -{ - typedef void (* ICallMethod) (int32_t mode); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Scripting.GarbageCollector::SetMode"); - icall(mode); -} -int32_t UnityEngine_Scripting_GarbageCollector_GetMode() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Scripting.GarbageCollector::GetMode"); - int32_t i2res = icall(); - return i2res; -} -bool UnityEngine_Scripting_GarbageCollector_get_isIncremental() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Scripting.GarbageCollector::get_isIncremental"); - bool i2res = icall(); - return i2res; -} -uint64_t UnityEngine_Scripting_GarbageCollector_get_incrementalTimeSliceNanoseconds() -{ - typedef uint64_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Scripting.GarbageCollector::get_incrementalTimeSliceNanoseconds"); - uint64_t i2res = icall(); - return i2res; -} -void UnityEngine_Scripting_GarbageCollector_set_incrementalTimeSliceNanoseconds(uint64_t value) -{ - typedef void (* ICallMethod) (uint64_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Scripting.GarbageCollector::set_incrementalTimeSliceNanoseconds"); - icall(value); -} -bool UnityEngine_Scripting_GarbageCollector_CollectIncremental(uint64_t nanoseconds) -{ - typedef bool (* ICallMethod) (uint64_t nanoseconds); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Scripting.GarbageCollector::CollectIncremental"); - bool i2res = icall(nanoseconds); - return i2res; -} -bool UnityEngine_SceneManagement_Scene_IsValidInternal(int32_t sceneHandle) -{ - typedef bool (* ICallMethod) (int32_t sceneHandle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::IsValidInternal"); - bool i2res = icall(sceneHandle); - return i2res; -} -MonoString* UnityEngine_SceneManagement_Scene_GetPathInternal(int32_t sceneHandle) -{ - typedef Il2CppString* (* ICallMethod) (int32_t sceneHandle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetPathInternal"); - Il2CppString* i2res = icall(sceneHandle); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -MonoString* UnityEngine_SceneManagement_Scene_GetNameInternal(int32_t sceneHandle) -{ - typedef Il2CppString* (* ICallMethod) (int32_t sceneHandle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetNameInternal"); - Il2CppString* i2res = icall(sceneHandle); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_SceneManagement_Scene_SetNameInternal(int32_t sceneHandle, MonoString* name) -{ - typedef void (* ICallMethod) (int32_t sceneHandle, Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::SetNameInternal"); - Il2CppString* i2name = get_il2cpp_string(name); - icall(sceneHandle,i2name); -} -MonoString* UnityEngine_SceneManagement_Scene_GetGUIDInternal(int32_t sceneHandle) -{ - typedef Il2CppString* (* ICallMethod) (int32_t sceneHandle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetGUIDInternal"); - Il2CppString* i2res = icall(sceneHandle); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -bool UnityEngine_SceneManagement_Scene_IsSubScene(int32_t sceneHandle) -{ - typedef bool (* ICallMethod) (int32_t sceneHandle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::IsSubScene"); - bool i2res = icall(sceneHandle); - return i2res; -} -void UnityEngine_SceneManagement_Scene_SetIsSubScene(int32_t sceneHandle, bool value) -{ - typedef void (* ICallMethod) (int32_t sceneHandle, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::SetIsSubScene"); - icall(sceneHandle,value); -} -bool UnityEngine_SceneManagement_Scene_GetIsLoadedInternal(int32_t sceneHandle) -{ - typedef bool (* ICallMethod) (int32_t sceneHandle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetIsLoadedInternal"); - bool i2res = icall(sceneHandle); - return i2res; -} -int32_t UnityEngine_SceneManagement_Scene_GetLoadingStateInternal(int32_t sceneHandle) -{ - typedef int32_t (* ICallMethod) (int32_t sceneHandle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetLoadingStateInternal"); - int32_t i2res = icall(sceneHandle); - return i2res; -} -bool UnityEngine_SceneManagement_Scene_GetIsDirtyInternal(int32_t sceneHandle) -{ - typedef bool (* ICallMethod) (int32_t sceneHandle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetIsDirtyInternal"); - bool i2res = icall(sceneHandle); - return i2res; -} -int32_t UnityEngine_SceneManagement_Scene_GetDirtyID(int32_t sceneHandle) -{ - typedef int32_t (* ICallMethod) (int32_t sceneHandle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetDirtyID"); - int32_t i2res = icall(sceneHandle); - return i2res; -} -int32_t UnityEngine_SceneManagement_Scene_GetBuildIndexInternal(int32_t sceneHandle) -{ - typedef int32_t (* ICallMethod) (int32_t sceneHandle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetBuildIndexInternal"); - int32_t i2res = icall(sceneHandle); - return i2res; -} -int32_t UnityEngine_SceneManagement_Scene_GetRootCountInternal(int32_t sceneHandle) -{ - typedef int32_t (* ICallMethod) (int32_t sceneHandle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetRootCountInternal"); - int32_t i2res = icall(sceneHandle); - return i2res; -} -void UnityEngine_SceneManagement_Scene_GetRootGameObjectsInternal(int32_t sceneHandle, MonoObject* resultRootList) -{ - typedef void (* ICallMethod) (int32_t sceneHandle, Il2CppObject* resultRootList); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetRootGameObjectsInternal"); - Il2CppObject* i2resultRootList = get_il2cpp_object(resultRootList,NULL); - icall(sceneHandle,i2resultRootList); -} -MonoObject* UnityEngine_SceneManagement_SceneManagerAPIInternal_UnloadSceneNameIndexInternal(MonoString* sceneName, int32_t sceneBuildIndex, bool immediately, int32_t options, void * outSuccess) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppString* sceneName, int32_t sceneBuildIndex, bool immediately, int32_t options, void * outSuccess); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManagerAPIInternal::UnloadSceneNameIndexInternal"); - Il2CppString* i2sceneName = get_il2cpp_string(sceneName); - Il2CppObject* i2res = icall(i2sceneName,sceneBuildIndex,immediately,options,outSuccess); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AsyncOperation()); - return monoi2res; -} -MonoObject* UnityEngine_SceneManagement_SceneManagerAPIInternal_LoadSceneAsyncNameIndexInternal_Injected(MonoString* sceneName, int32_t sceneBuildIndex, void * parameters, bool mustCompleteNextFrame) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppString* sceneName, int32_t sceneBuildIndex, void * parameters, bool mustCompleteNextFrame); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManagerAPIInternal::LoadSceneAsyncNameIndexInternal_Injected"); - Il2CppString* i2sceneName = get_il2cpp_string(sceneName); - Il2CppObject* i2res = icall(i2sceneName,sceneBuildIndex,parameters,mustCompleteNextFrame); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AsyncOperation()); - return monoi2res; -} -int32_t UnityEngine_SceneManagement_SceneManager_get_sceneCount() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::get_sceneCount"); - int32_t i2res = icall(); - return i2res; -} -int32_t UnityEngine_SceneManagement_SceneManager_get_sceneCountInBuildSettings() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::get_sceneCountInBuildSettings"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_SceneManagement_SceneManager_GetActiveScene_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::GetActiveScene_Injected"); - icall(ret); -} -bool UnityEngine_SceneManagement_SceneManager_SetActiveScene_Injected(void * scene) -{ - typedef bool (* ICallMethod) (void * scene); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::SetActiveScene_Injected"); - bool i2res = icall(scene); - return i2res; -} -void UnityEngine_SceneManagement_SceneManager_GetSceneByPath_Injected(MonoString* scenePath, void * ret) -{ - typedef void (* ICallMethod) (Il2CppString* scenePath, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::GetSceneByPath_Injected"); - Il2CppString* i2scenePath = get_il2cpp_string(scenePath); - icall(i2scenePath,ret); -} -void UnityEngine_SceneManagement_SceneManager_GetSceneByName_Injected(MonoString* name, void * ret) -{ - typedef void (* ICallMethod) (Il2CppString* name, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::GetSceneByName_Injected"); - Il2CppString* i2name = get_il2cpp_string(name); - icall(i2name,ret); -} -void UnityEngine_SceneManagement_SceneManager_GetSceneByBuildIndex_Injected(int32_t buildIndex, void * ret) -{ - typedef void (* ICallMethod) (int32_t buildIndex, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::GetSceneByBuildIndex_Injected"); - icall(buildIndex,ret); -} -void UnityEngine_SceneManagement_SceneManager_GetSceneAt_Injected(int32_t index, void * ret) -{ - typedef void (* ICallMethod) (int32_t index, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::GetSceneAt_Injected"); - icall(index,ret); -} -void UnityEngine_SceneManagement_SceneManager_CreateScene_Injected(MonoString* sceneName, void * parameters, void * ret) -{ - typedef void (* ICallMethod) (Il2CppString* sceneName, void * parameters, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::CreateScene_Injected"); - Il2CppString* i2sceneName = get_il2cpp_string(sceneName); - icall(i2sceneName,parameters,ret); -} -bool UnityEngine_SceneManagement_SceneManager_UnloadSceneInternal_Injected(void * scene, int32_t options) -{ - typedef bool (* ICallMethod) (void * scene, int32_t options); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::UnloadSceneInternal_Injected"); - bool i2res = icall(scene,options); - return i2res; -} -MonoObject* UnityEngine_SceneManagement_SceneManager_UnloadSceneAsyncInternal_Injected(void * scene, int32_t options) -{ - typedef Il2CppObject* (* ICallMethod) (void * scene, int32_t options); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::UnloadSceneAsyncInternal_Injected"); - Il2CppObject* i2res = icall(scene,options); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_AsyncOperation()); - return monoi2res; -} -void UnityEngine_SceneManagement_SceneManager_MergeScenes_Injected(void * sourceScene, void * destinationScene) -{ - typedef void (* ICallMethod) (void * sourceScene, void * destinationScene); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::MergeScenes_Injected"); - icall(sourceScene,destinationScene); -} -void UnityEngine_SceneManagement_SceneManager_MoveGameObjectToScene_Injected(MonoObject* go, void * scene) -{ - typedef void (* ICallMethod) (Il2CppObject* go, void * scene); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::MoveGameObjectToScene_Injected"); - Il2CppObject* i2go = get_il2cpp_object(go,il2cpp_get_class_UnityEngine_GameObject()); - icall(i2go,scene); -} -MonoString* UnityEngine_SceneManagement_SceneUtility_GetScenePathByBuildIndex(int32_t buildIndex) -{ - typedef Il2CppString* (* ICallMethod) (int32_t buildIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneUtility::GetScenePathByBuildIndex"); - Il2CppString* i2res = icall(buildIndex); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_SceneManagement_SceneUtility_GetBuildIndexByScenePath(MonoString* scenePath) -{ - typedef int32_t (* ICallMethod) (Il2CppString* scenePath); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneUtility::GetBuildIndexByScenePath"); - Il2CppString* i2scenePath = get_il2cpp_string(scenePath); - int32_t i2res = icall(i2scenePath); - return i2res; -} -void* UnityEngine_LowLevel_PlayerLoop_GetDefaultPlayerLoopInternal() -{ - typedef void* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LowLevel.PlayerLoop::GetDefaultPlayerLoopInternal"); - void* i2res = icall(); - return i2res; -} -void* UnityEngine_LowLevel_PlayerLoop_GetCurrentPlayerLoopInternal() -{ - typedef void* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LowLevel.PlayerLoop::GetCurrentPlayerLoopInternal"); - void* i2res = icall(); - return i2res; -} -void UnityEngine_LowLevel_PlayerLoop_SetPlayerLoopInternal(void* loop) -{ - typedef void (* ICallMethod) (void* loop); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.LowLevel.PlayerLoop::SetPlayerLoopInternal"); - icall(loop); -} -void UnityEngine_Rendering_AsyncGPUReadbackRequest_Update_Injected(void * _unity_self) -{ - typedef void (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadbackRequest::Update_Injected"); - icall(_unity_self); -} -void UnityEngine_Rendering_AsyncGPUReadbackRequest_WaitForCompletion_Injected(void * _unity_self) -{ - typedef void (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadbackRequest::WaitForCompletion_Injected"); - icall(_unity_self); -} -bool UnityEngine_Rendering_AsyncGPUReadbackRequest_IsDone_Injected(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadbackRequest::IsDone_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -bool UnityEngine_Rendering_AsyncGPUReadbackRequest_HasError_Injected(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadbackRequest::HasError_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -int32_t UnityEngine_Rendering_AsyncGPUReadbackRequest_GetLayerCount_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadbackRequest::GetLayerCount_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -int32_t UnityEngine_Rendering_AsyncGPUReadbackRequest_GetLayerDataSize_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadbackRequest::GetLayerDataSize_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -int32_t UnityEngine_Rendering_AsyncGPUReadbackRequest_GetWidth_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadbackRequest::GetWidth_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -int32_t UnityEngine_Rendering_AsyncGPUReadbackRequest_GetHeight_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadbackRequest::GetHeight_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -int32_t UnityEngine_Rendering_AsyncGPUReadbackRequest_GetDepth_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadbackRequest::GetDepth_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Rendering_AsyncGPUReadbackRequest_SetScriptingCallback_Injected(void * _unity_self, MonoObject* callback) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* callback); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadbackRequest::SetScriptingCallback_Injected"); - Il2CppObject* i2callback = get_il2cpp_object(callback,NULL); - icall(_unity_self,i2callback); -} -void * UnityEngine_Rendering_AsyncGPUReadbackRequest_GetDataRaw_Injected(void * _unity_self, int32_t layer) -{ - typedef void * (* ICallMethod) (void * _unity_self, int32_t layer); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadbackRequest::GetDataRaw_Injected"); - void * i2res = icall(_unity_self,layer); - return i2res; -} -void UnityEngine_Rendering_AsyncGPUReadback_WaitAllRequests() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadback::WaitAllRequests"); - icall(); -} -void UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_1_Injected(MonoObject* src, int32_t mipIndex, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* src, int32_t mipIndex, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_1_Injected"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - icall(i2src,mipIndex,ret); -} -void UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_2_Injected(MonoObject* src, int32_t mipIndex, int32_t dstFormat, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* src, int32_t mipIndex, int32_t dstFormat, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_2_Injected"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - icall(i2src,mipIndex,dstFormat,ret); -} -void UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_3_Injected(MonoObject* src, int32_t mipIndex, int32_t x, int32_t width, int32_t y, int32_t height, int32_t z, int32_t depth, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* src, int32_t mipIndex, int32_t x, int32_t width, int32_t y, int32_t height, int32_t z, int32_t depth, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_3_Injected"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - icall(i2src,mipIndex,x,width,y,height,z,depth,ret); -} -void UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_4_Injected(MonoObject* src, int32_t mipIndex, int32_t x, int32_t width, int32_t y, int32_t height, int32_t z, int32_t depth, int32_t dstFormat, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* src, int32_t mipIndex, int32_t x, int32_t width, int32_t y, int32_t height, int32_t z, int32_t depth, int32_t dstFormat, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_4_Injected"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - icall(i2src,mipIndex,x,width,y,height,z,depth,dstFormat,ret); -} -void UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_5_Injected(MonoObject* src, int32_t mipIndex, void * data, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* src, int32_t mipIndex, void * data, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_5_Injected"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - icall(i2src,mipIndex,data,ret); -} -void UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_6_Injected(MonoObject* src, int32_t mipIndex, int32_t dstFormat, void * data, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* src, int32_t mipIndex, int32_t dstFormat, void * data, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_6_Injected"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - icall(i2src,mipIndex,dstFormat,data,ret); -} -void UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_7_Injected(MonoObject* src, int32_t mipIndex, int32_t x, int32_t width, int32_t y, int32_t height, int32_t z, int32_t depth, int32_t dstFormat, void * data, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* src, int32_t mipIndex, int32_t x, int32_t width, int32_t y, int32_t height, int32_t z, int32_t depth, int32_t dstFormat, void * data, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_7_Injected"); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - icall(i2src,mipIndex,x,width,y,height,z,depth,dstFormat,data,ret); -} -bool UnityEngine_Rendering_GraphicsFence_HasFencePassed_Internal(void * fencePtr) -{ - typedef bool (* ICallMethod) (void * fencePtr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsFence::HasFencePassed_Internal"); - bool i2res = icall(fencePtr); - return i2res; -} -int32_t UnityEngine_Rendering_GraphicsFence_GetVersionNumber(void * fencePtr) -{ - typedef int32_t (* ICallMethod) (void * fencePtr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsFence::GetVersionNumber"); - int32_t i2res = icall(fencePtr); - return i2res; -} -int32_t UnityEngine_Rendering_GraphicsSettings_get_transparencySortMode_1() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::get_transparencySortMode"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_Rendering_GraphicsSettings_set_transparencySortMode_1(int32_t value) -{ - typedef void (* ICallMethod) (int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::set_transparencySortMode"); - icall(value); -} -bool UnityEngine_Rendering_GraphicsSettings_get_realtimeDirectRectangularAreaLights() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::get_realtimeDirectRectangularAreaLights"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Rendering_GraphicsSettings_set_realtimeDirectRectangularAreaLights(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::set_realtimeDirectRectangularAreaLights"); - icall(value); -} -bool UnityEngine_Rendering_GraphicsSettings_get_lightsUseLinearIntensity() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::get_lightsUseLinearIntensity"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Rendering_GraphicsSettings_set_lightsUseLinearIntensity(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::set_lightsUseLinearIntensity"); - icall(value); -} -bool UnityEngine_Rendering_GraphicsSettings_get_lightsUseColorTemperature() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::get_lightsUseColorTemperature"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Rendering_GraphicsSettings_set_lightsUseColorTemperature(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::set_lightsUseColorTemperature"); - icall(value); -} -bool UnityEngine_Rendering_GraphicsSettings_get_useScriptableRenderPipelineBatching() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::get_useScriptableRenderPipelineBatching"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Rendering_GraphicsSettings_set_useScriptableRenderPipelineBatching(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::set_useScriptableRenderPipelineBatching"); - icall(value); -} -bool UnityEngine_Rendering_GraphicsSettings_get_logWhenShaderIsCompiled() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::get_logWhenShaderIsCompiled"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Rendering_GraphicsSettings_set_logWhenShaderIsCompiled(bool value) -{ - typedef void (* ICallMethod) (bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::set_logWhenShaderIsCompiled"); - icall(value); -} -bool UnityEngine_Rendering_GraphicsSettings_AllowEnlightenSupportForUpgradedProject() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::AllowEnlightenSupportForUpgradedProject"); - bool i2res = icall(); - return i2res; -} -bool UnityEngine_Rendering_GraphicsSettings_HasShaderDefine(int32_t tier, int32_t defineHash) -{ - typedef bool (* ICallMethod) (int32_t tier, int32_t defineHash); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::HasShaderDefine"); - bool i2res = icall(tier,defineHash); - return i2res; -} -MonoObject* UnityEngine_Rendering_GraphicsSettings_get_INTERNAL_currentRenderPipeline() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::get_INTERNAL_currentRenderPipeline"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_ScriptableObject()); - return monoi2res; -} -MonoObject* UnityEngine_Rendering_GraphicsSettings_get_INTERNAL_defaultRenderPipeline() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::get_INTERNAL_defaultRenderPipeline"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_ScriptableObject()); - return monoi2res; -} -void UnityEngine_Rendering_GraphicsSettings_set_INTERNAL_defaultRenderPipeline(MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::set_INTERNAL_defaultRenderPipeline"); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_ScriptableObject()); - icall(i2value); -} -MonoArray* UnityEngine_Rendering_GraphicsSettings_GetAllConfiguredRenderPipelines() -{ - typedef Il2CppArray* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::GetAllConfiguredRenderPipelines"); - Il2CppArray* i2res = icall(); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; -} -MonoObject* UnityEngine_Rendering_GraphicsSettings_GetGraphicsSettings() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::GetGraphicsSettings"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -void UnityEngine_Rendering_GraphicsSettings_SetShaderMode(int32_t type, int32_t mode) -{ - typedef void (* ICallMethod) (int32_t type, int32_t mode); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::SetShaderMode"); - icall(type,mode); -} -int32_t UnityEngine_Rendering_GraphicsSettings_GetShaderMode(int32_t type) -{ - typedef int32_t (* ICallMethod) (int32_t type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::GetShaderMode"); - int32_t i2res = icall(type); - return i2res; -} -void UnityEngine_Rendering_GraphicsSettings_SetCustomShader(int32_t type, MonoObject* shader) -{ - typedef void (* ICallMethod) (int32_t type, Il2CppObject* shader); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::SetCustomShader"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - icall(type,i2shader); -} -MonoObject* UnityEngine_Rendering_GraphicsSettings_GetCustomShader(int32_t type) -{ - typedef Il2CppObject* (* ICallMethod) (int32_t type); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::GetCustomShader"); - Il2CppObject* i2res = icall(type); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Shader()); - return monoi2res; -} -void UnityEngine_Rendering_GraphicsSettings_get_transparencySortAxis_Injected_1(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::get_transparencySortAxis_Injected"); - icall(ret); -} -void UnityEngine_Rendering_GraphicsSettings_set_transparencySortAxis_Injected_1(void * value) -{ - typedef void (* ICallMethod) (void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::set_transparencySortAxis_Injected"); - icall(value); -} -void UnityEngine_Rendering_CommandBuffer_WaitAllAsyncReadbackRequests(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::WaitAllAsyncReadbackRequests"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz); -} -void UnityEngine_Rendering_CommandBuffer_Internal_RequestAsyncReadback_3(MonoObject* thiz, MonoObject* src, MonoObject* callback, void * nativeArrayData) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* src, Il2CppObject* callback, void * nativeArrayData); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_RequestAsyncReadback_3"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2callback = get_il2cpp_object(callback,NULL); - icall(i2thiz,i2src,i2callback,nativeArrayData); -} -void UnityEngine_Rendering_CommandBuffer_Internal_RequestAsyncReadback_4(MonoObject* thiz, MonoObject* src, int32_t mipIndex, MonoObject* callback, void * nativeArrayData) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* src, int32_t mipIndex, Il2CppObject* callback, void * nativeArrayData); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_RequestAsyncReadback_4"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2callback = get_il2cpp_object(callback,NULL); - icall(i2thiz,i2src,mipIndex,i2callback,nativeArrayData); -} -void UnityEngine_Rendering_CommandBuffer_Internal_RequestAsyncReadback_5(MonoObject* thiz, MonoObject* src, int32_t mipIndex, int32_t dstFormat, MonoObject* callback, void * nativeArrayData) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* src, int32_t mipIndex, int32_t dstFormat, Il2CppObject* callback, void * nativeArrayData); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_RequestAsyncReadback_5"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2callback = get_il2cpp_object(callback,NULL); - icall(i2thiz,i2src,mipIndex,dstFormat,i2callback,nativeArrayData); -} -void UnityEngine_Rendering_CommandBuffer_Internal_RequestAsyncReadback_6(MonoObject* thiz, MonoObject* src, int32_t mipIndex, int32_t x, int32_t width, int32_t y, int32_t height, int32_t z, int32_t depth, MonoObject* callback, void * nativeArrayData) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* src, int32_t mipIndex, int32_t x, int32_t width, int32_t y, int32_t height, int32_t z, int32_t depth, Il2CppObject* callback, void * nativeArrayData); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_RequestAsyncReadback_6"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2callback = get_il2cpp_object(callback,NULL); - icall(i2thiz,i2src,mipIndex,x,width,y,height,z,depth,i2callback,nativeArrayData); -} -void UnityEngine_Rendering_CommandBuffer_Internal_RequestAsyncReadback_7(MonoObject* thiz, MonoObject* src, int32_t mipIndex, int32_t x, int32_t width, int32_t y, int32_t height, int32_t z, int32_t depth, int32_t dstFormat, MonoObject* callback, void * nativeArrayData) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* src, int32_t mipIndex, int32_t x, int32_t width, int32_t y, int32_t height, int32_t z, int32_t depth, int32_t dstFormat, Il2CppObject* callback, void * nativeArrayData); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_RequestAsyncReadback_7"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2src = get_il2cpp_object(src,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2callback = get_il2cpp_object(callback,NULL); - icall(i2thiz,i2src,mipIndex,x,width,y,height,z,depth,dstFormat,i2callback,nativeArrayData); -} -void UnityEngine_Rendering_CommandBuffer_SetInvertCulling(MonoObject* thiz, bool invertCulling) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool invertCulling); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetInvertCulling"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,invertCulling); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetSinglePassStereo(MonoObject* thiz, int32_t mode) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t mode); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetSinglePassStereo"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,mode); -} -void * UnityEngine_Rendering_CommandBuffer_InitBuffer_1() -{ - typedef void * (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::InitBuffer"); - void * i2res = icall(); - return i2res; -} -void * UnityEngine_Rendering_CommandBuffer_CreateGPUFence_Internal(MonoObject* thiz, int32_t fenceType, int32_t stage) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz, int32_t fenceType, int32_t stage); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::CreateGPUFence_Internal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - void * i2res = icall(i2thiz,fenceType,stage); - return i2res; -} -void UnityEngine_Rendering_CommandBuffer_WaitOnGPUFence_Internal(MonoObject* thiz, void * fencePtr, int32_t stage) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * fencePtr, int32_t stage); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::WaitOnGPUFence_Internal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,fencePtr,stage); -} -void UnityEngine_Rendering_CommandBuffer_ReleaseBuffer(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::ReleaseBuffer"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz); -} -void UnityEngine_Rendering_CommandBuffer_SetComputeFloatParam(MonoObject* thiz, MonoObject* computeShader, int32_t nameID, float val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* computeShader, int32_t nameID, float val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetComputeFloatParam"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2computeShader = get_il2cpp_object(computeShader,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,i2computeShader,nameID,val); -} -void UnityEngine_Rendering_CommandBuffer_SetComputeIntParam(MonoObject* thiz, MonoObject* computeShader, int32_t nameID, int32_t val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* computeShader, int32_t nameID, int32_t val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetComputeIntParam"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2computeShader = get_il2cpp_object(computeShader,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,i2computeShader,nameID,val); -} -void UnityEngine_Rendering_CommandBuffer_SetComputeVectorArrayParam(MonoObject* thiz, MonoObject* computeShader, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* computeShader, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetComputeVectorArrayParam"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2computeShader = get_il2cpp_object(computeShader,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,i2computeShader,nameID,values); -} -void UnityEngine_Rendering_CommandBuffer_SetComputeMatrixArrayParam(MonoObject* thiz, MonoObject* computeShader, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* computeShader, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetComputeMatrixArrayParam"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2computeShader = get_il2cpp_object(computeShader,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,i2computeShader,nameID,values); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetComputeFloats(MonoObject* thiz, MonoObject* computeShader, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* computeShader, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetComputeFloats"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2computeShader = get_il2cpp_object(computeShader,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,i2computeShader,nameID,values); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetComputeInts(MonoObject* thiz, MonoObject* computeShader, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* computeShader, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetComputeInts"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2computeShader = get_il2cpp_object(computeShader,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,i2computeShader,nameID,values); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetComputeTextureParam(MonoObject* thiz, MonoObject* computeShader, int32_t kernelIndex, int32_t nameID, void * rt, int32_t mipLevel, int32_t element) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* computeShader, int32_t kernelIndex, int32_t nameID, void * rt, int32_t mipLevel, int32_t element); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetComputeTextureParam"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2computeShader = get_il2cpp_object(computeShader,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,i2computeShader,kernelIndex,nameID,rt,mipLevel,element); -} -void UnityEngine_Rendering_CommandBuffer_Internal_DispatchCompute(MonoObject* thiz, MonoObject* computeShader, int32_t kernelIndex, int32_t threadGroupsX, int32_t threadGroupsY, int32_t threadGroupsZ) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* computeShader, int32_t kernelIndex, int32_t threadGroupsX, int32_t threadGroupsY, int32_t threadGroupsZ); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_DispatchCompute"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2computeShader = get_il2cpp_object(computeShader,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,i2computeShader,kernelIndex,threadGroupsX,threadGroupsY,threadGroupsZ); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingTextureParam(MonoObject* thiz, MonoObject* rayTracingShader, int32_t nameID, void * rt) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rayTracingShader, int32_t nameID, void * rt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingTextureParam"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rayTracingShader = get_il2cpp_object(rayTracingShader,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,i2rayTracingShader,nameID,rt); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingFloatParam(MonoObject* thiz, MonoObject* rayTracingShader, int32_t nameID, float val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rayTracingShader, int32_t nameID, float val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingFloatParam"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rayTracingShader = get_il2cpp_object(rayTracingShader,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,i2rayTracingShader,nameID,val); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingIntParam(MonoObject* thiz, MonoObject* rayTracingShader, int32_t nameID, int32_t val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rayTracingShader, int32_t nameID, int32_t val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingIntParam"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rayTracingShader = get_il2cpp_object(rayTracingShader,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,i2rayTracingShader,nameID,val); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingVectorArrayParam(MonoObject* thiz, MonoObject* rayTracingShader, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rayTracingShader, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingVectorArrayParam"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rayTracingShader = get_il2cpp_object(rayTracingShader,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,i2rayTracingShader,nameID,values); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingMatrixArrayParam(MonoObject* thiz, MonoObject* rayTracingShader, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rayTracingShader, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingMatrixArrayParam"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rayTracingShader = get_il2cpp_object(rayTracingShader,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,i2rayTracingShader,nameID,values); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingFloats(MonoObject* thiz, MonoObject* rayTracingShader, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rayTracingShader, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingFloats"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rayTracingShader = get_il2cpp_object(rayTracingShader,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,i2rayTracingShader,nameID,values); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingInts(MonoObject* thiz, MonoObject* rayTracingShader, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rayTracingShader, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingInts"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rayTracingShader = get_il2cpp_object(rayTracingShader,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,i2rayTracingShader,nameID,values); -} -void UnityEngine_Rendering_CommandBuffer_Internal_BuildRayTracingAccelerationStructure(MonoObject* thiz, MonoObject* accelerationStructure) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* accelerationStructure); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_BuildRayTracingAccelerationStructure"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2accelerationStructure = get_il2cpp_object(accelerationStructure,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure()); - icall(i2thiz,i2accelerationStructure); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingAccelerationStructure(MonoObject* thiz, MonoObject* rayTracingShader, int32_t nameID, MonoObject* accelerationStructure) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rayTracingShader, int32_t nameID, Il2CppObject* accelerationStructure); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingAccelerationStructure"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rayTracingShader = get_il2cpp_object(rayTracingShader,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - Il2CppObject* i2accelerationStructure = get_il2cpp_object(accelerationStructure,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure()); - icall(i2thiz,i2rayTracingShader,nameID,i2accelerationStructure); -} -void UnityEngine_Rendering_CommandBuffer_SetRayTracingShaderPass(MonoObject* thiz, MonoObject* rayTracingShader, MonoString* passName) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rayTracingShader, Il2CppString* passName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetRayTracingShaderPass"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rayTracingShader = get_il2cpp_object(rayTracingShader,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - Il2CppString* i2passName = get_il2cpp_string(passName); - icall(i2thiz,i2rayTracingShader,i2passName); -} -void UnityEngine_Rendering_CommandBuffer_Internal_DispatchRays(MonoObject* thiz, MonoObject* rayTracingShader, MonoString* rayGenShaderName, uint32_t width, uint32_t height, uint32_t depth, MonoObject* camera) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rayTracingShader, Il2CppString* rayGenShaderName, uint32_t width, uint32_t height, uint32_t depth, Il2CppObject* camera); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_DispatchRays"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rayTracingShader = get_il2cpp_object(rayTracingShader,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - Il2CppString* i2rayGenShaderName = get_il2cpp_string(rayGenShaderName); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,i2rayTracingShader,i2rayGenShaderName,width,height,depth,i2camera); -} -void UnityEngine_Rendering_CommandBuffer_Internal_GenerateMips(MonoObject* thiz, MonoObject* rt) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_GenerateMips"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rt = get_il2cpp_object(rt,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,i2rt); -} -void UnityEngine_Rendering_CommandBuffer_Internal_ResolveAntiAliasedSurface(MonoObject* thiz, MonoObject* rt, MonoObject* target) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rt, Il2CppObject* target); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_ResolveAntiAliasedSurface"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rt = get_il2cpp_object(rt,il2cpp_get_class_UnityEngine_RenderTexture()); - Il2CppObject* i2target = get_il2cpp_object(target,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(i2thiz,i2rt,i2target); -} -MonoString* UnityEngine_Rendering_CommandBuffer_get_name(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::get_name"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_Rendering_CommandBuffer_set_name(MonoObject* thiz, MonoString* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::set_name"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2thiz,i2value); -} -int32_t UnityEngine_Rendering_CommandBuffer_get_sizeInBytes(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::get_sizeInBytes"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Rendering_CommandBuffer_Clear_3(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Clear"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz); -} -void UnityEngine_Rendering_CommandBuffer_Internal_DrawRenderer(MonoObject* thiz, MonoObject* renderer, MonoObject* material, int32_t submeshIndex, int32_t shaderPass) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* renderer, Il2CppObject* material, int32_t submeshIndex, int32_t shaderPass); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_DrawRenderer"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2renderer = get_il2cpp_object(renderer,il2cpp_get_class_UnityEngine_Renderer()); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,i2renderer,i2material,submeshIndex,shaderPass); -} -void UnityEngine_Rendering_CommandBuffer_Internal_DrawMeshInstanced_1(MonoObject* thiz, MonoObject* mesh, int32_t submeshIndex, MonoObject* material, int32_t shaderPass, void* matrices, int32_t count, MonoObject* properties) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* mesh, int32_t submeshIndex, Il2CppObject* material, int32_t shaderPass, void* matrices, int32_t count, Il2CppObject* properties); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_DrawMeshInstanced"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,i2mesh,submeshIndex,i2material,shaderPass,matrices,count,i2properties); -} -void UnityEngine_Rendering_CommandBuffer_Internal_DrawMeshInstancedProcedural(MonoObject* thiz, MonoObject* mesh, int32_t submeshIndex, MonoObject* material, int32_t shaderPass, int32_t count, MonoObject* properties) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* mesh, int32_t submeshIndex, Il2CppObject* material, int32_t shaderPass, int32_t count, Il2CppObject* properties); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_DrawMeshInstancedProcedural"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,i2mesh,submeshIndex,i2material,shaderPass,count,i2properties); -} -void UnityEngine_Rendering_CommandBuffer_SetRandomWriteTarget_Texture(MonoObject* thiz, int32_t index, void * rt) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index, void * rt); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetRandomWriteTarget_Texture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,index,rt); -} -void UnityEngine_Rendering_CommandBuffer_ClearRandomWriteTargets_1(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::ClearRandomWriteTargets"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz); -} -void UnityEngine_Rendering_CommandBuffer_DisableScissorRect(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::DisableScissorRect"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz); -} -void UnityEngine_Rendering_CommandBuffer_CopyTexture_Internal(MonoObject* thiz, void * src, int32_t srcElement, int32_t srcMip, int32_t srcX, int32_t srcY, int32_t srcWidth, int32_t srcHeight, void * dst, int32_t dstElement, int32_t dstMip, int32_t dstX, int32_t dstY, int32_t mode) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * src, int32_t srcElement, int32_t srcMip, int32_t srcX, int32_t srcY, int32_t srcWidth, int32_t srcHeight, void * dst, int32_t dstElement, int32_t dstMip, int32_t dstX, int32_t dstY, int32_t mode); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::CopyTexture_Internal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,src,srcElement,srcMip,srcX,srcY,srcWidth,srcHeight,dst,dstElement,dstMip,dstX,dstY,mode); -} -void UnityEngine_Rendering_CommandBuffer_GetTemporaryRT(MonoObject* thiz, int32_t nameID, int32_t width, int32_t height, int32_t depthBuffer, int32_t filter, int32_t format, int32_t antiAliasing, bool enableRandomWrite, int32_t memorylessMode, bool useDynamicScale) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, int32_t width, int32_t height, int32_t depthBuffer, int32_t filter, int32_t format, int32_t antiAliasing, bool enableRandomWrite, int32_t memorylessMode, bool useDynamicScale); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::GetTemporaryRT"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID,width,height,depthBuffer,filter,format,antiAliasing,enableRandomWrite,memorylessMode,useDynamicScale); -} -void UnityEngine_Rendering_CommandBuffer_GetTemporaryRTArray(MonoObject* thiz, int32_t nameID, int32_t width, int32_t height, int32_t slices, int32_t depthBuffer, int32_t filter, int32_t format, int32_t antiAliasing, bool enableRandomWrite, bool useDynamicScale) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, int32_t width, int32_t height, int32_t slices, int32_t depthBuffer, int32_t filter, int32_t format, int32_t antiAliasing, bool enableRandomWrite, bool useDynamicScale); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::GetTemporaryRTArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID,width,height,slices,depthBuffer,filter,format,antiAliasing,enableRandomWrite,useDynamicScale); -} -void UnityEngine_Rendering_CommandBuffer_ReleaseTemporaryRT(MonoObject* thiz, int32_t nameID) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::ReleaseTemporaryRT"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID); -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalFloat(MonoObject* thiz, int32_t nameID, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalFloat"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID,value); -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalInt(MonoObject* thiz, int32_t nameID, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalInt"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID,value); -} -void UnityEngine_Rendering_CommandBuffer_EnableShaderKeyword(MonoObject* thiz, MonoString* keyword) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* keyword); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::EnableShaderKeyword"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppString* i2keyword = get_il2cpp_string(keyword); - icall(i2thiz,i2keyword); -} -void UnityEngine_Rendering_CommandBuffer_DisableShaderKeyword(MonoObject* thiz, MonoString* keyword) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* keyword); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::DisableShaderKeyword"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppString* i2keyword = get_il2cpp_string(keyword); - icall(i2thiz,i2keyword); -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalDepthBias(MonoObject* thiz, float bias, float slopeBias) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float bias, float slopeBias); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalDepthBias"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,bias,slopeBias); -} -void UnityEngine_Rendering_CommandBuffer_SetExecutionFlags(MonoObject* thiz, int32_t flags) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t flags); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetExecutionFlags"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,flags); -} -bool UnityEngine_Rendering_CommandBuffer_ValidateAgainstExecutionFlags(MonoObject* thiz, int32_t requiredFlags, int32_t invalidFlags) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t requiredFlags, int32_t invalidFlags); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::ValidateAgainstExecutionFlags"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - bool i2res = icall(i2thiz,requiredFlags,invalidFlags); - return i2res; -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalFloatArrayListImpl(MonoObject* thiz, int32_t nameID, MonoObject* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, Il2CppObject* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalFloatArrayListImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2values = get_il2cpp_object(values,NULL); - icall(i2thiz,nameID,i2values); -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalVectorArrayListImpl(MonoObject* thiz, int32_t nameID, MonoObject* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, Il2CppObject* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalVectorArrayListImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2values = get_il2cpp_object(values,NULL); - icall(i2thiz,nameID,i2values); -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalMatrixArrayListImpl(MonoObject* thiz, int32_t nameID, MonoObject* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, Il2CppObject* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalMatrixArrayListImpl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2values = get_il2cpp_object(values,NULL); - icall(i2thiz,nameID,i2values); -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalFloatArray(MonoObject* thiz, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalFloatArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID,values); -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalVectorArray(MonoObject* thiz, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalVectorArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID,values); -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalMatrixArray(MonoObject* thiz, int32_t nameID, void* values) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void* values); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalMatrixArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID,values); -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalTexture_Impl(MonoObject* thiz, int32_t nameID, void * rt, int32_t element) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void * rt, int32_t element); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalTexture_Impl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID,rt,element); -} -void UnityEngine_Rendering_CommandBuffer_SetShadowSamplingMode_Impl(MonoObject* thiz, void * shadowmap, int32_t mode) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * shadowmap, int32_t mode); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetShadowSamplingMode_Impl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,shadowmap,mode); -} -void UnityEngine_Rendering_CommandBuffer_IssuePluginEventInternal(MonoObject* thiz, void * callback, int32_t eventID) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * callback, int32_t eventID); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::IssuePluginEventInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,callback,eventID); -} -void UnityEngine_Rendering_CommandBuffer_BeginSample(MonoObject* thiz, MonoString* name) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::BeginSample"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppString* i2name = get_il2cpp_string(name); - icall(i2thiz,i2name); -} -void UnityEngine_Rendering_CommandBuffer_EndSample_1(MonoObject* thiz, MonoString* name) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::EndSample"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppString* i2name = get_il2cpp_string(name); - icall(i2thiz,i2name); -} -void UnityEngine_Rendering_CommandBuffer_IssuePluginEventAndDataInternal(MonoObject* thiz, void * callback, int32_t eventID, void * data) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * callback, int32_t eventID, void * data); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::IssuePluginEventAndDataInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,callback,eventID,data); -} -void UnityEngine_Rendering_CommandBuffer_IssuePluginCustomBlitInternal(MonoObject* thiz, void * callback, uint32_t command, void * source, void * dest, uint32_t commandParam, uint32_t commandFlags) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * callback, uint32_t command, void * source, void * dest, uint32_t commandParam, uint32_t commandFlags); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::IssuePluginCustomBlitInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,callback,command,source,dest,commandParam,commandFlags); -} -void UnityEngine_Rendering_CommandBuffer_IssuePluginCustomTextureUpdateInternal(MonoObject* thiz, void * callback, MonoObject* targetTexture, uint32_t userData, bool useNewUnityRenderingExtTextureUpdateParamsV2) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * callback, Il2CppObject* targetTexture, uint32_t userData, bool useNewUnityRenderingExtTextureUpdateParamsV2); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::IssuePluginCustomTextureUpdateInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2targetTexture = get_il2cpp_object(targetTexture,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,callback,i2targetTexture,userData,useNewUnityRenderingExtTextureUpdateParamsV2); -} -void UnityEngine_Rendering_CommandBuffer_SetInstanceMultiplier(MonoObject* thiz, uint32_t multiplier) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, uint32_t multiplier); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetInstanceMultiplier"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,multiplier); -} -void UnityEngine_Rendering_CommandBuffer_ConvertTexture_Internal_Injected(MonoObject* thiz, void * src, int32_t srcElement, void * dst, int32_t dstElement) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * src, int32_t srcElement, void * dst, int32_t dstElement); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::ConvertTexture_Internal_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,src,srcElement,dst,dstElement); -} -void UnityEngine_Rendering_CommandBuffer_SetComputeVectorParam_Injected(MonoObject* thiz, MonoObject* computeShader, int32_t nameID, void * val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* computeShader, int32_t nameID, void * val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetComputeVectorParam_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2computeShader = get_il2cpp_object(computeShader,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,i2computeShader,nameID,val); -} -void UnityEngine_Rendering_CommandBuffer_SetComputeMatrixParam_Injected(MonoObject* thiz, MonoObject* computeShader, int32_t nameID, void * val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* computeShader, int32_t nameID, void * val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetComputeMatrixParam_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2computeShader = get_il2cpp_object(computeShader,il2cpp_get_class_UnityEngine_ComputeShader()); - icall(i2thiz,i2computeShader,nameID,val); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingVectorParam_Injected(MonoObject* thiz, MonoObject* rayTracingShader, int32_t nameID, void * val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rayTracingShader, int32_t nameID, void * val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingVectorParam_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rayTracingShader = get_il2cpp_object(rayTracingShader,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,i2rayTracingShader,nameID,val); -} -void UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingMatrixParam_Injected(MonoObject* thiz, MonoObject* rayTracingShader, int32_t nameID, void * val) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* rayTracingShader, int32_t nameID, void * val); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingMatrixParam_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2rayTracingShader = get_il2cpp_object(rayTracingShader,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,i2rayTracingShader,nameID,val); -} -void UnityEngine_Rendering_CommandBuffer_Internal_DrawMesh_Injected_1(MonoObject* thiz, MonoObject* mesh, void * matrix, MonoObject* material, int32_t submeshIndex, int32_t shaderPass, MonoObject* properties) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* mesh, void * matrix, Il2CppObject* material, int32_t submeshIndex, int32_t shaderPass, Il2CppObject* properties); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_DrawMesh_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,i2mesh,matrix,i2material,submeshIndex,shaderPass,i2properties); -} -void UnityEngine_Rendering_CommandBuffer_Internal_DrawProcedural_Injected_1(MonoObject* thiz, void * matrix, MonoObject* material, int32_t shaderPass, int32_t topology, int32_t vertexCount, int32_t instanceCount, MonoObject* properties) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * matrix, Il2CppObject* material, int32_t shaderPass, int32_t topology, int32_t vertexCount, int32_t instanceCount, Il2CppObject* properties); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_DrawProcedural_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,matrix,i2material,shaderPass,topology,vertexCount,instanceCount,i2properties); -} -void UnityEngine_Rendering_CommandBuffer_Internal_DrawProceduralIndexed_Injected_1(MonoObject* thiz, MonoObject* indexBuffer, void * matrix, MonoObject* material, int32_t shaderPass, int32_t topology, int32_t indexCount, int32_t instanceCount, MonoObject* properties) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* indexBuffer, void * matrix, Il2CppObject* material, int32_t shaderPass, int32_t topology, int32_t indexCount, int32_t instanceCount, Il2CppObject* properties); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_DrawProceduralIndexed_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2indexBuffer = get_il2cpp_object(indexBuffer,il2cpp_get_class_UnityEngine_GraphicsBuffer()); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2properties = get_il2cpp_object(properties,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,i2indexBuffer,matrix,i2material,shaderPass,topology,indexCount,instanceCount,i2properties); -} -void UnityEngine_Rendering_CommandBuffer_Internal_DrawOcclusionMesh_Injected(MonoObject* thiz, void * normalizedCamViewport) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * normalizedCamViewport); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Internal_DrawOcclusionMesh_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,normalizedCamViewport); -} -void UnityEngine_Rendering_CommandBuffer_SetViewport_Injected(MonoObject* thiz, void * pixelRect) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * pixelRect); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetViewport_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,pixelRect); -} -void UnityEngine_Rendering_CommandBuffer_EnableScissorRect_Injected(MonoObject* thiz, void * scissor) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * scissor); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::EnableScissorRect_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,scissor); -} -void UnityEngine_Rendering_CommandBuffer_Blit_Texture_Injected(MonoObject* thiz, MonoObject* source, void * dest, MonoObject* mat, int32_t pass, void * scale, void * offset, int32_t sourceDepthSlice, int32_t destDepthSlice) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* source, void * dest, Il2CppObject* mat, int32_t pass, void * scale, void * offset, int32_t sourceDepthSlice, int32_t destDepthSlice); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Blit_Texture_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2source = get_il2cpp_object(source,il2cpp_get_class_UnityEngine_Texture()); - Il2CppObject* i2mat = get_il2cpp_object(mat,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,i2source,dest,i2mat,pass,scale,offset,sourceDepthSlice,destDepthSlice); -} -void UnityEngine_Rendering_CommandBuffer_Blit_Identifier_Injected(MonoObject* thiz, void * source, void * dest, MonoObject* mat, int32_t pass, void * scale, void * offset, int32_t sourceDepthSlice, int32_t destDepthSlice) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * source, void * dest, Il2CppObject* mat, int32_t pass, void * scale, void * offset, int32_t sourceDepthSlice, int32_t destDepthSlice); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::Blit_Identifier_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - Il2CppObject* i2mat = get_il2cpp_object(mat,il2cpp_get_class_UnityEngine_Material()); - icall(i2thiz,source,dest,i2mat,pass,scale,offset,sourceDepthSlice,destDepthSlice); -} -void UnityEngine_Rendering_CommandBuffer_GetTemporaryRTWithDescriptor_Injected(MonoObject* thiz, int32_t nameID, void * desc, int32_t filter) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void * desc, int32_t filter); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::GetTemporaryRTWithDescriptor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID,desc,filter); -} -void UnityEngine_Rendering_CommandBuffer_ClearRenderTarget_Injected(MonoObject* thiz, bool clearDepth, bool clearColor, void * backgroundColor, float depth) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool clearDepth, bool clearColor, void * backgroundColor, float depth); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::ClearRenderTarget_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,clearDepth,clearColor,backgroundColor,depth); -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalVector_Injected(MonoObject* thiz, int32_t nameID, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalVector_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID,value); -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalColor_Injected(MonoObject* thiz, int32_t nameID, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID,value); -} -void UnityEngine_Rendering_CommandBuffer_SetGlobalMatrix_Injected(MonoObject* thiz, int32_t nameID, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetGlobalMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,nameID,value); -} -void UnityEngine_Rendering_CommandBuffer_SetViewMatrix_Injected_1(MonoObject* thiz, void * view) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * view); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetViewMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,view); -} -void UnityEngine_Rendering_CommandBuffer_SetProjectionMatrix_Injected(MonoObject* thiz, void * proj) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * proj); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetProjectionMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,proj); -} -void UnityEngine_Rendering_CommandBuffer_SetViewProjectionMatrices_Injected(MonoObject* thiz, void * view, void * proj) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * view, void * proj); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetViewProjectionMatrices_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,view,proj); -} -void UnityEngine_Rendering_CommandBuffer_IncrementUpdateCount_Injected(MonoObject* thiz, void * dest) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * dest); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::IncrementUpdateCount_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,dest); -} -void UnityEngine_Rendering_CommandBuffer_SetRenderTargetSingle_Internal_Injected(MonoObject* thiz, void * rt, int32_t colorLoadAction, int32_t colorStoreAction, int32_t depthLoadAction, int32_t depthStoreAction) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * rt, int32_t colorLoadAction, int32_t colorStoreAction, int32_t depthLoadAction, int32_t depthStoreAction); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetRenderTargetSingle_Internal_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,rt,colorLoadAction,colorStoreAction,depthLoadAction,depthStoreAction); -} -void UnityEngine_Rendering_CommandBuffer_SetRenderTargetColorDepth_Internal_Injected(MonoObject* thiz, void * color, void * depth, int32_t colorLoadAction, int32_t colorStoreAction, int32_t depthLoadAction, int32_t depthStoreAction) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * color, void * depth, int32_t colorLoadAction, int32_t colorStoreAction, int32_t depthLoadAction, int32_t depthStoreAction); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetRenderTargetColorDepth_Internal_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,color,depth,colorLoadAction,colorStoreAction,depthLoadAction,depthStoreAction); -} -void UnityEngine_Rendering_CommandBuffer_SetRenderTargetMulti_Internal_Injected(MonoObject* thiz, void* colors, void * depth, int32_t colorLoadActions, int32_t colorStoreActions, int32_t depthLoadAction, int32_t depthStoreAction) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* colors, void * depth, int32_t colorLoadActions, int32_t colorStoreActions, int32_t depthLoadAction, int32_t depthStoreAction); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetRenderTargetMulti_Internal_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,colors,depth,colorLoadActions,colorStoreActions,depthLoadAction,depthStoreAction); -} -void UnityEngine_Rendering_CommandBuffer_SetRenderTargetColorDepthSubtarget_Injected(MonoObject* thiz, void * color, void * depth, int32_t colorLoadAction, int32_t colorStoreAction, int32_t depthLoadAction, int32_t depthStoreAction, int32_t mipLevel, int32_t cubemapFace, int32_t depthSlice) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * color, void * depth, int32_t colorLoadAction, int32_t colorStoreAction, int32_t depthLoadAction, int32_t depthStoreAction, int32_t mipLevel, int32_t cubemapFace, int32_t depthSlice); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetRenderTargetColorDepthSubtarget_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,color,depth,colorLoadAction,colorStoreAction,depthLoadAction,depthStoreAction,mipLevel,cubemapFace,depthSlice); -} -void UnityEngine_Rendering_CommandBuffer_SetRenderTargetMultiSubtarget_Injected(MonoObject* thiz, void* colors, void * depth, int32_t colorLoadActions, int32_t colorStoreActions, int32_t depthLoadAction, int32_t depthStoreAction, int32_t mipLevel, int32_t cubemapFace, int32_t depthSlice) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void* colors, void * depth, int32_t colorLoadActions, int32_t colorStoreActions, int32_t depthLoadAction, int32_t depthStoreAction, int32_t mipLevel, int32_t cubemapFace, int32_t depthSlice); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CommandBuffer::SetRenderTargetMultiSubtarget_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(i2thiz,colors,depth,colorLoadActions,colorStoreActions,depthLoadAction,depthStoreAction,mipLevel,cubemapFace,depthSlice); -} -bool UnityEngine_Rendering_SplashScreen_get_isFinished() -{ - typedef bool (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SplashScreen::get_isFinished"); - bool i2res = icall(); - return i2res; -} -void UnityEngine_Rendering_SplashScreen_CancelSplashScreen() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SplashScreen::CancelSplashScreen"); - icall(); -} -void UnityEngine_Rendering_SplashScreen_BeginSplashScreenFade() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SplashScreen::BeginSplashScreenFade"); - icall(); -} -void UnityEngine_Rendering_SplashScreen_Begin_2() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SplashScreen::Begin"); - icall(); -} -void UnityEngine_Rendering_SplashScreen_Draw() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SplashScreen::Draw"); - icall(); -} -void UnityEngine_Rendering_SplashScreen_SetTime(float time) -{ - typedef void (* ICallMethod) (float time); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SplashScreen::SetTime"); - icall(time); -} -void UnityEngine_Rendering_SphericalHarmonicsL2_EvaluateInternal(void * sh, void* directions, void* results) -{ - typedef void (* ICallMethod) (void * sh, void* directions, void* results); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SphericalHarmonicsL2::EvaluateInternal"); - icall(sh,directions,results); -} -void UnityEngine_Rendering_SphericalHarmonicsL2_SetZero_Injected(void * _unity_self) -{ - typedef void (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SphericalHarmonicsL2::SetZero_Injected"); - icall(_unity_self); -} -void UnityEngine_Rendering_SphericalHarmonicsL2_AddAmbientLight_Injected(void * _unity_self, void * color) -{ - typedef void (* ICallMethod) (void * _unity_self, void * color); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SphericalHarmonicsL2::AddAmbientLight_Injected"); - icall(_unity_self,color); -} -void UnityEngine_Rendering_SphericalHarmonicsL2_AddDirectionalLightInternal_Injected(void * sh, void * direction, void * color) -{ - typedef void (* ICallMethod) (void * sh, void * direction, void * color); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SphericalHarmonicsL2::AddDirectionalLightInternal_Injected"); - icall(sh,direction,color); -} -int32_t UnityEngine_Rendering_CullingResults_GetLightIndexCount(void * cullingResultsPtr) -{ - typedef int32_t (* ICallMethod) (void * cullingResultsPtr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CullingResults::GetLightIndexCount"); - int32_t i2res = icall(cullingResultsPtr); - return i2res; -} -int32_t UnityEngine_Rendering_CullingResults_GetReflectionProbeIndexCount(void * cullingResultsPtr) -{ - typedef int32_t (* ICallMethod) (void * cullingResultsPtr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CullingResults::GetReflectionProbeIndexCount"); - int32_t i2res = icall(cullingResultsPtr); - return i2res; -} -int32_t UnityEngine_Rendering_CullingResults_GetLightIndexMapSize(void * cullingResultsPtr) -{ - typedef int32_t (* ICallMethod) (void * cullingResultsPtr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CullingResults::GetLightIndexMapSize"); - int32_t i2res = icall(cullingResultsPtr); - return i2res; -} -int32_t UnityEngine_Rendering_CullingResults_GetReflectionProbeIndexMapSize(void * cullingResultsPtr) -{ - typedef int32_t (* ICallMethod) (void * cullingResultsPtr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CullingResults::GetReflectionProbeIndexMapSize"); - int32_t i2res = icall(cullingResultsPtr); - return i2res; -} -void UnityEngine_Rendering_CullingResults_FillLightIndexMap(void * cullingResultsPtr, void * indexMapPtr, int32_t indexMapSize) -{ - typedef void (* ICallMethod) (void * cullingResultsPtr, void * indexMapPtr, int32_t indexMapSize); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CullingResults::FillLightIndexMap"); - icall(cullingResultsPtr,indexMapPtr,indexMapSize); -} -void UnityEngine_Rendering_CullingResults_FillReflectionProbeIndexMap(void * cullingResultsPtr, void * indexMapPtr, int32_t indexMapSize) -{ - typedef void (* ICallMethod) (void * cullingResultsPtr, void * indexMapPtr, int32_t indexMapSize); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CullingResults::FillReflectionProbeIndexMap"); - icall(cullingResultsPtr,indexMapPtr,indexMapSize); -} -void UnityEngine_Rendering_CullingResults_SetLightIndexMap(void * cullingResultsPtr, void * indexMapPtr, int32_t indexMapSize) -{ - typedef void (* ICallMethod) (void * cullingResultsPtr, void * indexMapPtr, int32_t indexMapSize); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CullingResults::SetLightIndexMap"); - icall(cullingResultsPtr,indexMapPtr,indexMapSize); -} -void UnityEngine_Rendering_CullingResults_SetReflectionProbeIndexMap(void * cullingResultsPtr, void * indexMapPtr, int32_t indexMapSize) -{ - typedef void (* ICallMethod) (void * cullingResultsPtr, void * indexMapPtr, int32_t indexMapSize); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CullingResults::SetReflectionProbeIndexMap"); - icall(cullingResultsPtr,indexMapPtr,indexMapSize); -} -bool UnityEngine_Rendering_CullingResults_GetShadowCasterBounds(void * cullingResultsPtr, int32_t lightIndex, void * bounds) -{ - typedef bool (* ICallMethod) (void * cullingResultsPtr, int32_t lightIndex, void * bounds); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CullingResults::GetShadowCasterBounds"); - bool i2res = icall(cullingResultsPtr,lightIndex,bounds); - return i2res; -} -bool UnityEngine_Rendering_CullingResults_ComputeSpotShadowMatricesAndCullingPrimitives(void * cullingResultsPtr, int32_t activeLightIndex, void * viewMatrix, void * projMatrix, void * shadowSplitData) -{ - typedef bool (* ICallMethod) (void * cullingResultsPtr, int32_t activeLightIndex, void * viewMatrix, void * projMatrix, void * shadowSplitData); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CullingResults::ComputeSpotShadowMatricesAndCullingPrimitives"); - bool i2res = icall(cullingResultsPtr,activeLightIndex,viewMatrix,projMatrix,shadowSplitData); - return i2res; -} -bool UnityEngine_Rendering_CullingResults_ComputePointShadowMatricesAndCullingPrimitives(void * cullingResultsPtr, int32_t activeLightIndex, int32_t cubemapFace, float fovBias, void * viewMatrix, void * projMatrix, void * shadowSplitData) -{ - typedef bool (* ICallMethod) (void * cullingResultsPtr, int32_t activeLightIndex, int32_t cubemapFace, float fovBias, void * viewMatrix, void * projMatrix, void * shadowSplitData); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CullingResults::ComputePointShadowMatricesAndCullingPrimitives"); - bool i2res = icall(cullingResultsPtr,activeLightIndex,cubemapFace,fovBias,viewMatrix,projMatrix,shadowSplitData); - return i2res; -} -bool UnityEngine_Rendering_CullingResults_ComputeDirectionalShadowMatricesAndCullingPrimitives_Injected(void * cullingResultsPtr, int32_t activeLightIndex, int32_t splitIndex, int32_t splitCount, void * splitRatio, int32_t shadowResolution, float shadowNearPlaneOffset, void * viewMatrix, void * projMatrix, void * shadowSplitData) -{ - typedef bool (* ICallMethod) (void * cullingResultsPtr, int32_t activeLightIndex, int32_t splitIndex, int32_t splitCount, void * splitRatio, int32_t shadowResolution, float shadowNearPlaneOffset, void * viewMatrix, void * projMatrix, void * shadowSplitData); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.CullingResults::ComputeDirectionalShadowMatricesAndCullingPrimitives_Injected"); - bool i2res = icall(cullingResultsPtr,activeLightIndex,splitIndex,splitCount,splitRatio,shadowResolution,shadowNearPlaneOffset,viewMatrix,projMatrix,shadowSplitData); - return i2res; -} -void UnityEngine_Rendering_ScriptableRenderContext_BeginRenderPass_Internal(void * self, int32_t width, int32_t height, int32_t samples, void * colors, int32_t colorCount, int32_t depthAttachmentIndex) -{ - typedef void (* ICallMethod) (void * self, int32_t width, int32_t height, int32_t samples, void * colors, int32_t colorCount, int32_t depthAttachmentIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::BeginRenderPass_Internal"); - icall(self,width,height,samples,colors,colorCount,depthAttachmentIndex); -} -void UnityEngine_Rendering_ScriptableRenderContext_BeginSubPass_Internal(void * self, void * colors, int32_t colorCount, void * inputs, int32_t inputCount, bool isDepthReadOnly) -{ - typedef void (* ICallMethod) (void * self, void * colors, int32_t colorCount, void * inputs, int32_t inputCount, bool isDepthReadOnly); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::BeginSubPass_Internal"); - icall(self,colors,colorCount,inputs,inputCount,isDepthReadOnly); -} -void UnityEngine_Rendering_ScriptableRenderContext_EndSubPass_Internal(void * self) -{ - typedef void (* ICallMethod) (void * self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::EndSubPass_Internal"); - icall(self); -} -void UnityEngine_Rendering_ScriptableRenderContext_EndRenderPass_Internal(void * self) -{ - typedef void (* ICallMethod) (void * self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::EndRenderPass_Internal"); - icall(self); -} -void UnityEngine_Rendering_ScriptableRenderContext_InitializeSortSettings(MonoObject* camera, void * sortingSettings) -{ - typedef void (* ICallMethod) (Il2CppObject* camera, void * sortingSettings); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::InitializeSortSettings"); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(i2camera,sortingSettings); -} -void UnityEngine_Rendering_ScriptableRenderContext_Internal_Cull_Injected(void * parameters, void * renderLoop, void * results) -{ - typedef void (* ICallMethod) (void * parameters, void * renderLoop, void * results); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::Internal_Cull_Injected"); - icall(parameters,renderLoop,results); -} -void UnityEngine_Rendering_ScriptableRenderContext_Submit_Internal_Injected(void * _unity_self) -{ - typedef void (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::Submit_Internal_Injected"); - icall(_unity_self); -} -int32_t UnityEngine_Rendering_ScriptableRenderContext_GetNumberOfCameras_Internal_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::GetNumberOfCameras_Internal_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -MonoObject* UnityEngine_Rendering_ScriptableRenderContext_GetCamera_Internal_Injected(void * _unity_self, int32_t index) -{ - typedef Il2CppObject* (* ICallMethod) (void * _unity_self, int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::GetCamera_Internal_Injected"); - Il2CppObject* i2res = icall(_unity_self,index); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Camera()); - return monoi2res; -} -void UnityEngine_Rendering_ScriptableRenderContext_DrawRenderers_Internal_Injected(void * _unity_self, void * cullResults, void * drawingSettings, void * filteringSettings, void * renderTypes, void * stateBlocks, int32_t stateCount) -{ - typedef void (* ICallMethod) (void * _unity_self, void * cullResults, void * drawingSettings, void * filteringSettings, void * renderTypes, void * stateBlocks, int32_t stateCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::DrawRenderers_Internal_Injected"); - icall(_unity_self,cullResults,drawingSettings,filteringSettings,renderTypes,stateBlocks,stateCount); -} -void UnityEngine_Rendering_ScriptableRenderContext_DrawShadows_Internal_Injected(void * _unity_self, void * shadowDrawingSettings) -{ - typedef void (* ICallMethod) (void * _unity_self, void * shadowDrawingSettings); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::DrawShadows_Internal_Injected"); - icall(_unity_self,shadowDrawingSettings); -} -void UnityEngine_Rendering_ScriptableRenderContext_ExecuteCommandBuffer_Internal_Injected(void * _unity_self, MonoObject* commandBuffer) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* commandBuffer); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::ExecuteCommandBuffer_Internal_Injected"); - Il2CppObject* i2commandBuffer = get_il2cpp_object(commandBuffer,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(_unity_self,i2commandBuffer); -} -void UnityEngine_Rendering_ScriptableRenderContext_ExecuteCommandBufferAsync_Internal_Injected(void * _unity_self, MonoObject* commandBuffer, int32_t queueType) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* commandBuffer, int32_t queueType); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::ExecuteCommandBufferAsync_Internal_Injected"); - Il2CppObject* i2commandBuffer = get_il2cpp_object(commandBuffer,il2cpp_get_class_UnityEngine_Rendering_CommandBuffer()); - icall(_unity_self,i2commandBuffer,queueType); -} -void UnityEngine_Rendering_ScriptableRenderContext_SetupCameraProperties_Internal_Injected(void * _unity_self, MonoObject* camera, bool stereoSetup, int32_t eye) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* camera, bool stereoSetup, int32_t eye); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::SetupCameraProperties_Internal_Injected"); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(_unity_self,i2camera,stereoSetup,eye); -} -void UnityEngine_Rendering_ScriptableRenderContext_StereoEndRender_Internal_Injected(void * _unity_self, MonoObject* camera, int32_t eye, bool isFinalPass) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* camera, int32_t eye, bool isFinalPass); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::StereoEndRender_Internal_Injected"); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(_unity_self,i2camera,eye,isFinalPass); -} -void UnityEngine_Rendering_ScriptableRenderContext_StartMultiEye_Internal_Injected(void * _unity_self, MonoObject* camera, int32_t eye) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* camera, int32_t eye); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::StartMultiEye_Internal_Injected"); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(_unity_self,i2camera,eye); -} -void UnityEngine_Rendering_ScriptableRenderContext_StopMultiEye_Internal_Injected(void * _unity_self, MonoObject* camera) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* camera); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::StopMultiEye_Internal_Injected"); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(_unity_self,i2camera); -} -void UnityEngine_Rendering_ScriptableRenderContext_DrawSkybox_Internal_Injected(void * _unity_self, MonoObject* camera) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* camera); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::DrawSkybox_Internal_Injected"); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(_unity_self,i2camera); -} -void UnityEngine_Rendering_ScriptableRenderContext_InvokeOnRenderObjectCallback_Internal_Injected(void * _unity_self) -{ - typedef void (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::InvokeOnRenderObjectCallback_Internal_Injected"); - icall(_unity_self); -} -void UnityEngine_Rendering_ScriptableRenderContext_DrawGizmos_Internal_Injected(void * _unity_self, MonoObject* camera, int32_t gizmoSubset) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* camera, int32_t gizmoSubset); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::DrawGizmos_Internal_Injected"); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(_unity_self,i2camera,gizmoSubset); -} -void UnityEngine_Rendering_BatchRendererGroup_SetInstancingData(MonoObject* thiz, int32_t batchIndex, int32_t instanceCount, MonoObject* customProps) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t batchIndex, int32_t instanceCount, Il2CppObject* customProps); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::SetInstancingData"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - Il2CppObject* i2customProps = get_il2cpp_object(customProps,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - icall(i2thiz,batchIndex,instanceCount,i2customProps); -} -int32_t UnityEngine_Rendering_BatchRendererGroup_GetNumBatches(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::GetNumBatches"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Rendering_BatchRendererGroup_RemoveBatch(MonoObject* thiz, int32_t index) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::RemoveBatch"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - icall(i2thiz,index); -} -void * UnityEngine_Rendering_BatchRendererGroup_GetBatchMatrices(MonoObject* thiz, int32_t batchIndex, void * matrixCount) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz, int32_t batchIndex, void * matrixCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::GetBatchMatrices"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - void * i2res = icall(i2thiz,batchIndex,matrixCount); - return i2res; -} -void * UnityEngine_Rendering_BatchRendererGroup_GetBatchScalarArray(MonoObject* thiz, int32_t batchIndex, MonoString* propertyName, void * elementCount) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz, int32_t batchIndex, Il2CppString* propertyName, void * elementCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::GetBatchScalarArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - Il2CppString* i2propertyName = get_il2cpp_string(propertyName); - void * i2res = icall(i2thiz,batchIndex,i2propertyName,elementCount); - return i2res; -} -void * UnityEngine_Rendering_BatchRendererGroup_GetBatchVectorArray(MonoObject* thiz, int32_t batchIndex, MonoString* propertyName, void * elementCount) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz, int32_t batchIndex, Il2CppString* propertyName, void * elementCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::GetBatchVectorArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - Il2CppString* i2propertyName = get_il2cpp_string(propertyName); - void * i2res = icall(i2thiz,batchIndex,i2propertyName,elementCount); - return i2res; -} -void * UnityEngine_Rendering_BatchRendererGroup_GetBatchMatrixArray(MonoObject* thiz, int32_t batchIndex, MonoString* propertyName, void * elementCount) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz, int32_t batchIndex, Il2CppString* propertyName, void * elementCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::GetBatchMatrixArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - Il2CppString* i2propertyName = get_il2cpp_string(propertyName); - void * i2res = icall(i2thiz,batchIndex,i2propertyName,elementCount); - return i2res; -} -void * UnityEngine_Rendering_BatchRendererGroup_GetBatchScalarArray_Int(MonoObject* thiz, int32_t batchIndex, int32_t propertyName, void * elementCount) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz, int32_t batchIndex, int32_t propertyName, void * elementCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::GetBatchScalarArray_Int"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - void * i2res = icall(i2thiz,batchIndex,propertyName,elementCount); - return i2res; -} -void * UnityEngine_Rendering_BatchRendererGroup_GetBatchVectorArray_Int(MonoObject* thiz, int32_t batchIndex, int32_t propertyName, void * elementCount) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz, int32_t batchIndex, int32_t propertyName, void * elementCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::GetBatchVectorArray_Int"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - void * i2res = icall(i2thiz,batchIndex,propertyName,elementCount); - return i2res; -} -void * UnityEngine_Rendering_BatchRendererGroup_GetBatchMatrixArray_Int(MonoObject* thiz, int32_t batchIndex, int32_t propertyName, void * elementCount) -{ - typedef void * (* ICallMethod) (Il2CppObject* thiz, int32_t batchIndex, int32_t propertyName, void * elementCount); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::GetBatchMatrixArray_Int"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - void * i2res = icall(i2thiz,batchIndex,propertyName,elementCount); - return i2res; -} -void * UnityEngine_Rendering_BatchRendererGroup_Create_2(MonoObject* group) -{ - typedef void * (* ICallMethod) (Il2CppObject* group); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::Create"); - Il2CppObject* i2group = get_il2cpp_object(group,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - void * i2res = icall(i2group); - return i2res; -} -void UnityEngine_Rendering_BatchRendererGroup_Destroy_1(void * groupHandle) -{ - typedef void (* ICallMethod) (void * groupHandle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::Destroy"); - icall(groupHandle); -} -int32_t UnityEngine_Rendering_BatchRendererGroup_AddBatch_Injected(MonoObject* thiz, MonoObject* mesh, int32_t subMeshIndex, MonoObject* material, int32_t layer, int32_t castShadows, bool receiveShadows, bool invertCulling, void * bounds, int32_t instanceCount, MonoObject* customProps, MonoObject* associatedSceneObject, uint64_t sceneCullingMask) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* mesh, int32_t subMeshIndex, Il2CppObject* material, int32_t layer, int32_t castShadows, bool receiveShadows, bool invertCulling, void * bounds, int32_t instanceCount, Il2CppObject* customProps, Il2CppObject* associatedSceneObject, uint64_t sceneCullingMask); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::AddBatch_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - Il2CppObject* i2customProps = get_il2cpp_object(customProps,il2cpp_get_class_UnityEngine_MaterialPropertyBlock()); - Il2CppObject* i2associatedSceneObject = get_il2cpp_object(associatedSceneObject,il2cpp_get_class_UnityEngine_GameObject()); - int32_t i2res = icall(i2thiz,i2mesh,subMeshIndex,i2material,layer,castShadows,receiveShadows,invertCulling,bounds,instanceCount,i2customProps,i2associatedSceneObject,sceneCullingMask); - return i2res; -} -void UnityEngine_Rendering_BatchRendererGroup_SetBatchBounds_Injected(MonoObject* thiz, int32_t batchIndex, void * bounds) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t batchIndex, void * bounds); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.BatchRendererGroup::SetBatchBounds_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_BatchRendererGroup()); - icall(i2thiz,batchIndex,bounds); -} -int32_t UnityEngine_Rendering_ShaderKeyword_GetGlobalKeywordIndex(MonoString* keyword) -{ - typedef int32_t (* ICallMethod) (Il2CppString* keyword); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ShaderKeyword::GetGlobalKeywordIndex"); - Il2CppString* i2keyword = get_il2cpp_string(keyword); - int32_t i2res = icall(i2keyword); - return i2res; -} -int32_t UnityEngine_Rendering_ShaderKeyword_GetKeywordIndex(MonoObject* shader, MonoString* keyword) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* shader, Il2CppString* keyword); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ShaderKeyword::GetKeywordIndex"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - Il2CppString* i2keyword = get_il2cpp_string(keyword); - int32_t i2res = icall(i2shader,i2keyword); - return i2res; -} -MonoString* UnityEngine_Rendering_ShaderKeyword_GetGlobalKeywordName_Injected(void * index) -{ - typedef Il2CppString* (* ICallMethod) (void * index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ShaderKeyword::GetGlobalKeywordName_Injected"); - Il2CppString* i2res = icall(index); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_Rendering_ShaderKeyword_GetGlobalKeywordType_Injected(void * index) -{ - typedef int32_t (* ICallMethod) (void * index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ShaderKeyword::GetGlobalKeywordType_Injected"); - int32_t i2res = icall(index); - return i2res; -} -bool UnityEngine_Rendering_ShaderKeyword_IsKeywordLocal_Injected(void * index) -{ - typedef bool (* ICallMethod) (void * index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ShaderKeyword::IsKeywordLocal_Injected"); - bool i2res = icall(index); - return i2res; -} -MonoString* UnityEngine_Rendering_ShaderKeyword_GetKeywordName_Injected(MonoObject* shader, void * index) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* shader, void * index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ShaderKeyword::GetKeywordName_Injected"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - Il2CppString* i2res = icall(i2shader,index); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -int32_t UnityEngine_Rendering_ShaderKeyword_GetKeywordType_Injected(MonoObject* shader, void * index) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* shader, void * index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ShaderKeyword::GetKeywordType_Injected"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - int32_t i2res = icall(i2shader,index); - return i2res; -} -int32_t UnityEngine_Rendering_SortingGroup_get_invalidSortingGroupID() -{ - typedef int32_t (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SortingGroup::get_invalidSortingGroupID"); - int32_t i2res = icall(); - return i2res; -} -void UnityEngine_Rendering_SortingGroup_UpdateAllSortingGroups() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SortingGroup::UpdateAllSortingGroups"); - icall(); -} -MonoString* UnityEngine_Rendering_SortingGroup_get_sortingLayerName_1(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SortingGroup::get_sortingLayerName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_SortingGroup()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_Rendering_SortingGroup_set_sortingLayerName_1(MonoObject* thiz, MonoString* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SortingGroup::set_sortingLayerName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_SortingGroup()); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2thiz,i2value); -} -int32_t UnityEngine_Rendering_SortingGroup_get_sortingLayerID_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SortingGroup::get_sortingLayerID"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_SortingGroup()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Rendering_SortingGroup_set_sortingLayerID_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SortingGroup::set_sortingLayerID"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_SortingGroup()); - icall(i2thiz,value); -} -int32_t UnityEngine_Rendering_SortingGroup_get_sortingOrder_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SortingGroup::get_sortingOrder"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_SortingGroup()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Rendering_SortingGroup_set_sortingOrder_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SortingGroup::set_sortingOrder"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_SortingGroup()); - icall(i2thiz,value); -} -int32_t UnityEngine_Rendering_SortingGroup_get_sortingGroupID_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SortingGroup::get_sortingGroupID"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_SortingGroup()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Rendering_SortingGroup_get_sortingGroupOrder_1(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SortingGroup::get_sortingGroupOrder"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_SortingGroup()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Rendering_SortingGroup_get_index(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.SortingGroup::get_index"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rendering_SortingGroup()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Playables_PlayableGraph_Create_Injected(MonoString* name, void * ret) -{ - typedef void (* ICallMethod) (Il2CppString* name, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::Create_Injected"); - Il2CppString* i2name = get_il2cpp_string(name); - icall(i2name,ret); -} -void UnityEngine_Playables_PlayableGraph_Destroy_Injected(void * _unity_self) -{ - typedef void (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::Destroy_Injected"); - icall(_unity_self); -} -bool UnityEngine_Playables_PlayableGraph_IsValid_Injected(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::IsValid_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -bool UnityEngine_Playables_PlayableGraph_IsPlaying_Injected(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::IsPlaying_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -bool UnityEngine_Playables_PlayableGraph_IsDone_Injected_1(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::IsDone_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableGraph_Play_Injected(void * _unity_self) -{ - typedef void (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::Play_Injected"); - icall(_unity_self); -} -void UnityEngine_Playables_PlayableGraph_Stop_Injected(void * _unity_self) -{ - typedef void (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::Stop_Injected"); - icall(_unity_self); -} -void UnityEngine_Playables_PlayableGraph_Evaluate_Injected_1(void * _unity_self, float deltaTime) -{ - typedef void (* ICallMethod) (void * _unity_self, float deltaTime); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::Evaluate_Injected"); - icall(_unity_self,deltaTime); -} -int32_t UnityEngine_Playables_PlayableGraph_GetTimeUpdateMode_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::GetTimeUpdateMode_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableGraph_SetTimeUpdateMode_Injected(void * _unity_self, int32_t value) -{ - typedef void (* ICallMethod) (void * _unity_self, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::SetTimeUpdateMode_Injected"); - icall(_unity_self,value); -} -MonoObject* UnityEngine_Playables_PlayableGraph_GetResolver_Injected(void * _unity_self) -{ - typedef Il2CppObject* (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::GetResolver_Injected"); - Il2CppObject* i2res = icall(_unity_self); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_IExposedPropertyTable()); - return monoi2res; -} -void UnityEngine_Playables_PlayableGraph_SetResolver_Injected(void * _unity_self, MonoObject* value) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::SetResolver_Injected"); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_IExposedPropertyTable()); - icall(_unity_self,i2value); -} -int32_t UnityEngine_Playables_PlayableGraph_GetPlayableCount_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::GetPlayableCount_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -int32_t UnityEngine_Playables_PlayableGraph_GetRootPlayableCount_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::GetRootPlayableCount_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -int32_t UnityEngine_Playables_PlayableGraph_GetOutputCount_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::GetOutputCount_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableGraph_CreatePlayableHandle_Injected(void * _unity_self, void * ret) -{ - typedef void (* ICallMethod) (void * _unity_self, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::CreatePlayableHandle_Injected"); - icall(_unity_self,ret); -} -bool UnityEngine_Playables_PlayableGraph_CreateScriptOutputInternal_Injected(void * _unity_self, MonoString* name, void * handle) -{ - typedef bool (* ICallMethod) (void * _unity_self, Il2CppString* name, void * handle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::CreateScriptOutputInternal_Injected"); - Il2CppString* i2name = get_il2cpp_string(name); - bool i2res = icall(_unity_self,i2name,handle); - return i2res; -} -void UnityEngine_Playables_PlayableGraph_GetRootPlayableInternal_Injected(void * _unity_self, int32_t index, void * ret) -{ - typedef void (* ICallMethod) (void * _unity_self, int32_t index, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::GetRootPlayableInternal_Injected"); - icall(_unity_self,index,ret); -} -void UnityEngine_Playables_PlayableGraph_DestroyOutputInternal_Injected(void * _unity_self, void * handle) -{ - typedef void (* ICallMethod) (void * _unity_self, void * handle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::DestroyOutputInternal_Injected"); - icall(_unity_self,handle); -} -bool UnityEngine_Playables_PlayableGraph_GetOutputInternal_Injected(void * _unity_self, int32_t index, void * handle) -{ - typedef bool (* ICallMethod) (void * _unity_self, int32_t index, void * handle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::GetOutputInternal_Injected"); - bool i2res = icall(_unity_self,index,handle); - return i2res; -} -int32_t UnityEngine_Playables_PlayableGraph_GetOutputCountByTypeInternal_Injected(void * _unity_self, MonoReflectionType* outputType) -{ - typedef int32_t (* ICallMethod) (void * _unity_self, Il2CppReflectionType* outputType); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::GetOutputCountByTypeInternal_Injected"); - Il2CppReflectionType* i2outputType = get_il2cpp_reflection_type(outputType); - int32_t i2res = icall(_unity_self,i2outputType); - return i2res; -} -bool UnityEngine_Playables_PlayableGraph_GetOutputByTypeInternal_Injected(void * _unity_self, MonoReflectionType* outputType, int32_t index, void * handle) -{ - typedef bool (* ICallMethod) (void * _unity_self, Il2CppReflectionType* outputType, int32_t index, void * handle); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::GetOutputByTypeInternal_Injected"); - Il2CppReflectionType* i2outputType = get_il2cpp_reflection_type(outputType); - bool i2res = icall(_unity_self,i2outputType,index,handle); - return i2res; -} -bool UnityEngine_Playables_PlayableGraph_ConnectInternal_Injected(void * _unity_self, void * source, int32_t sourceOutputPort, void * destination, int32_t destinationInputPort) -{ - typedef bool (* ICallMethod) (void * _unity_self, void * source, int32_t sourceOutputPort, void * destination, int32_t destinationInputPort); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::ConnectInternal_Injected"); - bool i2res = icall(_unity_self,source,sourceOutputPort,destination,destinationInputPort); - return i2res; -} -void UnityEngine_Playables_PlayableGraph_DisconnectInternal_Injected(void * _unity_self, void * playable, int32_t inputPort) -{ - typedef void (* ICallMethod) (void * _unity_self, void * playable, int32_t inputPort); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::DisconnectInternal_Injected"); - icall(_unity_self,playable,inputPort); -} -void UnityEngine_Playables_PlayableGraph_DestroyPlayableInternal_Injected(void * _unity_self, void * playable) -{ - typedef void (* ICallMethod) (void * _unity_self, void * playable); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::DestroyPlayableInternal_Injected"); - icall(_unity_self,playable); -} -void UnityEngine_Playables_PlayableGraph_DestroySubgraphInternal_Injected(void * _unity_self, void * playable) -{ - typedef void (* ICallMethod) (void * _unity_self, void * playable); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::DestroySubgraphInternal_Injected"); - icall(_unity_self,playable); -} -bool UnityEngine_Playables_PlayableHandle_IsNull_Injected(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::IsNull_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -bool UnityEngine_Playables_PlayableHandle_IsValid_Injected_1(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::IsValid_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -MonoReflectionType* UnityEngine_Playables_PlayableHandle_GetPlayableType_Injected(void * _unity_self) -{ - typedef Il2CppReflectionType* (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetPlayableType_Injected"); - Il2CppReflectionType* i2res = icall(_unity_self); - MonoReflectionType* monoi2res = get_mono_reflection_type(i2res); - return monoi2res; -} -MonoReflectionType* UnityEngine_Playables_PlayableHandle_GetJobType_Injected(void * _unity_self) -{ - typedef Il2CppReflectionType* (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetJobType_Injected"); - Il2CppReflectionType* i2res = icall(_unity_self); - MonoReflectionType* monoi2res = get_mono_reflection_type(i2res); - return monoi2res; -} -void UnityEngine_Playables_PlayableHandle_SetScriptInstance_Injected(void * _unity_self, MonoObject* scriptInstance) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* scriptInstance); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetScriptInstance_Injected"); - Il2CppObject* i2scriptInstance = get_il2cpp_object(scriptInstance,NULL); - icall(_unity_self,i2scriptInstance); -} -bool UnityEngine_Playables_PlayableHandle_CanChangeInputs_Injected(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::CanChangeInputs_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -bool UnityEngine_Playables_PlayableHandle_CanSetWeights_Injected(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::CanSetWeights_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -bool UnityEngine_Playables_PlayableHandle_CanDestroy_Injected(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::CanDestroy_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -int32_t UnityEngine_Playables_PlayableHandle_GetPlayState_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetPlayState_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableHandle_Play_Injected_1(void * _unity_self) -{ - typedef void (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::Play_Injected"); - icall(_unity_self); -} -void UnityEngine_Playables_PlayableHandle_Pause_Injected(void * _unity_self) -{ - typedef void (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::Pause_Injected"); - icall(_unity_self); -} -double UnityEngine_Playables_PlayableHandle_GetSpeed_Injected(void * _unity_self) -{ - typedef double (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetSpeed_Injected"); - double i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableHandle_SetSpeed_Injected(void * _unity_self, double value) -{ - typedef void (* ICallMethod) (void * _unity_self, double value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetSpeed_Injected"); - icall(_unity_self,value); -} -double UnityEngine_Playables_PlayableHandle_GetTime_Injected(void * _unity_self) -{ - typedef double (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetTime_Injected"); - double i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableHandle_SetTime_Injected(void * _unity_self, double value) -{ - typedef void (* ICallMethod) (void * _unity_self, double value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetTime_Injected"); - icall(_unity_self,value); -} -bool UnityEngine_Playables_PlayableHandle_IsDone_Injected_2(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::IsDone_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableHandle_SetDone_Injected(void * _unity_self, bool value) -{ - typedef void (* ICallMethod) (void * _unity_self, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetDone_Injected"); - icall(_unity_self,value); -} -double UnityEngine_Playables_PlayableHandle_GetDuration_Injected(void * _unity_self) -{ - typedef double (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetDuration_Injected"); - double i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableHandle_SetDuration_Injected(void * _unity_self, double value) -{ - typedef void (* ICallMethod) (void * _unity_self, double value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetDuration_Injected"); - icall(_unity_self,value); -} -bool UnityEngine_Playables_PlayableHandle_GetPropagateSetTime_Injected(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetPropagateSetTime_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableHandle_SetPropagateSetTime_Injected(void * _unity_self, bool value) -{ - typedef void (* ICallMethod) (void * _unity_self, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetPropagateSetTime_Injected"); - icall(_unity_self,value); -} -void UnityEngine_Playables_PlayableHandle_GetGraph_Injected(void * _unity_self, void * ret) -{ - typedef void (* ICallMethod) (void * _unity_self, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetGraph_Injected"); - icall(_unity_self,ret); -} -int32_t UnityEngine_Playables_PlayableHandle_GetInputCount_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetInputCount_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableHandle_SetInputCount_Injected(void * _unity_self, int32_t value) -{ - typedef void (* ICallMethod) (void * _unity_self, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetInputCount_Injected"); - icall(_unity_self,value); -} -int32_t UnityEngine_Playables_PlayableHandle_GetOutputCount_Injected_1(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetOutputCount_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableHandle_SetOutputCount_Injected(void * _unity_self, int32_t value) -{ - typedef void (* ICallMethod) (void * _unity_self, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetOutputCount_Injected"); - icall(_unity_self,value); -} -void UnityEngine_Playables_PlayableHandle_SetInputWeight_Injected(void * _unity_self, void * input, float weight) -{ - typedef void (* ICallMethod) (void * _unity_self, void * input, float weight); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetInputWeight_Injected"); - icall(_unity_self,input,weight); -} -void UnityEngine_Playables_PlayableHandle_SetDelay_Injected(void * _unity_self, double delay) -{ - typedef void (* ICallMethod) (void * _unity_self, double delay); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetDelay_Injected"); - icall(_unity_self,delay); -} -double UnityEngine_Playables_PlayableHandle_GetDelay_Injected(void * _unity_self) -{ - typedef double (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetDelay_Injected"); - double i2res = icall(_unity_self); - return i2res; -} -bool UnityEngine_Playables_PlayableHandle_IsDelayed_Injected(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::IsDelayed_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -double UnityEngine_Playables_PlayableHandle_GetPreviousTime_Injected(void * _unity_self) -{ - typedef double (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetPreviousTime_Injected"); - double i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableHandle_SetLeadTime_Injected(void * _unity_self, float value) -{ - typedef void (* ICallMethod) (void * _unity_self, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetLeadTime_Injected"); - icall(_unity_self,value); -} -float UnityEngine_Playables_PlayableHandle_GetLeadTime_Injected(void * _unity_self) -{ - typedef float (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetLeadTime_Injected"); - float i2res = icall(_unity_self); - return i2res; -} -int32_t UnityEngine_Playables_PlayableHandle_GetTraversalMode_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetTraversalMode_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableHandle_SetTraversalMode_Injected(void * _unity_self, int32_t mode) -{ - typedef void (* ICallMethod) (void * _unity_self, int32_t mode); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetTraversalMode_Injected"); - icall(_unity_self,mode); -} -void * UnityEngine_Playables_PlayableHandle_GetJobData_Injected(void * _unity_self) -{ - typedef void * (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetJobData_Injected"); - void * i2res = icall(_unity_self); - return i2res; -} -int32_t UnityEngine_Playables_PlayableHandle_GetTimeWrapMode_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetTimeWrapMode_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableHandle_SetTimeWrapMode_Injected(void * _unity_self, int32_t mode) -{ - typedef void (* ICallMethod) (void * _unity_self, int32_t mode); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetTimeWrapMode_Injected"); - icall(_unity_self,mode); -} -MonoObject* UnityEngine_Playables_PlayableHandle_GetScriptInstance_Injected(void * _unity_self) -{ - typedef Il2CppObject* (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetScriptInstance_Injected"); - Il2CppObject* i2res = icall(_unity_self); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -void UnityEngine_Playables_PlayableHandle_GetInputHandle_Injected(void * _unity_self, int32_t index, void * ret) -{ - typedef void (* ICallMethod) (void * _unity_self, int32_t index, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetInputHandle_Injected"); - icall(_unity_self,index,ret); -} -void UnityEngine_Playables_PlayableHandle_GetOutputHandle_Injected(void * _unity_self, int32_t index, void * ret) -{ - typedef void (* ICallMethod) (void * _unity_self, int32_t index, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetOutputHandle_Injected"); - icall(_unity_self,index,ret); -} -void UnityEngine_Playables_PlayableHandle_SetInputWeightFromIndex_Injected(void * _unity_self, int32_t index, float weight) -{ - typedef void (* ICallMethod) (void * _unity_self, int32_t index, float weight); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetInputWeightFromIndex_Injected"); - icall(_unity_self,index,weight); -} -float UnityEngine_Playables_PlayableHandle_GetInputWeightFromIndex_Injected(void * _unity_self, int32_t index) -{ - typedef float (* ICallMethod) (void * _unity_self, int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetInputWeightFromIndex_Injected"); - float i2res = icall(_unity_self,index); - return i2res; -} -bool UnityEngine_Playables_PlayableOutputHandle_IsNull_Injected_1(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::IsNull_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -bool UnityEngine_Playables_PlayableOutputHandle_IsValid_Injected_2(void * _unity_self) -{ - typedef bool (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::IsValid_Injected"); - bool i2res = icall(_unity_self); - return i2res; -} -MonoReflectionType* UnityEngine_Playables_PlayableOutputHandle_GetPlayableOutputType_Injected(void * _unity_self) -{ - typedef Il2CppReflectionType* (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetPlayableOutputType_Injected"); - Il2CppReflectionType* i2res = icall(_unity_self); - MonoReflectionType* monoi2res = get_mono_reflection_type(i2res); - return monoi2res; -} -MonoObject* UnityEngine_Playables_PlayableOutputHandle_GetReferenceObject_Injected(void * _unity_self) -{ - typedef Il2CppObject* (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetReferenceObject_Injected"); - Il2CppObject* i2res = icall(_unity_self); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -void UnityEngine_Playables_PlayableOutputHandle_SetReferenceObject_Injected(void * _unity_self, MonoObject* target) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* target); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::SetReferenceObject_Injected"); - Il2CppObject* i2target = get_il2cpp_object(target,il2cpp_get_class_UnityEngine_Object()); - icall(_unity_self,i2target); -} -MonoObject* UnityEngine_Playables_PlayableOutputHandle_GetUserData_Injected(void * _unity_self) -{ - typedef Il2CppObject* (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetUserData_Injected"); - Il2CppObject* i2res = icall(_unity_self); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; -} -void UnityEngine_Playables_PlayableOutputHandle_SetUserData_Injected(void * _unity_self, MonoObject* target) -{ - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* target); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::SetUserData_Injected"); - Il2CppObject* i2target = get_il2cpp_object(target,il2cpp_get_class_UnityEngine_Object()); - icall(_unity_self,i2target); -} -void UnityEngine_Playables_PlayableOutputHandle_GetSourcePlayable_Injected(void * _unity_self, void * ret) -{ - typedef void (* ICallMethod) (void * _unity_self, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetSourcePlayable_Injected"); - icall(_unity_self,ret); -} -void UnityEngine_Playables_PlayableOutputHandle_SetSourcePlayable_Injected(void * _unity_self, void * target, int32_t port) -{ - typedef void (* ICallMethod) (void * _unity_self, void * target, int32_t port); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::SetSourcePlayable_Injected"); - icall(_unity_self,target,port); -} -int32_t UnityEngine_Playables_PlayableOutputHandle_GetSourceOutputPort_Injected(void * _unity_self) -{ - typedef int32_t (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetSourceOutputPort_Injected"); - int32_t i2res = icall(_unity_self); - return i2res; -} -float UnityEngine_Playables_PlayableOutputHandle_GetWeight_Injected(void * _unity_self) -{ - typedef float (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetWeight_Injected"); - float i2res = icall(_unity_self); - return i2res; -} -void UnityEngine_Playables_PlayableOutputHandle_SetWeight_Injected(void * _unity_self, float weight) -{ - typedef void (* ICallMethod) (void * _unity_self, float weight); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::SetWeight_Injected"); - icall(_unity_self,weight); -} -void UnityEngine_Playables_PlayableOutputHandle_PushNotification_Injected(void * _unity_self, void * origin, MonoObject* notification, MonoObject* context) -{ - typedef void (* ICallMethod) (void * _unity_self, void * origin, Il2CppObject* notification, Il2CppObject* context); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::PushNotification_Injected"); - Il2CppObject* i2notification = get_il2cpp_object(notification,il2cpp_get_class_UnityEngine_Playables_INotification()); - Il2CppObject* i2context = get_il2cpp_object(context,NULL); - icall(_unity_self,origin,i2notification,i2context); -} -MonoArray* UnityEngine_Playables_PlayableOutputHandle_GetNotificationReceivers_Injected(void * _unity_self) -{ - typedef Il2CppArray* (* ICallMethod) (void * _unity_self); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetNotificationReceivers_Injected"); - Il2CppArray* i2res = icall(_unity_self); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::set_hideInput"); + if(!icall) + { + platform_log("UnityEngine.TouchScreenKeyboard::set_hideInput func not found"); + return; + } + } + icall(value); } -void UnityEngine_Playables_PlayableOutputHandle_AddNotificationReceiver_Injected(void * _unity_self, MonoObject* receiver) +bool UnityEngine_TouchScreenKeyboard_get_active_1(MonoObject* thiz) { - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* receiver); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::AddNotificationReceiver_Injected"); - Il2CppObject* i2receiver = get_il2cpp_object(receiver,il2cpp_get_class_UnityEngine_Playables_INotificationReceiver()); - icall(_unity_self,i2receiver); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_active"); + if(!icall) + { + platform_log("UnityEngine.TouchScreenKeyboard::get_active func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); + bool i2res = icall(i2thiz); + return i2res; } -void UnityEngine_Playables_PlayableOutputHandle_RemoveNotificationReceiver_Injected(void * _unity_self, MonoObject* receiver) +void UnityEngine_TouchScreenKeyboard_set_active(MonoObject* thiz, bool value) { - typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* receiver); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::RemoveNotificationReceiver_Injected"); - Il2CppObject* i2receiver = get_il2cpp_object(receiver,il2cpp_get_class_UnityEngine_Playables_INotificationReceiver()); - icall(_unity_self,i2receiver); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::set_active"); + if(!icall) + { + platform_log("UnityEngine.TouchScreenKeyboard::set_active func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); + icall(i2thiz,value); } -void UnityEngine_Diagnostics_Utils_ForceCrash(int32_t crashCategory) +int32_t UnityEngine_TouchScreenKeyboard_get_status(MonoObject* thiz) { - typedef void (* ICallMethod) (int32_t crashCategory); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Diagnostics.Utils::ForceCrash"); - icall(crashCategory); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_status"); + if(!icall) + { + platform_log("UnityEngine.TouchScreenKeyboard::get_status func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); + int32_t i2res = icall(i2thiz); + return i2res; } -void UnityEngine_Diagnostics_Utils_NativeAssert(MonoString* message) +void UnityEngine_TouchScreenKeyboard_set_characterLimit(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (Il2CppString* message); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Diagnostics.Utils::NativeAssert"); - Il2CppString* i2message = get_il2cpp_string(message); - icall(i2message); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::set_characterLimit"); + if(!icall) + { + platform_log("UnityEngine.TouchScreenKeyboard::set_characterLimit func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); + icall(i2thiz,value); } -void UnityEngine_Diagnostics_Utils_NativeError(MonoString* message) +bool UnityEngine_TouchScreenKeyboard_get_canGetSelection(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppString* message); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Diagnostics.Utils::NativeError"); - Il2CppString* i2message = get_il2cpp_string(message); - icall(i2message); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_canGetSelection"); + if(!icall) + { + platform_log("UnityEngine.TouchScreenKeyboard::get_canGetSelection func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); + bool i2res = icall(i2thiz); + return i2res; } -void UnityEngine_Diagnostics_Utils_NativeWarning(MonoString* message) +bool UnityEngine_TouchScreenKeyboard_get_canSetSelection(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppString* message); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Diagnostics.Utils::NativeWarning"); - Il2CppString* i2message = get_il2cpp_string(message); - icall(i2message); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TouchScreenKeyboard::get_canSetSelection"); + if(!icall) + { + platform_log("UnityEngine.TouchScreenKeyboard::get_canSetSelection func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TouchScreenKeyboard()); + bool i2res = icall(i2thiz); + return i2res; } -void UnityEngine_Experimental_U2D_SpriteRendererGroup_AddRenderers(void * renderers, int32_t count) +void UnityEngine_SpriteRenderer_set_sprite(MonoObject* thiz, MonoObject* value) { - typedef void (* ICallMethod) (void * renderers, int32_t count); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.U2D.SpriteRendererGroup::AddRenderers"); - icall(renderers,count); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SpriteRenderer::set_sprite"); + if(!icall) + { + platform_log("UnityEngine.SpriteRenderer::set_sprite func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SpriteRenderer()); + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Sprite()); + icall(i2thiz,i2value); } -void UnityEngine_Experimental_U2D_SpriteRendererGroup_Clear_4() +MonoObject* UnityEngine_Sprite_get_texture(MonoObject* thiz) { - typedef void (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.U2D.SpriteRendererGroup::Clear"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_texture"); + if(!icall) + { + platform_log("UnityEngine.Sprite::get_texture func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture2D()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Sprite::get_texture fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Experimental_GlobalIllumination_RenderSettings_get_useRadianceAmbientProbe() +float UnityEngine_Sprite_get_pixelsPerUnit(MonoObject* thiz) { - typedef bool (* ICallMethod) (); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.GlobalIllumination.RenderSettings::get_useRadianceAmbientProbe"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_pixelsPerUnit"); + if(!icall) + { + platform_log("UnityEngine.Sprite::get_pixelsPerUnit func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); + float i2res = icall(i2thiz); return i2res; } -void UnityEngine_Experimental_GlobalIllumination_RenderSettings_set_useRadianceAmbientProbe(bool value) +MonoObject* UnityEngine_Sprite_get_associatedAlphaSplitTexture(MonoObject* thiz) { - typedef void (* ICallMethod) (bool value); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.GlobalIllumination.RenderSettings::set_useRadianceAmbientProbe"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_associatedAlphaSplitTexture"); + if(!icall) + { + platform_log("UnityEngine.Sprite::get_associatedAlphaSplitTexture func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Texture2D()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Sprite::get_associatedAlphaSplitTexture fail to convert il2cpp obj to mono"); + } + return monoi2res; } -MonoObject* UnityEngine_Experimental_Playables_CameraPlayable_GetCameraInternal(void * hdl) +void* UnityEngine_Sprite_get_vertices(MonoObject* thiz) { - typedef Il2CppObject* (* ICallMethod) (void * hdl); + typedef void* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.CameraPlayable::GetCameraInternal"); - Il2CppObject* i2res = icall(hdl); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Camera()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_vertices"); + if(!icall) + { + platform_log("UnityEngine.Sprite::get_vertices func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); + void* i2res = icall(i2thiz); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.Sprite::get_vertices fail to convert il2cpp obj to mono"); + } + return i2res; } -void UnityEngine_Experimental_Playables_CameraPlayable_SetCameraInternal(void * hdl, MonoObject* camera) +MonoArray* UnityEngine_Sprite_get_triangles(MonoObject* thiz) { - typedef void (* ICallMethod) (void * hdl, Il2CppObject* camera); + typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.CameraPlayable::SetCameraInternal"); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(hdl,i2camera); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_triangles"); + if(!icall) + { + platform_log("UnityEngine.Sprite::get_triangles func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); + Il2CppArray* i2res = icall(i2thiz); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Sprite::get_triangles fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Experimental_Playables_CameraPlayable_InternalCreateCameraPlayable(void * graph, MonoObject* camera, void * handle) +void* UnityEngine_Sprite_get_uv(MonoObject* thiz) { - typedef bool (* ICallMethod) (void * graph, Il2CppObject* camera, void * handle); + typedef void* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.CameraPlayable::InternalCreateCameraPlayable"); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - bool i2res = icall(graph,i2camera,handle); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::get_uv"); + if(!icall) + { + platform_log("UnityEngine.Sprite::get_uv func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); + void* i2res = icall(i2thiz); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.Sprite::get_uv fail to convert il2cpp obj to mono"); + } return i2res; } -bool UnityEngine_Experimental_Playables_CameraPlayable_ValidateType(void * hdl) +void UnityEngine_Sprite_GetInnerUVs_Injected(MonoObject* thiz, void * ret) { - typedef bool (* ICallMethod) (void * hdl); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.CameraPlayable::ValidateType"); - bool i2res = icall(hdl); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetInnerUVs_Injected"); + if(!icall) + { + platform_log("UnityEngine.Sprite::GetInnerUVs_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); + icall(i2thiz,ret); } -MonoObject* UnityEngine_Experimental_Playables_MaterialEffectPlayable_GetMaterialInternal(void * hdl) +void UnityEngine_Sprite_GetOuterUVs_Injected(MonoObject* thiz, void * ret) { - typedef Il2CppObject* (* ICallMethod) (void * hdl); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.MaterialEffectPlayable::GetMaterialInternal"); - Il2CppObject* i2res = icall(hdl); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetOuterUVs_Injected"); + if(!icall) + { + platform_log("UnityEngine.Sprite::GetOuterUVs_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); + icall(i2thiz,ret); } -void UnityEngine_Experimental_Playables_MaterialEffectPlayable_SetMaterialInternal(void * hdl, MonoObject* material) +void UnityEngine_Sprite_GetPadding_Injected(MonoObject* thiz, void * ret) { - typedef void (* ICallMethod) (void * hdl, Il2CppObject* material); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.MaterialEffectPlayable::SetMaterialInternal"); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - icall(hdl,i2material); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Sprite::GetPadding_Injected"); + if(!icall) + { + platform_log("UnityEngine.Sprite::GetPadding_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Sprite()); + icall(i2thiz,ret); } -int32_t UnityEngine_Experimental_Playables_MaterialEffectPlayable_GetPassInternal(void * hdl) +bool UnityEngine_Playables_PlayableGraph_IsValid_Injected(void * _unity_self) { - typedef int32_t (* ICallMethod) (void * hdl); + typedef bool (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.MaterialEffectPlayable::GetPassInternal"); - int32_t i2res = icall(hdl); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::IsValid_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableGraph::IsValid_Injected func not found"); + return 0; + } + } + bool i2res = icall(_unity_self); return i2res; } -void UnityEngine_Experimental_Playables_MaterialEffectPlayable_SetPassInternal(void * hdl, int32_t pass) +void UnityEngine_Playables_PlayableGraph_Stop_Injected(void * _unity_self) { - typedef void (* ICallMethod) (void * hdl, int32_t pass); + typedef void (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.MaterialEffectPlayable::SetPassInternal"); - icall(hdl,pass); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::Stop_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableGraph::Stop_Injected func not found"); + return; + } + } + icall(_unity_self); } -bool UnityEngine_Experimental_Playables_MaterialEffectPlayable_InternalCreateMaterialEffectPlayable(void * graph, MonoObject* material, int32_t pass, void * handle) +int32_t UnityEngine_Playables_PlayableGraph_GetPlayableCount_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (void * graph, Il2CppObject* material, int32_t pass, void * handle); + typedef int32_t (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.MaterialEffectPlayable::InternalCreateMaterialEffectPlayable"); - Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); - bool i2res = icall(graph,i2material,pass,handle); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::GetPlayableCount_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableGraph::GetPlayableCount_Injected func not found"); + return 0; + } + } + int32_t i2res = icall(_unity_self); return i2res; } -bool UnityEngine_Experimental_Playables_MaterialEffectPlayable_ValidateType_1(void * hdl) +void UnityEngine_Playables_PlayableGraph_CreatePlayableHandle_Injected(void * _unity_self, void * ret) { - typedef bool (* ICallMethod) (void * hdl); + typedef void (* ICallMethod) (void * _unity_self, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.MaterialEffectPlayable::ValidateType"); - bool i2res = icall(hdl); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::CreatePlayableHandle_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableGraph::CreatePlayableHandle_Injected func not found"); + return; + } + } + icall(_unity_self,ret); } -bool UnityEngine_Experimental_Playables_TextureMixerPlayable_CreateTextureMixerPlayableInternal(void * graph, void * handle) +bool UnityEngine_Playables_PlayableGraph_CreateScriptOutputInternal_Injected(void * _unity_self, MonoString* name, void * handle) { - typedef bool (* ICallMethod) (void * graph, void * handle); + typedef bool (* ICallMethod) (void * _unity_self, Il2CppString* name, void * handle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.TextureMixerPlayable::CreateTextureMixerPlayableInternal"); - bool i2res = icall(graph,handle); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::CreateScriptOutputInternal_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableGraph::CreateScriptOutputInternal_Injected func not found"); + return 0; + } + } + Il2CppString* i2name = get_il2cpp_string(name); + bool i2res = icall(_unity_self,i2name,handle); return i2res; } -bool UnityEngine_Experimental_Playables_TexturePlayableGraphExtensions_InternalCreateTextureOutput(void * graph, MonoString* name, void * handle) +void UnityEngine_Playables_PlayableGraph_GetRootPlayableInternal_Injected(void * _unity_self, int32_t index, void * ret) { - typedef bool (* ICallMethod) (void * graph, Il2CppString* name, void * handle); + typedef void (* ICallMethod) (void * _unity_self, int32_t index, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.TexturePlayableGraphExtensions::InternalCreateTextureOutput"); - Il2CppString* i2name = get_il2cpp_string(name); - bool i2res = icall(graph,i2name,handle); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::GetRootPlayableInternal_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableGraph::GetRootPlayableInternal_Injected func not found"); + return; + } + } + icall(_unity_self,index,ret); } -MonoObject* UnityEngine_Experimental_Playables_TexturePlayableOutput_InternalGetTarget(void * output) +bool UnityEngine_Playables_PlayableGraph_ConnectInternal_Injected(void * _unity_self, void * source, int32_t sourceOutputPort, void * destination, int32_t destinationInputPort) { - typedef Il2CppObject* (* ICallMethod) (void * output); + typedef bool (* ICallMethod) (void * _unity_self, void * source, int32_t sourceOutputPort, void * destination, int32_t destinationInputPort); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.TexturePlayableOutput::InternalGetTarget"); - Il2CppObject* i2res = icall(output); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_RenderTexture()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::ConnectInternal_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableGraph::ConnectInternal_Injected func not found"); + return 0; + } + } + bool i2res = icall(_unity_self,source,sourceOutputPort,destination,destinationInputPort); + return i2res; } -void UnityEngine_Experimental_Playables_TexturePlayableOutput_InternalSetTarget(void * output, MonoObject* target) +void UnityEngine_Playables_PlayableGraph_DestroyPlayableInternal_Injected(void * _unity_self, void * playable) { - typedef void (* ICallMethod) (void * output, Il2CppObject* target); + typedef void (* ICallMethod) (void * _unity_self, void * playable); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Playables.TexturePlayableOutput::InternalSetTarget"); - Il2CppObject* i2target = get_il2cpp_object(target,il2cpp_get_class_UnityEngine_RenderTexture()); - icall(output,i2target); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableGraph::DestroyPlayableInternal_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableGraph::DestroyPlayableInternal_Injected func not found"); + return; + } + } + icall(_unity_self,playable); } -void UnityEngine_Experimental_Rendering_ScriptableRuntimeReflectionSystemSettings_ScriptingDirtyReflectionSystemInstance() +bool UnityEngine_Playables_PlayableHandle_IsNull_Injected(void * _unity_self) { - typedef void (* ICallMethod) (); + typedef bool (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.ScriptableRuntimeReflectionSystemSettings::ScriptingDirtyReflectionSystemInstance"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::IsNull_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::IsNull_Injected func not found"); + return 0; + } + } + bool i2res = icall(_unity_self); + return i2res; } -int32_t UnityEngine_Experimental_Rendering_GraphicsDeviceSettings_get_waitForPresentSyncPoint() +bool UnityEngine_Playables_PlayableHandle_IsValid_Injected_1(void * _unity_self) { - typedef int32_t (* ICallMethod) (); + typedef bool (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsDeviceSettings::get_waitForPresentSyncPoint"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::IsValid_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::IsValid_Injected func not found"); + return 0; + } + } + bool i2res = icall(_unity_self); return i2res; } -void UnityEngine_Experimental_Rendering_GraphicsDeviceSettings_set_waitForPresentSyncPoint(int32_t value) +MonoReflectionType* UnityEngine_Playables_PlayableHandle_GetPlayableType_Injected(void * _unity_self) { - typedef void (* ICallMethod) (int32_t value); + typedef Il2CppReflectionType* (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsDeviceSettings::set_waitForPresentSyncPoint"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetPlayableType_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetPlayableType_Injected func not found"); + return NULL; + } + } + Il2CppReflectionType* i2res = icall(_unity_self); + MonoReflectionType* monoi2res = get_mono_reflection_type(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetPlayableType_Injected fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t UnityEngine_Experimental_Rendering_GraphicsDeviceSettings_get_graphicsJobsSyncPoint() +MonoReflectionType* UnityEngine_Playables_PlayableHandle_GetJobType_Injected(void * _unity_self) { - typedef int32_t (* ICallMethod) (); + typedef Il2CppReflectionType* (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsDeviceSettings::get_graphicsJobsSyncPoint"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetJobType_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetJobType_Injected func not found"); + return NULL; + } + } + Il2CppReflectionType* i2res = icall(_unity_self); + MonoReflectionType* monoi2res = get_mono_reflection_type(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetJobType_Injected fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Experimental_Rendering_GraphicsDeviceSettings_set_graphicsJobsSyncPoint(int32_t value) +void UnityEngine_Playables_PlayableHandle_SetScriptInstance_Injected(void * _unity_self, MonoObject* scriptInstance) { - typedef void (* ICallMethod) (int32_t value); + typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* scriptInstance); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsDeviceSettings::set_graphicsJobsSyncPoint"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetScriptInstance_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetScriptInstance_Injected func not found"); + return; + } + } + Il2CppObject* i2scriptInstance = get_il2cpp_object(scriptInstance,NULL); + icall(_unity_self,i2scriptInstance); } -int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetFormat(MonoObject* texture) +bool UnityEngine_Playables_PlayableHandle_CanChangeInputs_Injected(void * _unity_self) { - typedef int32_t (* ICallMethod) (Il2CppObject* texture); + typedef bool (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetFormat"); - Il2CppObject* i2texture = get_il2cpp_object(texture,il2cpp_get_class_UnityEngine_Texture()); - int32_t i2res = icall(i2texture); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::CanChangeInputs_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::CanChangeInputs_Injected func not found"); + return 0; + } + } + bool i2res = icall(_unity_self); return i2res; } -int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetGraphicsFormat_Native_TextureFormat(int32_t format, bool isSRGB) +bool UnityEngine_Playables_PlayableHandle_CanSetWeights_Injected(void * _unity_self) { - typedef int32_t (* ICallMethod) (int32_t format, bool isSRGB); + typedef bool (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetGraphicsFormat_Native_TextureFormat"); - int32_t i2res = icall(format,isSRGB); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::CanSetWeights_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::CanSetWeights_Injected func not found"); + return 0; + } + } + bool i2res = icall(_unity_self); return i2res; } -int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetTextureFormat_Native_GraphicsFormat(int32_t format) +bool UnityEngine_Playables_PlayableHandle_CanDestroy_Injected(void * _unity_self) { - typedef int32_t (* ICallMethod) (int32_t format); + typedef bool (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetTextureFormat_Native_GraphicsFormat"); - int32_t i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::CanDestroy_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::CanDestroy_Injected func not found"); + return 0; + } + } + bool i2res = icall(_unity_self); return i2res; } -int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetGraphicsFormat_Native_RenderTextureFormat(int32_t format, bool isSRGB) +int32_t UnityEngine_Playables_PlayableHandle_GetPlayState_Injected(void * _unity_self) { - typedef int32_t (* ICallMethod) (int32_t format, bool isSRGB); + typedef int32_t (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetGraphicsFormat_Native_RenderTextureFormat"); - int32_t i2res = icall(format,isSRGB); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetPlayState_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetPlayState_Injected func not found"); + return 0; + } + } + int32_t i2res = icall(_unity_self); return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsSRGBFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_Play_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsSRGBFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::Play_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::Play_Injected func not found"); + return; + } + } + icall(_unity_self); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsSwizzleFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_Pause_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsSwizzleFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::Pause_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::Pause_Injected func not found"); + return; + } + } + icall(_unity_self); +} +double UnityEngine_Playables_PlayableHandle_GetSpeed_Injected(void * _unity_self) +{ + typedef double (* ICallMethod) (void * _unity_self); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetSpeed_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetSpeed_Injected func not found"); + return 0; + } + } + double i2res = icall(_unity_self); return i2res; } -int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetSRGBFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetSpeed_Injected(void * _unity_self, double value) { - typedef int32_t (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, double value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetSRGBFormat"); - int32_t i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetSpeed_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetSpeed_Injected func not found"); + return; + } + } + icall(_unity_self,value); } -int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetLinearFormat(int32_t format) +double UnityEngine_Playables_PlayableHandle_GetTime_Injected(void * _unity_self) { - typedef int32_t (* ICallMethod) (int32_t format); + typedef double (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetLinearFormat"); - int32_t i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetTime_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetTime_Injected func not found"); + return 0; + } + } + double i2res = icall(_unity_self); return i2res; } -int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetRenderTextureFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetTime_Injected(void * _unity_self, double value) { - typedef int32_t (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, double value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetRenderTextureFormat"); - int32_t i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetTime_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetTime_Injected func not found"); + return; + } + } + icall(_unity_self,value); } -uint32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetColorComponentCount(int32_t format) +bool UnityEngine_Playables_PlayableHandle_IsDone_Injected(void * _unity_self) { - typedef uint32_t (* ICallMethod) (int32_t format); + typedef bool (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetColorComponentCount"); - uint32_t i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::IsDone_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::IsDone_Injected func not found"); + return 0; + } + } + bool i2res = icall(_unity_self); return i2res; } -uint32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetAlphaComponentCount(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetDone_Injected(void * _unity_self, bool value) { - typedef uint32_t (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetAlphaComponentCount"); - uint32_t i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetDone_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetDone_Injected func not found"); + return; + } + } + icall(_unity_self,value); } -uint32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetComponentCount(int32_t format) +double UnityEngine_Playables_PlayableHandle_GetDuration_Injected(void * _unity_self) { - typedef uint32_t (* ICallMethod) (int32_t format); + typedef double (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetComponentCount"); - uint32_t i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetDuration_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetDuration_Injected func not found"); + return 0; + } + } + double i2res = icall(_unity_self); return i2res; } -MonoString* UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetFormatString(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetDuration_Injected(void * _unity_self, double value) { - typedef Il2CppString* (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, double value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetFormatString"); - Il2CppString* i2res = icall(format); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetDuration_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetDuration_Injected func not found"); + return; + } + } + icall(_unity_self,value); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsCompressedFormat(int32_t format) +bool UnityEngine_Playables_PlayableHandle_GetPropagateSetTime_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef bool (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsCompressedFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetPropagateSetTime_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetPropagateSetTime_Injected func not found"); + return 0; + } + } + bool i2res = icall(_unity_self); return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsCompressedTextureFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetPropagateSetTime_Injected(void * _unity_self, bool value) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsCompressedTextureFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetPropagateSetTime_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetPropagateSetTime_Injected func not found"); + return; + } + } + icall(_unity_self,value); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsPackedFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_GetGraph_Injected(void * _unity_self, void * ret) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsPackedFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetGraph_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetGraph_Injected func not found"); + return; + } + } + icall(_unity_self,ret); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_Is16BitPackedFormat(int32_t format) +int32_t UnityEngine_Playables_PlayableHandle_GetInputCount_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef int32_t (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::Is16BitPackedFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetInputCount_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetInputCount_Injected func not found"); + return 0; + } + } + int32_t i2res = icall(_unity_self); return i2res; } -int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_ConvertToAlphaFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetInputCount_Injected(void * _unity_self, int32_t value) { - typedef int32_t (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::ConvertToAlphaFormat"); - int32_t i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetInputCount_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetInputCount_Injected func not found"); + return; + } + } + icall(_unity_self,value); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsAlphaOnlyFormat(int32_t format) +int32_t UnityEngine_Playables_PlayableHandle_GetOutputCount_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef int32_t (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsAlphaOnlyFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetOutputCount_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetOutputCount_Injected func not found"); + return 0; + } + } + int32_t i2res = icall(_unity_self); return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsAlphaTestFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetOutputCount_Injected(void * _unity_self, int32_t value) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsAlphaTestFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetOutputCount_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetOutputCount_Injected func not found"); + return; + } + } + icall(_unity_self,value); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_HasAlphaChannel(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetInputWeight_Injected(void * _unity_self, void * input, float weight) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, void * input, float weight); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::HasAlphaChannel"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetInputWeight_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetInputWeight_Injected func not found"); + return; + } + } + icall(_unity_self,input,weight); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsDepthFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetDelay_Injected(void * _unity_self, double delay) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, double delay); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsDepthFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetDelay_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetDelay_Injected func not found"); + return; + } + } + icall(_unity_self,delay); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsStencilFormat(int32_t format) +double UnityEngine_Playables_PlayableHandle_GetDelay_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef double (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsStencilFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetDelay_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetDelay_Injected func not found"); + return 0; + } + } + double i2res = icall(_unity_self); return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsIEEE754Format(int32_t format) +bool UnityEngine_Playables_PlayableHandle_IsDelayed_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef bool (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsIEEE754Format"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::IsDelayed_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::IsDelayed_Injected func not found"); + return 0; + } + } + bool i2res = icall(_unity_self); return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsFloatFormat(int32_t format) +double UnityEngine_Playables_PlayableHandle_GetPreviousTime_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef double (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsFloatFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetPreviousTime_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetPreviousTime_Injected func not found"); + return 0; + } + } + double i2res = icall(_unity_self); return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsHalfFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetLeadTime_Injected(void * _unity_self, float value) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsHalfFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetLeadTime_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetLeadTime_Injected func not found"); + return; + } + } + icall(_unity_self,value); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsUnsignedFormat(int32_t format) +float UnityEngine_Playables_PlayableHandle_GetLeadTime_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef float (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsUnsignedFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetLeadTime_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetLeadTime_Injected func not found"); + return 0; + } + } + float i2res = icall(_unity_self); return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsSignedFormat(int32_t format) +int32_t UnityEngine_Playables_PlayableHandle_GetTraversalMode_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef int32_t (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsSignedFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetTraversalMode_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetTraversalMode_Injected func not found"); + return 0; + } + } + int32_t i2res = icall(_unity_self); return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsNormFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetTraversalMode_Injected(void * _unity_self, int32_t mode) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, int32_t mode); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsNormFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetTraversalMode_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetTraversalMode_Injected func not found"); + return; + } + } + icall(_unity_self,mode); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsUNormFormat(int32_t format) +void * UnityEngine_Playables_PlayableHandle_GetJobData_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef void * (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsUNormFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetJobData_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetJobData_Injected func not found"); + return 0; + } + } + void * i2res = icall(_unity_self); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetJobData_Injected fail to convert il2cpp obj to mono"); + } return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsSNormFormat(int32_t format) +int32_t UnityEngine_Playables_PlayableHandle_GetTimeWrapMode_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef int32_t (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsSNormFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetTimeWrapMode_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetTimeWrapMode_Injected func not found"); + return 0; + } + } + int32_t i2res = icall(_unity_self); return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsIntegerFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetTimeWrapMode_Injected(void * _unity_self, int32_t mode) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, int32_t mode); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsIntegerFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetTimeWrapMode_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetTimeWrapMode_Injected func not found"); + return; + } + } + icall(_unity_self,mode); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsUIntFormat(int32_t format) +MonoObject* UnityEngine_Playables_PlayableHandle_GetScriptInstance_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef Il2CppObject* (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsUIntFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetScriptInstance_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetScriptInstance_Injected func not found"); + return NULL; + } + } + Il2CppObject* i2res = icall(_unity_self); + MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetScriptInstance_Injected fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsSIntFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_GetInputHandle_Injected(void * _unity_self, int32_t index, void * ret) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, int32_t index, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsSIntFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetInputHandle_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetInputHandle_Injected func not found"); + return; + } + } + icall(_unity_self,index,ret); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsXRFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_GetOutputHandle_Injected(void * _unity_self, int32_t index, void * ret) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, int32_t index, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsXRFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetOutputHandle_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetOutputHandle_Injected func not found"); + return; + } + } + icall(_unity_self,index,ret); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsDXTCFormat(int32_t format) +void UnityEngine_Playables_PlayableHandle_SetInputWeightFromIndex_Injected(void * _unity_self, int32_t index, float weight) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, int32_t index, float weight); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsDXTCFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::SetInputWeightFromIndex_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::SetInputWeightFromIndex_Injected func not found"); + return; + } + } + icall(_unity_self,index,weight); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsRGTCFormat(int32_t format) +float UnityEngine_Playables_PlayableHandle_GetInputWeightFromIndex_Injected(void * _unity_self, int32_t index) { - typedef bool (* ICallMethod) (int32_t format); + typedef float (* ICallMethod) (void * _unity_self, int32_t index); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsRGTCFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableHandle::GetInputWeightFromIndex_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableHandle::GetInputWeightFromIndex_Injected func not found"); + return 0; + } + } + float i2res = icall(_unity_self,index); return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsBPTCFormat(int32_t format) +bool UnityEngine_Playables_PlayableOutputHandle_IsNull_Injected_1(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef bool (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsBPTCFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::IsNull_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::IsNull_Injected func not found"); + return 0; + } + } + bool i2res = icall(_unity_self); return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsBCFormat(int32_t format) +bool UnityEngine_Playables_PlayableOutputHandle_IsValid_Injected_2(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef bool (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsBCFormat"); - bool i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::IsValid_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::IsValid_Injected func not found"); + return 0; + } + } + bool i2res = icall(_unity_self); return i2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsPVRTCFormat(int32_t format) +MonoReflectionType* UnityEngine_Playables_PlayableOutputHandle_GetPlayableOutputType_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef Il2CppReflectionType* (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsPVRTCFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetPlayableOutputType_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::GetPlayableOutputType_Injected func not found"); + return NULL; + } + } + Il2CppReflectionType* i2res = icall(_unity_self); + MonoReflectionType* monoi2res = get_mono_reflection_type(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::GetPlayableOutputType_Injected fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsETCFormat(int32_t format) +MonoObject* UnityEngine_Playables_PlayableOutputHandle_GetReferenceObject_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef Il2CppObject* (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsETCFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetReferenceObject_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::GetReferenceObject_Injected func not found"); + return NULL; + } + } + Il2CppObject* i2res = icall(_unity_self); + MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::GetReferenceObject_Injected fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsEACFormat(int32_t format) +void UnityEngine_Playables_PlayableOutputHandle_SetReferenceObject_Injected(void * _unity_self, MonoObject* target) { - typedef bool (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* target); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsEACFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::SetReferenceObject_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::SetReferenceObject_Injected func not found"); + return; + } + } + Il2CppObject* i2target = get_il2cpp_object(target,il2cpp_get_class_UnityEngine_Object()); + icall(_unity_self,i2target); } -bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsASTCFormat(int32_t format) +MonoObject* UnityEngine_Playables_PlayableOutputHandle_GetUserData_Injected(void * _unity_self) { - typedef bool (* ICallMethod) (int32_t format); + typedef Il2CppObject* (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsASTCFormat"); - bool i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetUserData_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::GetUserData_Injected func not found"); + return NULL; + } + } + Il2CppObject* i2res = icall(_unity_self); + MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::GetUserData_Injected fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetSwizzleR(int32_t format) +void UnityEngine_Playables_PlayableOutputHandle_SetUserData_Injected(void * _unity_self, MonoObject* target) { - typedef int32_t (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* target); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetSwizzleR"); - int32_t i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::SetUserData_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::SetUserData_Injected func not found"); + return; + } + } + Il2CppObject* i2target = get_il2cpp_object(target,il2cpp_get_class_UnityEngine_Object()); + icall(_unity_self,i2target); } -int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetSwizzleG(int32_t format) +void UnityEngine_Playables_PlayableOutputHandle_GetSourcePlayable_Injected(void * _unity_self, void * ret) { - typedef int32_t (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetSwizzleG"); - int32_t i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetSourcePlayable_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::GetSourcePlayable_Injected func not found"); + return; + } + } + icall(_unity_self,ret); } -int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetSwizzleB(int32_t format) +void UnityEngine_Playables_PlayableOutputHandle_SetSourcePlayable_Injected(void * _unity_self, void * target, int32_t port) { - typedef int32_t (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, void * target, int32_t port); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetSwizzleB"); - int32_t i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::SetSourcePlayable_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::SetSourcePlayable_Injected func not found"); + return; + } + } + icall(_unity_self,target,port); } -int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetSwizzleA(int32_t format) +int32_t UnityEngine_Playables_PlayableOutputHandle_GetSourceOutputPort_Injected(void * _unity_self) { - typedef int32_t (* ICallMethod) (int32_t format); + typedef int32_t (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetSwizzleA"); - int32_t i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetSourceOutputPort_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::GetSourceOutputPort_Injected func not found"); + return 0; + } + } + int32_t i2res = icall(_unity_self); return i2res; } -uint32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetBlockSize(int32_t format) +float UnityEngine_Playables_PlayableOutputHandle_GetWeight_Injected(void * _unity_self) { - typedef uint32_t (* ICallMethod) (int32_t format); + typedef float (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetBlockSize"); - uint32_t i2res = icall(format); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetWeight_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::GetWeight_Injected func not found"); + return 0; + } + } + float i2res = icall(_unity_self); return i2res; } -uint32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetBlockWidth(int32_t format) +void UnityEngine_Playables_PlayableOutputHandle_SetWeight_Injected(void * _unity_self, float weight) { - typedef uint32_t (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, float weight); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetBlockWidth"); - uint32_t i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::SetWeight_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::SetWeight_Injected func not found"); + return; + } + } + icall(_unity_self,weight); } -uint32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetBlockHeight(int32_t format) +void UnityEngine_Playables_PlayableOutputHandle_PushNotification_Injected(void * _unity_self, void * origin, MonoObject* notification, MonoObject* context) { - typedef uint32_t (* ICallMethod) (int32_t format); + typedef void (* ICallMethod) (void * _unity_self, void * origin, Il2CppObject* notification, Il2CppObject* context); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetBlockHeight"); - uint32_t i2res = icall(format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::PushNotification_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::PushNotification_Injected func not found"); + return; + } + } + Il2CppObject* i2notification = get_il2cpp_object(notification,il2cpp_get_class_UnityEngine_Playables_INotification()); + Il2CppObject* i2context = get_il2cpp_object(context,NULL); + icall(_unity_self,origin,i2notification,i2context); } -uint32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_ComputeMipmapSize_Native_2D(int32_t width, int32_t height, int32_t format) +MonoArray* UnityEngine_Playables_PlayableOutputHandle_GetNotificationReceivers_Injected(void * _unity_self) { - typedef uint32_t (* ICallMethod) (int32_t width, int32_t height, int32_t format); + typedef Il2CppArray* (* ICallMethod) (void * _unity_self); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::ComputeMipmapSize_Native_2D"); - uint32_t i2res = icall(width,height,format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::GetNotificationReceivers_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::GetNotificationReceivers_Injected func not found"); + return NULL; + } + } + Il2CppArray* i2res = icall(_unity_self); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::GetNotificationReceivers_Injected fail to convert il2cpp obj to mono"); + } + return monoi2res; } -uint32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_ComputeMipmapSize_Native_3D(int32_t width, int32_t height, int32_t depth, int32_t format) +void UnityEngine_Playables_PlayableOutputHandle_AddNotificationReceiver_Injected(void * _unity_self, MonoObject* receiver) { - typedef uint32_t (* ICallMethod) (int32_t width, int32_t height, int32_t depth, int32_t format); + typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* receiver); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::ComputeMipmapSize_Native_3D"); - uint32_t i2res = icall(width,height,depth,format); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::AddNotificationReceiver_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::AddNotificationReceiver_Injected func not found"); + return; + } + } + Il2CppObject* i2receiver = get_il2cpp_object(receiver,il2cpp_get_class_UnityEngine_Playables_INotificationReceiver()); + icall(_unity_self,i2receiver); } -void UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_Destroy_2(MonoObject* accelStruct) +void UnityEngine_Playables_PlayableOutputHandle_RemoveNotificationReceiver_Injected(void * _unity_self, MonoObject* receiver) { - typedef void (* ICallMethod) (Il2CppObject* accelStruct); + typedef void (* ICallMethod) (void * _unity_self, Il2CppObject* receiver); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::Destroy"); - Il2CppObject* i2accelStruct = get_il2cpp_object(accelStruct,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure()); - icall(i2accelStruct); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableOutputHandle::RemoveNotificationReceiver_Injected"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableOutputHandle::RemoveNotificationReceiver_Injected func not found"); + return; + } + } + Il2CppObject* i2receiver = get_il2cpp_object(receiver,il2cpp_get_class_UnityEngine_Playables_INotificationReceiver()); + icall(_unity_self,i2receiver); } -void UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_Build(MonoObject* thiz) +bool UnityEngine_SceneManagement_Scene_IsValidInternal(int32_t sceneHandle) { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (int32_t sceneHandle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::Build"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::IsValidInternal"); + if(!icall) + { + platform_log("UnityEngine.SceneManagement.Scene::IsValidInternal func not found"); + return 0; + } + } + bool i2res = icall(sceneHandle); + return i2res; } -void UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_Update_1(MonoObject* thiz) +bool UnityEngine_SceneManagement_Scene_GetIsLoadedInternal(int32_t sceneHandle) { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (int32_t sceneHandle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::Update"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetIsLoadedInternal"); + if(!icall) + { + platform_log("UnityEngine.SceneManagement.Scene::GetIsLoadedInternal func not found"); + return 0; + } + } + bool i2res = icall(sceneHandle); + return i2res; } -void UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_AddInstance(MonoObject* thiz, MonoObject* targetRenderer, void* subMeshMask, void* subMeshTransparencyFlags, bool enableTriangleCulling, bool frontTriangleCounterClockwise, uint32_t mask) +int32_t UnityEngine_SceneManagement_Scene_GetRootCountInternal(int32_t sceneHandle) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* targetRenderer, void* subMeshMask, void* subMeshTransparencyFlags, bool enableTriangleCulling, bool frontTriangleCounterClockwise, uint32_t mask); + typedef int32_t (* ICallMethod) (int32_t sceneHandle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::AddInstance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure()); - Il2CppObject* i2targetRenderer = get_il2cpp_object(targetRenderer,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,i2targetRenderer,subMeshMask,subMeshTransparencyFlags,enableTriangleCulling,frontTriangleCounterClockwise,mask); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetRootCountInternal"); + if(!icall) + { + platform_log("UnityEngine.SceneManagement.Scene::GetRootCountInternal func not found"); + return 0; + } + } + int32_t i2res = icall(sceneHandle); + return i2res; } -void UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_UpdateInstanceTransform(MonoObject* thiz, MonoObject* renderer) +void UnityEngine_SceneManagement_Scene_GetRootGameObjectsInternal(int32_t sceneHandle, MonoObject* resultRootList) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* renderer); + typedef void (* ICallMethod) (int32_t sceneHandle, Il2CppObject* resultRootList); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::UpdateInstanceTransform"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure()); - Il2CppObject* i2renderer = get_il2cpp_object(renderer,il2cpp_get_class_UnityEngine_Renderer()); - icall(i2thiz,i2renderer); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.Scene::GetRootGameObjectsInternal"); + if(!icall) + { + platform_log("UnityEngine.SceneManagement.Scene::GetRootGameObjectsInternal func not found"); + return; + } + } + Il2CppObject* i2resultRootList = get_il2cpp_object(resultRootList,NULL); + icall(sceneHandle,i2resultRootList); } -uint64_t UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_GetSize(MonoObject* thiz) +int32_t UnityEngine_SceneManagement_SceneManager_get_sceneCount() { - typedef uint64_t (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::GetSize"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure()); - uint64_t i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::get_sceneCount"); + if(!icall) + { + platform_log("UnityEngine.SceneManagement.SceneManager::get_sceneCount func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -void * UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_Create_Injected_1(void * desc) +void UnityEngine_SceneManagement_SceneManager_GetActiveScene_Injected(void * ret) { - typedef void * (* ICallMethod) (void * desc); + typedef void (* ICallMethod) (void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::Create_Injected"); - void * i2res = icall(desc); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::GetActiveScene_Injected"); + if(!icall) + { + platform_log("UnityEngine.SceneManagement.SceneManager::GetActiveScene_Injected func not found"); + return; + } + } + icall(ret); } -void UnityEngine_Experimental_Rendering_ShaderWarmup_WarmupShader_Injected(MonoObject* shader, void * setup) +void UnityEngine_SceneManagement_SceneManager_GetSceneByName_Injected(MonoString* name, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* shader, void * setup); + typedef void (* ICallMethod) (Il2CppString* name, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.ShaderWarmup::WarmupShader_Injected"); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - icall(i2shader,setup); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::GetSceneByName_Injected"); + if(!icall) + { + platform_log("UnityEngine.SceneManagement.SceneManager::GetSceneByName_Injected func not found"); + return; + } + } + Il2CppString* i2name = get_il2cpp_string(name); + icall(i2name,ret); } -void UnityEngine_Experimental_Rendering_ShaderWarmup_WarmupShaderFromCollection_Injected(MonoObject* collection, MonoObject* shader, void * setup) +void UnityEngine_SceneManagement_SceneManager_GetSceneAt_Injected(int32_t index, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* collection, Il2CppObject* shader, void * setup); + typedef void (* ICallMethod) (int32_t index, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.ShaderWarmup::WarmupShaderFromCollection_Injected"); - Il2CppObject* i2collection = get_il2cpp_object(collection,il2cpp_get_class_UnityEngine_ShaderVariantCollection()); - Il2CppObject* i2shader = get_il2cpp_object(shader,il2cpp_get_class_UnityEngine_Shader()); - icall(i2collection,i2shader,setup); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SceneManagement.SceneManager::GetSceneAt_Injected"); + if(!icall) + { + platform_log("UnityEngine.SceneManagement.SceneManager::GetSceneAt_Injected func not found"); + return; + } + } + icall(index,ret); } -float UnityEngine_Experimental_Rendering_RayTracingShader_get_maxRecursionDepth(MonoObject* thiz) +bool UnityEngine_Scripting_GarbageCollector_get_isIncremental() { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::get_maxRecursionDepth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - float i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Scripting.GarbageCollector::get_isIncremental"); + if(!icall) + { + platform_log("UnityEngine.Scripting.GarbageCollector::get_isIncremental func not found"); + return 0; + } + } + bool i2res = icall(); return i2res; } -void UnityEngine_Experimental_Rendering_RayTracingShader_SetFloat_1(MonoObject* thiz, int32_t nameID, float val) +uint64_t UnityEngine_Scripting_GarbageCollector_get_incrementalTimeSliceNanoseconds() { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, float val); + typedef uint64_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::SetFloat"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,nameID,val); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Scripting.GarbageCollector::get_incrementalTimeSliceNanoseconds"); + if(!icall) + { + platform_log("UnityEngine.Scripting.GarbageCollector::get_incrementalTimeSliceNanoseconds func not found"); + return 0; + } + } + uint64_t i2res = icall(); + return i2res; } -void UnityEngine_Experimental_Rendering_RayTracingShader_SetInt_1(MonoObject* thiz, int32_t nameID, int32_t val) +void UnityEngine_Scripting_GarbageCollector_set_incrementalTimeSliceNanoseconds(uint64_t value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, int32_t val); + typedef void (* ICallMethod) (uint64_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::SetInt"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,nameID,val); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Scripting.GarbageCollector::set_incrementalTimeSliceNanoseconds"); + if(!icall) + { + platform_log("UnityEngine.Scripting.GarbageCollector::set_incrementalTimeSliceNanoseconds func not found"); + return; + } + } + icall(value); } -void UnityEngine_Experimental_Rendering_RayTracingShader_SetFloatArray_1(MonoObject* thiz, int32_t nameID, void* values) +bool UnityEngine_Scripting_GarbageCollector_CollectIncremental(uint64_t nanoseconds) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void* values); + typedef bool (* ICallMethod) (uint64_t nanoseconds); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::SetFloatArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,nameID,values); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Scripting.GarbageCollector::CollectIncremental"); + if(!icall) + { + platform_log("UnityEngine.Scripting.GarbageCollector::CollectIncremental func not found"); + return 0; + } + } + bool i2res = icall(nanoseconds); + return i2res; } -void UnityEngine_Experimental_Rendering_RayTracingShader_SetIntArray_1(MonoObject* thiz, int32_t nameID, void* values) +bool UnityEngine_U2D_SpriteAtlas_CanBindTo(MonoObject* thiz, MonoObject* sprite) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void* values); + typedef bool (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* sprite); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::SetIntArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,nameID,values); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.U2D.SpriteAtlas::CanBindTo"); + if(!icall) + { + platform_log("UnityEngine.U2D.SpriteAtlas::CanBindTo func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_U2D_SpriteAtlas()); + Il2CppObject* i2sprite = get_il2cpp_object(sprite,il2cpp_get_class_UnityEngine_Sprite()); + bool i2res = icall(i2thiz,i2sprite); + return i2res; } -void UnityEngine_Experimental_Rendering_RayTracingShader_SetVectorArray_1(MonoObject* thiz, int32_t nameID, void* values) +bool UnityEngine_Rendering_GraphicsSettings_get_lightsUseLinearIntensity() { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void* values); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::SetVectorArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,nameID,values); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.GraphicsSettings::get_lightsUseLinearIntensity"); + if(!icall) + { + platform_log("UnityEngine.Rendering.GraphicsSettings::get_lightsUseLinearIntensity func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; } -void UnityEngine_Experimental_Rendering_RayTracingShader_SetMatrixArray_1(MonoObject* thiz, int32_t nameID, void* values) +void UnityEngine_Rendering_ScriptableRenderContext_GetCameras_Internal_Injected(void * _unity_self, MonoReflectionType* listType, MonoObject* resultList) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void* values); + typedef void (* ICallMethod) (void * _unity_self, Il2CppReflectionType* listType, Il2CppObject* resultList); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::SetMatrixArray"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,nameID,values); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rendering.ScriptableRenderContext::GetCameras_Internal_Injected"); + if(!icall) + { + platform_log("UnityEngine.Rendering.ScriptableRenderContext::GetCameras_Internal_Injected func not found"); + return; + } + } + Il2CppReflectionType* i2listType = get_il2cpp_reflection_type(listType); + Il2CppObject* i2resultList = get_il2cpp_object(resultList,NULL); + icall(_unity_self,i2listType,i2resultList); } -void UnityEngine_Experimental_Rendering_RayTracingShader_SetTexture_1(MonoObject* thiz, int32_t nameID, MonoObject* texture) +int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetGraphicsFormat_Native_TextureFormat(int32_t format, bool isSRGB) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, Il2CppObject* texture); + typedef int32_t (* ICallMethod) (int32_t format, bool isSRGB); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::SetTexture"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - Il2CppObject* i2texture = get_il2cpp_object(texture,il2cpp_get_class_UnityEngine_Texture()); - icall(i2thiz,nameID,i2texture); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetGraphicsFormat_Native_TextureFormat"); + if(!icall) + { + platform_log("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetGraphicsFormat_Native_TextureFormat func not found"); + return 0; + } + } + int32_t i2res = icall(format,isSRGB); + return i2res; } -void UnityEngine_Experimental_Rendering_RayTracingShader_SetAccelerationStructure(MonoObject* thiz, int32_t nameID, MonoObject* accelerationStrucure) +int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetGraphicsFormat_Native_RenderTextureFormat(int32_t format, bool isSRGB) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, Il2CppObject* accelerationStrucure); + typedef int32_t (* ICallMethod) (int32_t format, bool isSRGB); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::SetAccelerationStructure"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - Il2CppObject* i2accelerationStrucure = get_il2cpp_object(accelerationStrucure,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure()); - icall(i2thiz,nameID,i2accelerationStrucure); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetGraphicsFormat_Native_RenderTextureFormat"); + if(!icall) + { + platform_log("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetGraphicsFormat_Native_RenderTextureFormat func not found"); + return 0; + } + } + int32_t i2res = icall(format,isSRGB); + return i2res; } -void UnityEngine_Experimental_Rendering_RayTracingShader_SetShaderPass(MonoObject* thiz, MonoString* passName) +bool UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsSRGBFormat(int32_t format) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* passName); + typedef bool (* ICallMethod) (int32_t format); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::SetShaderPass"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - Il2CppString* i2passName = get_il2cpp_string(passName); - icall(i2thiz,i2passName); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsSRGBFormat"); + if(!icall) + { + platform_log("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsSRGBFormat func not found"); + return 0; + } + } + bool i2res = icall(format); + return i2res; } -void UnityEngine_Experimental_Rendering_RayTracingShader_SetTextureFromGlobal_1(MonoObject* thiz, int32_t nameID, int32_t globalTextureNameID) +int32_t UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetRenderTextureFormat(int32_t format) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, int32_t globalTextureNameID); + typedef int32_t (* ICallMethod) (int32_t format); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::SetTextureFromGlobal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,nameID,globalTextureNameID); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetRenderTextureFormat"); + if(!icall) + { + platform_log("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetRenderTextureFormat func not found"); + return 0; + } + } + int32_t i2res = icall(format); + return i2res; } -void UnityEngine_Experimental_Rendering_RayTracingShader_Dispatch_1(MonoObject* thiz, MonoString* rayGenFunctionName, int32_t width, int32_t height, int32_t depth, MonoObject* camera) +void Unity_Jobs_JobHandle_ScheduleBatchedJobs() { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* rayGenFunctionName, int32_t width, int32_t height, int32_t depth, Il2CppObject* camera); + typedef void (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::Dispatch"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - Il2CppString* i2rayGenFunctionName = get_il2cpp_string(rayGenFunctionName); - Il2CppObject* i2camera = get_il2cpp_object(camera,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,i2rayGenFunctionName,width,height,depth,i2camera); + { + icall = (ICallMethod)il2cpp_resolve_icall("Unity.Jobs.JobHandle::ScheduleBatchedJobs"); + if(!icall) + { + platform_log("Unity.Jobs.JobHandle::ScheduleBatchedJobs func not found"); + return; + } + } + icall(); } -void UnityEngine_Experimental_Rendering_RayTracingShader_SetVector_Injected_1(MonoObject* thiz, int32_t nameID, void * val) +void UnityEngine_Playables_PlayableDirector_set_time_2(MonoObject* thiz, double value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void * val); + typedef void (* ICallMethod) (Il2CppObject* thiz, double value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::SetVector_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,nameID,val); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableDirector::set_time"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableDirector::set_time func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Playables_PlayableDirector()); + icall(i2thiz,value); } -void UnityEngine_Experimental_Rendering_RayTracingShader_SetMatrix_Injected_1(MonoObject* thiz, int32_t nameID, void * val) +void UnityEngine_Playables_PlayableDirector_Evaluate_1(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t nameID, void * val); + typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Experimental.Rendering.RayTracingShader::SetMatrix_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Experimental_Rendering_RayTracingShader()); - icall(i2thiz,nameID,val); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableDirector::Evaluate"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableDirector::Evaluate func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Playables_PlayableDirector()); + icall(i2thiz); } -bool UnityEngine_Android_Permission_HasUserAuthorizedPermission(MonoString* permission) +void UnityEngine_Playables_PlayableDirector_Play_3(MonoObject* thiz) { - typedef bool (* ICallMethod) (Il2CppString* permission); + typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Android.Permission::HasUserAuthorizedPermission"); - Il2CppString* i2permission = get_il2cpp_string(permission); - bool i2res = icall(i2permission); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableDirector::Play"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableDirector::Play func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Playables_PlayableDirector()); + icall(i2thiz); } -void UnityEngine_Android_Permission_RequestUserPermission(MonoString* permission) +void UnityEngine_Playables_PlayableDirector_Stop_1(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppString* permission); + typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Android.Permission::RequestUserPermission"); - Il2CppString* i2permission = get_il2cpp_string(permission); - icall(i2permission); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableDirector::Stop"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableDirector::Stop func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Playables_PlayableDirector()); + icall(i2thiz); } -bool UnityEngine_TestTools_Coverage_get_enabled_6() +void UnityEngine_Playables_PlayableDirector_Pause_1(MonoObject* thiz) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TestTools.Coverage::get_enabled"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableDirector::Pause"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableDirector::Pause func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Playables_PlayableDirector()); + icall(i2thiz); } -void* UnityEngine_TestTools_Coverage_GetStatsForAllCoveredMethods() +void UnityEngine_Playables_PlayableDirector_Resume(MonoObject* thiz) { - typedef void* (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TestTools.Coverage::GetStatsForAllCoveredMethods"); - void* i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableDirector::Resume"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableDirector::Resume func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Playables_PlayableDirector()); + icall(i2thiz); } -void UnityEngine_TestTools_Coverage_ResetAll() +MonoObject* UnityEngine_Playables_PlayableDirector_GetGenericBinding(MonoObject* thiz, MonoObject* key) { - typedef void (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* key); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TestTools.Coverage::ResetAll"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableDirector::GetGenericBinding"); + if(!icall) + { + platform_log("UnityEngine.Playables.PlayableDirector::GetGenericBinding func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Playables_PlayableDirector()); + Il2CppObject* i2key = get_il2cpp_object(key,il2cpp_get_class_UnityEngine_Object()); + Il2CppObject* i2res = icall(i2thiz,i2key); + MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Playables.PlayableDirector::GetGenericBinding fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Playables_PlayableDirector_ClearReferenceValue_Injected(MonoObject* thiz, void * id) +MonoArray* UnityEngine_ImageConversion_EncodeToPNG(MonoObject* tex) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * id); + typedef Il2CppArray* (* ICallMethod) (Il2CppObject* tex); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableDirector::ClearReferenceValue_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Playables_PlayableDirector()); - icall(i2thiz,id); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ImageConversion::EncodeToPNG"); + if(!icall) + { + platform_log("UnityEngine.ImageConversion::EncodeToPNG func not found"); + return NULL; + } + } + Il2CppObject* i2tex = get_il2cpp_object(tex,il2cpp_get_class_UnityEngine_Texture2D()); + Il2CppArray* i2res = icall(i2tex); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.ImageConversion::EncodeToPNG fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Playables_PlayableDirector_SetReferenceValue_Injected(MonoObject* thiz, void * id, MonoObject* value) +MonoArray* UnityEngine_ImageConversion_EncodeToJPG(MonoObject* tex, int32_t quality) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * id, Il2CppObject* value); + typedef Il2CppArray* (* ICallMethod) (Il2CppObject* tex, int32_t quality); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableDirector::SetReferenceValue_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Playables_PlayableDirector()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Object()); - icall(i2thiz,id,i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ImageConversion::EncodeToJPG"); + if(!icall) + { + platform_log("UnityEngine.ImageConversion::EncodeToJPG func not found"); + return NULL; + } + } + Il2CppObject* i2tex = get_il2cpp_object(tex,il2cpp_get_class_UnityEngine_Texture2D()); + Il2CppArray* i2res = icall(i2tex,quality); + MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.ImageConversion::EncodeToJPG fail to convert il2cpp obj to mono"); + } + return monoi2res; } -MonoObject* UnityEngine_Playables_PlayableDirector_GetReferenceValue_Injected(MonoObject* thiz, void * id, void * idValid) +bool UnityEngine_ImageConversion_LoadImage(MonoObject* tex, MonoArray* data, bool markNonReadable) { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, void * id, void * idValid); + typedef bool (* ICallMethod) (Il2CppObject* tex, Il2CppArray* data, bool markNonReadable); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Playables.PlayableDirector::GetReferenceValue_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Playables_PlayableDirector()); - Il2CppObject* i2res = icall(i2thiz,id,idValid); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ImageConversion::LoadImage"); + if(!icall) + { + platform_log("UnityEngine.ImageConversion::LoadImage func not found"); + return 0; + } + } + Il2CppObject* i2tex = get_il2cpp_object(tex,il2cpp_get_class_UnityEngine_Texture2D()); + Il2CppArray* i2data = get_il2cpp_array(data); + bool i2res = icall(i2tex,i2data,markNonReadable); + return i2res; } int32_t UnityEngine_Event_get_rawType(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_rawType"); + if(!icall) + { + platform_log("UnityEngine.Event::get_rawType func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); int32_t i2res = icall(i2thiz); return i2res; @@ -25821,7 +14507,14 @@ int32_t UnityEngine_Event_get_pointerType(MonoObject* thiz) typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_pointerType"); + if(!icall) + { + platform_log("UnityEngine.Event::get_pointerType func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); int32_t i2res = icall(i2thiz); return i2res; @@ -25831,7 +14524,14 @@ int32_t UnityEngine_Event_get_button(MonoObject* thiz) typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_button"); + if(!icall) + { + platform_log("UnityEngine.Event::get_button func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); int32_t i2res = icall(i2thiz); return i2res; @@ -25841,26 +14541,31 @@ int32_t UnityEngine_Event_get_modifiers(MonoObject* thiz) typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_modifiers"); + if(!icall) + { + platform_log("UnityEngine.Event::get_modifiers func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Event_set_modifiers(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::set_modifiers"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); - icall(i2thiz,value); -} float UnityEngine_Event_get_pressure(MonoObject* thiz) { typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_pressure"); + if(!icall) + { + platform_log("UnityEngine.Event::get_pressure func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); float i2res = icall(i2thiz); return i2res; @@ -25870,7 +14575,14 @@ int32_t UnityEngine_Event_get_clickCount(MonoObject* thiz) typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_clickCount"); + if(!icall) + { + platform_log("UnityEngine.Event::get_clickCount func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); int32_t i2res = icall(i2thiz); return i2res; @@ -25880,45 +14592,48 @@ char UnityEngine_Event_get_character(MonoObject* thiz) typedef char (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_character"); + if(!icall) + { + platform_log("UnityEngine.Event::get_character func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); char i2res = icall(i2thiz); return i2res; } -void UnityEngine_Event_set_character(MonoObject* thiz, char value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, char value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::set_character"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); - icall(i2thiz,value); -} int32_t UnityEngine_Event_get_keyCode(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_keyCode"); + if(!icall) + { + platform_log("UnityEngine.Event::get_keyCode func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Event_set_keyCode(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::set_keyCode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); - icall(i2thiz,value); -} int32_t UnityEngine_Event_get_displayIndex(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_displayIndex"); + if(!icall) + { + platform_log("UnityEngine.Event::get_displayIndex func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); int32_t i2res = icall(i2thiz); return i2res; @@ -25928,26 +14643,47 @@ void UnityEngine_Event_set_displayIndex(MonoObject* thiz, int32_t value) typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::set_displayIndex"); + if(!icall) + { + platform_log("UnityEngine.Event::set_displayIndex func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); icall(i2thiz,value); } -int32_t UnityEngine_Event_get_type_3(MonoObject* thiz) +int32_t UnityEngine_Event_get_type_1(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_type"); + if(!icall) + { + platform_log("UnityEngine.Event::get_type func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Event_set_type_2(MonoObject* thiz, int32_t value) +void UnityEngine_Event_set_type(MonoObject* thiz, int32_t value) { typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::set_type"); + if(!icall) + { + platform_log("UnityEngine.Event::set_type func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); icall(i2thiz,value); } @@ -25956,98 +14692,86 @@ MonoString* UnityEngine_Event_get_commandName(MonoObject* thiz) typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_commandName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_Event_set_commandName(MonoObject* thiz, MonoString* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::set_commandName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2thiz,i2value); -} -void UnityEngine_Event_Internal_Use(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::Internal_Use"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); - icall(i2thiz); -} -void * UnityEngine_Event_Internal_Create_9(int32_t displayIndex) -{ - typedef void * (* ICallMethod) (int32_t displayIndex); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::Internal_Create"); - void * i2res = icall(displayIndex); - return i2res; -} -void UnityEngine_Event_Internal_Destroy_3(void * ptr) -{ - typedef void (* ICallMethod) (void * ptr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::Internal_Destroy"); - icall(ptr); -} -void UnityEngine_Event_CopyFromPtr(MonoObject* thiz, void * ptr) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ptr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::CopyFromPtr"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); - icall(i2thiz,ptr); -} -void UnityEngine_Event_Internal_SetNativeEvent(void * ptr) -{ - typedef void (* ICallMethod) (void * ptr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::Internal_SetNativeEvent"); - icall(ptr); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_commandName"); + if(!icall) + { + platform_log("UnityEngine.Event::get_commandName func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); + Il2CppString* i2res = icall(i2thiz); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Event::get_commandName fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Event_get_mousePosition_Injected(MonoObject* thiz, void * ret) +void UnityEngine_Event_set_commandName(MonoObject* thiz, MonoString* value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_mousePosition_Injected"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::set_commandName"); + if(!icall) + { + platform_log("UnityEngine.Event::set_commandName func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); - icall(i2thiz,ret); + Il2CppString* i2value = get_il2cpp_string(value); + icall(i2thiz,i2value); } -void UnityEngine_Event_set_mousePosition_Injected(MonoObject* thiz, void * value) +void UnityEngine_Event_CopyFromPtr(MonoObject* thiz, void * ptr) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ptr); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::set_mousePosition_Injected"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::CopyFromPtr"); + if(!icall) + { + platform_log("UnityEngine.Event::CopyFromPtr func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); - icall(i2thiz,value); + icall(i2thiz,ptr); } -void UnityEngine_Event_get_delta_Injected(MonoObject* thiz, void * ret) +bool UnityEngine_Event_PopEvent(MonoObject* outEvent) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef bool (* ICallMethod) (Il2CppObject* outEvent); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::get_delta_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Event()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Event::PopEvent"); + if(!icall) + { + platform_log("UnityEngine.Event::PopEvent func not found"); + return 0; + } + } + Il2CppObject* i2outEvent = get_il2cpp_object(outEvent,il2cpp_get_class_UnityEngine_Event()); + bool i2res = icall(i2outEvent); + return i2res; } bool UnityEngine_GUI_get_changed() { typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::get_changed"); + if(!icall) + { + platform_log("UnityEngine.GUI::get_changed func not found"); + return 0; + } + } bool i2res = icall(); return i2res; } @@ -26056,865 +14780,1522 @@ void UnityEngine_GUI_set_changed(bool value) typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::set_changed"); + if(!icall) + { + platform_log("UnityEngine.GUI::set_changed func not found"); + return; + } + } icall(value); } -bool UnityEngine_GUI_get_enabled_7() +bool UnityEngine_GUI_get_enabled_2() { typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::get_enabled"); + if(!icall) + { + platform_log("UnityEngine.GUI::get_enabled func not found"); + return 0; + } + } bool i2res = icall(); return i2res; } -void UnityEngine_GUI_set_enabled_5(bool value) +void UnityEngine_GUI_set_enabled_2(bool value) { typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::set_enabled"); + if(!icall) + { + platform_log("UnityEngine.GUI::set_enabled func not found"); + return; + } + } icall(value); } -void UnityEngine_GUI_GrabMouseControl(int32_t id) +void UnityEngine_GUIStyle_set_alignment(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (int32_t id); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::GrabMouseControl"); - icall(id); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::set_alignment"); + if(!icall) + { + platform_log("UnityEngine.GUIStyle::set_alignment func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); + icall(i2thiz,value); } -bool UnityEngine_GUI_HasMouseControl(int32_t id) +float UnityEngine_GUIStyle_get_fixedWidth(MonoObject* thiz) { - typedef bool (* ICallMethod) (int32_t id); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::HasMouseControl"); - bool i2res = icall(id); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::get_fixedWidth"); + if(!icall) + { + platform_log("UnityEngine.GUIStyle::get_fixedWidth func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); + float i2res = icall(i2thiz); return i2res; } -void UnityEngine_GUI_ReleaseMouseControl() -{ - typedef void (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::ReleaseMouseControl"); - icall(); -} -void UnityEngine_GUI_get_color_Injected_4(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::get_color_Injected"); - icall(ret); -} -void UnityEngine_GUI_set_color_Injected_4(void * value) +float UnityEngine_GUIStyle_get_fixedHeight(MonoObject* thiz) { - typedef void (* ICallMethod) (void * value); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::set_color_Injected"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::get_fixedHeight"); + if(!icall) + { + platform_log("UnityEngine.GUIStyle::get_fixedHeight func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); + float i2res = icall(i2thiz); + return i2res; } -void UnityEngine_GUI_get_backgroundColor_Injected_2(void * ret) +bool UnityEngine_GUIStyle_get_stretchWidth(MonoObject* thiz) { - typedef void (* ICallMethod) (void * ret); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::get_backgroundColor_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::get_stretchWidth"); + if(!icall) + { + platform_log("UnityEngine.GUIStyle::get_stretchWidth func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); + bool i2res = icall(i2thiz); + return i2res; } -void UnityEngine_GUI_set_backgroundColor_Injected_2(void * value) +bool UnityEngine_GUIStyle_get_stretchHeight(MonoObject* thiz) { - typedef void (* ICallMethod) (void * value); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::set_backgroundColor_Injected"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::get_stretchHeight"); + if(!icall) + { + platform_log("UnityEngine.GUIStyle::get_stretchHeight func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); + bool i2res = icall(i2thiz); + return i2res; } -void UnityEngine_GUI_get_contentColor_Injected(void * ret) +void UnityEngine_GUIStyle_set_stretchHeight(MonoObject* thiz, bool value) { - typedef void (* ICallMethod) (void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::get_contentColor_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::set_stretchHeight"); + if(!icall) + { + platform_log("UnityEngine.GUIStyle::set_stretchHeight func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); + icall(i2thiz,value); } -void UnityEngine_GUI_set_contentColor_Injected(void * value) +void UnityEngine_GUIStyle_Internal_Draw_Injected(MonoObject* thiz, void * screenRect, MonoObject* content, bool isHover, bool isActive, bool on, bool hasKeyboardFocus) { - typedef void (* ICallMethod) (void * value); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * screenRect, Il2CppObject* content, bool isHover, bool isActive, bool on, bool hasKeyboardFocus); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUI::set_contentColor_Injected"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_Draw_Injected"); + if(!icall) + { + platform_log("UnityEngine.GUIStyle::Internal_Draw_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); + Il2CppObject* i2content = get_il2cpp_object(content,il2cpp_get_class_UnityEngine_GUIContent()); + icall(i2thiz,screenRect,i2content,isHover,isActive,on,hasKeyboardFocus); } -void UnityEngine_GUIClip_Internal_Pop() +void UnityEngine_GUIStyle_Internal_Draw2_Injected(MonoObject* thiz, void * position, MonoObject* content, int32_t controlID, bool on) { - typedef void (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, Il2CppObject* content, int32_t controlID, bool on); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIClip::Internal_Pop"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_Draw2_Injected"); + if(!icall) + { + platform_log("UnityEngine.GUIStyle::Internal_Draw2_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); + Il2CppObject* i2content = get_il2cpp_object(content,il2cpp_get_class_UnityEngine_GUIContent()); + icall(i2thiz,position,i2content,controlID,on); } -int32_t UnityEngine_GUIClip_Internal_GetCount() +void UnityEngine_GUIStyle_Internal_CalcSize_Injected(MonoObject* thiz, MonoObject* content, void * ret) { - typedef int32_t (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* content, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIClip::Internal_GetCount"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_CalcSize_Injected"); + if(!icall) + { + platform_log("UnityEngine.GUIStyle::Internal_CalcSize_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); + Il2CppObject* i2content = get_il2cpp_object(content,il2cpp_get_class_UnityEngine_GUIContent()); + icall(i2thiz,i2content,ret); } -void UnityEngine_GUIClip_Internal_PopParentClip() +MonoString* UnityEngine_GUIUtility_get_systemCopyBuffer() { - typedef void (* ICallMethod) (); + typedef Il2CppString* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIClip::Internal_PopParentClip"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::get_systemCopyBuffer"); + if(!icall) + { + platform_log("UnityEngine.GUIUtility::get_systemCopyBuffer func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.GUIUtility::get_systemCopyBuffer fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_GUIClip_get_visibleRect_Injected(void * ret) +void UnityEngine_GUIUtility_set_systemCopyBuffer(MonoString* value) { - typedef void (* ICallMethod) (void * ret); + typedef void (* ICallMethod) (Il2CppString* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIClip::get_visibleRect_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::set_systemCopyBuffer"); + if(!icall) + { + platform_log("UnityEngine.GUIUtility::set_systemCopyBuffer func not found"); + return; + } + } + Il2CppString* i2value = get_il2cpp_string(value); + icall(i2value); } -void UnityEngine_GUIClip_GetMatrix_Injected(void * ret) +bool UnityEngine_Input_get_anyKeyDown() { - typedef void (* ICallMethod) (void * ret); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIClip::GetMatrix_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::get_anyKeyDown"); + if(!icall) + { + platform_log("UnityEngine.Input::get_anyKeyDown func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; } -void UnityEngine_GUIClip_SetMatrix_Injected_2(void * m) +MonoString* UnityEngine_Input_get_inputString() { - typedef void (* ICallMethod) (void * m); + typedef Il2CppString* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIClip::SetMatrix_Injected"); - icall(m); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::get_inputString"); + if(!icall) + { + platform_log("UnityEngine.Input::get_inputString func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Input::get_inputString fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_GUIClip_Internal_PushParentClip_Injected(void * objectTransform, void * clipRect) +int32_t UnityEngine_Input_get_imeCompositionMode() { - typedef void (* ICallMethod) (void * objectTransform, void * clipRect); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIClip::Internal_PushParentClip_Injected"); - icall(objectTransform,clipRect); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::get_imeCompositionMode"); + if(!icall) + { + platform_log("UnityEngine.Input::get_imeCompositionMode func not found"); + return 0; + } + } + int32_t i2res = icall(); + return i2res; } -void UnityEngine_GUILayoutUtility_Internal_GetWindowRect_Injected(int32_t windowID, void * ret) +void UnityEngine_Input_set_imeCompositionMode(int32_t value) { - typedef void (* ICallMethod) (int32_t windowID, void * ret); + typedef void (* ICallMethod) (int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUILayoutUtility::Internal_GetWindowRect_Injected"); - icall(windowID,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::set_imeCompositionMode"); + if(!icall) + { + platform_log("UnityEngine.Input::set_imeCompositionMode func not found"); + return; + } + } + icall(value); } -void UnityEngine_GUILayoutUtility_Internal_MoveWindow_Injected(int32_t windowID, void * r) +MonoString* UnityEngine_Input_get_compositionString() { - typedef void (* ICallMethod) (int32_t windowID, void * r); + typedef Il2CppString* (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUILayoutUtility::Internal_MoveWindow_Injected"); - icall(windowID,r); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::get_compositionString"); + if(!icall) + { + platform_log("UnityEngine.Input::get_compositionString func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Input::get_compositionString fail to convert il2cpp obj to mono"); + } + return monoi2res; } -float UnityEngine_GUISettings_Internal_GetCursorFlashSpeed() +bool UnityEngine_Input_get_mousePresent() { - typedef float (* ICallMethod) (); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUISettings::Internal_GetCursorFlashSpeed"); - float i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::get_mousePresent"); + if(!icall) + { + platform_log("UnityEngine.Input::get_mousePresent func not found"); + return 0; + } + } + bool i2res = icall(); return i2res; } -void * UnityEngine_GUIStyleState_Init_2() +int32_t UnityEngine_Input_get_touchCount() { - typedef void * (* ICallMethod) (); + typedef int32_t (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyleState::Init"); - void * i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::get_touchCount"); + if(!icall) + { + platform_log("UnityEngine.Input::get_touchCount func not found"); + return 0; + } + } + int32_t i2res = icall(); return i2res; } -void UnityEngine_GUIStyleState_Cleanup_1(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyleState::Cleanup"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyleState()); - icall(i2thiz); -} -void UnityEngine_GUIStyleState_set_textColor_Injected(MonoObject* thiz, void * value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyleState::set_textColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyleState()); - icall(i2thiz,value); -} -MonoString* UnityEngine_GUIStyle_get_rawName(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::get_rawName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_GUIStyle_set_rawName(MonoObject* thiz, MonoString* value) +bool UnityEngine_Input_get_touchSupported() { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* value); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::set_rawName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2thiz,i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::get_touchSupported"); + if(!icall) + { + platform_log("UnityEngine.Input::get_touchSupported func not found"); + return 0; + } + } + bool i2res = icall(); + return i2res; } -MonoObject* UnityEngine_GUIStyle_get_font(MonoObject* thiz) +void UnityEngine_Input_set_multiTouchEnabled(bool value) { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::get_font"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Font()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::set_multiTouchEnabled"); + if(!icall) + { + platform_log("UnityEngine.Input::set_multiTouchEnabled func not found"); + return; + } + } + icall(value); } -float UnityEngine_GUIStyle_get_fixedWidth(MonoObject* thiz) +float UnityEngine_Input_GetAxis(MonoString* axisName) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef float (* ICallMethod) (Il2CppString* axisName); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::get_fixedWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - float i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::GetAxis"); + if(!icall) + { + platform_log("UnityEngine.Input::GetAxis func not found"); + return 0; + } + } + Il2CppString* i2axisName = get_il2cpp_string(axisName); + float i2res = icall(i2axisName); return i2res; } -float UnityEngine_GUIStyle_get_fixedHeight(MonoObject* thiz) +float UnityEngine_Input_GetAxisRaw(MonoString* axisName) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef float (* ICallMethod) (Il2CppString* axisName); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::get_fixedHeight"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - float i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::GetAxisRaw"); + if(!icall) + { + platform_log("UnityEngine.Input::GetAxisRaw func not found"); + return 0; + } + } + Il2CppString* i2axisName = get_il2cpp_string(axisName); + float i2res = icall(i2axisName); return i2res; } -bool UnityEngine_GUIStyle_get_stretchWidth(MonoObject* thiz) +bool UnityEngine_Input_GetButtonDown(MonoString* buttonName) { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (Il2CppString* buttonName); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::get_stretchWidth"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - bool i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::GetButtonDown"); + if(!icall) + { + platform_log("UnityEngine.Input::GetButtonDown func not found"); + return 0; + } + } + Il2CppString* i2buttonName = get_il2cpp_string(buttonName); + bool i2res = icall(i2buttonName); return i2res; } -bool UnityEngine_GUIStyle_get_stretchHeight(MonoObject* thiz) +bool UnityEngine_Input_GetMouseButton(int32_t button) { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef bool (* ICallMethod) (int32_t button); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::get_stretchHeight"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - bool i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::GetMouseButton"); + if(!icall) + { + platform_log("UnityEngine.Input::GetMouseButton func not found"); + return 0; + } + } + bool i2res = icall(button); return i2res; } -void UnityEngine_GUIStyle_set_stretchHeight(MonoObject* thiz, bool value) +bool UnityEngine_Input_GetMouseButtonDown(int32_t button) { - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + typedef bool (* ICallMethod) (int32_t button); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::set_stretchHeight"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::GetMouseButtonDown"); + if(!icall) + { + platform_log("UnityEngine.Input::GetMouseButtonDown func not found"); + return 0; + } + } + bool i2res = icall(button); + return i2res; } -void * UnityEngine_GUIStyle_Internal_Create_10(MonoObject* self) +bool UnityEngine_Input_GetMouseButtonUp(int32_t button) { - typedef void * (* ICallMethod) (Il2CppObject* self); + typedef bool (* ICallMethod) (int32_t button); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_Create"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_GUIStyle()); - void * i2res = icall(i2self); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::GetMouseButtonUp"); + if(!icall) + { + platform_log("UnityEngine.Input::GetMouseButtonUp func not found"); + return 0; + } + } + bool i2res = icall(button); return i2res; } -void UnityEngine_GUIStyle_Internal_Destroy_4(void * self) +void UnityEngine_Input_GetTouch_Injected(int32_t index, void * ret) { - typedef void (* ICallMethod) (void * self); + typedef void (* ICallMethod) (int32_t index, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_Destroy"); - icall(self); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::GetTouch_Injected"); + if(!icall) + { + platform_log("UnityEngine.Input::GetTouch_Injected func not found"); + return; + } + } + icall(index,ret); } -void * UnityEngine_GUIStyle_GetStyleStatePtr(MonoObject* thiz, int32_t idx) +bool UnityEngine_Input_GetKeyInt(int32_t key) { - typedef void * (* ICallMethod) (Il2CppObject* thiz, int32_t idx); + typedef bool (* ICallMethod) (int32_t key); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::GetStyleStatePtr"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - void * i2res = icall(i2thiz,idx); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::GetKeyInt"); + if(!icall) + { + platform_log("UnityEngine.Input::GetKeyInt func not found"); + return 0; + } + } + bool i2res = icall(key); return i2res; } -void * UnityEngine_GUIStyle_GetRectOffsetPtr(MonoObject* thiz, int32_t idx) +bool UnityEngine_Input_GetKeyUpInt(int32_t key) { - typedef void * (* ICallMethod) (Il2CppObject* thiz, int32_t idx); + typedef bool (* ICallMethod) (int32_t key); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::GetRectOffsetPtr"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - void * i2res = icall(i2thiz,idx); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::GetKeyUpInt"); + if(!icall) + { + platform_log("UnityEngine.Input::GetKeyUpInt func not found"); + return 0; + } + } + bool i2res = icall(key); return i2res; } -float UnityEngine_GUIStyle_Internal_GetLineHeight(void * target) +bool UnityEngine_Input_GetKeyDownInt(int32_t key) { - typedef float (* ICallMethod) (void * target); + typedef bool (* ICallMethod) (int32_t key); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_GetLineHeight"); - float i2res = icall(target); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::GetKeyDownInt"); + if(!icall) + { + platform_log("UnityEngine.Input::GetKeyDownInt func not found"); + return 0; + } + } + bool i2res = icall(key); return i2res; } -float UnityEngine_GUIStyle_Internal_CalcHeight(MonoObject* thiz, MonoObject* content, float width) +int32_t UnityEngine_ParticleSystem_get_particleCount(MonoObject* thiz) { - typedef float (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* content, float width); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_CalcHeight"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - Il2CppObject* i2content = get_il2cpp_object(content,il2cpp_get_class_UnityEngine_GUIContent()); - float i2res = icall(i2thiz,i2content,width); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::get_particleCount"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystem::get_particleCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); + int32_t i2res = icall(i2thiz); return i2res; } -float UnityEngine_GUIStyle_Internal_GetCursorFlashOffset() +void UnityEngine_ParticleSystem_set_time_3(MonoObject* thiz, float value) { - typedef float (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_GetCursorFlashOffset"); - float i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::set_time"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystem::set_time func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); + icall(i2thiz,value); } -void UnityEngine_GUIStyle_SetDefaultFont(MonoObject* font) +void UnityEngine_ParticleSystem_EmitOld_Internal(MonoObject* thiz, void * particle) { - typedef void (* ICallMethod) (Il2CppObject* font); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * particle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::SetDefaultFont"); - Il2CppObject* i2font = get_il2cpp_object(font,il2cpp_get_class_UnityEngine_Font()); - icall(i2font); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::EmitOld_Internal"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystem::EmitOld_Internal func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); + icall(i2thiz,particle); } -void UnityEngine_GUIStyle_get_contentOffset_Injected(MonoObject* thiz, void * ret) +void UnityEngine_ParticleSystem_SetParticles(MonoObject* thiz, void* particles, int32_t size, int32_t offset) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, void* particles, int32_t size, int32_t offset); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::get_contentOffset_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - icall(i2thiz,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::SetParticles"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystem::SetParticles func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); + icall(i2thiz,particles,size,offset); } -void UnityEngine_GUIStyle_set_contentOffset_Injected(MonoObject* thiz, void * value) +int32_t UnityEngine_ParticleSystem_GetParticles(MonoObject* thiz, void* particles, int32_t size, int32_t offset) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz, void* particles, int32_t size, int32_t offset); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::set_contentOffset_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::GetParticles"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystem::GetParticles func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); + int32_t i2res = icall(i2thiz,particles,size,offset); + return i2res; } -void UnityEngine_GUIStyle_set_Internal_clipOffset_Injected(MonoObject* thiz, void * value) +void UnityEngine_ParticleSystem_Simulate(MonoObject* thiz, float t, bool withChildren, bool restart, bool fixedTimeStep) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef void (* ICallMethod) (Il2CppObject* thiz, float t, bool withChildren, bool restart, bool fixedTimeStep); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::set_Internal_clipOffset_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::Simulate"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystem::Simulate func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); + icall(i2thiz,t,withChildren,restart,fixedTimeStep); } -void UnityEngine_GUIStyle_Internal_Draw_Injected(MonoObject* thiz, void * screenRect, MonoObject* content, bool isHover, bool isActive, bool on, bool hasKeyboardFocus) +void UnityEngine_ParticleSystem_Play_4(MonoObject* thiz, bool withChildren) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * screenRect, Il2CppObject* content, bool isHover, bool isActive, bool on, bool hasKeyboardFocus); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool withChildren); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_Draw_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - Il2CppObject* i2content = get_il2cpp_object(content,il2cpp_get_class_UnityEngine_GUIContent()); - icall(i2thiz,screenRect,i2content,isHover,isActive,on,hasKeyboardFocus); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::Play"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystem::Play func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); + icall(i2thiz,withChildren); } -void UnityEngine_GUIStyle_Internal_Draw2_Injected(MonoObject* thiz, void * position, MonoObject* content, int32_t controlID, bool on) +void UnityEngine_ParticleSystem_Pause_2(MonoObject* thiz, bool withChildren) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, Il2CppObject* content, int32_t controlID, bool on); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool withChildren); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_Draw2_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - Il2CppObject* i2content = get_il2cpp_object(content,il2cpp_get_class_UnityEngine_GUIContent()); - icall(i2thiz,position,i2content,controlID,on); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::Pause"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystem::Pause func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); + icall(i2thiz,withChildren); } -void UnityEngine_GUIStyle_Internal_DrawCursor_Injected(MonoObject* thiz, void * position, MonoObject* content, int32_t pos, void * cursorColor) +void UnityEngine_ParticleSystem_Clear(MonoObject* thiz, bool withChildren) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, Il2CppObject* content, int32_t pos, void * cursorColor); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool withChildren); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_DrawCursor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - Il2CppObject* i2content = get_il2cpp_object(content,il2cpp_get_class_UnityEngine_GUIContent()); - icall(i2thiz,position,i2content,pos,cursorColor); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::Clear"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystem::Clear func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); + icall(i2thiz,withChildren); } -void UnityEngine_GUIStyle_Internal_DrawWithTextSelection_Injected(MonoObject* thiz, void * screenRect, MonoObject* content, bool isHover, bool isActive, bool on, bool hasKeyboardFocus, bool drawSelectionAsComposition, int32_t cursorFirst, int32_t cursorLast, void * cursorColor, void * selectionColor) +void UnityEngine_ParticleSystem_Emit_Internal(MonoObject* thiz, int32_t count) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * screenRect, Il2CppObject* content, bool isHover, bool isActive, bool on, bool hasKeyboardFocus, bool drawSelectionAsComposition, int32_t cursorFirst, int32_t cursorLast, void * cursorColor, void * selectionColor); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t count); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_DrawWithTextSelection_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - Il2CppObject* i2content = get_il2cpp_object(content,il2cpp_get_class_UnityEngine_GUIContent()); - icall(i2thiz,screenRect,i2content,isHover,isActive,on,hasKeyboardFocus,drawSelectionAsComposition,cursorFirst,cursorLast,cursorColor,selectionColor); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::Emit_Internal"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystem::Emit_Internal func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); + icall(i2thiz,count); } -void UnityEngine_GUIStyle_Internal_GetCursorPixelPosition_Injected(MonoObject* thiz, void * position, MonoObject* content, int32_t cursorStringIndex, void * ret) +void UnityEngine_ParticleSystem_Emit_Injected(MonoObject* thiz, void * emitParams, int32_t count) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, Il2CppObject* content, int32_t cursorStringIndex, void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * emitParams, int32_t count); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_GetCursorPixelPosition_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - Il2CppObject* i2content = get_il2cpp_object(content,il2cpp_get_class_UnityEngine_GUIContent()); - icall(i2thiz,position,i2content,cursorStringIndex,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::Emit_Injected"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystem::Emit_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); + icall(i2thiz,emitParams,count); } -int32_t UnityEngine_GUIStyle_Internal_GetCursorStringIndex_Injected(MonoObject* thiz, void * position, MonoObject* content, void * cursorPixelPosition) +int32_t UnityEngine_ParticleSystemRenderer_get_renderMode(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, void * position, Il2CppObject* content, void * cursorPixelPosition); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_GetCursorStringIndex_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - Il2CppObject* i2content = get_il2cpp_object(content,il2cpp_get_class_UnityEngine_GUIContent()); - int32_t i2res = icall(i2thiz,position,i2content,cursorPixelPosition); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystemRenderer::get_renderMode"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystemRenderer::get_renderMode func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystemRenderer()); + int32_t i2res = icall(i2thiz); return i2res; } -MonoString* UnityEngine_GUIStyle_Internal_GetSelectedRenderedText_Injected(MonoObject* thiz, void * localPosition, MonoObject* mContent, int32_t selectIndex, int32_t cursorIndex) +float UnityEngine_ParticleSystemRenderer_get_lengthScale(MonoObject* thiz) { - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz, void * localPosition, Il2CppObject* mContent, int32_t selectIndex, int32_t cursorIndex); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_GetSelectedRenderedText_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - Il2CppObject* i2mContent = get_il2cpp_object(mContent,il2cpp_get_class_UnityEngine_GUIContent()); - Il2CppString* i2res = icall(i2thiz,localPosition,i2mContent,selectIndex,cursorIndex); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystemRenderer::get_lengthScale"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystemRenderer::get_lengthScale func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystemRenderer()); + float i2res = icall(i2thiz); + return i2res; } -void UnityEngine_GUIStyle_Internal_CalcSize_Injected(MonoObject* thiz, MonoObject* content, void * ret) +void UnityEngine_ParticleSystemRenderer_set_lengthScale(MonoObject* thiz, float value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* content, void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::Internal_CalcSize_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_GUIStyle()); - Il2CppObject* i2content = get_il2cpp_object(content,il2cpp_get_class_UnityEngine_GUIContent()); - icall(i2thiz,i2content,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystemRenderer::set_lengthScale"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystemRenderer::set_lengthScale func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystemRenderer()); + icall(i2thiz,value); } -void UnityEngine_GUIStyle_SetMouseTooltip_Injected(MonoString* tooltip, void * screenRect) +float UnityEngine_ParticleSystemRenderer_get_velocityScale(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppString* tooltip, void * screenRect); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIStyle::SetMouseTooltip_Injected"); - Il2CppString* i2tooltip = get_il2cpp_string(tooltip); - icall(i2tooltip,screenRect); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystemRenderer::get_velocityScale"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystemRenderer::get_velocityScale func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystemRenderer()); + float i2res = icall(i2thiz); + return i2res; } -float UnityEngine_GUIUtility_get_pixelsPerPoint() +void UnityEngine_ParticleSystemRenderer_set_velocityScale(MonoObject* thiz, float value) { - typedef float (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::get_pixelsPerPoint"); - float i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystemRenderer::set_velocityScale"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystemRenderer::set_velocityScale func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystemRenderer()); + icall(i2thiz,value); } -int32_t UnityEngine_GUIUtility_get_guiDepth() +int32_t UnityEngine_ParticleSystemRenderer_GetMeshes(MonoObject* thiz, MonoArray* meshes) { - typedef int32_t (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppArray* meshes); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::get_guiDepth"); - int32_t i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystemRenderer::GetMeshes"); + if(!icall) + { + platform_log("UnityEngine.ParticleSystemRenderer::GetMeshes func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystemRenderer()); + Il2CppArray* i2meshes = get_il2cpp_array(meshes); + int32_t i2res = icall(i2thiz,i2meshes); return i2res; } -void UnityEngine_GUIUtility_set_textFieldInput(bool value) +void UnityEngine_PhysicsScene2D_Raycast_Internal_Injected(void * physicsScene, void * origin, void * direction, float distance, void * contactFilter, void * ret) { - typedef void (* ICallMethod) (bool value); + typedef void (* ICallMethod) (void * physicsScene, void * origin, void * direction, float distance, void * contactFilter, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::set_textFieldInput"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene2D::Raycast_Internal_Injected"); + if(!icall) + { + platform_log("UnityEngine.PhysicsScene2D::Raycast_Internal_Injected func not found"); + return; + } + } + icall(physicsScene,origin,direction,distance,contactFilter,ret); } -MonoString* UnityEngine_GUIUtility_get_systemCopyBuffer() +int32_t UnityEngine_PhysicsScene2D_RaycastArray_Internal_Injected(void * physicsScene, void * origin, void * direction, float distance, void * contactFilter, void* results) { - typedef Il2CppString* (* ICallMethod) (); + typedef int32_t (* ICallMethod) (void * physicsScene, void * origin, void * direction, float distance, void * contactFilter, void* results); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::get_systemCopyBuffer"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene2D::RaycastArray_Internal_Injected"); + if(!icall) + { + platform_log("UnityEngine.PhysicsScene2D::RaycastArray_Internal_Injected func not found"); + return 0; + } + } + int32_t i2res = icall(physicsScene,origin,direction,distance,contactFilter,results); + return i2res; } -void UnityEngine_GUIUtility_set_systemCopyBuffer(MonoString* value) +int32_t UnityEngine_PhysicsScene2D_RaycastList_Internal_Injected(void * physicsScene, void * origin, void * direction, float distance, void * contactFilter, MonoObject* results) { - typedef void (* ICallMethod) (Il2CppString* value); + typedef int32_t (* ICallMethod) (void * physicsScene, void * origin, void * direction, float distance, void * contactFilter, Il2CppObject* results); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::set_systemCopyBuffer"); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene2D::RaycastList_Internal_Injected"); + if(!icall) + { + platform_log("UnityEngine.PhysicsScene2D::RaycastList_Internal_Injected func not found"); + return 0; + } + } + Il2CppObject* i2results = get_il2cpp_object(results,NULL); + int32_t i2res = icall(physicsScene,origin,direction,distance,contactFilter,i2results); + return i2res; } -void UnityEngine_GUIUtility_BeginContainerFromOwner(MonoObject* owner) +void UnityEngine_PhysicsScene2D_CircleCast_Internal_Injected(void * physicsScene, void * origin, float radius, void * direction, float distance, void * contactFilter, void * ret) { - typedef void (* ICallMethod) (Il2CppObject* owner); + typedef void (* ICallMethod) (void * physicsScene, void * origin, float radius, void * direction, float distance, void * contactFilter, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::BeginContainerFromOwner"); - Il2CppObject* i2owner = get_il2cpp_object(owner,il2cpp_get_class_UnityEngine_ScriptableObject()); - icall(i2owner); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene2D::CircleCast_Internal_Injected"); + if(!icall) + { + platform_log("UnityEngine.PhysicsScene2D::CircleCast_Internal_Injected func not found"); + return; + } + } + icall(physicsScene,origin,radius,direction,distance,contactFilter,ret); } -void UnityEngine_GUIUtility_BeginContainer(MonoObject* objectGUIState) +int32_t UnityEngine_PhysicsScene2D_GetRayIntersectionArray_Internal_Injected(void * physicsScene, void * origin, void * direction, float distance, int32_t layerMask, void* results) { - typedef void (* ICallMethod) (Il2CppObject* objectGUIState); + typedef int32_t (* ICallMethod) (void * physicsScene, void * origin, void * direction, float distance, int32_t layerMask, void* results); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::BeginContainer"); - Il2CppObject* i2objectGUIState = get_il2cpp_object(objectGUIState,il2cpp_get_class_UnityEngine_ObjectGUIState()); - icall(i2objectGUIState); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene2D::GetRayIntersectionArray_Internal_Injected"); + if(!icall) + { + platform_log("UnityEngine.PhysicsScene2D::GetRayIntersectionArray_Internal_Injected func not found"); + return 0; + } + } + int32_t i2res = icall(physicsScene,origin,direction,distance,layerMask,results); + return i2res; } -void UnityEngine_GUIUtility_Internal_EndContainer() +MonoObject* UnityEngine_PhysicsScene2D_OverlapPoint_Internal_Injected(void * physicsScene, void * point, void * contactFilter) { - typedef void (* ICallMethod) (); + typedef Il2CppObject* (* ICallMethod) (void * physicsScene, void * point, void * contactFilter); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::Internal_EndContainer"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene2D::OverlapPoint_Internal_Injected"); + if(!icall) + { + platform_log("UnityEngine.PhysicsScene2D::OverlapPoint_Internal_Injected func not found"); + return NULL; + } + } + Il2CppObject* i2res = icall(physicsScene,point,contactFilter); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Collider2D()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.PhysicsScene2D::OverlapPoint_Internal_Injected fail to convert il2cpp obj to mono"); + } + return monoi2res; } -int32_t UnityEngine_GUIUtility_CheckForTabEvent(MonoObject* evt) +bool UnityEngine_Physics2D_get_queriesHitTriggers() { - typedef int32_t (* ICallMethod) (Il2CppObject* evt); + typedef bool (* ICallMethod) (); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::CheckForTabEvent"); - Il2CppObject* i2evt = get_il2cpp_object(evt,il2cpp_get_class_UnityEngine_Event()); - int32_t i2res = icall(i2evt); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Physics2D::get_queriesHitTriggers"); + if(!icall) + { + platform_log("UnityEngine.Physics2D::get_queriesHitTriggers func not found"); + return 0; + } + } + bool i2res = icall(); return i2res; } -void UnityEngine_GUIUtility_SetKeyboardControlToFirstControlId() +void UnityEngine_Physics2D_IgnoreCollision(MonoObject* collider1, MonoObject* collider2, bool ignore) { - typedef void (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* collider1, Il2CppObject* collider2, bool ignore); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::SetKeyboardControlToFirstControlId"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Physics2D::IgnoreCollision"); + if(!icall) + { + platform_log("UnityEngine.Physics2D::IgnoreCollision func not found"); + return; + } + } + Il2CppObject* i2collider1 = get_il2cpp_object(collider1,il2cpp_get_class_UnityEngine_Collider2D()); + Il2CppObject* i2collider2 = get_il2cpp_object(collider2,il2cpp_get_class_UnityEngine_Collider2D()); + icall(i2collider1,i2collider2,ignore); } -void UnityEngine_GUIUtility_SetKeyboardControlToLastControlId() +void UnityEngine_Collider2D_set_isTrigger(MonoObject* thiz, bool value) { - typedef void (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::SetKeyboardControlToLastControlId"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Collider2D::set_isTrigger"); + if(!icall) + { + platform_log("UnityEngine.Collider2D::set_isTrigger func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Collider2D()); + icall(i2thiz,value); } -bool UnityEngine_GUIUtility_HasFocusableControls() +bool UnityEngine_Collider2D_OverlapPoint_Injected(MonoObject* thiz, void * point) { - typedef bool (* ICallMethod) (); + typedef bool (* ICallMethod) (Il2CppObject* thiz, void * point); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::HasFocusableControls"); - bool i2res = icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Collider2D::OverlapPoint_Injected"); + if(!icall) + { + platform_log("UnityEngine.Collider2D::OverlapPoint_Injected func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Collider2D()); + bool i2res = icall(i2thiz,point); return i2res; } -bool UnityEngine_GUIUtility_OwnsId(int32_t id) +void UnityEngine_ContactFilter2D_CheckConsistency_Injected(void * _unity_self) +{ + typedef void (* ICallMethod) (void * _unity_self); + static ICallMethod icall; + if(!icall) + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ContactFilter2D::CheckConsistency_Injected"); + if(!icall) + { + platform_log("UnityEngine.ContactFilter2D::CheckConsistency_Injected func not found"); + return; + } + } + icall(_unity_self); +} +float UnityEngine_Rigidbody2D_get_mass(MonoObject* thiz) { - typedef bool (* ICallMethod) (int32_t id); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::OwnsId"); - bool i2res = icall(id); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody2D::get_mass"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody2D::get_mass func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody2D()); + float i2res = icall(i2thiz); return i2res; } -MonoString* UnityEngine_GUIUtility_get_compositionString() +void UnityEngine_Rigidbody2D_set_mass(MonoObject* thiz, float value) { - typedef Il2CppString* (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::get_compositionString"); - Il2CppString* i2res = icall(); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody2D::set_mass"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody2D::set_mass func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody2D()); + icall(i2thiz,value); } -int32_t UnityEngine_GUIUtility_Internal_GetHotControl() +void UnityEngine_Rigidbody2D_set_gravityScale(MonoObject* thiz, float value) { - typedef int32_t (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::Internal_GetHotControl"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody2D::set_gravityScale"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody2D::set_gravityScale func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody2D()); + icall(i2thiz,value); } -int32_t UnityEngine_GUIUtility_Internal_GetKeyboardControl() +void UnityEngine_Rigidbody2D_set_bodyType(MonoObject* thiz, int32_t value) { - typedef int32_t (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::Internal_GetKeyboardControl"); - int32_t i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody2D::set_bodyType"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody2D::set_bodyType func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody2D()); + icall(i2thiz,value); } -void UnityEngine_GUIUtility_Internal_SetHotControl(int32_t value) +void UnityEngine_Rigidbody2D_MovePosition_Injected(MonoObject* thiz, void * position) { - typedef void (* ICallMethod) (int32_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::Internal_SetHotControl"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody2D::MovePosition_Injected"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody2D::MovePosition_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody2D()); + icall(i2thiz,position); } -void UnityEngine_GUIUtility_Internal_SetKeyboardControl(int32_t value) +void UnityEngine_Rigidbody2D_MoveRotation_Angle(MonoObject* thiz, float angle) { - typedef void (* ICallMethod) (int32_t value); + typedef void (* ICallMethod) (Il2CppObject* thiz, float angle); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::Internal_SetKeyboardControl"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody2D::MoveRotation_Angle"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody2D::MoveRotation_Angle func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody2D()); + icall(i2thiz,angle); } -MonoObject* UnityEngine_GUIUtility_Internal_GetDefaultSkin(int32_t skinMode) +void UnityEngine_CircleCollider2D_set_radius_1(MonoObject* thiz, float value) { - typedef Il2CppObject* (* ICallMethod) (int32_t skinMode); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::Internal_GetDefaultSkin"); - Il2CppObject* i2res = icall(skinMode); - MonoObject* monoi2res = get_mono_object(i2res,get_mono_class(il2cpp_object_get_class(i2res))); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CircleCollider2D::set_radius"); + if(!icall) + { + platform_log("UnityEngine.CircleCollider2D::set_radius func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CircleCollider2D()); + icall(i2thiz,value); } -void UnityEngine_GUIUtility_Internal_ExitGUI() +int32_t UnityEngine_PolygonCollider2D_get_pathCount(MonoObject* thiz) { - typedef void (* ICallMethod) (); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::Internal_ExitGUI"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PolygonCollider2D::get_pathCount"); + if(!icall) + { + platform_log("UnityEngine.PolygonCollider2D::get_pathCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_PolygonCollider2D()); + int32_t i2res = icall(i2thiz); + return i2res; } -int32_t UnityEngine_GUIUtility_GetControlID_Injected(int32_t hint, int32_t focusType, void * rect) +int32_t UnityEngine_CompositeCollider2D_get_pathCount_1(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (int32_t hint, int32_t focusType, void * rect); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::GetControlID_Injected"); - int32_t i2res = icall(hint,focusType,rect); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CompositeCollider2D::get_pathCount"); + if(!icall) + { + platform_log("UnityEngine.CompositeCollider2D::get_pathCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CompositeCollider2D()); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_GUIUtility_AlignRectToDevice_Injected(void * rect, void * widthInPixels, void * heightInPixels, void * ret) +int32_t UnityEngine_CompositeCollider2D_get_pointCount(MonoObject* thiz) { - typedef void (* ICallMethod) (void * rect, void * widthInPixels, void * heightInPixels, void * ret); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::AlignRectToDevice_Injected"); - icall(rect,widthInPixels,heightInPixels,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CompositeCollider2D::get_pointCount"); + if(!icall) + { + platform_log("UnityEngine.CompositeCollider2D::get_pointCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CompositeCollider2D()); + int32_t i2res = icall(i2thiz); + return i2res; } -void UnityEngine_GUIUtility_set_compositionCursorPos_Injected(void * value) +MonoObject* UnityEngine_Joint2D_get_connectedBody(MonoObject* thiz) { - typedef void (* ICallMethod) (void * value); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GUIUtility::set_compositionCursorPos_Injected"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Joint2D::get_connectedBody"); + if(!icall) + { + platform_log("UnityEngine.Joint2D::get_connectedBody func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Joint2D()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Rigidbody2D()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Joint2D::get_connectedBody fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void * UnityEngine_ObjectGUIState_Internal_Create_11() +void UnityEngine_Joint2D_set_connectedBody(MonoObject* thiz, MonoObject* value) { - typedef void * (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ObjectGUIState::Internal_Create"); - void * i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Joint2D::set_connectedBody"); + if(!icall) + { + platform_log("UnityEngine.Joint2D::set_connectedBody func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Joint2D()); + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Rigidbody2D()); + icall(i2thiz,i2value); } -void UnityEngine_ObjectGUIState_Internal_Destroy_5(void * ptr) +void UnityEngine_HingeJoint2D_set_useLimits(MonoObject* thiz, bool value) { - typedef void (* ICallMethod) (void * ptr); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ObjectGUIState::Internal_Destroy"); - icall(ptr); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.HingeJoint2D::set_useLimits"); + if(!icall) + { + platform_log("UnityEngine.HingeJoint2D::set_useLimits func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_HingeJoint2D()); + icall(i2thiz,value); } -MonoObject* UnityEngine_CameraRaycastHelper_RaycastTry_Injected(MonoObject* cam, void * ray, float distance, int32_t layerMask) +float UnityEngine_Rigidbody_get_mass_1(MonoObject* thiz) { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* cam, void * ray, float distance, int32_t layerMask); + typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CameraRaycastHelper::RaycastTry_Injected"); - Il2CppObject* i2cam = get_il2cpp_object(cam,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2res = icall(i2cam,ray,distance,layerMask); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_GameObject()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody::get_mass"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody::get_mass func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody()); + float i2res = icall(i2thiz); + return i2res; } -MonoObject* UnityEngine_CameraRaycastHelper_RaycastTry2D_Injected(MonoObject* cam, void * ray, float distance, int32_t layerMask) +void UnityEngine_Rigidbody_set_mass_1(MonoObject* thiz, float value) { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* cam, void * ray, float distance, int32_t layerMask); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CameraRaycastHelper::RaycastTry2D_Injected"); - Il2CppObject* i2cam = get_il2cpp_object(cam,il2cpp_get_class_UnityEngine_Camera()); - Il2CppObject* i2res = icall(i2cam,ray,distance,layerMask); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_GameObject()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody::set_mass"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody::set_mass func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody()); + icall(i2thiz,value); } -bool UnityEngine_Input_GetMouseButton(int32_t button) +void UnityEngine_Rigidbody_set_useGravity(MonoObject* thiz, bool value) { - typedef bool (* ICallMethod) (int32_t button); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::GetMouseButton"); - bool i2res = icall(button); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody::set_useGravity"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody::set_useGravity func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody()); + icall(i2thiz,value); } -bool UnityEngine_Input_GetMouseButtonDown(int32_t button) +void UnityEngine_Rigidbody_set_isKinematic(MonoObject* thiz, bool value) { - typedef bool (* ICallMethod) (int32_t button); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::GetMouseButtonDown"); - bool i2res = icall(button); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody::set_isKinematic"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody::set_isKinematic func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody()); + icall(i2thiz,value); } -void UnityEngine_Input_get_mousePosition_Injected_1(void * ret) +void UnityEngine_Rigidbody_set_constraints(MonoObject* thiz, int32_t value) { - typedef void (* ICallMethod) (void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Input::get_mousePosition_Injected"); - icall(ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody::set_constraints"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody::set_constraints func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody()); + icall(i2thiz,value); } -void UnityEngineInternal_Input_NativeInputSystem_set_hasDeviceDiscoveredCallback(bool value) +void UnityEngine_Rigidbody_MovePosition_Injected_1(MonoObject* thiz, void * position) { - typedef void (* ICallMethod) (bool value); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngineInternal.Input.NativeInputSystem::set_hasDeviceDiscoveredCallback"); - icall(value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody::MovePosition_Injected"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody::MovePosition_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody()); + icall(i2thiz,position); } -void UnityEngine_ParticleSystem_Emit_Internal(MonoObject* thiz, int32_t count) +void UnityEngine_Rigidbody_MoveRotation_Injected(MonoObject* thiz, void * rot) { - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t count); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * rot); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::Emit_Internal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); - icall(i2thiz,count); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Rigidbody::MoveRotation_Injected"); + if(!icall) + { + platform_log("UnityEngine.Rigidbody::MoveRotation_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Rigidbody()); + icall(i2thiz,rot); } -void UnityEngine_ParticleSystem_EmitOld_Internal(MonoObject* thiz, void * particle) +bool UnityEngine_Collider_get_enabled_3(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * particle); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::EmitOld_Internal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); - icall(i2thiz,particle); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Collider::get_enabled"); + if(!icall) + { + platform_log("UnityEngine.Collider::get_enabled func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Collider()); + bool i2res = icall(i2thiz); + return i2res; } -void UnityEngine_ParticleSystem_Emit_Injected(MonoObject* thiz, void * emitParams, int32_t count) +void UnityEngine_Collider_set_enabled_3(MonoObject* thiz, bool value) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * emitParams, int32_t count); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystem::Emit_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystem()); - icall(i2thiz,emitParams,count); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Collider::set_enabled"); + if(!icall) + { + platform_log("UnityEngine.Collider::set_enabled func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Collider()); + icall(i2thiz,value); } -int32_t UnityEngine_ParticleSystemRenderer_GetMeshes(MonoObject* thiz, MonoArray* meshes) +void UnityEngine_Collider_set_isTrigger_1(MonoObject* thiz, bool value) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppArray* meshes); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ParticleSystemRenderer::GetMeshes"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_ParticleSystemRenderer()); - Il2CppArray* i2meshes = get_il2cpp_array(meshes); - int32_t i2res = icall(i2thiz,i2meshes); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Collider::set_isTrigger"); + if(!icall) + { + platform_log("UnityEngine.Collider::set_isTrigger func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Collider()); + icall(i2thiz,value); } -void UnityEngine_PhysicsScene2D_Raycast_Internal_Injected(void * physicsScene, void * origin, void * direction, float distance, void * contactFilter, void * ret) +void UnityEngine_Collider_ClosestPoint_Injected(MonoObject* thiz, void * position, void * ret) { - typedef void (* ICallMethod) (void * physicsScene, void * origin, void * direction, float distance, void * contactFilter, void * ret); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene2D::Raycast_Internal_Injected"); - icall(physicsScene,origin,direction,distance,contactFilter,ret); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Collider::ClosestPoint_Injected"); + if(!icall) + { + platform_log("UnityEngine.Collider::ClosestPoint_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Collider()); + icall(i2thiz,position,ret); } -int32_t UnityEngine_PhysicsScene2D_RaycastArray_Internal_Injected(void * physicsScene, void * origin, void * direction, float distance, void * contactFilter, void* results) +void UnityEngine_Collider_Raycast_Injected(MonoObject* thiz, void * ray, float maxDistance, void * hasHit, void * ret) { - typedef int32_t (* ICallMethod) (void * physicsScene, void * origin, void * direction, float distance, void * contactFilter, void* results); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ray, float maxDistance, void * hasHit, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene2D::RaycastArray_Internal_Injected"); - int32_t i2res = icall(physicsScene,origin,direction,distance,contactFilter,results); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Collider::Raycast_Injected"); + if(!icall) + { + platform_log("UnityEngine.Collider::Raycast_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Collider()); + icall(i2thiz,ray,maxDistance,hasHit,ret); } -int32_t UnityEngine_PhysicsScene2D_RaycastList_Internal_Injected(void * physicsScene, void * origin, void * direction, float distance, void * contactFilter, MonoObject* results) +void UnityEngine_SphereCollider_set_radius_2(MonoObject* thiz, float value) { - typedef int32_t (* ICallMethod) (void * physicsScene, void * origin, void * direction, float distance, void * contactFilter, Il2CppObject* results); + typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene2D::RaycastList_Internal_Injected"); - Il2CppObject* i2results = get_il2cpp_object(results,NULL); - int32_t i2res = icall(physicsScene,origin,direction,distance,contactFilter,i2results); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SphereCollider::set_radius"); + if(!icall) + { + platform_log("UnityEngine.SphereCollider::set_radius func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_SphereCollider()); + icall(i2thiz,value); } -int32_t UnityEngine_PhysicsScene2D_GetRayIntersectionArray_Internal_Injected(void * physicsScene, void * origin, void * direction, float distance, int32_t layerMask, void* results) +MonoObject* UnityEngine_Joint_get_connectedBody_1(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (void * physicsScene, void * origin, void * direction, float distance, int32_t layerMask, void* results); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene2D::GetRayIntersectionArray_Internal_Injected"); - int32_t i2res = icall(physicsScene,origin,direction,distance,layerMask,results); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Joint::get_connectedBody"); + if(!icall) + { + platform_log("UnityEngine.Joint::get_connectedBody func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Joint()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Rigidbody()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Joint::get_connectedBody fail to convert il2cpp obj to mono"); + } + return monoi2res; } -bool UnityEngine_Physics2D_get_queriesHitTriggers() +void UnityEngine_Joint_set_connectedBody_1(MonoObject* thiz, MonoObject* value) { - typedef bool (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Physics2D::get_queriesHitTriggers"); - bool i2res = icall(); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Joint::set_connectedBody"); + if(!icall) + { + platform_log("UnityEngine.Joint::set_connectedBody func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Joint()); + Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Rigidbody()); + icall(i2thiz,i2value); } -void* UnityEngine_Physics2D_GetRayIntersectionAll_Internal_Injected(void * physicsScene, void * origin, void * direction, float distance, int32_t layerMask) +void UnityEngine_Joint_set_enableCollision(MonoObject* thiz, bool value) { - typedef void* (* ICallMethod) (void * physicsScene, void * origin, void * direction, float distance, int32_t layerMask); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Physics2D::GetRayIntersectionAll_Internal_Injected"); - void* i2res = icall(physicsScene,origin,direction,distance,layerMask); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Joint::set_enableCollision"); + if(!icall) + { + platform_log("UnityEngine.Joint::set_enableCollision func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Joint()); + icall(i2thiz,value); } -void UnityEngine_ContactFilter2D_CheckConsistency_Injected(void * _unity_self) +void UnityEngine_HingeJoint_set_useLimits_1(MonoObject* thiz, bool value) { - typedef void (* ICallMethod) (void * _unity_self); + typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.ContactFilter2D::CheckConsistency_Injected"); - icall(_unity_self); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.HingeJoint::set_useLimits"); + if(!icall) + { + platform_log("UnityEngine.HingeJoint::set_useLimits func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_HingeJoint()); + icall(i2thiz,value); } bool UnityEngine_PhysicsScene_Internal_RaycastTest_Injected(void * physicsScene, void * ray, float maxDistance, int32_t layerMask, int32_t queryTriggerInteraction) { typedef bool (* ICallMethod) (void * physicsScene, void * ray, float maxDistance, int32_t layerMask, int32_t queryTriggerInteraction); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene::Internal_RaycastTest_Injected"); + if(!icall) + { + platform_log("UnityEngine.PhysicsScene::Internal_RaycastTest_Injected func not found"); + return 0; + } + } bool i2res = icall(physicsScene,ray,maxDistance,layerMask,queryTriggerInteraction); return i2res; } @@ -26923,7 +16304,14 @@ bool UnityEngine_PhysicsScene_Internal_Raycast_Injected(void * physicsScene, voi typedef bool (* ICallMethod) (void * physicsScene, void * ray, float maxDistance, void * hit, int32_t layerMask, int32_t queryTriggerInteraction); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene::Internal_Raycast_Injected"); + if(!icall) + { + platform_log("UnityEngine.PhysicsScene::Internal_Raycast_Injected func not found"); + return 0; + } + } bool i2res = icall(physicsScene,ray,maxDistance,hit,layerMask,queryTriggerInteraction); return i2res; } @@ -26932,237 +16320,326 @@ int32_t UnityEngine_PhysicsScene_Internal_RaycastNonAlloc_Injected(void * physic typedef int32_t (* ICallMethod) (void * physicsScene, void * ray, void* raycastHits, float maxDistance, int32_t mask, int32_t queryTriggerInteraction); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene::Internal_RaycastNonAlloc_Injected"); + if(!icall) + { + platform_log("UnityEngine.PhysicsScene::Internal_RaycastNonAlloc_Injected func not found"); + return 0; + } + } int32_t i2res = icall(physicsScene,ray,raycastHits,maxDistance,mask,queryTriggerInteraction); return i2res; } -void UnityEngine_Physics_get_defaultPhysicsScene_Injected(void * ret) -{ - typedef void (* ICallMethod) (void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Physics::get_defaultPhysicsScene_Injected"); - icall(ret); -} -void* UnityEngine_Physics_Internal_RaycastAll_Injected(void * physicsScene, void * ray, float maxDistance, int32_t mask, int32_t queryTriggerInteraction) +bool UnityEngine_PhysicsScene_Query_SphereCast_Injected(void * physicsScene, void * origin, float radius, void * direction, float maxDistance, void * hitInfo, int32_t layerMask, int32_t queryTriggerInteraction) { - typedef void* (* ICallMethod) (void * physicsScene, void * ray, float maxDistance, int32_t mask, int32_t queryTriggerInteraction); + typedef bool (* ICallMethod) (void * physicsScene, void * origin, float radius, void * direction, float maxDistance, void * hitInfo, int32_t layerMask, int32_t queryTriggerInteraction); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Physics::Internal_RaycastAll_Injected"); - void* i2res = icall(physicsScene,ray,maxDistance,mask,queryTriggerInteraction); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene::Query_SphereCast_Injected"); + if(!icall) + { + platform_log("UnityEngine.PhysicsScene::Query_SphereCast_Injected func not found"); + return 0; + } + } + bool i2res = icall(physicsScene,origin,radius,direction,maxDistance,hitInfo,layerMask,queryTriggerInteraction); return i2res; } -void UnityEngine_SubsystemManager_ReportSingleSubsystemAnalytics(MonoString* id) -{ - typedef void (* ICallMethod) (Il2CppString* id); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SubsystemManager::ReportSingleSubsystemAnalytics"); - Il2CppString* i2id = get_il2cpp_string(id); - icall(i2id); -} -void UnityEngine_SubsystemManager_StaticConstructScriptingClassMap() +int32_t UnityEngine_PhysicsScene_Internal_SphereCastNonAlloc_Injected(void * physicsScene, void * origin, float radius, void * direction, void* raycastHits, float maxDistance, int32_t mask, int32_t queryTriggerInteraction) { - typedef void (* ICallMethod) (); + typedef int32_t (* ICallMethod) (void * physicsScene, void * origin, float radius, void * direction, void* raycastHits, float maxDistance, int32_t mask, int32_t queryTriggerInteraction); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.SubsystemManager::StaticConstructScriptingClassMap"); - icall(); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene::Internal_SphereCastNonAlloc_Injected"); + if(!icall) + { + platform_log("UnityEngine.PhysicsScene::Internal_SphereCastNonAlloc_Injected func not found"); + return 0; + } + } + int32_t i2res = icall(physicsScene,origin,radius,direction,raycastHits,maxDistance,mask,queryTriggerInteraction); + return i2res; } -void UnityEngine_IntegratedSubsystem_SetHandle(MonoObject* thiz, MonoObject* inst) +int32_t UnityEngine_PhysicsScene_OverlapSphereNonAlloc_Internal_Injected(void * physicsScene, void * position, float radius, MonoArray* results, int32_t layerMask, int32_t queryTriggerInteraction) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* inst); + typedef int32_t (* ICallMethod) (void * physicsScene, void * position, float radius, Il2CppArray* results, int32_t layerMask, int32_t queryTriggerInteraction); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.IntegratedSubsystem::SetHandle"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_IntegratedSubsystem()); - Il2CppObject* i2inst = get_il2cpp_object(inst,il2cpp_get_class_UnityEngine_IntegratedSubsystem()); - icall(i2thiz,i2inst); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.PhysicsScene::OverlapSphereNonAlloc_Internal_Injected"); + if(!icall) + { + platform_log("UnityEngine.PhysicsScene::OverlapSphereNonAlloc_Internal_Injected func not found"); + return 0; + } + } + Il2CppArray* i2results = get_il2cpp_array(results); + int32_t i2res = icall(physicsScene,position,radius,i2results,layerMask,queryTriggerInteraction); + return i2res; } -MonoObject* UnityEngine_Terrain_get_terrainData(MonoObject* thiz) +void UnityEngine_Physics_IgnoreCollision_1(MonoObject* collider1, MonoObject* collider2, bool ignore) { - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* collider1, Il2CppObject* collider2, bool ignore); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Terrain::get_terrainData"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Terrain()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_TerrainData()); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Physics::IgnoreCollision"); + if(!icall) + { + platform_log("UnityEngine.Physics::IgnoreCollision func not found"); + return; + } + } + Il2CppObject* i2collider1 = get_il2cpp_object(collider1,il2cpp_get_class_UnityEngine_Collider()); + Il2CppObject* i2collider2 = get_il2cpp_object(collider2,il2cpp_get_class_UnityEngine_Collider()); + icall(i2collider1,i2collider2,ignore); } -bool UnityEngine_Terrain_get_allowAutoConnect(MonoObject* thiz) +int32_t UnityEngine_TextGenerator_get_characterCount(MonoObject* thiz) { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Terrain::get_allowAutoConnect"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Terrain()); - bool i2res = icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TextGenerator::get_characterCount"); + if(!icall) + { + platform_log("UnityEngine.TextGenerator::get_characterCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TextGenerator()); + int32_t i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_Terrain_get_groupingID(MonoObject* thiz) +int32_t UnityEngine_TextGenerator_get_lineCount(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Terrain::get_groupingID"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Terrain()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TextGenerator::get_lineCount"); + if(!icall) + { + platform_log("UnityEngine.TextGenerator::get_lineCount func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TextGenerator()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Terrain_SetNeighbors(MonoObject* thiz, MonoObject* left, MonoObject* top, MonoObject* right, MonoObject* bottom) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* left, Il2CppObject* top, Il2CppObject* right, Il2CppObject* bottom); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Terrain::SetNeighbors"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Terrain()); - Il2CppObject* i2left = get_il2cpp_object(left,il2cpp_get_class_UnityEngine_Terrain()); - Il2CppObject* i2top = get_il2cpp_object(top,il2cpp_get_class_UnityEngine_Terrain()); - Il2CppObject* i2right = get_il2cpp_object(right,il2cpp_get_class_UnityEngine_Terrain()); - Il2CppObject* i2bottom = get_il2cpp_object(bottom,il2cpp_get_class_UnityEngine_Terrain()); - icall(i2thiz,i2left,i2top,i2right,i2bottom); -} -MonoArray* UnityEngine_Terrain_get_activeTerrains() +void UnityEngine_TextGenerator_GetCharactersInternal(MonoObject* thiz, MonoObject* characters) { - typedef Il2CppArray* (* ICallMethod) (); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* characters); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Terrain::get_activeTerrains"); - Il2CppArray* i2res = icall(); - MonoArray* monoi2res = get_mono_array(i2res); - return monoi2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TextGenerator::GetCharactersInternal"); + if(!icall) + { + platform_log("UnityEngine.TextGenerator::GetCharactersInternal func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TextGenerator()); + Il2CppObject* i2characters = get_il2cpp_object(characters,NULL); + icall(i2thiz,i2characters); } -int32_t UnityEngine_TerrainData_GetBoundaryValue(int32_t type) +void UnityEngine_TextGenerator_GetLinesInternal(MonoObject* thiz, MonoObject* lines) { - typedef int32_t (* ICallMethod) (int32_t type); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* lines); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TerrainData::GetBoundaryValue"); - int32_t i2res = icall(type); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TextGenerator::GetLinesInternal"); + if(!icall) + { + platform_log("UnityEngine.TextGenerator::GetLinesInternal func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TextGenerator()); + Il2CppObject* i2lines = get_il2cpp_object(lines,NULL); + icall(i2thiz,i2lines); } -void UnityEngine_TerrainData_Internal_Create_12(MonoObject* terrainData) +void UnityEngine_TextGenerator_GetVerticesInternal(MonoObject* thiz, MonoObject* vertices) { - typedef void (* ICallMethod) (Il2CppObject* terrainData); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* vertices); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TerrainData::Internal_Create"); - Il2CppObject* i2terrainData = get_il2cpp_object(terrainData,il2cpp_get_class_UnityEngine_TerrainData()); - icall(i2terrainData); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TextGenerator::GetVerticesInternal"); + if(!icall) + { + platform_log("UnityEngine.TextGenerator::GetVerticesInternal func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TextGenerator()); + Il2CppObject* i2vertices = get_il2cpp_object(vertices,NULL); + icall(i2thiz,i2vertices); } -float UnityEngine_TerrainData_GetAlphamapResolutionInternal(MonoObject* thiz) +MonoObject* UnityEngine_Font_get_material_1(MonoObject* thiz) { - typedef float (* ICallMethod) (Il2CppObject* thiz); + typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TerrainData::GetAlphamapResolutionInternal"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TerrainData()); - float i2res = icall(i2thiz); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Font::get_material"); + if(!icall) + { + platform_log("UnityEngine.Font::get_material func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Font()); + Il2CppObject* i2res = icall(i2thiz); + MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Font::get_material fail to convert il2cpp obj to mono"); + } + return monoi2res; } -MonoArray* UnityEngine_TerrainData_get_users(MonoObject* thiz) +MonoArray* UnityEngine_Font_get_fontNames(MonoObject* thiz) { typedef Il2CppArray* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TerrainData::get_users"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TerrainData()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Font::get_fontNames"); + if(!icall) + { + platform_log("UnityEngine.Font::get_fontNames func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Font()); Il2CppArray* i2res = icall(i2thiz); MonoArray* monoi2res = get_mono_array(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Font::get_fontNames fail to convert il2cpp obj to mono"); + } return monoi2res; } -void UnityEngine_TerrainData_get_size_Injected_3(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.TerrainData::get_size_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_TerrainData()); - icall(i2thiz,ret); -} -bool UnityEngine_Font_HasCharacter(MonoObject* thiz, int32_t c) +bool UnityEngine_Font_get_dynamic(MonoObject* thiz) { - typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t c); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Font::HasCharacter"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Font::get_dynamic"); + if(!icall) + { + platform_log("UnityEngine.Font::get_dynamic func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Font()); - bool i2res = icall(i2thiz,c); + bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_Font_Internal_CreateFont(MonoObject* self, MonoString* name) -{ - typedef void (* ICallMethod) (Il2CppObject* self, Il2CppString* name); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Font::Internal_CreateFont"); - Il2CppObject* i2self = get_il2cpp_object(self,il2cpp_get_class_UnityEngine_Font()); - Il2CppString* i2name = get_il2cpp_string(name); - icall(i2self,i2name); -} -void UnityEngine_Tilemaps_Tilemap_RefreshTile_Injected(MonoObject* thiz, void * position) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * position); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Tilemaps.Tilemap::RefreshTile_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Tilemaps_Tilemap()); - icall(i2thiz,position); -} -void UnityEngine_Tilemaps_TilemapRenderer_OnSpriteAtlasRegistered(MonoObject* thiz, MonoObject* atlas) +int32_t UnityEngine_Font_get_fontSize(MonoObject* thiz) { - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* atlas); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Tilemaps.TilemapRenderer::OnSpriteAtlasRegistered"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Tilemaps_TilemapRenderer()); - Il2CppObject* i2atlas = get_il2cpp_object(atlas,il2cpp_get_class_UnityEngine_U2D_SpriteAtlas()); - icall(i2thiz,i2atlas); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Font::get_fontSize"); + if(!icall) + { + platform_log("UnityEngine.Font::get_fontSize func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Font()); + int32_t i2res = icall(i2thiz); + return i2res; } -float UnityEngine_Yoga_Native_YGNodeLayoutGetLeft(void * node) +bool UnityEngine_Font_HasCharacter(MonoObject* thiz, int32_t c) { - typedef float (* ICallMethod) (void * node); + typedef bool (* ICallMethod) (Il2CppObject* thiz, int32_t c); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Yoga.Native::YGNodeLayoutGetLeft"); - float i2res = icall(node); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Font::HasCharacter"); + if(!icall) + { + platform_log("UnityEngine.Font::HasCharacter func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Font()); + bool i2res = icall(i2thiz,c); return i2res; } -float UnityEngine_Yoga_Native_YGNodeLayoutGetTop(void * node) +bool UnityEngine_Font_GetCharacterInfo(MonoObject* thiz, char ch, void * info, int32_t size, int32_t style) { - typedef float (* ICallMethod) (void * node); + typedef bool (* ICallMethod) (Il2CppObject* thiz, char ch, void * info, int32_t size, int32_t style); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Yoga.Native::YGNodeLayoutGetTop"); - float i2res = icall(node); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Font::GetCharacterInfo"); + if(!icall) + { + platform_log("UnityEngine.Font::GetCharacterInfo func not found"); + return 0; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Font()); + bool i2res = icall(i2thiz,ch,info,size,style); return i2res; } -float UnityEngine_Yoga_Native_YGNodeLayoutGetWidth(void * node) +void UnityEngine_Font_RequestCharactersInTexture(MonoObject* thiz, MonoString* characters, int32_t size, int32_t style) { - typedef float (* ICallMethod) (void * node); + typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* characters, int32_t size, int32_t style); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Yoga.Native::YGNodeLayoutGetWidth"); - float i2res = icall(node); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Font::RequestCharactersInTexture"); + if(!icall) + { + platform_log("UnityEngine.Font::RequestCharactersInTexture func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Font()); + Il2CppString* i2characters = get_il2cpp_string(characters); + icall(i2thiz,i2characters,size,style); } -float UnityEngine_Yoga_Native_YGNodeLayoutGetHeight(void * node) +void UnityEngine_Tilemaps_Tilemap_RefreshTile_Injected(MonoObject* thiz, void * position) { - typedef float (* ICallMethod) (void * node); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * position); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Yoga.Native::YGNodeLayoutGetHeight"); - float i2res = icall(node); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Tilemaps.Tilemap::RefreshTile_Injected"); + if(!icall) + { + platform_log("UnityEngine.Tilemaps.Tilemap::RefreshTile_Injected func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Tilemaps_Tilemap()); + icall(i2thiz,position); } float UnityEngine_CanvasGroup_get_alpha(MonoObject* thiz) { typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasGroup::get_alpha"); + if(!icall) + { + platform_log("UnityEngine.CanvasGroup::get_alpha func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasGroup()); float i2res = icall(i2thiz); return i2res; @@ -27172,7 +16649,14 @@ void UnityEngine_CanvasGroup_set_alpha(MonoObject* thiz, float value) typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasGroup::set_alpha"); + if(!icall) + { + platform_log("UnityEngine.CanvasGroup::set_alpha func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasGroup()); icall(i2thiz,value); } @@ -27181,74 +16665,65 @@ bool UnityEngine_CanvasGroup_get_interactable(MonoObject* thiz) typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasGroup::get_interactable"); + if(!icall) + { + platform_log("UnityEngine.CanvasGroup::get_interactable func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasGroup()); bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_CanvasGroup_set_interactable(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasGroup::set_interactable"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasGroup()); - icall(i2thiz,value); -} bool UnityEngine_CanvasGroup_get_blocksRaycasts(MonoObject* thiz) { typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasGroup::get_blocksRaycasts"); + if(!icall) + { + platform_log("UnityEngine.CanvasGroup::get_blocksRaycasts func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasGroup()); bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_CanvasGroup_set_blocksRaycasts(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasGroup::set_blocksRaycasts"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasGroup()); - icall(i2thiz,value); -} bool UnityEngine_CanvasGroup_get_ignoreParentGroups(MonoObject* thiz) { typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasGroup::get_ignoreParentGroups"); + if(!icall) + { + platform_log("UnityEngine.CanvasGroup::get_ignoreParentGroups func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasGroup()); bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_CanvasGroup_set_ignoreParentGroups(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasGroup::set_ignoreParentGroups"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasGroup()); - icall(i2thiz,value); -} -bool UnityEngine_CanvasRenderer_get_hasPopInstruction(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::get_hasPopInstruction"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} void UnityEngine_CanvasRenderer_set_hasPopInstruction(MonoObject* thiz, bool value) { typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::set_hasPopInstruction"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::set_hasPopInstruction func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); icall(i2thiz,value); } @@ -27257,7 +16732,14 @@ int32_t UnityEngine_CanvasRenderer_get_materialCount(MonoObject* thiz) typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::get_materialCount"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::get_materialCount func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); int32_t i2res = icall(i2thiz); return i2res; @@ -27267,26 +16749,30 @@ void UnityEngine_CanvasRenderer_set_materialCount(MonoObject* thiz, int32_t valu typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::set_materialCount"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::set_materialCount func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); icall(i2thiz,value); } -int32_t UnityEngine_CanvasRenderer_get_popMaterialCount(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::get_popMaterialCount"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; -} void UnityEngine_CanvasRenderer_set_popMaterialCount(MonoObject* thiz, int32_t value) { typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::set_popMaterialCount"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::set_popMaterialCount func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); icall(i2thiz,value); } @@ -27295,7 +16781,14 @@ int32_t UnityEngine_CanvasRenderer_get_absoluteDepth(MonoObject* thiz) typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::get_absoluteDepth"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::get_absoluteDepth func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); int32_t i2res = icall(i2thiz); return i2res; @@ -27305,126 +16798,162 @@ bool UnityEngine_CanvasRenderer_get_hasMoved(MonoObject* thiz) typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::get_hasMoved"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::get_hasMoved func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); bool i2res = icall(i2thiz); return i2res; } -bool UnityEngine_CanvasRenderer_get_cullTransparentMesh(MonoObject* thiz) +bool UnityEngine_CanvasRenderer_get_cull(MonoObject* thiz) { typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::get_cullTransparentMesh"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::get_cull"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::get_cull func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_CanvasRenderer_set_cullTransparentMesh(MonoObject* thiz, bool value) +void UnityEngine_CanvasRenderer_set_cull(MonoObject* thiz, bool value) { typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::set_cullTransparentMesh"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::set_cull"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::set_cull func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); icall(i2thiz,value); } -bool UnityEngine_CanvasRenderer_get_hasRectClipping(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::get_hasRectClipping"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - bool i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_CanvasRenderer_get_relativeDepth(MonoObject* thiz) +void UnityEngine_CanvasRenderer_SetColor_Injected(MonoObject* thiz, void * color) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * color); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::get_relativeDepth"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::SetColor_Injected"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::SetColor_Injected func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - int32_t i2res = icall(i2thiz); - return i2res; + icall(i2thiz,color); } -bool UnityEngine_CanvasRenderer_get_cull(MonoObject* thiz) +void UnityEngine_CanvasRenderer_GetColor_Injected(MonoObject* thiz, void * ret) { - typedef bool (* ICallMethod) (Il2CppObject* thiz); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::get_cull"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::GetColor_Injected"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::GetColor_Injected func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - bool i2res = icall(i2thiz); - return i2res; + icall(i2thiz,ret); } -void UnityEngine_CanvasRenderer_set_cull(MonoObject* thiz, bool value) +void UnityEngine_CanvasRenderer_EnableRectClipping_Injected(MonoObject* thiz, void * rect) { - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); + typedef void (* ICallMethod) (Il2CppObject* thiz, void * rect); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::set_cull"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::EnableRectClipping_Injected"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::EnableRectClipping_Injected func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - icall(i2thiz,value); + icall(i2thiz,rect); } void UnityEngine_CanvasRenderer_DisableRectClipping(MonoObject* thiz) { typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::DisableRectClipping"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::DisableRectClipping func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); icall(i2thiz); } -void UnityEngine_CanvasRenderer_SetMaterial_1(MonoObject* thiz, MonoObject* material, int32_t index) +void UnityEngine_CanvasRenderer_SetMaterial(MonoObject* thiz, MonoObject* material, int32_t index) { typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* material, int32_t index); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::SetMaterial"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::SetMaterial func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); icall(i2thiz,i2material,index); } -MonoObject* UnityEngine_CanvasRenderer_GetMaterial_1(MonoObject* thiz, int32_t index) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::GetMaterial"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - Il2CppObject* i2res = icall(i2thiz,index); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; -} void UnityEngine_CanvasRenderer_SetPopMaterial(MonoObject* thiz, MonoObject* material, int32_t index) { typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* material, int32_t index); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::SetPopMaterial"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::SetPopMaterial func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); Il2CppObject* i2material = get_il2cpp_object(material,il2cpp_get_class_UnityEngine_Material()); icall(i2thiz,i2material,index); } -MonoObject* UnityEngine_CanvasRenderer_GetPopMaterial(MonoObject* thiz, int32_t index) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz, int32_t index); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::GetPopMaterial"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - Il2CppObject* i2res = icall(i2thiz,index); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); - return monoi2res; -} -void UnityEngine_CanvasRenderer_SetTexture_2(MonoObject* thiz, MonoObject* texture) +void UnityEngine_CanvasRenderer_SetTexture(MonoObject* thiz, MonoObject* texture) { typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* texture); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::SetTexture"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::SetTexture func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); Il2CppObject* i2texture = get_il2cpp_object(texture,il2cpp_get_class_UnityEngine_Texture()); icall(i2thiz,i2texture); @@ -27434,7 +16963,14 @@ void UnityEngine_CanvasRenderer_SetAlphaTexture(MonoObject* thiz, MonoObject* te typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* texture); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::SetAlphaTexture"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::SetAlphaTexture func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); Il2CppObject* i2texture = get_il2cpp_object(texture,il2cpp_get_class_UnityEngine_Texture()); icall(i2thiz,i2texture); @@ -27444,46 +16980,47 @@ void UnityEngine_CanvasRenderer_SetMesh(MonoObject* thiz, MonoObject* mesh) typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* mesh); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::SetMesh"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::SetMesh func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); Il2CppObject* i2mesh = get_il2cpp_object(mesh,il2cpp_get_class_UnityEngine_Mesh()); icall(i2thiz,i2mesh); } -void UnityEngine_CanvasRenderer_Clear_5(MonoObject* thiz) +void UnityEngine_CanvasRenderer_Clear_1(MonoObject* thiz) { typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::Clear"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::Clear func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); icall(i2thiz); } -float UnityEngine_CanvasRenderer_GetInheritedAlpha(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::GetInheritedAlpha"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_CanvasRenderer_SplitIndicesStreamsInternal(MonoObject* verts, MonoObject* indices) -{ - typedef void (* ICallMethod) (Il2CppObject* verts, Il2CppObject* indices); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::SplitIndicesStreamsInternal"); - Il2CppObject* i2verts = get_il2cpp_object(verts,NULL); - Il2CppObject* i2indices = get_il2cpp_object(indices,NULL); - icall(i2verts,i2indices); -} void UnityEngine_CanvasRenderer_SplitUIVertexStreamsInternal(MonoObject* verts, MonoObject* positions, MonoObject* colors, MonoObject* uv0S, MonoObject* uv1S, MonoObject* uv2S, MonoObject* uv3S, MonoObject* normals, MonoObject* tangents) { typedef void (* ICallMethod) (Il2CppObject* verts, Il2CppObject* positions, Il2CppObject* colors, Il2CppObject* uv0S, Il2CppObject* uv1S, Il2CppObject* uv2S, Il2CppObject* uv3S, Il2CppObject* normals, Il2CppObject* tangents); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::SplitUIVertexStreamsInternal"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::SplitUIVertexStreamsInternal func not found"); + return; + } + } Il2CppObject* i2verts = get_il2cpp_object(verts,NULL); Il2CppObject* i2positions = get_il2cpp_object(positions,NULL); Il2CppObject* i2colors = get_il2cpp_object(colors,NULL); @@ -27495,75 +17032,61 @@ void UnityEngine_CanvasRenderer_SplitUIVertexStreamsInternal(MonoObject* verts, Il2CppObject* i2tangents = get_il2cpp_object(tangents,NULL); icall(i2verts,i2positions,i2colors,i2uv0S,i2uv1S,i2uv2S,i2uv3S,i2normals,i2tangents); } -void UnityEngine_CanvasRenderer_CreateUIVertexStreamInternal(MonoObject* verts, MonoObject* positions, MonoObject* colors, MonoObject* uv0S, MonoObject* uv1S, MonoObject* uv2S, MonoObject* uv3S, MonoObject* normals, MonoObject* tangents, MonoObject* indices) +void UnityEngine_CanvasRenderer_SplitIndicesStreamsInternal(MonoObject* verts, MonoObject* indices) { - typedef void (* ICallMethod) (Il2CppObject* verts, Il2CppObject* positions, Il2CppObject* colors, Il2CppObject* uv0S, Il2CppObject* uv1S, Il2CppObject* uv2S, Il2CppObject* uv3S, Il2CppObject* normals, Il2CppObject* tangents, Il2CppObject* indices); + typedef void (* ICallMethod) (Il2CppObject* verts, Il2CppObject* indices); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::CreateUIVertexStreamInternal"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::SplitIndicesStreamsInternal"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::SplitIndicesStreamsInternal func not found"); + return; + } + } Il2CppObject* i2verts = get_il2cpp_object(verts,NULL); - Il2CppObject* i2positions = get_il2cpp_object(positions,NULL); - Il2CppObject* i2colors = get_il2cpp_object(colors,NULL); - Il2CppObject* i2uv0S = get_il2cpp_object(uv0S,NULL); - Il2CppObject* i2uv1S = get_il2cpp_object(uv1S,NULL); - Il2CppObject* i2uv2S = get_il2cpp_object(uv2S,NULL); - Il2CppObject* i2uv3S = get_il2cpp_object(uv3S,NULL); - Il2CppObject* i2normals = get_il2cpp_object(normals,NULL); - Il2CppObject* i2tangents = get_il2cpp_object(tangents,NULL); Il2CppObject* i2indices = get_il2cpp_object(indices,NULL); - icall(i2verts,i2positions,i2colors,i2uv0S,i2uv1S,i2uv2S,i2uv3S,i2normals,i2tangents,i2indices); -} -void UnityEngine_CanvasRenderer_SetColor_Injected(MonoObject* thiz, void * color) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * color); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::SetColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - icall(i2thiz,color); -} -void UnityEngine_CanvasRenderer_GetColor_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::GetColor_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - icall(i2thiz,ret); -} -void UnityEngine_CanvasRenderer_EnableRectClipping_Injected(MonoObject* thiz, void * rect) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * rect); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::EnableRectClipping_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - icall(i2thiz,rect); -} -void UnityEngine_CanvasRenderer_get_clippingSoftness_Injected(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::get_clippingSoftness_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - icall(i2thiz,ret); + icall(i2verts,i2indices); } -void UnityEngine_CanvasRenderer_set_clippingSoftness_Injected(MonoObject* thiz, void * value) +void UnityEngine_CanvasRenderer_CreateUIVertexStreamInternal(MonoObject* verts, MonoObject* positions, MonoObject* colors, MonoObject* uv0S, MonoObject* uv1S, MonoObject* uv2S, MonoObject* uv3S, MonoObject* normals, MonoObject* tangents, MonoObject* indices) { - typedef void (* ICallMethod) (Il2CppObject* thiz, void * value); + typedef void (* ICallMethod) (Il2CppObject* verts, Il2CppObject* positions, Il2CppObject* colors, Il2CppObject* uv0S, Il2CppObject* uv1S, Il2CppObject* uv2S, Il2CppObject* uv3S, Il2CppObject* normals, Il2CppObject* tangents, Il2CppObject* indices); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::set_clippingSoftness_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_CanvasRenderer()); - icall(i2thiz,value); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.CanvasRenderer::CreateUIVertexStreamInternal"); + if(!icall) + { + platform_log("UnityEngine.CanvasRenderer::CreateUIVertexStreamInternal func not found"); + return; + } + } + Il2CppObject* i2verts = get_il2cpp_object(verts,NULL); + Il2CppObject* i2positions = get_il2cpp_object(positions,NULL); + Il2CppObject* i2colors = get_il2cpp_object(colors,NULL); + Il2CppObject* i2uv0S = get_il2cpp_object(uv0S,NULL); + Il2CppObject* i2uv1S = get_il2cpp_object(uv1S,NULL); + Il2CppObject* i2uv2S = get_il2cpp_object(uv2S,NULL); + Il2CppObject* i2uv3S = get_il2cpp_object(uv3S,NULL); + Il2CppObject* i2normals = get_il2cpp_object(normals,NULL); + Il2CppObject* i2tangents = get_il2cpp_object(tangents,NULL); + Il2CppObject* i2indices = get_il2cpp_object(indices,NULL); + icall(i2verts,i2positions,i2colors,i2uv0S,i2uv1S,i2uv2S,i2uv3S,i2normals,i2tangents,i2indices); } void UnityEngine_RectTransformUtility_PixelAdjustPoint_Injected(void * point, MonoObject* elementTransform, MonoObject* canvas, void * ret) { typedef void (* ICallMethod) (void * point, Il2CppObject* elementTransform, Il2CppObject* canvas, void * ret); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransformUtility::PixelAdjustPoint_Injected"); + if(!icall) + { + platform_log("UnityEngine.RectTransformUtility::PixelAdjustPoint_Injected func not found"); + return; + } + } Il2CppObject* i2elementTransform = get_il2cpp_object(elementTransform,il2cpp_get_class_UnityEngine_Transform()); Il2CppObject* i2canvas = get_il2cpp_object(canvas,il2cpp_get_class_UnityEngine_Canvas()); icall(point,i2elementTransform,i2canvas,ret); @@ -27573,7 +17096,14 @@ void UnityEngine_RectTransformUtility_PixelAdjustRect_Injected(MonoObject* rectT typedef void (* ICallMethod) (Il2CppObject* rectTransform, Il2CppObject* canvas, void * ret); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransformUtility::PixelAdjustRect_Injected"); + if(!icall) + { + platform_log("UnityEngine.RectTransformUtility::PixelAdjustRect_Injected func not found"); + return; + } + } Il2CppObject* i2rectTransform = get_il2cpp_object(rectTransform,il2cpp_get_class_UnityEngine_RectTransform()); Il2CppObject* i2canvas = get_il2cpp_object(canvas,il2cpp_get_class_UnityEngine_Canvas()); icall(i2rectTransform,i2canvas,ret); @@ -27583,7 +17113,14 @@ bool UnityEngine_RectTransformUtility_PointInRectangle_Injected(void * screenPoi typedef bool (* ICallMethod) (void * screenPoint, Il2CppObject* rect, Il2CppObject* cam, void * offset); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.RectTransformUtility::PointInRectangle_Injected"); + if(!icall) + { + platform_log("UnityEngine.RectTransformUtility::PointInRectangle_Injected func not found"); + return 0; + } + } Il2CppObject* i2rect = get_il2cpp_object(rect,il2cpp_get_class_UnityEngine_RectTransform()); Il2CppObject* i2cam = get_il2cpp_object(cam,il2cpp_get_class_UnityEngine_Camera()); bool i2res = icall(screenPoint,i2rect,i2cam,offset); @@ -27594,26 +17131,31 @@ int32_t UnityEngine_Canvas_get_renderMode_1(MonoObject* thiz) typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_renderMode"); + if(!icall) + { + platform_log("UnityEngine.Canvas::get_renderMode func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Canvas_set_renderMode_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_renderMode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - icall(i2thiz,value); -} bool UnityEngine_Canvas_get_isRootCanvas(MonoObject* thiz) { typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_isRootCanvas"); + if(!icall) + { + platform_log("UnityEngine.Canvas::get_isRootCanvas func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); bool i2res = icall(i2thiz); return i2res; @@ -27623,7 +17165,14 @@ float UnityEngine_Canvas_get_scaleFactor(MonoObject* thiz) typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_scaleFactor"); + if(!icall) + { + platform_log("UnityEngine.Canvas::get_scaleFactor func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); float i2res = icall(i2thiz); return i2res; @@ -27633,7 +17182,14 @@ void UnityEngine_Canvas_set_scaleFactor(MonoObject* thiz, float value) typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_scaleFactor"); + if(!icall) + { + platform_log("UnityEngine.Canvas::set_scaleFactor func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); icall(i2thiz,value); } @@ -27642,7 +17198,14 @@ float UnityEngine_Canvas_get_referencePixelsPerUnit(MonoObject* thiz) typedef float (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_referencePixelsPerUnit"); + if(!icall) + { + platform_log("UnityEngine.Canvas::get_referencePixelsPerUnit func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); float i2res = icall(i2thiz); return i2res; @@ -27652,26 +17215,14 @@ void UnityEngine_Canvas_set_referencePixelsPerUnit(MonoObject* thiz, float value typedef void (* ICallMethod) (Il2CppObject* thiz, float value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_referencePixelsPerUnit"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - icall(i2thiz,value); -} -bool UnityEngine_Canvas_get_overridePixelPerfect(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_overridePixelPerfect"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - bool i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Canvas_set_overridePixelPerfect(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_overridePixelPerfect"); + if(!icall) + { + platform_log("UnityEngine.Canvas::set_referencePixelsPerUnit func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); icall(i2thiz,value); } @@ -27680,45 +17231,31 @@ bool UnityEngine_Canvas_get_pixelPerfect(MonoObject* thiz) typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_pixelPerfect"); + if(!icall) + { + platform_log("UnityEngine.Canvas::get_pixelPerfect func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); bool i2res = icall(i2thiz); return i2res; } -void UnityEngine_Canvas_set_pixelPerfect(MonoObject* thiz, bool value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_pixelPerfect"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - icall(i2thiz,value); -} -float UnityEngine_Canvas_get_planeDistance(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_planeDistance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Canvas_set_planeDistance(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_planeDistance"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - icall(i2thiz,value); -} int32_t UnityEngine_Canvas_get_renderOrder(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_renderOrder"); + if(!icall) + { + platform_log("UnityEngine.Canvas::get_renderOrder func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); int32_t i2res = icall(i2thiz); return i2res; @@ -27728,7 +17265,14 @@ bool UnityEngine_Canvas_get_overrideSorting(MonoObject* thiz) typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_overrideSorting"); + if(!icall) + { + platform_log("UnityEngine.Canvas::get_overrideSorting func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); bool i2res = icall(i2thiz); return i2res; @@ -27738,26 +17282,47 @@ void UnityEngine_Canvas_set_overrideSorting(MonoObject* thiz, bool value) typedef void (* ICallMethod) (Il2CppObject* thiz, bool value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_overrideSorting"); + if(!icall) + { + platform_log("UnityEngine.Canvas::set_overrideSorting func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); icall(i2thiz,value); } -int32_t UnityEngine_Canvas_get_sortingOrder_2(MonoObject* thiz) +int32_t UnityEngine_Canvas_get_sortingOrder_1(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_sortingOrder"); + if(!icall) + { + platform_log("UnityEngine.Canvas::get_sortingOrder func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Canvas_set_sortingOrder_2(MonoObject* thiz, int32_t value) +void UnityEngine_Canvas_set_sortingOrder_1(MonoObject* thiz, int32_t value) { typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_sortingOrder"); + if(!icall) + { + platform_log("UnityEngine.Canvas::set_sortingOrder func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); icall(i2thiz,value); } @@ -27766,98 +17331,71 @@ int32_t UnityEngine_Canvas_get_targetDisplay_1(MonoObject* thiz) typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_targetDisplay"); + if(!icall) + { + platform_log("UnityEngine.Canvas::get_targetDisplay func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Canvas_set_targetDisplay_1(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_targetDisplay"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - icall(i2thiz,value); -} -int32_t UnityEngine_Canvas_get_sortingLayerID_2(MonoObject* thiz) +int32_t UnityEngine_Canvas_get_sortingLayerID_1(MonoObject* thiz) { typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_sortingLayerID"); + if(!icall) + { + platform_log("UnityEngine.Canvas::get_sortingLayerID func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Canvas_set_sortingLayerID_2(MonoObject* thiz, int32_t value) +void UnityEngine_Canvas_set_sortingLayerID_1(MonoObject* thiz, int32_t value) { typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_sortingLayerID"); + if(!icall) + { + platform_log("UnityEngine.Canvas::set_sortingLayerID func not found"); + return; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); icall(i2thiz,value); } -int32_t UnityEngine_Canvas_get_cachedSortingLayerValue(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_cachedSortingLayerValue"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Canvas_get_additionalShaderChannels(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_additionalShaderChannels"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Canvas_set_additionalShaderChannels(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_additionalShaderChannels"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - icall(i2thiz,value); -} -MonoString* UnityEngine_Canvas_get_sortingLayerName_2(MonoObject* thiz) -{ - typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_sortingLayerName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - Il2CppString* i2res = icall(i2thiz); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void UnityEngine_Canvas_set_sortingLayerName_2(MonoObject* thiz, MonoString* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppString* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_sortingLayerName"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - Il2CppString* i2value = get_il2cpp_string(value); - icall(i2thiz,i2value); -} MonoObject* UnityEngine_Canvas_get_rootCanvas(MonoObject* thiz) { typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_rootCanvas"); + if(!icall) + { + platform_log("UnityEngine.Canvas::get_rootCanvas func not found"); + return NULL; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); Il2CppObject* i2res = icall(i2thiz); MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Canvas()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Canvas::get_rootCanvas fail to convert il2cpp obj to mono"); + } return monoi2res; } MonoObject* UnityEngine_Canvas_get_worldCamera(MonoObject* thiz) @@ -27865,68 +17403,21 @@ MonoObject* UnityEngine_Canvas_get_worldCamera(MonoObject* thiz) typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_worldCamera"); + if(!icall) + { + platform_log("UnityEngine.Canvas::get_worldCamera func not found"); + return NULL; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); Il2CppObject* i2res = icall(i2thiz); MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Camera()); - return monoi2res; -} -void UnityEngine_Canvas_set_worldCamera(MonoObject* thiz, MonoObject* value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_worldCamera"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - Il2CppObject* i2value = get_il2cpp_object(value,il2cpp_get_class_UnityEngine_Camera()); - icall(i2thiz,i2value); -} -float UnityEngine_Canvas_get_normalizedSortingGridSize(MonoObject* thiz) -{ - typedef float (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_normalizedSortingGridSize"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - float i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Canvas_set_normalizedSortingGridSize(MonoObject* thiz, float value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, float value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_normalizedSortingGridSize"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - icall(i2thiz,value); -} -int32_t UnityEngine_Canvas_get_sortingGridNormalizedSize(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_sortingGridNormalizedSize"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - int32_t i2res = icall(i2thiz); - return i2res; -} -void UnityEngine_Canvas_set_sortingGridNormalizedSize(MonoObject* thiz, int32_t value) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, int32_t value); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::set_sortingGridNormalizedSize"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - icall(i2thiz,value); -} -MonoObject* UnityEngine_Canvas_GetDefaultCanvasTextMaterial() -{ - typedef Il2CppObject* (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::GetDefaultCanvasTextMaterial"); - Il2CppObject* i2res = icall(); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Canvas::get_worldCamera fail to convert il2cpp obj to mono"); + } return monoi2res; } MonoObject* UnityEngine_Canvas_GetDefaultCanvasMaterial() @@ -27934,9 +17425,20 @@ MonoObject* UnityEngine_Canvas_GetDefaultCanvasMaterial() typedef Il2CppObject* (* ICallMethod) (); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::GetDefaultCanvasMaterial"); + if(!icall) + { + platform_log("UnityEngine.Canvas::GetDefaultCanvasMaterial func not found"); + return NULL; + } + } Il2CppObject* i2res = icall(); MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Canvas::GetDefaultCanvasMaterial fail to convert il2cpp obj to mono"); + } return monoi2res; } MonoObject* UnityEngine_Canvas_GetETC1SupportedCanvasMaterial() @@ -27944,34 +17446,50 @@ MonoObject* UnityEngine_Canvas_GetETC1SupportedCanvasMaterial() typedef Il2CppObject* (* ICallMethod) (); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::GetETC1SupportedCanvasMaterial"); + if(!icall) + { + platform_log("UnityEngine.Canvas::GetETC1SupportedCanvasMaterial func not found"); + return NULL; + } + } Il2CppObject* i2res = icall(); MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Material()); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Canvas::GetETC1SupportedCanvasMaterial fail to convert il2cpp obj to mono"); + } return monoi2res; } -void UnityEngine_Canvas_get_pixelRect_Injected_1(MonoObject* thiz, void * ret) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz, void * ret); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Canvas::get_pixelRect_Injected"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Canvas()); - icall(i2thiz,ret); -} -void UnityEngine_UISystemProfilerApi_BeginSample_1(int32_t type) +void UnityEngine_UISystemProfilerApi_BeginSample(int32_t type) { typedef void (* ICallMethod) (int32_t type); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.UISystemProfilerApi::BeginSample"); + if(!icall) + { + platform_log("UnityEngine.UISystemProfilerApi::BeginSample func not found"); + return; + } + } icall(type); } -void UnityEngine_UISystemProfilerApi_EndSample_2(int32_t type) +void UnityEngine_UISystemProfilerApi_EndSample(int32_t type) { typedef void (* ICallMethod) (int32_t type); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.UISystemProfilerApi::EndSample"); + if(!icall) + { + platform_log("UnityEngine.UISystemProfilerApi::EndSample func not found"); + return; + } + } icall(type); } void UnityEngine_UISystemProfilerApi_AddMarker(MonoString* name, MonoObject* obj) @@ -27979,271 +17497,271 @@ void UnityEngine_UISystemProfilerApi_AddMarker(MonoString* name, MonoObject* obj typedef void (* ICallMethod) (Il2CppString* name, Il2CppObject* obj); static ICallMethod icall; if(!icall) + { icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.UISystemProfilerApi::AddMarker"); + if(!icall) + { + platform_log("UnityEngine.UISystemProfilerApi::AddMarker func not found"); + return; + } + } Il2CppString* i2name = get_il2cpp_string(name); Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Object()); icall(i2name,i2obj); } -MonoString* UnityEngine_Networking_UnityWebRequest_GetWebErrorString(int32_t err) -{ - typedef Il2CppString* (* ICallMethod) (int32_t err); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::GetWebErrorString"); - Il2CppString* i2res = icall(err); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -MonoString* UnityEngine_Networking_UnityWebRequest_GetHTTPStatusString(int64_t responseCode) -{ - typedef Il2CppString* (* ICallMethod) (int64_t responseCode); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::GetHTTPStatusString"); - Il2CppString* i2res = icall(responseCode); - MonoString* monoi2res = get_mono_string(i2res); - return monoi2res; -} -void * UnityEngine_Networking_UnityWebRequest_Create_3() -{ - typedef void * (* ICallMethod) (); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::Create"); - void * i2res = icall(); - return i2res; -} -void UnityEngine_Networking_UnityWebRequest_Release_1(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::Release"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - icall(i2thiz); -} -MonoObject* UnityEngine_Networking_UnityWebRequest_BeginWebRequest(MonoObject* thiz) -{ - typedef Il2CppObject* (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::BeginWebRequest"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - Il2CppObject* i2res = icall(i2thiz); - MonoObject* monoi2res = get_mono_object(i2res,mono_get_class_UnityEngine_Networking_UnityWebRequestAsyncOperation()); - return monoi2res; -} -void UnityEngine_Networking_UnityWebRequest_Abort(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::Abort"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - icall(i2thiz); -} -int32_t UnityEngine_Networking_UnityWebRequest_SetMethod(MonoObject* thiz, int32_t methodType) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, int32_t methodType); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::SetMethod"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - int32_t i2res = icall(i2thiz,methodType); - return i2res; -} -int32_t UnityEngine_Networking_UnityWebRequest_SetCustomMethod(MonoObject* thiz, MonoString* customMethodName) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppString* customMethodName); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::SetCustomMethod"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - Il2CppString* i2customMethodName = get_il2cpp_string(customMethodName); - int32_t i2res = icall(i2thiz,i2customMethodName); - return i2res; -} -int32_t UnityEngine_Networking_UnityWebRequest_GetError(MonoObject* thiz) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::GetError"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - int32_t i2res = icall(i2thiz); - return i2res; -} -int32_t UnityEngine_Networking_UnityWebRequest_SetUrl(MonoObject* thiz, MonoString* url) -{ - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppString* url); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::SetUrl"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - Il2CppString* i2url = get_il2cpp_string(url); - int32_t i2res = icall(i2thiz,i2url); - return i2res; -} int64_t UnityEngine_Networking_UnityWebRequest_get_responseCode(MonoObject* thiz) { typedef int64_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::get_responseCode"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - int64_t i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_Networking_UnityWebRequest_get_isModifiable(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::get_isModifiable"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - bool i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_Networking_UnityWebRequest_get_isNetworkError(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::get_isNetworkError"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - bool i2res = icall(i2thiz); - return i2res; -} -bool UnityEngine_Networking_UnityWebRequest_get_isHttpError(MonoObject* thiz) -{ - typedef bool (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::get_isHttpError"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::get_responseCode"); + if(!icall) + { + platform_log("UnityEngine.Networking.UnityWebRequest::get_responseCode func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - bool i2res = icall(i2thiz); + int64_t i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_Networking_UnityWebRequest_SetUploadHandler(MonoObject* thiz, MonoObject* uh) +bool UnityEngine_Networking_UnityWebRequest_get_isModifiable(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* uh); + typedef bool (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::SetUploadHandler"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::get_isModifiable"); + if(!icall) + { + platform_log("UnityEngine.Networking.UnityWebRequest::get_isModifiable func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - Il2CppObject* i2uh = get_il2cpp_object(uh,il2cpp_get_class_UnityEngine_Networking_UploadHandler()); - int32_t i2res = icall(i2thiz,i2uh); + bool i2res = icall(i2thiz); return i2res; } -int32_t UnityEngine_Networking_UnityWebRequest_SetDownloadHandler(MonoObject* thiz, MonoObject* dh) +int32_t UnityEngine_Networking_UnityWebRequest_get_result(MonoObject* thiz) { - typedef int32_t (* ICallMethod) (Il2CppObject* thiz, Il2CppObject* dh); + typedef int32_t (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::SetDownloadHandler"); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::get_result"); + if(!icall) + { + platform_log("UnityEngine.Networking.UnityWebRequest::get_result func not found"); + return 0; + } + } Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); - Il2CppObject* i2dh = get_il2cpp_object(dh,il2cpp_get_class_UnityEngine_Networking_DownloadHandler()); - int32_t i2res = icall(i2thiz,i2dh); + int32_t i2res = icall(i2thiz); return i2res; } -void UnityEngine_Networking_CertificateHandler_Release_2(MonoObject* thiz) +MonoString* UnityEngine_Networking_UnityWebRequest_GetHTTPStatusString(int64_t responseCode) { - typedef void (* ICallMethod) (Il2CppObject* thiz); + typedef Il2CppString* (* ICallMethod) (int64_t responseCode); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.CertificateHandler::Release"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_CertificateHandler()); - icall(i2thiz); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::GetHTTPStatusString"); + if(!icall) + { + platform_log("UnityEngine.Networking.UnityWebRequest::GetHTTPStatusString func not found"); + return NULL; + } + } + Il2CppString* i2res = icall(responseCode); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Networking.UnityWebRequest::GetHTTPStatusString fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void UnityEngine_Networking_DownloadHandler_Release_3(MonoObject* thiz) +void UnityEngine_Networking_UnityWebRequest_Abort(MonoObject* thiz) { typedef void (* ICallMethod) (Il2CppObject* thiz); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.DownloadHandler::Release"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_DownloadHandler()); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::Abort"); + if(!icall) + { + platform_log("UnityEngine.Networking.UnityWebRequest::Abort func not found"); + return; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); icall(i2thiz); } -void * UnityEngine_Networking_DownloadHandlerBuffer_Create_4(MonoObject* obj) +MonoString* UnityEngine_Networking_UnityWebRequest_GetResponseHeader(MonoObject* thiz, MonoString* name) { - typedef void * (* ICallMethod) (Il2CppObject* obj); + typedef Il2CppString* (* ICallMethod) (Il2CppObject* thiz, Il2CppString* name); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.DownloadHandlerBuffer::Create"); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Networking_DownloadHandlerBuffer()); - void * i2res = icall(i2obj); - return i2res; + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UnityWebRequest::GetResponseHeader"); + if(!icall) + { + platform_log("UnityEngine.Networking.UnityWebRequest::GetResponseHeader func not found"); + return NULL; + } + } + Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UnityWebRequest()); + Il2CppString* i2name = get_il2cpp_string(name); + Il2CppString* i2res = icall(i2thiz,i2name); + MonoString* monoi2res = get_mono_string(i2res); + if(i2res != NULL && monoi2res == NULL) + { + platform_log("UnityEngine.Networking.UnityWebRequest::GetResponseHeader fail to convert il2cpp obj to mono"); + } + return monoi2res; } -void * UnityEngine_Networking_DownloadHandlerFile_Create_5(MonoObject* obj, MonoString* path, bool append) +void * UnityEngine_Networking_DownloadHandler_InternalGetByteArray(MonoObject* dh, void * length) { - typedef void * (* ICallMethod) (Il2CppObject* obj, Il2CppString* path, bool append); + typedef void * (* ICallMethod) (Il2CppObject* dh, void * length); static ICallMethod icall; if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.DownloadHandlerFile::Create"); - Il2CppObject* i2obj = get_il2cpp_object(obj,il2cpp_get_class_UnityEngine_Networking_DownloadHandlerFile()); - Il2CppString* i2path = get_il2cpp_string(path); - void * i2res = icall(i2obj,i2path,append); + { + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.DownloadHandler::InternalGetByteArray"); + if(!icall) + { + platform_log("UnityEngine.Networking.DownloadHandler::InternalGetByteArray func not found"); + return NULL; + } + } + Il2CppObject* i2dh = get_il2cpp_object(dh,il2cpp_get_class_UnityEngine_Networking_DownloadHandler()); + void * i2res = icall(i2dh,length); + if(i2res != NULL && i2res == NULL) + { + platform_log("UnityEngine.Networking.DownloadHandler::InternalGetByteArray fail to convert il2cpp obj to mono"); + } return i2res; } -void UnityEngine_Networking_UploadHandler_Release_4(MonoObject* thiz) -{ - typedef void (* ICallMethod) (Il2CppObject* thiz); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Networking.UploadHandler::Release"); - Il2CppObject* i2thiz = get_il2cpp_object(thiz,il2cpp_get_class_UnityEngine_Networking_UploadHandler()); - icall(i2thiz); -} -void UnityEngine_VFX_VFXSpawnerState_Internal_Destroy_6(void * ptr) -{ - typedef void (* ICallMethod) (void * ptr); - static ICallMethod icall; - if(!icall) - icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.VFX.VFXSpawnerState::Internal_Destroy"); - icall(ptr); -} void regist_icall_gen() { + mono_add_internal_call("UnityEngine.AI.NavMeshAgent::get_pathStatus",(void*) UnityEngine_AI_NavMeshAgent_get_pathStatus); + mono_add_internal_call("UnityEngine.AI.NavMeshAgent::set_isStopped",(void*) UnityEngine_AI_NavMeshAgent_set_isStopped); + mono_add_internal_call("UnityEngine.AI.NavMeshAgent::set_speed",(void*) UnityEngine_AI_NavMeshAgent_set_speed); + mono_add_internal_call("UnityEngine.AI.NavMeshAgent::set_angularSpeed",(void*) UnityEngine_AI_NavMeshAgent_set_angularSpeed); + mono_add_internal_call("UnityEngine.AI.NavMeshAgent::set_acceleration",(void*) UnityEngine_AI_NavMeshAgent_set_acceleration); + mono_add_internal_call("UnityEngine.AI.NavMeshAgent::set_updatePosition",(void*) UnityEngine_AI_NavMeshAgent_set_updatePosition); + mono_add_internal_call("UnityEngine.AI.NavMeshAgent::set_updateRotation",(void*) UnityEngine_AI_NavMeshAgent_set_updateRotation); + mono_add_internal_call("UnityEngine.AI.NavMeshAgent::set_radius",(void*) UnityEngine_AI_NavMeshAgent_set_radius); + mono_add_internal_call("UnityEngine.AI.NavMeshAgent::SetDestination_Injected",(void*) UnityEngine_AI_NavMeshAgent_SetDestination_Injected); + mono_add_internal_call("UnityEngine.AI.NavMeshAgent::Warp_Injected",(void*) UnityEngine_AI_NavMeshAgent_Warp_Injected); + mono_add_internal_call("UnityEngine.AI.NavMesh::SamplePosition_Injected",(void*) UnityEngine_AI_NavMesh_SamplePosition_Injected); + mono_add_internal_call("UnityEngine.AndroidJNIHelper::get_debug",(void*) UnityEngine_AndroidJNIHelper_get_debug); + mono_add_internal_call("UnityEngine.AndroidJNIHelper::set_debug",(void*) UnityEngine_AndroidJNIHelper_set_debug); + mono_add_internal_call("UnityEngine.AndroidJNI::AttachCurrentThread",(void*) UnityEngine_AndroidJNI_AttachCurrentThread); + mono_add_internal_call("UnityEngine.AndroidJNI::DetachCurrentThread",(void*) UnityEngine_AndroidJNI_DetachCurrentThread); + mono_add_internal_call("UnityEngine.AndroidJNI::GetVersion",(void*) UnityEngine_AndroidJNI_GetVersion); mono_add_internal_call("UnityEngine.AndroidJNI::FindClass",(void*) UnityEngine_AndroidJNI_FindClass); mono_add_internal_call("UnityEngine.AndroidJNI::FromReflectedMethod",(void*) UnityEngine_AndroidJNI_FromReflectedMethod); + mono_add_internal_call("UnityEngine.AndroidJNI::FromReflectedField",(void*) UnityEngine_AndroidJNI_FromReflectedField); + mono_add_internal_call("UnityEngine.AndroidJNI::ToReflectedMethod",(void*) UnityEngine_AndroidJNI_ToReflectedMethod); + mono_add_internal_call("UnityEngine.AndroidJNI::ToReflectedField",(void*) UnityEngine_AndroidJNI_ToReflectedField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetSuperclass",(void*) UnityEngine_AndroidJNI_GetSuperclass); + mono_add_internal_call("UnityEngine.AndroidJNI::IsAssignableFrom",(void*) UnityEngine_AndroidJNI_IsAssignableFrom); + mono_add_internal_call("UnityEngine.AndroidJNI::Throw",(void*) UnityEngine_AndroidJNI_Throw); + mono_add_internal_call("UnityEngine.AndroidJNI::ThrowNew",(void*) UnityEngine_AndroidJNI_ThrowNew); mono_add_internal_call("UnityEngine.AndroidJNI::ExceptionOccurred",(void*) UnityEngine_AndroidJNI_ExceptionOccurred); + mono_add_internal_call("UnityEngine.AndroidJNI::ExceptionDescribe",(void*) UnityEngine_AndroidJNI_ExceptionDescribe); mono_add_internal_call("UnityEngine.AndroidJNI::ExceptionClear",(void*) UnityEngine_AndroidJNI_ExceptionClear); + mono_add_internal_call("UnityEngine.AndroidJNI::FatalError",(void*) UnityEngine_AndroidJNI_FatalError); + mono_add_internal_call("UnityEngine.AndroidJNI::PushLocalFrame",(void*) UnityEngine_AndroidJNI_PushLocalFrame); + mono_add_internal_call("UnityEngine.AndroidJNI::PopLocalFrame",(void*) UnityEngine_AndroidJNI_PopLocalFrame); mono_add_internal_call("UnityEngine.AndroidJNI::NewGlobalRef",(void*) UnityEngine_AndroidJNI_NewGlobalRef); mono_add_internal_call("UnityEngine.AndroidJNI::DeleteGlobalRef",(void*) UnityEngine_AndroidJNI_DeleteGlobalRef); mono_add_internal_call("UnityEngine.AndroidJNI::NewWeakGlobalRef",(void*) UnityEngine_AndroidJNI_NewWeakGlobalRef); mono_add_internal_call("UnityEngine.AndroidJNI::DeleteWeakGlobalRef",(void*) UnityEngine_AndroidJNI_DeleteWeakGlobalRef); mono_add_internal_call("UnityEngine.AndroidJNI::NewLocalRef",(void*) UnityEngine_AndroidJNI_NewLocalRef); mono_add_internal_call("UnityEngine.AndroidJNI::DeleteLocalRef",(void*) UnityEngine_AndroidJNI_DeleteLocalRef); + mono_add_internal_call("UnityEngine.AndroidJNI::IsSameObject",(void*) UnityEngine_AndroidJNI_IsSameObject); + mono_add_internal_call("UnityEngine.AndroidJNI::EnsureLocalCapacity",(void*) UnityEngine_AndroidJNI_EnsureLocalCapacity); + mono_add_internal_call("UnityEngine.AndroidJNI::AllocObject",(void*) UnityEngine_AndroidJNI_AllocObject); mono_add_internal_call("UnityEngine.AndroidJNI::NewObject",(void*) UnityEngine_AndroidJNI_NewObject); mono_add_internal_call("UnityEngine.AndroidJNI::GetObjectClass",(void*) UnityEngine_AndroidJNI_GetObjectClass); + mono_add_internal_call("UnityEngine.AndroidJNI::IsInstanceOf",(void*) UnityEngine_AndroidJNI_IsInstanceOf); mono_add_internal_call("UnityEngine.AndroidJNI::GetMethodID",(void*) UnityEngine_AndroidJNI_GetMethodID); + mono_add_internal_call("UnityEngine.AndroidJNI::GetFieldID",(void*) UnityEngine_AndroidJNI_GetFieldID); mono_add_internal_call("UnityEngine.AndroidJNI::GetStaticMethodID",(void*) UnityEngine_AndroidJNI_GetStaticMethodID); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStaticFieldID",(void*) UnityEngine_AndroidJNI_GetStaticFieldID); mono_add_internal_call("UnityEngine.AndroidJNI::NewStringFromStr",(void*) UnityEngine_AndroidJNI_NewStringFromStr); + mono_add_internal_call("UnityEngine.AndroidJNI::NewString",(void*) UnityEngine_AndroidJNI_NewString); + mono_add_internal_call("UnityEngine.AndroidJNI::NewStringUTF",(void*) UnityEngine_AndroidJNI_NewStringUTF); mono_add_internal_call("UnityEngine.AndroidJNI::GetStringChars",(void*) UnityEngine_AndroidJNI_GetStringChars); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStringLength",(void*) UnityEngine_AndroidJNI_GetStringLength); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStringUTFLength",(void*) UnityEngine_AndroidJNI_GetStringUTFLength); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStringUTFChars",(void*) UnityEngine_AndroidJNI_GetStringUTFChars); mono_add_internal_call("UnityEngine.AndroidJNI::CallStringMethod",(void*) UnityEngine_AndroidJNI_CallStringMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallObjectMethod",(void*) UnityEngine_AndroidJNI_CallObjectMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallIntMethod",(void*) UnityEngine_AndroidJNI_CallIntMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallBooleanMethod",(void*) UnityEngine_AndroidJNI_CallBooleanMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallShortMethod",(void*) UnityEngine_AndroidJNI_CallShortMethod); - mono_add_internal_call("UnityEngine.AndroidJNI::CallcharMethod",(void*) UnityEngine_AndroidJNI_CallcharMethod); + mono_add_internal_call("UnityEngine.AndroidJNI::CallSByteMethod",(void*) UnityEngine_AndroidJNI_CallSByteMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallCharMethod",(void*) UnityEngine_AndroidJNI_CallCharMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallFloatMethod",(void*) UnityEngine_AndroidJNI_CallFloatMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallDoubleMethod",(void*) UnityEngine_AndroidJNI_CallDoubleMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallLongMethod",(void*) UnityEngine_AndroidJNI_CallLongMethod); + mono_add_internal_call("UnityEngine.AndroidJNI::CallVoidMethod",(void*) UnityEngine_AndroidJNI_CallVoidMethod); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStringField",(void*) UnityEngine_AndroidJNI_GetStringField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetObjectField",(void*) UnityEngine_AndroidJNI_GetObjectField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetBooleanField",(void*) UnityEngine_AndroidJNI_GetBooleanField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetSByteField",(void*) UnityEngine_AndroidJNI_GetSByteField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetCharField",(void*) UnityEngine_AndroidJNI_GetCharField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetShortField",(void*) UnityEngine_AndroidJNI_GetShortField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetIntField",(void*) UnityEngine_AndroidJNI_GetIntField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetLongField",(void*) UnityEngine_AndroidJNI_GetLongField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetFloatField",(void*) UnityEngine_AndroidJNI_GetFloatField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetDoubleField",(void*) UnityEngine_AndroidJNI_GetDoubleField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetStringField",(void*) UnityEngine_AndroidJNI_SetStringField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetObjectField",(void*) UnityEngine_AndroidJNI_SetObjectField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetBooleanField",(void*) UnityEngine_AndroidJNI_SetBooleanField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetSByteField",(void*) UnityEngine_AndroidJNI_SetSByteField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetCharField",(void*) UnityEngine_AndroidJNI_SetCharField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetShortField",(void*) UnityEngine_AndroidJNI_SetShortField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetIntField",(void*) UnityEngine_AndroidJNI_SetIntField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetLongField",(void*) UnityEngine_AndroidJNI_SetLongField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetFloatField",(void*) UnityEngine_AndroidJNI_SetFloatField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetDoubleField",(void*) UnityEngine_AndroidJNI_SetDoubleField); mono_add_internal_call("UnityEngine.AndroidJNI::CallStaticStringMethod",(void*) UnityEngine_AndroidJNI_CallStaticStringMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallStaticObjectMethod",(void*) UnityEngine_AndroidJNI_CallStaticObjectMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallStaticIntMethod",(void*) UnityEngine_AndroidJNI_CallStaticIntMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallStaticBooleanMethod",(void*) UnityEngine_AndroidJNI_CallStaticBooleanMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallStaticShortMethod",(void*) UnityEngine_AndroidJNI_CallStaticShortMethod); - mono_add_internal_call("UnityEngine.AndroidJNI::CallStaticcharMethod",(void*) UnityEngine_AndroidJNI_CallStaticcharMethod); + mono_add_internal_call("UnityEngine.AndroidJNI::CallStaticSByteMethod",(void*) UnityEngine_AndroidJNI_CallStaticSByteMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallStaticCharMethod",(void*) UnityEngine_AndroidJNI_CallStaticCharMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallStaticFloatMethod",(void*) UnityEngine_AndroidJNI_CallStaticFloatMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallStaticDoubleMethod",(void*) UnityEngine_AndroidJNI_CallStaticDoubleMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallStaticLongMethod",(void*) UnityEngine_AndroidJNI_CallStaticLongMethod); mono_add_internal_call("UnityEngine.AndroidJNI::CallStaticVoidMethod",(void*) UnityEngine_AndroidJNI_CallStaticVoidMethod); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStaticStringField",(void*) UnityEngine_AndroidJNI_GetStaticStringField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStaticObjectField",(void*) UnityEngine_AndroidJNI_GetStaticObjectField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStaticBooleanField",(void*) UnityEngine_AndroidJNI_GetStaticBooleanField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStaticSByteField",(void*) UnityEngine_AndroidJNI_GetStaticSByteField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStaticCharField",(void*) UnityEngine_AndroidJNI_GetStaticCharField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStaticShortField",(void*) UnityEngine_AndroidJNI_GetStaticShortField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStaticIntField",(void*) UnityEngine_AndroidJNI_GetStaticIntField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStaticLongField",(void*) UnityEngine_AndroidJNI_GetStaticLongField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStaticFloatField",(void*) UnityEngine_AndroidJNI_GetStaticFloatField); + mono_add_internal_call("UnityEngine.AndroidJNI::GetStaticDoubleField",(void*) UnityEngine_AndroidJNI_GetStaticDoubleField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetStaticStringField",(void*) UnityEngine_AndroidJNI_SetStaticStringField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetStaticObjectField",(void*) UnityEngine_AndroidJNI_SetStaticObjectField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetStaticBooleanField",(void*) UnityEngine_AndroidJNI_SetStaticBooleanField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetStaticSByteField",(void*) UnityEngine_AndroidJNI_SetStaticSByteField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetStaticCharField",(void*) UnityEngine_AndroidJNI_SetStaticCharField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetStaticShortField",(void*) UnityEngine_AndroidJNI_SetStaticShortField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetStaticIntField",(void*) UnityEngine_AndroidJNI_SetStaticIntField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetStaticLongField",(void*) UnityEngine_AndroidJNI_SetStaticLongField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetStaticFloatField",(void*) UnityEngine_AndroidJNI_SetStaticFloatField); + mono_add_internal_call("UnityEngine.AndroidJNI::SetStaticDoubleField",(void*) UnityEngine_AndroidJNI_SetStaticDoubleField); mono_add_internal_call("UnityEngine.AndroidJNI::ToBooleanArray",(void*) UnityEngine_AndroidJNI_ToBooleanArray); mono_add_internal_call("UnityEngine.AndroidJNI::ToByteArray",(void*) UnityEngine_AndroidJNI_ToByteArray); - mono_add_internal_call("UnityEngine.AndroidJNI::TocharArray",(void*) UnityEngine_AndroidJNI_TocharArray); + mono_add_internal_call("UnityEngine.AndroidJNI::ToSByteArray",(void*) UnityEngine_AndroidJNI_ToSByteArray); mono_add_internal_call("UnityEngine.AndroidJNI::ToCharArray",(void*) UnityEngine_AndroidJNI_ToCharArray); mono_add_internal_call("UnityEngine.AndroidJNI::ToShortArray",(void*) UnityEngine_AndroidJNI_ToShortArray); mono_add_internal_call("UnityEngine.AndroidJNI::ToIntArray",(void*) UnityEngine_AndroidJNI_ToIntArray); @@ -28253,1716 +17771,558 @@ void regist_icall_gen() mono_add_internal_call("UnityEngine.AndroidJNI::ToObjectArray",(void*) UnityEngine_AndroidJNI_ToObjectArray); mono_add_internal_call("UnityEngine.AndroidJNI::FromBooleanArray",(void*) UnityEngine_AndroidJNI_FromBooleanArray); mono_add_internal_call("UnityEngine.AndroidJNI::FromByteArray",(void*) UnityEngine_AndroidJNI_FromByteArray); - mono_add_internal_call("UnityEngine.AndroidJNI::FromcharArray",(void*) UnityEngine_AndroidJNI_FromcharArray); + mono_add_internal_call("UnityEngine.AndroidJNI::FromSByteArray",(void*) UnityEngine_AndroidJNI_FromSByteArray); mono_add_internal_call("UnityEngine.AndroidJNI::FromCharArray",(void*) UnityEngine_AndroidJNI_FromCharArray); mono_add_internal_call("UnityEngine.AndroidJNI::FromShortArray",(void*) UnityEngine_AndroidJNI_FromShortArray); mono_add_internal_call("UnityEngine.AndroidJNI::FromIntArray",(void*) UnityEngine_AndroidJNI_FromIntArray); mono_add_internal_call("UnityEngine.AndroidJNI::FromLongArray",(void*) UnityEngine_AndroidJNI_FromLongArray); mono_add_internal_call("UnityEngine.AndroidJNI::FromFloatArray",(void*) UnityEngine_AndroidJNI_FromFloatArray); mono_add_internal_call("UnityEngine.AndroidJNI::FromDoubleArray",(void*) UnityEngine_AndroidJNI_FromDoubleArray); + mono_add_internal_call("UnityEngine.AndroidJNI::FromObjectArray",(void*) UnityEngine_AndroidJNI_FromObjectArray); mono_add_internal_call("UnityEngine.AndroidJNI::GetArrayLength",(void*) UnityEngine_AndroidJNI_GetArrayLength); + mono_add_internal_call("UnityEngine.AndroidJNI::NewBooleanArray",(void*) UnityEngine_AndroidJNI_NewBooleanArray); + mono_add_internal_call("UnityEngine.AndroidJNI::NewSByteArray",(void*) UnityEngine_AndroidJNI_NewSByteArray); + mono_add_internal_call("UnityEngine.AndroidJNI::NewCharArray",(void*) UnityEngine_AndroidJNI_NewCharArray); + mono_add_internal_call("UnityEngine.AndroidJNI::NewShortArray",(void*) UnityEngine_AndroidJNI_NewShortArray); + mono_add_internal_call("UnityEngine.AndroidJNI::NewIntArray",(void*) UnityEngine_AndroidJNI_NewIntArray); + mono_add_internal_call("UnityEngine.AndroidJNI::NewLongArray",(void*) UnityEngine_AndroidJNI_NewLongArray); + mono_add_internal_call("UnityEngine.AndroidJNI::NewFloatArray",(void*) UnityEngine_AndroidJNI_NewFloatArray); + mono_add_internal_call("UnityEngine.AndroidJNI::NewDoubleArray",(void*) UnityEngine_AndroidJNI_NewDoubleArray); mono_add_internal_call("UnityEngine.AndroidJNI::NewObjectArray",(void*) UnityEngine_AndroidJNI_NewObjectArray); + mono_add_internal_call("UnityEngine.AndroidJNI::GetBooleanArrayElement",(void*) UnityEngine_AndroidJNI_GetBooleanArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::GetSByteArrayElement",(void*) UnityEngine_AndroidJNI_GetSByteArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::GetCharArrayElement",(void*) UnityEngine_AndroidJNI_GetCharArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::GetShortArrayElement",(void*) UnityEngine_AndroidJNI_GetShortArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::GetIntArrayElement",(void*) UnityEngine_AndroidJNI_GetIntArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::GetLongArrayElement",(void*) UnityEngine_AndroidJNI_GetLongArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::GetFloatArrayElement",(void*) UnityEngine_AndroidJNI_GetFloatArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::GetDoubleArrayElement",(void*) UnityEngine_AndroidJNI_GetDoubleArrayElement); mono_add_internal_call("UnityEngine.AndroidJNI::GetObjectArrayElement",(void*) UnityEngine_AndroidJNI_GetObjectArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::SetBooleanArrayElement",(void*) UnityEngine_AndroidJNI_SetBooleanArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::SetSByteArrayElement",(void*) UnityEngine_AndroidJNI_SetSByteArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::SetCharArrayElement",(void*) UnityEngine_AndroidJNI_SetCharArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::SetShortArrayElement",(void*) UnityEngine_AndroidJNI_SetShortArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::SetIntArrayElement",(void*) UnityEngine_AndroidJNI_SetIntArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::SetLongArrayElement",(void*) UnityEngine_AndroidJNI_SetLongArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::SetFloatArrayElement",(void*) UnityEngine_AndroidJNI_SetFloatArrayElement); + mono_add_internal_call("UnityEngine.AndroidJNI::SetDoubleArrayElement",(void*) UnityEngine_AndroidJNI_SetDoubleArrayElement); mono_add_internal_call("UnityEngine.AndroidJNI::SetObjectArrayElement",(void*) UnityEngine_AndroidJNI_SetObjectArrayElement); + mono_add_internal_call("UnityEngine.Animator::get_isHuman",(void*) UnityEngine_Animator_get_isHuman); + mono_add_internal_call("UnityEngine.Animator::get_hasRootMotion",(void*) UnityEngine_Animator_get_hasRootMotion); + mono_add_internal_call("UnityEngine.Animator::set_updateMode",(void*) UnityEngine_Animator_set_updateMode); + mono_add_internal_call("UnityEngine.Animator::get_layerCount",(void*) UnityEngine_Animator_get_layerCount); + mono_add_internal_call("UnityEngine.Animator::set_speed",(void*) UnityEngine_Animator_set_speed_1); + mono_add_internal_call("UnityEngine.Animator::get_runtimeAnimatorController",(void*) UnityEngine_Animator_get_runtimeAnimatorController); + mono_add_internal_call("UnityEngine.Animator::get_hasBoundPlayables",(void*) UnityEngine_Animator_get_hasBoundPlayables); + mono_add_internal_call("UnityEngine.Animator::get_avatar",(void*) UnityEngine_Animator_get_avatar); + mono_add_internal_call("UnityEngine.Animator::SetIntegerString",(void*) UnityEngine_Animator_SetIntegerString); + mono_add_internal_call("UnityEngine.Animator::SetTriggerString",(void*) UnityEngine_Animator_SetTriggerString); + mono_add_internal_call("UnityEngine.Animator::ResetTriggerString",(void*) UnityEngine_Animator_ResetTriggerString); + mono_add_internal_call("UnityEngine.Animator::GetLayerWeight",(void*) UnityEngine_Animator_GetLayerWeight); + mono_add_internal_call("UnityEngine.Animator::GetAnimatorStateInfo",(void*) UnityEngine_Animator_GetAnimatorStateInfo); + mono_add_internal_call("UnityEngine.Animator::GetAnimatorClipInfoCount",(void*) UnityEngine_Animator_GetAnimatorClipInfoCount); + mono_add_internal_call("UnityEngine.Animator::GetCurrentAnimatorClipInfo",(void*) UnityEngine_Animator_GetCurrentAnimatorClipInfo); + mono_add_internal_call("UnityEngine.Animator::IsInTransition",(void*) UnityEngine_Animator_IsInTransition); + mono_add_internal_call("UnityEngine.Animator::StringToHash",(void*) UnityEngine_Animator_StringToHash); + mono_add_internal_call("UnityEngine.Animator::CrossFadeInFixedTime",(void*) UnityEngine_Animator_CrossFadeInFixedTime); + mono_add_internal_call("UnityEngine.Animator::Play",(void*) UnityEngine_Animator_Play); + mono_add_internal_call("UnityEngine.Animator::HasState",(void*) UnityEngine_Animator_HasState); + mono_add_internal_call("UnityEngine.Animator::Update",(void*) UnityEngine_Animator_Update); + mono_add_internal_call("UnityEngine.AnimatorClipInfo::InstanceIDToAnimationClipPPtr",(void*) UnityEngine_AnimatorClipInfo_InstanceIDToAnimationClipPPtr); + mono_add_internal_call("UnityEngine.Animation::get_clip",(void*) UnityEngine_Animation_get_clip); + mono_add_internal_call("UnityEngine.Animation::set_wrapMode",(void*) UnityEngine_Animation_set_wrapMode); + mono_add_internal_call("UnityEngine.Animation::get_isPlaying",(void*) UnityEngine_Animation_get_isPlaying); + mono_add_internal_call("UnityEngine.Animation::Sample",(void*) UnityEngine_Animation_Sample); + mono_add_internal_call("UnityEngine.Animation::IsPlaying",(void*) UnityEngine_Animation_IsPlaying); + mono_add_internal_call("UnityEngine.Animation::PlayDefaultAnimation",(void*) UnityEngine_Animation_PlayDefaultAnimation); + mono_add_internal_call("UnityEngine.Animation::Play",(void*) UnityEngine_Animation_Play_1); + mono_add_internal_call("UnityEngine.AnimationClip::get_length",(void*) UnityEngine_AnimationClip_get_length); + mono_add_internal_call("UnityEngine.AnimationClip::get_frameRate",(void*) UnityEngine_AnimationClip_get_frameRate); + mono_add_internal_call("UnityEngine.AnimationClip::set_frameRate",(void*) UnityEngine_AnimationClip_set_frameRate); + mono_add_internal_call("UnityEngine.AnimationClip::set_wrapMode",(void*) UnityEngine_AnimationClip_set_wrapMode_1); + mono_add_internal_call("UnityEngine.AnimationClip::get_legacy",(void*) UnityEngine_AnimationClip_get_legacy); + mono_add_internal_call("UnityEngine.AnimationClip::set_legacy",(void*) UnityEngine_AnimationClip_set_legacy); + mono_add_internal_call("UnityEngine.AnimationClip::get_empty",(void*) UnityEngine_AnimationClip_get_empty); + mono_add_internal_call("UnityEngine.AnimationClip::get_hasGenericRootTransform",(void*) UnityEngine_AnimationClip_get_hasGenericRootTransform); + mono_add_internal_call("UnityEngine.AnimationClip::get_hasMotionCurves",(void*) UnityEngine_AnimationClip_get_hasMotionCurves); + mono_add_internal_call("UnityEngine.AnimationClip::get_hasRootCurves",(void*) UnityEngine_AnimationClip_get_hasRootCurves); + mono_add_internal_call("UnityEngine.AnimationClip::Internal_CreateAnimationClip",(void*) UnityEngine_AnimationClip_Internal_CreateAnimationClip); + mono_add_internal_call("UnityEngine.Motion::get_isLooping",(void*) UnityEngine_Motion_get_isLooping); + mono_add_internal_call("UnityEngine.AnimationState::get_time",(void*) UnityEngine_AnimationState_get_time); + mono_add_internal_call("UnityEngine.AnimationState::set_time",(void*) UnityEngine_AnimationState_set_time); + mono_add_internal_call("UnityEngine.AnimationState::get_speed",(void*) UnityEngine_AnimationState_get_speed); + mono_add_internal_call("UnityEngine.AnimationState::set_speed",(void*) UnityEngine_AnimationState_set_speed_2); + mono_add_internal_call("UnityEngine.AnimationState::get_length",(void*) UnityEngine_AnimationState_get_length_1); + mono_add_internal_call("UnityEngine.AnimationState::get_name",(void*) UnityEngine_AnimationState_get_name); + mono_add_internal_call("UnityEngine.AvatarMask::get_transformCount",(void*) UnityEngine_AvatarMask_get_transformCount); + mono_add_internal_call("UnityEngine.AvatarMask::GetHumanoidBodyPartActive",(void*) UnityEngine_AvatarMask_GetHumanoidBodyPartActive); + mono_add_internal_call("UnityEngine.AvatarMask::GetTransformPath",(void*) UnityEngine_AvatarMask_GetTransformPath); + mono_add_internal_call("UnityEngine.AvatarMask::GetTransformWeight",(void*) UnityEngine_AvatarMask_GetTransformWeight); + mono_add_internal_call("UnityEngine.Animations.AnimationClipPlayable::SetApplyFootIKInternal",(void*) UnityEngine_Animations_AnimationClipPlayable_SetApplyFootIKInternal); + mono_add_internal_call("UnityEngine.Animations.AnimationClipPlayable::SetRemoveStartOffsetInternal",(void*) UnityEngine_Animations_AnimationClipPlayable_SetRemoveStartOffsetInternal); + mono_add_internal_call("UnityEngine.Animations.AnimationClipPlayable::SetOverrideLoopTimeInternal",(void*) UnityEngine_Animations_AnimationClipPlayable_SetOverrideLoopTimeInternal); + mono_add_internal_call("UnityEngine.Animations.AnimationClipPlayable::SetLoopTimeInternal",(void*) UnityEngine_Animations_AnimationClipPlayable_SetLoopTimeInternal); + mono_add_internal_call("UnityEngine.Animations.AnimationClipPlayable::CreateHandleInternal_Injected",(void*) UnityEngine_Animations_AnimationClipPlayable_CreateHandleInternal_Injected); + mono_add_internal_call("UnityEngine.Animations.AnimationLayerMixerPlayable::SetLayerMaskFromAvatarMaskInternal",(void*) UnityEngine_Animations_AnimationLayerMixerPlayable_SetLayerMaskFromAvatarMaskInternal); + mono_add_internal_call("UnityEngine.Animations.AnimationLayerMixerPlayable::CreateHandleInternal_Injected",(void*) UnityEngine_Animations_AnimationLayerMixerPlayable_CreateHandleInternal_Injected_1); + mono_add_internal_call("UnityEngine.Animations.AnimationMixerPlayable::CreateHandleInternal_Injected",(void*) UnityEngine_Animations_AnimationMixerPlayable_CreateHandleInternal_Injected_2); + mono_add_internal_call("UnityEngine.Animations.AnimationPlayableExtensions::SetAnimatedPropertiesInternal",(void*) UnityEngine_Animations_AnimationPlayableExtensions_SetAnimatedPropertiesInternal); + mono_add_internal_call("UnityEngine.Animations.AnimationPlayableGraphExtensions::InternalCreateAnimationOutput",(void*) UnityEngine_Animations_AnimationPlayableGraphExtensions_InternalCreateAnimationOutput); + mono_add_internal_call("UnityEngine.Animations.AnimationPlayableOutput::InternalSetTarget",(void*) UnityEngine_Animations_AnimationPlayableOutput_InternalSetTarget); + mono_add_internal_call("UnityEngine.AssetBundle::get_isStreamedSceneAssetBundle",(void*) UnityEngine_AssetBundle_get_isStreamedSceneAssetBundle); + mono_add_internal_call("UnityEngine.AssetBundle::returnMainAsset",(void*) UnityEngine_AssetBundle_returnMainAsset); + mono_add_internal_call("UnityEngine.AssetBundle::UnloadAllAssetBundles",(void*) UnityEngine_AssetBundle_UnloadAllAssetBundles); + mono_add_internal_call("UnityEngine.AssetBundle::GetAllLoadedAssetBundles_Native",(void*) UnityEngine_AssetBundle_GetAllLoadedAssetBundles_Native); + mono_add_internal_call("UnityEngine.AssetBundle::LoadFromFileAsync_Internal",(void*) UnityEngine_AssetBundle_LoadFromFileAsync_Internal); + mono_add_internal_call("UnityEngine.AssetBundle::LoadFromFile_Internal",(void*) UnityEngine_AssetBundle_LoadFromFile_Internal); + mono_add_internal_call("UnityEngine.AssetBundle::LoadFromMemoryAsync_Internal",(void*) UnityEngine_AssetBundle_LoadFromMemoryAsync_Internal); + mono_add_internal_call("UnityEngine.AssetBundle::LoadFromMemory_Internal",(void*) UnityEngine_AssetBundle_LoadFromMemory_Internal); + mono_add_internal_call("UnityEngine.AssetBundle::LoadFromStreamAsyncInternal",(void*) UnityEngine_AssetBundle_LoadFromStreamAsyncInternal); + mono_add_internal_call("UnityEngine.AssetBundle::LoadFromStreamInternal",(void*) UnityEngine_AssetBundle_LoadFromStreamInternal); + mono_add_internal_call("UnityEngine.AssetBundle::Contains",(void*) UnityEngine_AssetBundle_Contains); + mono_add_internal_call("UnityEngine.AssetBundle::LoadAsset_Internal",(void*) UnityEngine_AssetBundle_LoadAsset_Internal); + mono_add_internal_call("UnityEngine.AssetBundle::LoadAssetAsync_Internal",(void*) UnityEngine_AssetBundle_LoadAssetAsync_Internal); + mono_add_internal_call("UnityEngine.AssetBundle::Unload",(void*) UnityEngine_AssetBundle_Unload); + mono_add_internal_call("UnityEngine.AssetBundle::UnloadAsync",(void*) UnityEngine_AssetBundle_UnloadAsync); + mono_add_internal_call("UnityEngine.AssetBundle::GetAllAssetNames",(void*) UnityEngine_AssetBundle_GetAllAssetNames); + mono_add_internal_call("UnityEngine.AssetBundle::GetAllScenePaths",(void*) UnityEngine_AssetBundle_GetAllScenePaths); + mono_add_internal_call("UnityEngine.AssetBundle::LoadAssetWithSubAssets_Internal",(void*) UnityEngine_AssetBundle_LoadAssetWithSubAssets_Internal); + mono_add_internal_call("UnityEngine.AssetBundle::LoadAssetWithSubAssetsAsync_Internal",(void*) UnityEngine_AssetBundle_LoadAssetWithSubAssetsAsync_Internal); + mono_add_internal_call("UnityEngine.AssetBundle::RecompressAssetBundleAsync_Internal_Injected",(void*) UnityEngine_AssetBundle_RecompressAssetBundleAsync_Internal_Injected); + mono_add_internal_call("UnityEngine.AssetBundleLoadingCache::get_maxBlocksPerFile",(void*) UnityEngine_AssetBundleLoadingCache_get_maxBlocksPerFile); + mono_add_internal_call("UnityEngine.AssetBundleLoadingCache::set_maxBlocksPerFile",(void*) UnityEngine_AssetBundleLoadingCache_set_maxBlocksPerFile); + mono_add_internal_call("UnityEngine.AssetBundleLoadingCache::get_blockCount",(void*) UnityEngine_AssetBundleLoadingCache_get_blockCount); + mono_add_internal_call("UnityEngine.AssetBundleLoadingCache::set_blockCount",(void*) UnityEngine_AssetBundleLoadingCache_set_blockCount); + mono_add_internal_call("UnityEngine.AssetBundleLoadingCache::get_blockSize",(void*) UnityEngine_AssetBundleLoadingCache_get_blockSize); mono_add_internal_call("UnityEngine.AudioSettings::StartAudioOutput",(void*) UnityEngine_AudioSettings_StartAudioOutput); mono_add_internal_call("UnityEngine.AudioSettings::StopAudioOutput",(void*) UnityEngine_AudioSettings_StopAudioOutput); - mono_add_internal_call("UnityEngineInternal.GIDebugVisualisation::ResetRuntimeInputTextures",(void*) UnityEngineInternal_GIDebugVisualisation_ResetRuntimeInputTextures); - mono_add_internal_call("UnityEngineInternal.GIDebugVisualisation::PlayCycleMode",(void*) UnityEngineInternal_GIDebugVisualisation_PlayCycleMode); - mono_add_internal_call("UnityEngineInternal.GIDebugVisualisation::PauseCycleMode",(void*) UnityEngineInternal_GIDebugVisualisation_PauseCycleMode); - mono_add_internal_call("UnityEngineInternal.GIDebugVisualisation::StopCycleMode",(void*) UnityEngineInternal_GIDebugVisualisation_StopCycleMode); - mono_add_internal_call("UnityEngineInternal.GIDebugVisualisation::CycleSkipSystems",(void*) UnityEngineInternal_GIDebugVisualisation_CycleSkipSystems); - mono_add_internal_call("UnityEngineInternal.GIDebugVisualisation::CycleSkipInstances",(void*) UnityEngineInternal_GIDebugVisualisation_CycleSkipInstances); - mono_add_internal_call("UnityEngineInternal.GIDebugVisualisation::get_cycleMode",(void*) UnityEngineInternal_GIDebugVisualisation_get_cycleMode); - mono_add_internal_call("UnityEngineInternal.GIDebugVisualisation::get_pauseCycleMode",(void*) UnityEngineInternal_GIDebugVisualisation_get_pauseCycleMode); - mono_add_internal_call("UnityEngineInternal.GIDebugVisualisation::get_texType",(void*) UnityEngineInternal_GIDebugVisualisation_get_texType); - mono_add_internal_call("UnityEngineInternal.GIDebugVisualisation::set_texType",(void*) UnityEngineInternal_GIDebugVisualisation_set_texType); - mono_add_internal_call("UnityEngineInternal.MemorylessManager::GetFramebufferDepthMemorylessMode",(void*) UnityEngineInternal_MemorylessManager_GetFramebufferDepthMemorylessMode); - mono_add_internal_call("UnityEngineInternal.MemorylessManager::SetFramebufferDepthMemorylessMode",(void*) UnityEngineInternal_MemorylessManager_SetFramebufferDepthMemorylessMode); - mono_add_internal_call("UnityEngineInternal.GraphicsDeviceDebug::get_settings_Injected",(void*) UnityEngineInternal_GraphicsDeviceDebug_get_settings_Injected); - mono_add_internal_call("UnityEngineInternal.GraphicsDeviceDebug::set_settings_Injected",(void*) UnityEngineInternal_GraphicsDeviceDebug_set_settings_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_ErrorState_Explain",(void*) Unity_Baselib_LowLevel_Binding_Baselib_ErrorState_Explain); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_Memory_GetPageSizeInfo",(void*) Unity_Baselib_LowLevel_Binding_Baselib_Memory_GetPageSizeInfo); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_Memory_Allocate",(void*) Unity_Baselib_LowLevel_Binding_Baselib_Memory_Allocate); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_Memory_Reallocate",(void*) Unity_Baselib_LowLevel_Binding_Baselib_Memory_Reallocate); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_Memory_Free",(void*) Unity_Baselib_LowLevel_Binding_Baselib_Memory_Free); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_Memory_AlignedAllocate",(void*) Unity_Baselib_LowLevel_Binding_Baselib_Memory_AlignedAllocate); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_Memory_AlignedReallocate",(void*) Unity_Baselib_LowLevel_Binding_Baselib_Memory_AlignedReallocate); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_Memory_AlignedFree",(void*) Unity_Baselib_LowLevel_Binding_Baselib_Memory_AlignedFree); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_Memory_SetPageState",(void*) Unity_Baselib_LowLevel_Binding_Baselib_Memory_SetPageState); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_NetworkAddress_Encode",(void*) Unity_Baselib_LowLevel_Binding_Baselib_NetworkAddress_Encode); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_NetworkAddress_Decode",(void*) Unity_Baselib_LowLevel_Binding_Baselib_NetworkAddress_Decode); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_Memory_AllocatePages_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_Memory_AllocatePages_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_Memory_ReleasePages_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_Memory_ReleasePages_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Buffer_Register_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Buffer_Register_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Buffer_Deregister_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Buffer_Deregister_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_BufferSlice_Create_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_BufferSlice_Create_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_BufferSlice_Empty_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_BufferSlice_Empty_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Endpoint_Create_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Endpoint_Create_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Endpoint_Empty_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Endpoint_Empty_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Endpoint_GetNetworkAddress_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Endpoint_GetNetworkAddress_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_Create_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_Create_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_ScheduleRecv_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_ScheduleRecv_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_ScheduleSend_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_ScheduleSend_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_ProcessRecv_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_ProcessRecv_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_ProcessSend_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_ProcessSend_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_WaitForCompletedRecv_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_WaitForCompletedRecv_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_WaitForCompletedSend_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_WaitForCompletedSend_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_DequeueRecv_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_DequeueRecv_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_DequeueSend_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_DequeueSend_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_GetNetworkAddress_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_GetNetworkAddress_Injected); - mono_add_internal_call("Unity.Baselib.LowLevel.Binding::Baselib_RegisteredNetwork_Socket_UDP_Close_Injected",(void*) Unity_Baselib_LowLevel_Binding_Baselib_RegisteredNetwork_Socket_UDP_Close_Injected); - mono_add_internal_call("Unity.Profiling.ProfilerMarker::Internal_Create",(void*) Unity_Profiling_ProfilerMarker_Internal_Create); - mono_add_internal_call("Unity.Profiling.ProfilerMarker::Internal_Begin",(void*) Unity_Profiling_ProfilerMarker_Internal_Begin); - mono_add_internal_call("Unity.Profiling.ProfilerMarker::Internal_BeginWithObject",(void*) Unity_Profiling_ProfilerMarker_Internal_BeginWithObject); - mono_add_internal_call("Unity.Profiling.ProfilerMarker::Internal_End",(void*) Unity_Profiling_ProfilerMarker_Internal_End); - mono_add_internal_call("Unity.Profiling.ProfilerMarker::Internal_Emit",(void*) Unity_Profiling_ProfilerMarker_Internal_Emit); - mono_add_internal_call("Unity.Profiling.ProfilerMarker::Internal_GetName",(void*) Unity_Profiling_ProfilerMarker_Internal_GetName); - mono_add_internal_call("Unity.Jobs.JobHandle::ScheduleBatchedJobs",(void*) Unity_Jobs_JobHandle_ScheduleBatchedJobs); - mono_add_internal_call("Unity.Jobs.JobHandle::ScheduleBatchedJobsAndComplete",(void*) Unity_Jobs_JobHandle_ScheduleBatchedJobsAndComplete); - mono_add_internal_call("Unity.Jobs.JobHandle::ScheduleBatchedJobsAndIsCompleted",(void*) Unity_Jobs_JobHandle_ScheduleBatchedJobsAndIsCompleted); - mono_add_internal_call("Unity.Jobs.JobHandle::ScheduleBatchedJobsAndCompleteAll",(void*) Unity_Jobs_JobHandle_ScheduleBatchedJobsAndCompleteAll); - mono_add_internal_call("Unity.Jobs.JobHandle::CombineDependenciesInternal2_Injected",(void*) Unity_Jobs_JobHandle_CombineDependenciesInternal2_Injected); - mono_add_internal_call("Unity.Jobs.JobHandle::CombineDependenciesInternal3_Injected",(void*) Unity_Jobs_JobHandle_CombineDependenciesInternal3_Injected); - mono_add_internal_call("Unity.Jobs.JobHandle::CombineDependenciesInternalPtr_Injected",(void*) Unity_Jobs_JobHandle_CombineDependenciesInternalPtr_Injected); - mono_add_internal_call("Unity.Jobs.JobHandle::CheckFenceIsDependencyOrDidSyncFence_Injected",(void*) Unity_Jobs_JobHandle_CheckFenceIsDependencyOrDidSyncFence_Injected); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::GetWorkStealingRange",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_GetWorkStealingRange); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::PatchBufferMinMaxRanges",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_PatchBufferMinMaxRanges); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::CreateJobReflectionData",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_CreateJobReflectionData); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::get_IsExecutingJob",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_get_IsExecutingJob); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::get_JobDebuggerEnabled",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_get_JobDebuggerEnabled); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::set_JobDebuggerEnabled",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_set_JobDebuggerEnabled); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::get_JobCompilerEnabled",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_get_JobCompilerEnabled); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::set_JobCompilerEnabled",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_set_JobCompilerEnabled); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::GetJobQueueWorkerThreadCount",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_GetJobQueueWorkerThreadCount); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::SetJobQueueMaximumActiveThreadCount",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_SetJobQueueMaximumActiveThreadCount); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::get_JobWorkerMaximumCount",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_get_JobWorkerMaximumCount); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::ResetJobWorkerCount",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_ResetJobWorkerCount); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::Schedule_Injected",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_Schedule_Injected); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::ScheduleParallelFor_Injected",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_ScheduleParallelFor_Injected); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::ScheduleParallelForDeferArraySize_Injected",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_ScheduleParallelForDeferArraySize_Injected); - mono_add_internal_call("Unity.Jobs.LowLevel.Unsafe.JobsUtility::ScheduleParallelForTransform_Injected",(void*) Unity_Jobs_LowLevel_Unsafe_JobsUtility_ScheduleParallelForTransform_Injected); - mono_add_internal_call("Unity.IO.LowLevel.Unsafe.ReadHandle::GetReadStatus_Injected",(void*) Unity_IO_LowLevel_Unsafe_ReadHandle_GetReadStatus_Injected); - mono_add_internal_call("Unity.IO.LowLevel.Unsafe.ReadHandle::ReleaseReadHandle_Injected",(void*) Unity_IO_LowLevel_Unsafe_ReadHandle_ReleaseReadHandle_Injected); - mono_add_internal_call("Unity.IO.LowLevel.Unsafe.ReadHandle::IsReadHandleValid_Injected",(void*) Unity_IO_LowLevel_Unsafe_ReadHandle_IsReadHandleValid_Injected); - mono_add_internal_call("Unity.IO.LowLevel.Unsafe.ReadHandle::GetJobHandle_Injected",(void*) Unity_IO_LowLevel_Unsafe_ReadHandle_GetJobHandle_Injected); - mono_add_internal_call("Unity.IO.LowLevel.Unsafe.AsyncReadManager::ReadInternal_Injected",(void*) Unity_IO_LowLevel_Unsafe_AsyncReadManager_ReadInternal_Injected); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::PinSystemArrayAndGetAddress",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_PinSystemArrayAndGetAddress); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::PinSystemObjectAndGetAddress",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_PinSystemObjectAndGetAddress); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::ReleaseGCObject",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_ReleaseGCObject); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::CopyObjectAddressToPtr",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_CopyObjectAddressToPtr); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::Malloc",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_Malloc); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::Free",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_Free); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::MemCpy",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_MemCpy); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::MemCpyReplicate",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_MemCpyReplicate); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::MemCpyStride",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_MemCpyStride); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::MemMove",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_MemMove); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::MemSet",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_MemSet); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::MemCmp",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_MemCmp); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::SizeOf",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_SizeOf); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::IsBlittable",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_IsBlittable); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::IsUnmanaged",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_IsUnmanaged); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::IsValidNativeContainerElementType",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_IsValidNativeContainerElementType); - mono_add_internal_call("Unity.Collections.LowLevel.Unsafe.UnsafeUtility::LogError",(void*) Unity_Collections_LowLevel_Unsafe_UnsafeUtility_LogError); - mono_add_internal_call("UnityEngine.SortingLayer::GetSortingLayerIDsInternal",(void*) UnityEngine_SortingLayer_GetSortingLayerIDsInternal); + mono_add_internal_call("UnityEngine.AudioClip::get_length",(void*) UnityEngine_AudioClip_get_length_2); + mono_add_internal_call("UnityEngine.AudioClip::get_samples",(void*) UnityEngine_AudioClip_get_samples); + mono_add_internal_call("UnityEngine.AudioClip::get_channels",(void*) UnityEngine_AudioClip_get_channels); + mono_add_internal_call("UnityEngine.AudioSource::get_volume",(void*) UnityEngine_AudioSource_get_volume); + mono_add_internal_call("UnityEngine.AudioSource::set_volume",(void*) UnityEngine_AudioSource_set_volume); + mono_add_internal_call("UnityEngine.AudioSource::get_clip",(void*) UnityEngine_AudioSource_get_clip_1); + mono_add_internal_call("UnityEngine.AudioSource::set_clip",(void*) UnityEngine_AudioSource_set_clip); + mono_add_internal_call("UnityEngine.AudioSource::get_isPlaying",(void*) UnityEngine_AudioSource_get_isPlaying_1); + mono_add_internal_call("UnityEngine.AudioSource::set_loop",(void*) UnityEngine_AudioSource_set_loop); + mono_add_internal_call("UnityEngine.AudioSource::set_playOnAwake",(void*) UnityEngine_AudioSource_set_playOnAwake); + mono_add_internal_call("UnityEngine.AudioSource::set_priority",(void*) UnityEngine_AudioSource_set_priority); + mono_add_internal_call("UnityEngine.AudioSource::PlayHelper",(void*) UnityEngine_AudioSource_PlayHelper); + mono_add_internal_call("UnityEngine.AudioSource::Play",(void*) UnityEngine_AudioSource_Play_2); + mono_add_internal_call("UnityEngine.AudioSource::Stop",(void*) UnityEngine_AudioSource_Stop); + mono_add_internal_call("UnityEngine.AudioSource::Pause",(void*) UnityEngine_AudioSource_Pause); + mono_add_internal_call("UnityEngine.Microphone::get_devices",(void*) UnityEngine_Microphone_get_devices); + mono_add_internal_call("UnityEngine.Microphone::GetMicrophoneDeviceIDFromName",(void*) UnityEngine_Microphone_GetMicrophoneDeviceIDFromName); + mono_add_internal_call("UnityEngine.Microphone::EndRecord",(void*) UnityEngine_Microphone_EndRecord); + mono_add_internal_call("UnityEngine.Microphone::IsRecording",(void*) UnityEngine_Microphone_IsRecording); + mono_add_internal_call("UnityEngine.Audio.AudioPlayableOutput::InternalSetEvaluateOnSeek",(void*) UnityEngine_Audio_AudioPlayableOutput_InternalSetEvaluateOnSeek); mono_add_internal_call("UnityEngine.SortingLayer::GetLayerValueFromID",(void*) UnityEngine_SortingLayer_GetLayerValueFromID); - mono_add_internal_call("UnityEngine.SortingLayer::GetLayerValueFromName",(void*) UnityEngine_SortingLayer_GetLayerValueFromName); - mono_add_internal_call("UnityEngine.SortingLayer::NameToID",(void*) UnityEngine_SortingLayer_NameToID); - mono_add_internal_call("UnityEngine.SortingLayer::IDToName",(void*) UnityEngine_SortingLayer_IDToName); - mono_add_internal_call("UnityEngine.SortingLayer::IsValid",(void*) UnityEngine_SortingLayer_IsValid); - mono_add_internal_call("UnityEngine.AnimationCurve::Internal_Destroy",(void*) UnityEngine_AnimationCurve_Internal_Destroy); - mono_add_internal_call("UnityEngine.AnimationCurve::Internal_Create",(void*) UnityEngine_AnimationCurve_Internal_Create_1); - mono_add_internal_call("UnityEngine.AnimationCurve::Internal_Equals",(void*) UnityEngine_AnimationCurve_Internal_Equals); + mono_add_internal_call("UnityEngine.AnimationCurve::get_length",(void*) UnityEngine_AnimationCurve_get_length_3); mono_add_internal_call("UnityEngine.AnimationCurve::Evaluate",(void*) UnityEngine_AnimationCurve_Evaluate); - mono_add_internal_call("UnityEngine.AnimationCurve::AddKey",(void*) UnityEngine_AnimationCurve_AddKey); - mono_add_internal_call("UnityEngine.AnimationCurve::RemoveKey",(void*) UnityEngine_AnimationCurve_RemoveKey); - mono_add_internal_call("UnityEngine.AnimationCurve::get_length",(void*) UnityEngine_AnimationCurve_get_length); - mono_add_internal_call("UnityEngine.AnimationCurve::SetKeys",(void*) UnityEngine_AnimationCurve_SetKeys); - mono_add_internal_call("UnityEngine.AnimationCurve::GetKeys",(void*) UnityEngine_AnimationCurve_GetKeys); - mono_add_internal_call("UnityEngine.AnimationCurve::SmoothTangents",(void*) UnityEngine_AnimationCurve_SmoothTangents); - mono_add_internal_call("UnityEngine.AnimationCurve::get_preWrapMode",(void*) UnityEngine_AnimationCurve_get_preWrapMode); - mono_add_internal_call("UnityEngine.AnimationCurve::set_preWrapMode",(void*) UnityEngine_AnimationCurve_set_preWrapMode); - mono_add_internal_call("UnityEngine.AnimationCurve::get_postWrapMode",(void*) UnityEngine_AnimationCurve_get_postWrapMode); - mono_add_internal_call("UnityEngine.AnimationCurve::set_postWrapMode",(void*) UnityEngine_AnimationCurve_set_postWrapMode); - mono_add_internal_call("UnityEngine.AnimationCurve::AddKey_Internal_Injected",(void*) UnityEngine_AnimationCurve_AddKey_Internal_Injected); - mono_add_internal_call("UnityEngine.AnimationCurve::MoveKey_Injected",(void*) UnityEngine_AnimationCurve_MoveKey_Injected); - mono_add_internal_call("UnityEngine.AnimationCurve::GetKey_Injected",(void*) UnityEngine_AnimationCurve_GetKey_Injected); - mono_add_internal_call("UnityEngine.Application::Quit",(void*) UnityEngine_Application_Quit); - mono_add_internal_call("UnityEngine.Application::CancelQuit",(void*) UnityEngine_Application_CancelQuit); - mono_add_internal_call("UnityEngine.Application::Unload",(void*) UnityEngine_Application_Unload); - mono_add_internal_call("UnityEngine.Application::get_isLoadingLevel",(void*) UnityEngine_Application_get_isLoadingLevel); - mono_add_internal_call("UnityEngine.Application::CanStreamedLevelBeLoaded",(void*) UnityEngine_Application_CanStreamedLevelBeLoaded); - mono_add_internal_call("UnityEngine.Application::get_isPlaying",(void*) UnityEngine_Application_get_isPlaying); - mono_add_internal_call("UnityEngine.Application::IsPlaying",(void*) UnityEngine_Application_IsPlaying); - mono_add_internal_call("UnityEngine.Application::get_isFocused",(void*) UnityEngine_Application_get_isFocused); - mono_add_internal_call("UnityEngine.Application::GetBuildTags",(void*) UnityEngine_Application_GetBuildTags); - mono_add_internal_call("UnityEngine.Application::SetBuildTags",(void*) UnityEngine_Application_SetBuildTags); - mono_add_internal_call("UnityEngine.Application::get_buildGUID",(void*) UnityEngine_Application_get_buildGUID); - mono_add_internal_call("UnityEngine.Application::get_runInBackground",(void*) UnityEngine_Application_get_runInBackground); - mono_add_internal_call("UnityEngine.Application::set_runInBackground",(void*) UnityEngine_Application_set_runInBackground); - mono_add_internal_call("UnityEngine.Application::HasProLicense",(void*) UnityEngine_Application_HasProLicense); + mono_add_internal_call("UnityEngine.Application::get_isPlaying",(void*) UnityEngine_Application_get_isPlaying_2); mono_add_internal_call("UnityEngine.Application::get_isBatchMode",(void*) UnityEngine_Application_get_isBatchMode); - mono_add_internal_call("UnityEngine.Application::get_isTestRun",(void*) UnityEngine_Application_get_isTestRun); - mono_add_internal_call("UnityEngine.Application::get_isHumanControllingUs",(void*) UnityEngine_Application_get_isHumanControllingUs); - mono_add_internal_call("UnityEngine.Application::HasARGV",(void*) UnityEngine_Application_HasARGV); - mono_add_internal_call("UnityEngine.Application::GetValueForARGV",(void*) UnityEngine_Application_GetValueForARGV); mono_add_internal_call("UnityEngine.Application::get_dataPath",(void*) UnityEngine_Application_get_dataPath); mono_add_internal_call("UnityEngine.Application::get_streamingAssetsPath",(void*) UnityEngine_Application_get_streamingAssetsPath); mono_add_internal_call("UnityEngine.Application::get_persistentDataPath",(void*) UnityEngine_Application_get_persistentDataPath); - mono_add_internal_call("UnityEngine.Application::get_temporaryCachePath",(void*) UnityEngine_Application_get_temporaryCachePath); - mono_add_internal_call("UnityEngine.Application::get_absoluteURL",(void*) UnityEngine_Application_get_absoluteURL); - mono_add_internal_call("UnityEngine.Application::Internal_ExternalCall",(void*) UnityEngine_Application_Internal_ExternalCall); mono_add_internal_call("UnityEngine.Application::get_unityVersion",(void*) UnityEngine_Application_get_unityVersion); - mono_add_internal_call("UnityEngine.Application::get_version",(void*) UnityEngine_Application_get_version); - mono_add_internal_call("UnityEngine.Application::get_installerName",(void*) UnityEngine_Application_get_installerName); mono_add_internal_call("UnityEngine.Application::get_identifier",(void*) UnityEngine_Application_get_identifier); - mono_add_internal_call("UnityEngine.Application::get_installMode",(void*) UnityEngine_Application_get_installMode); - mono_add_internal_call("UnityEngine.Application::get_sandboxType",(void*) UnityEngine_Application_get_sandboxType); - mono_add_internal_call("UnityEngine.Application::get_productName",(void*) UnityEngine_Application_get_productName); - mono_add_internal_call("UnityEngine.Application::get_companyName",(void*) UnityEngine_Application_get_companyName); - mono_add_internal_call("UnityEngine.Application::get_cloudProjectId",(void*) UnityEngine_Application_get_cloudProjectId); - mono_add_internal_call("UnityEngine.Application::RequestAdvertisingIdentifierAsync",(void*) UnityEngine_Application_RequestAdvertisingIdentifierAsync); - mono_add_internal_call("UnityEngine.Application::OpenURL",(void*) UnityEngine_Application_OpenURL); mono_add_internal_call("UnityEngine.Application::get_targetFrameRate",(void*) UnityEngine_Application_get_targetFrameRate); mono_add_internal_call("UnityEngine.Application::set_targetFrameRate",(void*) UnityEngine_Application_set_targetFrameRate); - mono_add_internal_call("UnityEngine.Application::SetLogCallbackDefined",(void*) UnityEngine_Application_SetLogCallbackDefined); - mono_add_internal_call("UnityEngine.Application::get_stackTraceLogType",(void*) UnityEngine_Application_get_stackTraceLogType); - mono_add_internal_call("UnityEngine.Application::set_stackTraceLogType",(void*) UnityEngine_Application_set_stackTraceLogType); - mono_add_internal_call("UnityEngine.Application::GetStackTraceLogType",(void*) UnityEngine_Application_GetStackTraceLogType); - mono_add_internal_call("UnityEngine.Application::SetStackTraceLogType",(void*) UnityEngine_Application_SetStackTraceLogType); - mono_add_internal_call("UnityEngine.Application::get_consoleLogPath",(void*) UnityEngine_Application_get_consoleLogPath); - mono_add_internal_call("UnityEngine.Application::get_backgroundLoadingPriority",(void*) UnityEngine_Application_get_backgroundLoadingPriority); - mono_add_internal_call("UnityEngine.Application::set_backgroundLoadingPriority",(void*) UnityEngine_Application_set_backgroundLoadingPriority); - mono_add_internal_call("UnityEngine.Application::get_genuine",(void*) UnityEngine_Application_get_genuine); - mono_add_internal_call("UnityEngine.Application::get_genuineCheckAvailable",(void*) UnityEngine_Application_get_genuineCheckAvailable); - mono_add_internal_call("UnityEngine.Application::RequestUserAuthorization",(void*) UnityEngine_Application_RequestUserAuthorization); - mono_add_internal_call("UnityEngine.Application::HasUserAuthorization",(void*) UnityEngine_Application_HasUserAuthorization); - mono_add_internal_call("UnityEngine.Application::get_submitAnalytics",(void*) UnityEngine_Application_get_submitAnalytics); mono_add_internal_call("UnityEngine.Application::get_platform",(void*) UnityEngine_Application_get_platform); - mono_add_internal_call("UnityEngine.Application::get_systemLanguage",(void*) UnityEngine_Application_get_systemLanguage); mono_add_internal_call("UnityEngine.Application::get_internetReachability",(void*) UnityEngine_Application_get_internetReachability); - mono_add_internal_call("UnityEngine.BootConfigData::Append",(void*) UnityEngine_BootConfigData_Append); - mono_add_internal_call("UnityEngine.BootConfigData::Set",(void*) UnityEngine_BootConfigData_Set); - mono_add_internal_call("UnityEngine.BootConfigData::GetValue",(void*) UnityEngine_BootConfigData_GetValue); + mono_add_internal_call("UnityEngine.Application::OpenURL",(void*) UnityEngine_Application_OpenURL); mono_add_internal_call("UnityEngine.Cache::Cache_IsValid",(void*) UnityEngine_Cache_Cache_IsValid); - mono_add_internal_call("UnityEngine.Cache::Cache_IsReady",(void*) UnityEngine_Cache_Cache_IsReady); - mono_add_internal_call("UnityEngine.Cache::Cache_IsReadonly",(void*) UnityEngine_Cache_Cache_IsReadonly); mono_add_internal_call("UnityEngine.Cache::Cache_GetPath",(void*) UnityEngine_Cache_Cache_GetPath); - mono_add_internal_call("UnityEngine.Cache::Cache_GetIndex",(void*) UnityEngine_Cache_Cache_GetIndex); - mono_add_internal_call("UnityEngine.Cache::Cache_GetSpaceFree",(void*) UnityEngine_Cache_Cache_GetSpaceFree); - mono_add_internal_call("UnityEngine.Cache::Cache_GetMaximumDiskSpaceAvailable",(void*) UnityEngine_Cache_Cache_GetMaximumDiskSpaceAvailable); - mono_add_internal_call("UnityEngine.Cache::Cache_SetMaximumDiskSpaceAvailable",(void*) UnityEngine_Cache_Cache_SetMaximumDiskSpaceAvailable); - mono_add_internal_call("UnityEngine.Cache::Cache_GetCachingDiskSpaceUsed",(void*) UnityEngine_Cache_Cache_GetCachingDiskSpaceUsed); - mono_add_internal_call("UnityEngine.Cache::Cache_GetExpirationDelay",(void*) UnityEngine_Cache_Cache_GetExpirationDelay); - mono_add_internal_call("UnityEngine.Cache::Cache_SetExpirationDelay",(void*) UnityEngine_Cache_Cache_SetExpirationDelay); - mono_add_internal_call("UnityEngine.Cache::Cache_ClearCache",(void*) UnityEngine_Cache_Cache_ClearCache); - mono_add_internal_call("UnityEngine.Cache::Cache_ClearCache_Expiration",(void*) UnityEngine_Cache_Cache_ClearCache_Expiration); mono_add_internal_call("UnityEngine.Caching::get_compressionEnabled",(void*) UnityEngine_Caching_get_compressionEnabled); mono_add_internal_call("UnityEngine.Caching::set_compressionEnabled",(void*) UnityEngine_Caching_set_compressionEnabled); mono_add_internal_call("UnityEngine.Caching::get_ready",(void*) UnityEngine_Caching_get_ready); - mono_add_internal_call("UnityEngine.Caching::ClearCache",(void*) UnityEngine_Caching_ClearCache); - mono_add_internal_call("UnityEngine.Caching::ClearCache_Int",(void*) UnityEngine_Caching_ClearCache_Int); - mono_add_internal_call("UnityEngine.Caching::GetCachedVersions",(void*) UnityEngine_Caching_GetCachedVersions); - mono_add_internal_call("UnityEngine.Caching::get_spaceOccupied",(void*) UnityEngine_Caching_get_spaceOccupied); - mono_add_internal_call("UnityEngine.Caching::get_spaceFree",(void*) UnityEngine_Caching_get_spaceFree); - mono_add_internal_call("UnityEngine.Caching::get_maximumAvailableDiskSpace",(void*) UnityEngine_Caching_get_maximumAvailableDiskSpace); - mono_add_internal_call("UnityEngine.Caching::set_maximumAvailableDiskSpace",(void*) UnityEngine_Caching_set_maximumAvailableDiskSpace); - mono_add_internal_call("UnityEngine.Caching::get_expirationDelay",(void*) UnityEngine_Caching_get_expirationDelay); - mono_add_internal_call("UnityEngine.Caching::set_expirationDelay",(void*) UnityEngine_Caching_set_expirationDelay); mono_add_internal_call("UnityEngine.Caching::get_cacheCount",(void*) UnityEngine_Caching_get_cacheCount); - mono_add_internal_call("UnityEngine.Caching::ClearCachedVersionInternal_Injected",(void*) UnityEngine_Caching_ClearCachedVersionInternal_Injected); - mono_add_internal_call("UnityEngine.Caching::ClearCachedVersions_Injected",(void*) UnityEngine_Caching_ClearCachedVersions_Injected); - mono_add_internal_call("UnityEngine.Caching::IsVersionCached_Injected",(void*) UnityEngine_Caching_IsVersionCached_Injected); - mono_add_internal_call("UnityEngine.Caching::MarkAsUsed_Injected",(void*) UnityEngine_Caching_MarkAsUsed_Injected); - mono_add_internal_call("UnityEngine.Caching::SetNoBackupFlag_Injected",(void*) UnityEngine_Caching_SetNoBackupFlag_Injected); - mono_add_internal_call("UnityEngine.Caching::AddCache_Injected",(void*) UnityEngine_Caching_AddCache_Injected); + mono_add_internal_call("UnityEngine.Caching::ClearCache_Int",(void*) UnityEngine_Caching_ClearCache_Int); mono_add_internal_call("UnityEngine.Caching::GetCacheAt_Injected",(void*) UnityEngine_Caching_GetCacheAt_Injected); mono_add_internal_call("UnityEngine.Caching::GetCacheByPath_Injected",(void*) UnityEngine_Caching_GetCacheByPath_Injected); mono_add_internal_call("UnityEngine.Caching::RemoveCache_Injected",(void*) UnityEngine_Caching_RemoveCache_Injected); mono_add_internal_call("UnityEngine.Caching::MoveCacheBefore_Injected",(void*) UnityEngine_Caching_MoveCacheBefore_Injected); mono_add_internal_call("UnityEngine.Caching::MoveCacheAfter_Injected",(void*) UnityEngine_Caching_MoveCacheAfter_Injected); - mono_add_internal_call("UnityEngine.Caching::get_defaultCache_Injected",(void*) UnityEngine_Caching_get_defaultCache_Injected); - mono_add_internal_call("UnityEngine.Caching::get_currentCacheForWriting_Injected",(void*) UnityEngine_Caching_get_currentCacheForWriting_Injected); - mono_add_internal_call("UnityEngine.Caching::set_currentCacheForWriting_Injected",(void*) UnityEngine_Caching_set_currentCacheForWriting_Injected); + mono_add_internal_call("UnityEngine.Caching::ClearCache",(void*) UnityEngine_Caching_ClearCache); + mono_add_internal_call("UnityEngine.Hash128::ComputeFromString",(void*) UnityEngine_Hash128_ComputeFromString); + mono_add_internal_call("UnityEngine.Hash128::ComputeFromPtr",(void*) UnityEngine_Hash128_ComputeFromPtr); + mono_add_internal_call("UnityEngine.Hash128::ComputeFromArray",(void*) UnityEngine_Hash128_ComputeFromArray); + mono_add_internal_call("UnityEngine.Hash128::Parse_Injected",(void*) UnityEngine_Hash128_Parse_Injected); + mono_add_internal_call("UnityEngine.Hash128::Hash128ToStringImpl_Injected",(void*) UnityEngine_Hash128_Hash128ToStringImpl_Injected); + mono_add_internal_call("UnityEngine.NoAllocHelpers::ExtractArrayFromList",(void*) UnityEngine_NoAllocHelpers_ExtractArrayFromList); mono_add_internal_call("UnityEngine.Camera::get_nearClipPlane",(void*) UnityEngine_Camera_get_nearClipPlane); mono_add_internal_call("UnityEngine.Camera::set_nearClipPlane",(void*) UnityEngine_Camera_set_nearClipPlane); mono_add_internal_call("UnityEngine.Camera::get_farClipPlane",(void*) UnityEngine_Camera_get_farClipPlane); mono_add_internal_call("UnityEngine.Camera::set_farClipPlane",(void*) UnityEngine_Camera_set_farClipPlane); mono_add_internal_call("UnityEngine.Camera::get_fieldOfView",(void*) UnityEngine_Camera_get_fieldOfView); mono_add_internal_call("UnityEngine.Camera::set_fieldOfView",(void*) UnityEngine_Camera_set_fieldOfView); - mono_add_internal_call("UnityEngine.Camera::get_renderingPath",(void*) UnityEngine_Camera_get_renderingPath); mono_add_internal_call("UnityEngine.Camera::set_renderingPath",(void*) UnityEngine_Camera_set_renderingPath); - mono_add_internal_call("UnityEngine.Camera::get_actualRenderingPath",(void*) UnityEngine_Camera_get_actualRenderingPath); - mono_add_internal_call("UnityEngine.Camera::Reset",(void*) UnityEngine_Camera_Reset); - mono_add_internal_call("UnityEngine.Camera::get_allowHDR",(void*) UnityEngine_Camera_get_allowHDR); mono_add_internal_call("UnityEngine.Camera::set_allowHDR",(void*) UnityEngine_Camera_set_allowHDR); - mono_add_internal_call("UnityEngine.Camera::get_allowMSAA",(void*) UnityEngine_Camera_get_allowMSAA); - mono_add_internal_call("UnityEngine.Camera::set_allowMSAA",(void*) UnityEngine_Camera_set_allowMSAA); - mono_add_internal_call("UnityEngine.Camera::get_allowDynamicResolution",(void*) UnityEngine_Camera_get_allowDynamicResolution); - mono_add_internal_call("UnityEngine.Camera::set_allowDynamicResolution",(void*) UnityEngine_Camera_set_allowDynamicResolution); - mono_add_internal_call("UnityEngine.Camera::get_forceIntoRenderTexture",(void*) UnityEngine_Camera_get_forceIntoRenderTexture); - mono_add_internal_call("UnityEngine.Camera::set_forceIntoRenderTexture",(void*) UnityEngine_Camera_set_forceIntoRenderTexture); mono_add_internal_call("UnityEngine.Camera::get_orthographicSize",(void*) UnityEngine_Camera_get_orthographicSize); mono_add_internal_call("UnityEngine.Camera::set_orthographicSize",(void*) UnityEngine_Camera_set_orthographicSize); mono_add_internal_call("UnityEngine.Camera::get_orthographic",(void*) UnityEngine_Camera_get_orthographic); mono_add_internal_call("UnityEngine.Camera::set_orthographic",(void*) UnityEngine_Camera_set_orthographic); - mono_add_internal_call("UnityEngine.Camera::get_opaqueSortMode",(void*) UnityEngine_Camera_get_opaqueSortMode); - mono_add_internal_call("UnityEngine.Camera::set_opaqueSortMode",(void*) UnityEngine_Camera_set_opaqueSortMode); mono_add_internal_call("UnityEngine.Camera::get_transparencySortMode",(void*) UnityEngine_Camera_get_transparencySortMode); mono_add_internal_call("UnityEngine.Camera::set_transparencySortMode",(void*) UnityEngine_Camera_set_transparencySortMode); - mono_add_internal_call("UnityEngine.Camera::ResetTransparencySortSettings",(void*) UnityEngine_Camera_ResetTransparencySortSettings); mono_add_internal_call("UnityEngine.Camera::get_depth",(void*) UnityEngine_Camera_get_depth); mono_add_internal_call("UnityEngine.Camera::set_depth",(void*) UnityEngine_Camera_set_depth); mono_add_internal_call("UnityEngine.Camera::get_aspect",(void*) UnityEngine_Camera_get_aspect); - mono_add_internal_call("UnityEngine.Camera::set_aspect",(void*) UnityEngine_Camera_set_aspect); - mono_add_internal_call("UnityEngine.Camera::ResetAspect",(void*) UnityEngine_Camera_ResetAspect); mono_add_internal_call("UnityEngine.Camera::get_cullingMask",(void*) UnityEngine_Camera_get_cullingMask); mono_add_internal_call("UnityEngine.Camera::set_cullingMask",(void*) UnityEngine_Camera_set_cullingMask); mono_add_internal_call("UnityEngine.Camera::get_eventMask",(void*) UnityEngine_Camera_get_eventMask); mono_add_internal_call("UnityEngine.Camera::set_eventMask",(void*) UnityEngine_Camera_set_eventMask); - mono_add_internal_call("UnityEngine.Camera::get_layerCullSpherical",(void*) UnityEngine_Camera_get_layerCullSpherical); - mono_add_internal_call("UnityEngine.Camera::set_layerCullSpherical",(void*) UnityEngine_Camera_set_layerCullSpherical); - mono_add_internal_call("UnityEngine.Camera::get_cameraType",(void*) UnityEngine_Camera_get_cameraType); - mono_add_internal_call("UnityEngine.Camera::set_cameraType",(void*) UnityEngine_Camera_set_cameraType); - mono_add_internal_call("UnityEngine.Camera::get_overrideSceneCullingMask",(void*) UnityEngine_Camera_get_overrideSceneCullingMask); - mono_add_internal_call("UnityEngine.Camera::set_overrideSceneCullingMask",(void*) UnityEngine_Camera_set_overrideSceneCullingMask); - mono_add_internal_call("UnityEngine.Camera::GetLayerCullDistances",(void*) UnityEngine_Camera_GetLayerCullDistances); - mono_add_internal_call("UnityEngine.Camera::SetLayerCullDistances",(void*) UnityEngine_Camera_SetLayerCullDistances); - mono_add_internal_call("UnityEngine.Camera::get_PreviewCullingLayer",(void*) UnityEngine_Camera_get_PreviewCullingLayer); - mono_add_internal_call("UnityEngine.Camera::get_useOcclusionCulling",(void*) UnityEngine_Camera_get_useOcclusionCulling); mono_add_internal_call("UnityEngine.Camera::set_useOcclusionCulling",(void*) UnityEngine_Camera_set_useOcclusionCulling); - mono_add_internal_call("UnityEngine.Camera::ResetCullingMatrix",(void*) UnityEngine_Camera_ResetCullingMatrix); mono_add_internal_call("UnityEngine.Camera::get_clearFlags",(void*) UnityEngine_Camera_get_clearFlags); mono_add_internal_call("UnityEngine.Camera::set_clearFlags",(void*) UnityEngine_Camera_set_clearFlags); mono_add_internal_call("UnityEngine.Camera::get_depthTextureMode",(void*) UnityEngine_Camera_get_depthTextureMode); mono_add_internal_call("UnityEngine.Camera::set_depthTextureMode",(void*) UnityEngine_Camera_set_depthTextureMode); - mono_add_internal_call("UnityEngine.Camera::get_clearStencilAfterLightingPass",(void*) UnityEngine_Camera_get_clearStencilAfterLightingPass); - mono_add_internal_call("UnityEngine.Camera::set_clearStencilAfterLightingPass",(void*) UnityEngine_Camera_set_clearStencilAfterLightingPass); - mono_add_internal_call("UnityEngine.Camera::SetReplacementShader",(void*) UnityEngine_Camera_SetReplacementShader); - mono_add_internal_call("UnityEngine.Camera::ResetReplacementShader",(void*) UnityEngine_Camera_ResetReplacementShader); - mono_add_internal_call("UnityEngine.Camera::get_projectionMatrixMode",(void*) UnityEngine_Camera_get_projectionMatrixMode); - mono_add_internal_call("UnityEngine.Camera::get_usePhysicalProperties",(void*) UnityEngine_Camera_get_usePhysicalProperties); - mono_add_internal_call("UnityEngine.Camera::set_usePhysicalProperties",(void*) UnityEngine_Camera_set_usePhysicalProperties); - mono_add_internal_call("UnityEngine.Camera::get_focalLength",(void*) UnityEngine_Camera_get_focalLength); - mono_add_internal_call("UnityEngine.Camera::set_focalLength",(void*) UnityEngine_Camera_set_focalLength); - mono_add_internal_call("UnityEngine.Camera::get_gateFit",(void*) UnityEngine_Camera_get_gateFit); - mono_add_internal_call("UnityEngine.Camera::set_gateFit",(void*) UnityEngine_Camera_set_gateFit); - mono_add_internal_call("UnityEngine.Camera::GetGateFittedFieldOfView",(void*) UnityEngine_Camera_GetGateFittedFieldOfView); mono_add_internal_call("UnityEngine.Camera::get_pixelWidth",(void*) UnityEngine_Camera_get_pixelWidth); mono_add_internal_call("UnityEngine.Camera::get_pixelHeight",(void*) UnityEngine_Camera_get_pixelHeight); - mono_add_internal_call("UnityEngine.Camera::get_scaledPixelWidth",(void*) UnityEngine_Camera_get_scaledPixelWidth); - mono_add_internal_call("UnityEngine.Camera::get_scaledPixelHeight",(void*) UnityEngine_Camera_get_scaledPixelHeight); mono_add_internal_call("UnityEngine.Camera::get_targetTexture",(void*) UnityEngine_Camera_get_targetTexture); mono_add_internal_call("UnityEngine.Camera::set_targetTexture",(void*) UnityEngine_Camera_set_targetTexture); - mono_add_internal_call("UnityEngine.Camera::get_activeTexture",(void*) UnityEngine_Camera_get_activeTexture); mono_add_internal_call("UnityEngine.Camera::get_targetDisplay",(void*) UnityEngine_Camera_get_targetDisplay); - mono_add_internal_call("UnityEngine.Camera::set_targetDisplay",(void*) UnityEngine_Camera_set_targetDisplay); - mono_add_internal_call("UnityEngine.Camera::GetCameraBufferWarnings",(void*) UnityEngine_Camera_GetCameraBufferWarnings); - mono_add_internal_call("UnityEngine.Camera::get_useJitteredProjectionMatrixForTransparentRendering",(void*) UnityEngine_Camera_get_useJitteredProjectionMatrixForTransparentRendering); - mono_add_internal_call("UnityEngine.Camera::set_useJitteredProjectionMatrixForTransparentRendering",(void*) UnityEngine_Camera_set_useJitteredProjectionMatrixForTransparentRendering); - mono_add_internal_call("UnityEngine.Camera::ResetWorldToCameraMatrix",(void*) UnityEngine_Camera_ResetWorldToCameraMatrix); - mono_add_internal_call("UnityEngine.Camera::ResetProjectionMatrix",(void*) UnityEngine_Camera_ResetProjectionMatrix); - mono_add_internal_call("UnityEngine.Camera::FocalLengthToFieldOfView",(void*) UnityEngine_Camera_FocalLengthToFieldOfView); - mono_add_internal_call("UnityEngine.Camera::FieldOfViewToFocalLength",(void*) UnityEngine_Camera_FieldOfViewToFocalLength); - mono_add_internal_call("UnityEngine.Camera::HorizontalToVerticalFieldOfView",(void*) UnityEngine_Camera_HorizontalToVerticalFieldOfView); - mono_add_internal_call("UnityEngine.Camera::VerticalToHorizontalFieldOfView",(void*) UnityEngine_Camera_VerticalToHorizontalFieldOfView); mono_add_internal_call("UnityEngine.Camera::get_main",(void*) UnityEngine_Camera_get_main); - mono_add_internal_call("UnityEngine.Camera::get_current",(void*) UnityEngine_Camera_get_current); - mono_add_internal_call("UnityEngine.Camera::get_stereoEnabled",(void*) UnityEngine_Camera_get_stereoEnabled); - mono_add_internal_call("UnityEngine.Camera::get_stereoSeparation",(void*) UnityEngine_Camera_get_stereoSeparation); - mono_add_internal_call("UnityEngine.Camera::set_stereoSeparation",(void*) UnityEngine_Camera_set_stereoSeparation); - mono_add_internal_call("UnityEngine.Camera::get_stereoConvergence",(void*) UnityEngine_Camera_get_stereoConvergence); - mono_add_internal_call("UnityEngine.Camera::set_stereoConvergence",(void*) UnityEngine_Camera_set_stereoConvergence); - mono_add_internal_call("UnityEngine.Camera::get_areVRStereoViewMatricesWithinSingleCullTolerance",(void*) UnityEngine_Camera_get_areVRStereoViewMatricesWithinSingleCullTolerance); - mono_add_internal_call("UnityEngine.Camera::get_stereoTargetEye",(void*) UnityEngine_Camera_get_stereoTargetEye); - mono_add_internal_call("UnityEngine.Camera::set_stereoTargetEye",(void*) UnityEngine_Camera_set_stereoTargetEye); - mono_add_internal_call("UnityEngine.Camera::get_stereoActiveEye",(void*) UnityEngine_Camera_get_stereoActiveEye); - mono_add_internal_call("UnityEngine.Camera::CopyStereoDeviceProjectionMatrixToNonJittered",(void*) UnityEngine_Camera_CopyStereoDeviceProjectionMatrixToNonJittered); - mono_add_internal_call("UnityEngine.Camera::ResetStereoProjectionMatrices",(void*) UnityEngine_Camera_ResetStereoProjectionMatrices); - mono_add_internal_call("UnityEngine.Camera::ResetStereoViewMatrices",(void*) UnityEngine_Camera_ResetStereoViewMatrices); - mono_add_internal_call("UnityEngine.Camera::GetAllCamerasCount",(void*) UnityEngine_Camera_GetAllCamerasCount); - mono_add_internal_call("UnityEngine.Camera::GetAllCamerasImpl",(void*) UnityEngine_Camera_GetAllCamerasImpl); - mono_add_internal_call("UnityEngine.Camera::RenderToCubemapImpl",(void*) UnityEngine_Camera_RenderToCubemapImpl); - mono_add_internal_call("UnityEngine.Camera::RenderToCubemapEyeImpl",(void*) UnityEngine_Camera_RenderToCubemapEyeImpl); - mono_add_internal_call("UnityEngine.Camera::Render",(void*) UnityEngine_Camera_Render); - mono_add_internal_call("UnityEngine.Camera::RenderWithShader",(void*) UnityEngine_Camera_RenderWithShader); - mono_add_internal_call("UnityEngine.Camera::RenderDontRestore",(void*) UnityEngine_Camera_RenderDontRestore); - mono_add_internal_call("UnityEngine.Camera::SetupCurrent",(void*) UnityEngine_Camera_SetupCurrent); - mono_add_internal_call("UnityEngine.Camera::CopyFrom",(void*) UnityEngine_Camera_CopyFrom); - mono_add_internal_call("UnityEngine.Camera::get_commandBufferCount",(void*) UnityEngine_Camera_get_commandBufferCount); - mono_add_internal_call("UnityEngine.Camera::RemoveCommandBuffers",(void*) UnityEngine_Camera_RemoveCommandBuffers); - mono_add_internal_call("UnityEngine.Camera::RemoveAllCommandBuffers",(void*) UnityEngine_Camera_RemoveAllCommandBuffers); - mono_add_internal_call("UnityEngine.Camera::AddCommandBufferImpl",(void*) UnityEngine_Camera_AddCommandBufferImpl); - mono_add_internal_call("UnityEngine.Camera::AddCommandBufferAsyncImpl",(void*) UnityEngine_Camera_AddCommandBufferAsyncImpl); - mono_add_internal_call("UnityEngine.Camera::RemoveCommandBufferImpl",(void*) UnityEngine_Camera_RemoveCommandBufferImpl); - mono_add_internal_call("UnityEngine.Camera::GetCommandBuffers",(void*) UnityEngine_Camera_GetCommandBuffers); - mono_add_internal_call("UnityEngine.Camera::GetCullingParameters_Internal",(void*) UnityEngine_Camera_GetCullingParameters_Internal); - mono_add_internal_call("UnityEngine.Camera::get_transparencySortAxis_Injected",(void*) UnityEngine_Camera_get_transparencySortAxis_Injected); - mono_add_internal_call("UnityEngine.Camera::set_transparencySortAxis_Injected",(void*) UnityEngine_Camera_set_transparencySortAxis_Injected); - mono_add_internal_call("UnityEngine.Camera::get_velocity_Injected",(void*) UnityEngine_Camera_get_velocity_Injected); - mono_add_internal_call("UnityEngine.Camera::get_cullingMatrix_Injected",(void*) UnityEngine_Camera_get_cullingMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::set_cullingMatrix_Injected",(void*) UnityEngine_Camera_set_cullingMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::get_backgroundColor_Injected",(void*) UnityEngine_Camera_get_backgroundColor_Injected); - mono_add_internal_call("UnityEngine.Camera::set_backgroundColor_Injected",(void*) UnityEngine_Camera_set_backgroundColor_Injected); - mono_add_internal_call("UnityEngine.Camera::get_sensorSize_Injected",(void*) UnityEngine_Camera_get_sensorSize_Injected); - mono_add_internal_call("UnityEngine.Camera::set_sensorSize_Injected",(void*) UnityEngine_Camera_set_sensorSize_Injected); - mono_add_internal_call("UnityEngine.Camera::get_lensShift_Injected",(void*) UnityEngine_Camera_get_lensShift_Injected); - mono_add_internal_call("UnityEngine.Camera::set_lensShift_Injected",(void*) UnityEngine_Camera_set_lensShift_Injected); - mono_add_internal_call("UnityEngine.Camera::GetGateFittedLensShift_Injected",(void*) UnityEngine_Camera_GetGateFittedLensShift_Injected); - mono_add_internal_call("UnityEngine.Camera::GetLocalSpaceAim_Injected",(void*) UnityEngine_Camera_GetLocalSpaceAim_Injected); - mono_add_internal_call("UnityEngine.Camera::get_rect_Injected",(void*) UnityEngine_Camera_get_rect_Injected); - mono_add_internal_call("UnityEngine.Camera::set_rect_Injected",(void*) UnityEngine_Camera_set_rect_Injected); - mono_add_internal_call("UnityEngine.Camera::get_pixelRect_Injected",(void*) UnityEngine_Camera_get_pixelRect_Injected); - mono_add_internal_call("UnityEngine.Camera::set_pixelRect_Injected",(void*) UnityEngine_Camera_set_pixelRect_Injected); - mono_add_internal_call("UnityEngine.Camera::SetTargetBuffersImpl_Injected",(void*) UnityEngine_Camera_SetTargetBuffersImpl_Injected); - mono_add_internal_call("UnityEngine.Camera::SetTargetBuffersMRTImpl_Injected",(void*) UnityEngine_Camera_SetTargetBuffersMRTImpl_Injected); - mono_add_internal_call("UnityEngine.Camera::get_cameraToWorldMatrix_Injected",(void*) UnityEngine_Camera_get_cameraToWorldMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::get_worldToCameraMatrix_Injected",(void*) UnityEngine_Camera_get_worldToCameraMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::set_worldToCameraMatrix_Injected",(void*) UnityEngine_Camera_set_worldToCameraMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::get_projectionMatrix_Injected",(void*) UnityEngine_Camera_get_projectionMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::set_projectionMatrix_Injected",(void*) UnityEngine_Camera_set_projectionMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::get_nonJitteredProjectionMatrix_Injected",(void*) UnityEngine_Camera_get_nonJitteredProjectionMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::set_nonJitteredProjectionMatrix_Injected",(void*) UnityEngine_Camera_set_nonJitteredProjectionMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::get_previousViewProjectionMatrix_Injected",(void*) UnityEngine_Camera_get_previousViewProjectionMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::CalculateObliqueMatrix_Injected",(void*) UnityEngine_Camera_CalculateObliqueMatrix_Injected); mono_add_internal_call("UnityEngine.Camera::WorldToScreenPoint_Injected",(void*) UnityEngine_Camera_WorldToScreenPoint_Injected); mono_add_internal_call("UnityEngine.Camera::WorldToViewportPoint_Injected",(void*) UnityEngine_Camera_WorldToViewportPoint_Injected); mono_add_internal_call("UnityEngine.Camera::ViewportToWorldPoint_Injected",(void*) UnityEngine_Camera_ViewportToWorldPoint_Injected); mono_add_internal_call("UnityEngine.Camera::ScreenToWorldPoint_Injected",(void*) UnityEngine_Camera_ScreenToWorldPoint_Injected); mono_add_internal_call("UnityEngine.Camera::ScreenToViewportPoint_Injected",(void*) UnityEngine_Camera_ScreenToViewportPoint_Injected); - mono_add_internal_call("UnityEngine.Camera::ViewportToScreenPoint_Injected",(void*) UnityEngine_Camera_ViewportToScreenPoint_Injected); - mono_add_internal_call("UnityEngine.Camera::GetFrustumPlaneSizeAt_Injected",(void*) UnityEngine_Camera_GetFrustumPlaneSizeAt_Injected); - mono_add_internal_call("UnityEngine.Camera::ViewportPointToRay_Injected",(void*) UnityEngine_Camera_ViewportPointToRay_Injected); - mono_add_internal_call("UnityEngine.Camera::ScreenPointToRay_Injected",(void*) UnityEngine_Camera_ScreenPointToRay_Injected); - mono_add_internal_call("UnityEngine.Camera::CalculateFrustumCornersInternal_Injected",(void*) UnityEngine_Camera_CalculateFrustumCornersInternal_Injected); - mono_add_internal_call("UnityEngine.Camera::CalculateProjectionMatrixFromPhysicalPropertiesInternal_Injected",(void*) UnityEngine_Camera_CalculateProjectionMatrixFromPhysicalPropertiesInternal_Injected); - mono_add_internal_call("UnityEngine.Camera::get_scene_Injected",(void*) UnityEngine_Camera_get_scene_Injected); - mono_add_internal_call("UnityEngine.Camera::set_scene_Injected",(void*) UnityEngine_Camera_set_scene_Injected); - mono_add_internal_call("UnityEngine.Camera::GetStereoNonJitteredProjectionMatrix_Injected",(void*) UnityEngine_Camera_GetStereoNonJitteredProjectionMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::GetStereoViewMatrix_Injected",(void*) UnityEngine_Camera_GetStereoViewMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::GetStereoProjectionMatrix_Injected",(void*) UnityEngine_Camera_GetStereoProjectionMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::SetStereoProjectionMatrix_Injected",(void*) UnityEngine_Camera_SetStereoProjectionMatrix_Injected); - mono_add_internal_call("UnityEngine.Camera::SetStereoViewMatrix_Injected",(void*) UnityEngine_Camera_SetStereoViewMatrix_Injected); - mono_add_internal_call("UnityEngine.CullingGroup::DisposeInternal",(void*) UnityEngine_CullingGroup_DisposeInternal); - mono_add_internal_call("UnityEngine.CullingGroup::get_enabled",(void*) UnityEngine_CullingGroup_get_enabled); - mono_add_internal_call("UnityEngine.CullingGroup::set_enabled",(void*) UnityEngine_CullingGroup_set_enabled); - mono_add_internal_call("UnityEngine.CullingGroup::get_targetCamera",(void*) UnityEngine_CullingGroup_get_targetCamera); - mono_add_internal_call("UnityEngine.CullingGroup::set_targetCamera",(void*) UnityEngine_CullingGroup_set_targetCamera); - mono_add_internal_call("UnityEngine.CullingGroup::SetBoundingSpheres",(void*) UnityEngine_CullingGroup_SetBoundingSpheres); - mono_add_internal_call("UnityEngine.CullingGroup::SetBoundingSphereCount",(void*) UnityEngine_CullingGroup_SetBoundingSphereCount); - mono_add_internal_call("UnityEngine.CullingGroup::EraseSwapBack",(void*) UnityEngine_CullingGroup_EraseSwapBack); - mono_add_internal_call("UnityEngine.CullingGroup::QueryIndices",(void*) UnityEngine_CullingGroup_QueryIndices); - mono_add_internal_call("UnityEngine.CullingGroup::IsVisible",(void*) UnityEngine_CullingGroup_IsVisible); - mono_add_internal_call("UnityEngine.CullingGroup::GetDistance",(void*) UnityEngine_CullingGroup_GetDistance); - mono_add_internal_call("UnityEngine.CullingGroup::SetBoundingDistances",(void*) UnityEngine_CullingGroup_SetBoundingDistances); - mono_add_internal_call("UnityEngine.CullingGroup::SetDistanceReferencePoint_InternalTransform",(void*) UnityEngine_CullingGroup_SetDistanceReferencePoint_InternalTransform); - mono_add_internal_call("UnityEngine.CullingGroup::Init",(void*) UnityEngine_CullingGroup_Init); - mono_add_internal_call("UnityEngine.CullingGroup::FinalizerFailure",(void*) UnityEngine_CullingGroup_FinalizerFailure); - mono_add_internal_call("UnityEngine.CullingGroup::SetDistanceReferencePoint_InternalVector3_Injected",(void*) UnityEngine_CullingGroup_SetDistanceReferencePoint_InternalVector3_Injected); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_type",(void*) UnityEngine_ReflectionProbe_get_type); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_type",(void*) UnityEngine_ReflectionProbe_set_type); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_nearClipPlane",(void*) UnityEngine_ReflectionProbe_get_nearClipPlane_1); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_nearClipPlane",(void*) UnityEngine_ReflectionProbe_set_nearClipPlane_1); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_farClipPlane",(void*) UnityEngine_ReflectionProbe_get_farClipPlane_1); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_farClipPlane",(void*) UnityEngine_ReflectionProbe_set_farClipPlane_1); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_intensity",(void*) UnityEngine_ReflectionProbe_get_intensity); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_intensity",(void*) UnityEngine_ReflectionProbe_set_intensity); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_hdr",(void*) UnityEngine_ReflectionProbe_get_hdr); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_hdr",(void*) UnityEngine_ReflectionProbe_set_hdr); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_shadowDistance",(void*) UnityEngine_ReflectionProbe_get_shadowDistance); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_shadowDistance",(void*) UnityEngine_ReflectionProbe_set_shadowDistance); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_resolution",(void*) UnityEngine_ReflectionProbe_get_resolution); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_resolution",(void*) UnityEngine_ReflectionProbe_set_resolution); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_cullingMask",(void*) UnityEngine_ReflectionProbe_get_cullingMask_1); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_cullingMask",(void*) UnityEngine_ReflectionProbe_set_cullingMask_1); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_clearFlags",(void*) UnityEngine_ReflectionProbe_get_clearFlags_1); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_clearFlags",(void*) UnityEngine_ReflectionProbe_set_clearFlags_1); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_blendDistance",(void*) UnityEngine_ReflectionProbe_get_blendDistance); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_blendDistance",(void*) UnityEngine_ReflectionProbe_set_blendDistance); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_boxProjection",(void*) UnityEngine_ReflectionProbe_get_boxProjection); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_boxProjection",(void*) UnityEngine_ReflectionProbe_set_boxProjection); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_mode",(void*) UnityEngine_ReflectionProbe_get_mode); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_mode",(void*) UnityEngine_ReflectionProbe_set_mode); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_importance",(void*) UnityEngine_ReflectionProbe_get_importance); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_importance",(void*) UnityEngine_ReflectionProbe_set_importance); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_refreshMode",(void*) UnityEngine_ReflectionProbe_get_refreshMode); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_refreshMode",(void*) UnityEngine_ReflectionProbe_set_refreshMode); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_timeSlicingMode",(void*) UnityEngine_ReflectionProbe_get_timeSlicingMode); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_timeSlicingMode",(void*) UnityEngine_ReflectionProbe_set_timeSlicingMode); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_bakedTexture",(void*) UnityEngine_ReflectionProbe_get_bakedTexture); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_bakedTexture",(void*) UnityEngine_ReflectionProbe_set_bakedTexture); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_customBakedTexture",(void*) UnityEngine_ReflectionProbe_get_customBakedTexture); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_customBakedTexture",(void*) UnityEngine_ReflectionProbe_set_customBakedTexture); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_realtimeTexture",(void*) UnityEngine_ReflectionProbe_get_realtimeTexture); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_realtimeTexture",(void*) UnityEngine_ReflectionProbe_set_realtimeTexture); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_texture",(void*) UnityEngine_ReflectionProbe_get_texture); - mono_add_internal_call("UnityEngine.ReflectionProbe::Reset",(void*) UnityEngine_ReflectionProbe_Reset_1); - mono_add_internal_call("UnityEngine.ReflectionProbe::IsFinishedRendering",(void*) UnityEngine_ReflectionProbe_IsFinishedRendering); - mono_add_internal_call("UnityEngine.ReflectionProbe::ScheduleRender",(void*) UnityEngine_ReflectionProbe_ScheduleRender); - mono_add_internal_call("UnityEngine.ReflectionProbe::BlendCubemap",(void*) UnityEngine_ReflectionProbe_BlendCubemap); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_minBakedCubemapResolution",(void*) UnityEngine_ReflectionProbe_get_minBakedCubemapResolution); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_maxBakedCubemapResolution",(void*) UnityEngine_ReflectionProbe_get_maxBakedCubemapResolution); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_defaultTexture",(void*) UnityEngine_ReflectionProbe_get_defaultTexture); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_size_Injected",(void*) UnityEngine_ReflectionProbe_get_size_Injected); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_size_Injected",(void*) UnityEngine_ReflectionProbe_set_size_Injected); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_center_Injected",(void*) UnityEngine_ReflectionProbe_get_center_Injected); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_center_Injected",(void*) UnityEngine_ReflectionProbe_set_center_Injected); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_bounds_Injected",(void*) UnityEngine_ReflectionProbe_get_bounds_Injected); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_backgroundColor_Injected",(void*) UnityEngine_ReflectionProbe_get_backgroundColor_Injected_1); - mono_add_internal_call("UnityEngine.ReflectionProbe::set_backgroundColor_Injected",(void*) UnityEngine_ReflectionProbe_set_backgroundColor_Injected_1); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_textureHDRDecodeValues_Injected",(void*) UnityEngine_ReflectionProbe_get_textureHDRDecodeValues_Injected); - mono_add_internal_call("UnityEngine.ReflectionProbe::get_defaultTextureHDRDecodeValues_Injected",(void*) UnityEngine_ReflectionProbe_get_defaultTextureHDRDecodeValues_Injected); - mono_add_internal_call("UnityEngine.CrashReport::GetReports",(void*) UnityEngine_CrashReport_GetReports); - mono_add_internal_call("UnityEngine.CrashReport::GetReportData",(void*) UnityEngine_CrashReport_GetReportData); - mono_add_internal_call("UnityEngine.CrashReport::RemoveReport",(void*) UnityEngine_CrashReport_RemoveReport); + mono_add_internal_call("UnityEngine.Camera::Render",(void*) UnityEngine_Camera_Render); + mono_add_internal_call("UnityEngine.Camera::CopyFrom",(void*) UnityEngine_Camera_CopyFrom); + mono_add_internal_call("UnityEngine.Mathf::ClosestPowerOfTwo",(void*) UnityEngine_Mathf_ClosestPowerOfTwo); + mono_add_internal_call("UnityEngine.Mathf::IsPowerOfTwo",(void*) UnityEngine_Mathf_IsPowerOfTwo); + mono_add_internal_call("UnityEngine.Mathf::NextPowerOfTwo",(void*) UnityEngine_Mathf_NextPowerOfTwo); + mono_add_internal_call("UnityEngine.Mathf::GammaToLinearSpace",(void*) UnityEngine_Mathf_GammaToLinearSpace); + mono_add_internal_call("UnityEngine.Mathf::LinearToGammaSpace",(void*) UnityEngine_Mathf_LinearToGammaSpace); + mono_add_internal_call("UnityEngine.Mathf::FloatToHalf",(void*) UnityEngine_Mathf_FloatToHalf); + mono_add_internal_call("UnityEngine.Mathf::HalfToFloat",(void*) UnityEngine_Mathf_HalfToFloat); + mono_add_internal_call("UnityEngine.Mathf::PerlinNoise",(void*) UnityEngine_Mathf_PerlinNoise); + mono_add_internal_call("UnityEngine.Mathf::CorrelatedColorTemperatureToRGB_Injected",(void*) UnityEngine_Mathf_CorrelatedColorTemperatureToRGB_Injected); + mono_add_internal_call("UnityEngine.RenderTexture::get_width",(void*) UnityEngine_RenderTexture_get_width); + mono_add_internal_call("UnityEngine.RenderTexture::set_width",(void*) UnityEngine_RenderTexture_set_width); + mono_add_internal_call("UnityEngine.RenderTexture::get_height",(void*) UnityEngine_RenderTexture_get_height); + mono_add_internal_call("UnityEngine.RenderTexture::set_height",(void*) UnityEngine_RenderTexture_set_height); + mono_add_internal_call("UnityEngine.RenderTexture::set_graphicsFormat",(void*) UnityEngine_RenderTexture_set_graphicsFormat); + mono_add_internal_call("UnityEngine.RenderTexture::set_depth",(void*) UnityEngine_RenderTexture_set_depth_1); + mono_add_internal_call("UnityEngine.RenderTexture::ReleaseTemporary",(void*) UnityEngine_RenderTexture_ReleaseTemporary); + mono_add_internal_call("UnityEngine.QualitySettings::get_pixelLightCount",(void*) UnityEngine_QualitySettings_get_pixelLightCount); + mono_add_internal_call("UnityEngine.QualitySettings::set_pixelLightCount",(void*) UnityEngine_QualitySettings_set_pixelLightCount); + mono_add_internal_call("UnityEngine.QualitySettings::get_shadows",(void*) UnityEngine_QualitySettings_get_shadows); + mono_add_internal_call("UnityEngine.QualitySettings::set_shadows",(void*) UnityEngine_QualitySettings_set_shadows); + mono_add_internal_call("UnityEngine.QualitySettings::get_shadowProjection",(void*) UnityEngine_QualitySettings_get_shadowProjection); + mono_add_internal_call("UnityEngine.QualitySettings::set_shadowProjection",(void*) UnityEngine_QualitySettings_set_shadowProjection); + mono_add_internal_call("UnityEngine.QualitySettings::get_shadowCascades",(void*) UnityEngine_QualitySettings_get_shadowCascades); + mono_add_internal_call("UnityEngine.QualitySettings::set_shadowCascades",(void*) UnityEngine_QualitySettings_set_shadowCascades); + mono_add_internal_call("UnityEngine.QualitySettings::get_shadowDistance",(void*) UnityEngine_QualitySettings_get_shadowDistance); + mono_add_internal_call("UnityEngine.QualitySettings::set_shadowDistance",(void*) UnityEngine_QualitySettings_set_shadowDistance); + mono_add_internal_call("UnityEngine.QualitySettings::get_shadowResolution",(void*) UnityEngine_QualitySettings_get_shadowResolution); + mono_add_internal_call("UnityEngine.QualitySettings::set_shadowResolution",(void*) UnityEngine_QualitySettings_set_shadowResolution); + mono_add_internal_call("UnityEngine.QualitySettings::get_shadowmaskMode",(void*) UnityEngine_QualitySettings_get_shadowmaskMode); + mono_add_internal_call("UnityEngine.QualitySettings::set_shadowmaskMode",(void*) UnityEngine_QualitySettings_set_shadowmaskMode); + mono_add_internal_call("UnityEngine.QualitySettings::get_shadowNearPlaneOffset",(void*) UnityEngine_QualitySettings_get_shadowNearPlaneOffset); + mono_add_internal_call("UnityEngine.QualitySettings::set_shadowNearPlaneOffset",(void*) UnityEngine_QualitySettings_set_shadowNearPlaneOffset); + mono_add_internal_call("UnityEngine.QualitySettings::get_shadowCascade2Split",(void*) UnityEngine_QualitySettings_get_shadowCascade2Split); + mono_add_internal_call("UnityEngine.QualitySettings::set_shadowCascade2Split",(void*) UnityEngine_QualitySettings_set_shadowCascade2Split); + mono_add_internal_call("UnityEngine.QualitySettings::get_lodBias",(void*) UnityEngine_QualitySettings_get_lodBias); + mono_add_internal_call("UnityEngine.QualitySettings::set_lodBias",(void*) UnityEngine_QualitySettings_set_lodBias); + mono_add_internal_call("UnityEngine.QualitySettings::get_anisotropicFiltering",(void*) UnityEngine_QualitySettings_get_anisotropicFiltering); + mono_add_internal_call("UnityEngine.QualitySettings::set_anisotropicFiltering",(void*) UnityEngine_QualitySettings_set_anisotropicFiltering); + mono_add_internal_call("UnityEngine.QualitySettings::get_masterTextureLimit",(void*) UnityEngine_QualitySettings_get_masterTextureLimit); + mono_add_internal_call("UnityEngine.QualitySettings::set_masterTextureLimit",(void*) UnityEngine_QualitySettings_set_masterTextureLimit); + mono_add_internal_call("UnityEngine.QualitySettings::get_maximumLODLevel",(void*) UnityEngine_QualitySettings_get_maximumLODLevel); + mono_add_internal_call("UnityEngine.QualitySettings::set_maximumLODLevel",(void*) UnityEngine_QualitySettings_set_maximumLODLevel); + mono_add_internal_call("UnityEngine.QualitySettings::get_particleRaycastBudget",(void*) UnityEngine_QualitySettings_get_particleRaycastBudget); + mono_add_internal_call("UnityEngine.QualitySettings::set_particleRaycastBudget",(void*) UnityEngine_QualitySettings_set_particleRaycastBudget); + mono_add_internal_call("UnityEngine.QualitySettings::get_softParticles",(void*) UnityEngine_QualitySettings_get_softParticles); + mono_add_internal_call("UnityEngine.QualitySettings::set_softParticles",(void*) UnityEngine_QualitySettings_set_softParticles); + mono_add_internal_call("UnityEngine.QualitySettings::get_softVegetation",(void*) UnityEngine_QualitySettings_get_softVegetation); + mono_add_internal_call("UnityEngine.QualitySettings::set_softVegetation",(void*) UnityEngine_QualitySettings_set_softVegetation); + mono_add_internal_call("UnityEngine.QualitySettings::get_vSyncCount",(void*) UnityEngine_QualitySettings_get_vSyncCount); + mono_add_internal_call("UnityEngine.QualitySettings::set_vSyncCount",(void*) UnityEngine_QualitySettings_set_vSyncCount); + mono_add_internal_call("UnityEngine.QualitySettings::get_antiAliasing",(void*) UnityEngine_QualitySettings_get_antiAliasing); + mono_add_internal_call("UnityEngine.QualitySettings::set_antiAliasing",(void*) UnityEngine_QualitySettings_set_antiAliasing); + mono_add_internal_call("UnityEngine.QualitySettings::get_asyncUploadTimeSlice",(void*) UnityEngine_QualitySettings_get_asyncUploadTimeSlice); + mono_add_internal_call("UnityEngine.QualitySettings::set_asyncUploadTimeSlice",(void*) UnityEngine_QualitySettings_set_asyncUploadTimeSlice); + mono_add_internal_call("UnityEngine.QualitySettings::get_asyncUploadBufferSize",(void*) UnityEngine_QualitySettings_get_asyncUploadBufferSize); + mono_add_internal_call("UnityEngine.QualitySettings::set_asyncUploadBufferSize",(void*) UnityEngine_QualitySettings_set_asyncUploadBufferSize); + mono_add_internal_call("UnityEngine.QualitySettings::get_asyncUploadPersistentBuffer",(void*) UnityEngine_QualitySettings_get_asyncUploadPersistentBuffer); + mono_add_internal_call("UnityEngine.QualitySettings::set_asyncUploadPersistentBuffer",(void*) UnityEngine_QualitySettings_set_asyncUploadPersistentBuffer); + mono_add_internal_call("UnityEngine.QualitySettings::get_realtimeReflectionProbes",(void*) UnityEngine_QualitySettings_get_realtimeReflectionProbes); + mono_add_internal_call("UnityEngine.QualitySettings::set_realtimeReflectionProbes",(void*) UnityEngine_QualitySettings_set_realtimeReflectionProbes); + mono_add_internal_call("UnityEngine.QualitySettings::get_billboardsFaceCameraPosition",(void*) UnityEngine_QualitySettings_get_billboardsFaceCameraPosition); + mono_add_internal_call("UnityEngine.QualitySettings::set_billboardsFaceCameraPosition",(void*) UnityEngine_QualitySettings_set_billboardsFaceCameraPosition); + mono_add_internal_call("UnityEngine.QualitySettings::get_resolutionScalingFixedDPIFactor",(void*) UnityEngine_QualitySettings_get_resolutionScalingFixedDPIFactor); + mono_add_internal_call("UnityEngine.QualitySettings::set_resolutionScalingFixedDPIFactor",(void*) UnityEngine_QualitySettings_set_resolutionScalingFixedDPIFactor); + mono_add_internal_call("UnityEngine.QualitySettings::get_skinWeights",(void*) UnityEngine_QualitySettings_get_skinWeights); + mono_add_internal_call("UnityEngine.QualitySettings::set_skinWeights",(void*) UnityEngine_QualitySettings_set_skinWeights); + mono_add_internal_call("UnityEngine.QualitySettings::get_streamingMipmapsActive",(void*) UnityEngine_QualitySettings_get_streamingMipmapsActive); + mono_add_internal_call("UnityEngine.QualitySettings::set_streamingMipmapsActive",(void*) UnityEngine_QualitySettings_set_streamingMipmapsActive); + mono_add_internal_call("UnityEngine.QualitySettings::get_streamingMipmapsMemoryBudget",(void*) UnityEngine_QualitySettings_get_streamingMipmapsMemoryBudget); + mono_add_internal_call("UnityEngine.QualitySettings::set_streamingMipmapsMemoryBudget",(void*) UnityEngine_QualitySettings_set_streamingMipmapsMemoryBudget); + mono_add_internal_call("UnityEngine.QualitySettings::get_streamingMipmapsRenderersPerFrame",(void*) UnityEngine_QualitySettings_get_streamingMipmapsRenderersPerFrame); + mono_add_internal_call("UnityEngine.QualitySettings::set_streamingMipmapsRenderersPerFrame",(void*) UnityEngine_QualitySettings_set_streamingMipmapsRenderersPerFrame); + mono_add_internal_call("UnityEngine.QualitySettings::get_streamingMipmapsMaxLevelReduction",(void*) UnityEngine_QualitySettings_get_streamingMipmapsMaxLevelReduction); + mono_add_internal_call("UnityEngine.QualitySettings::set_streamingMipmapsMaxLevelReduction",(void*) UnityEngine_QualitySettings_set_streamingMipmapsMaxLevelReduction); + mono_add_internal_call("UnityEngine.QualitySettings::get_streamingMipmapsAddAllCameras",(void*) UnityEngine_QualitySettings_get_streamingMipmapsAddAllCameras); + mono_add_internal_call("UnityEngine.QualitySettings::set_streamingMipmapsAddAllCameras",(void*) UnityEngine_QualitySettings_set_streamingMipmapsAddAllCameras); + mono_add_internal_call("UnityEngine.QualitySettings::get_streamingMipmapsMaxFileIORequests",(void*) UnityEngine_QualitySettings_get_streamingMipmapsMaxFileIORequests); + mono_add_internal_call("UnityEngine.QualitySettings::set_streamingMipmapsMaxFileIORequests",(void*) UnityEngine_QualitySettings_set_streamingMipmapsMaxFileIORequests); + mono_add_internal_call("UnityEngine.QualitySettings::get_maxQueuedFrames",(void*) UnityEngine_QualitySettings_get_maxQueuedFrames); + mono_add_internal_call("UnityEngine.QualitySettings::set_maxQueuedFrames",(void*) UnityEngine_QualitySettings_set_maxQueuedFrames); + mono_add_internal_call("UnityEngine.QualitySettings::get_names",(void*) UnityEngine_QualitySettings_get_names); + mono_add_internal_call("UnityEngine.QualitySettings::get_desiredColorSpace",(void*) UnityEngine_QualitySettings_get_desiredColorSpace); + mono_add_internal_call("UnityEngine.QualitySettings::get_activeColorSpace",(void*) UnityEngine_QualitySettings_get_activeColorSpace); + mono_add_internal_call("UnityEngine.QualitySettings::GetQualityLevel",(void*) UnityEngine_QualitySettings_GetQualityLevel); + mono_add_internal_call("UnityEngine.QualitySettings::SetQualityLevel",(void*) UnityEngine_QualitySettings_SetQualityLevel); + mono_add_internal_call("UnityEngine.QualitySettings::SetLODSettings",(void*) UnityEngine_QualitySettings_SetLODSettings); + mono_add_internal_call("UnityEngine.Vector3::Slerp_Injected",(void*) UnityEngine_Vector3_Slerp_Injected); + mono_add_internal_call("UnityEngine.SystemInfo::IsFormatSupported",(void*) UnityEngine_SystemInfo_IsFormatSupported); + mono_add_internal_call("UnityEngine.SystemInfo::GetCompatibleFormat",(void*) UnityEngine_SystemInfo_GetCompatibleFormat); + mono_add_internal_call("UnityEngine.SystemInfo::GetGraphicsFormat",(void*) UnityEngine_SystemInfo_GetGraphicsFormat); + mono_add_internal_call("UnityEngine.Matrix4x4::TRS_Injected",(void*) UnityEngine_Matrix4x4_TRS_Injected); + mono_add_internal_call("UnityEngine.Matrix4x4::Inverse3DAffine_Injected",(void*) UnityEngine_Matrix4x4_Inverse3DAffine_Injected); + mono_add_internal_call("UnityEngine.Matrix4x4::Inverse_Injected",(void*) UnityEngine_Matrix4x4_Inverse_Injected); + mono_add_internal_call("UnityEngine.Matrix4x4::Perspective_Injected",(void*) UnityEngine_Matrix4x4_Perspective_Injected); + mono_add_internal_call("UnityEngine.Quaternion::FromToRotation_Injected",(void*) UnityEngine_Quaternion_FromToRotation_Injected); + mono_add_internal_call("UnityEngine.Quaternion::Inverse_Injected",(void*) UnityEngine_Quaternion_Inverse_Injected_1); + mono_add_internal_call("UnityEngine.Quaternion::Slerp_Injected",(void*) UnityEngine_Quaternion_Slerp_Injected_1); + mono_add_internal_call("UnityEngine.Quaternion::Lerp_Injected",(void*) UnityEngine_Quaternion_Lerp_Injected); + mono_add_internal_call("UnityEngine.Quaternion::Internal_FromEulerRad_Injected",(void*) UnityEngine_Quaternion_Internal_FromEulerRad_Injected); + mono_add_internal_call("UnityEngine.Quaternion::Internal_ToEulerRad_Injected",(void*) UnityEngine_Quaternion_Internal_ToEulerRad_Injected); + mono_add_internal_call("UnityEngine.Quaternion::AngleAxis_Injected",(void*) UnityEngine_Quaternion_AngleAxis_Injected); + mono_add_internal_call("UnityEngine.Quaternion::LookRotation_Injected",(void*) UnityEngine_Quaternion_LookRotation_Injected); + mono_add_internal_call("UnityEngine.Object::get_hideFlags",(void*) UnityEngine_Object_get_hideFlags); + mono_add_internal_call("UnityEngine.Object::set_hideFlags",(void*) UnityEngine_Object_set_hideFlags); + mono_add_internal_call("UnityEngine.Object::Internal_CloneSingle",(void*) UnityEngine_Object_Internal_CloneSingle); + mono_add_internal_call("UnityEngine.Object::ToString",(void*) UnityEngine_Object_ToString); + mono_add_internal_call("UnityEngine.Object::FindObjectFromInstanceID",(void*) UnityEngine_Object_FindObjectFromInstanceID); + mono_add_internal_call("UnityEngine.Object::Destroy",(void*) UnityEngine_Object_Destroy); + mono_add_internal_call("UnityEngine.Object::DestroyImmediate",(void*) UnityEngine_Object_DestroyImmediate); + mono_add_internal_call("UnityEngine.Object::FindObjectsOfType",(void*) UnityEngine_Object_FindObjectsOfType); + mono_add_internal_call("UnityEngine.Object::DontDestroyOnLoad",(void*) UnityEngine_Object_DontDestroyOnLoad); + mono_add_internal_call("UnityEngine.Transform::get_childCount",(void*) UnityEngine_Transform_get_childCount); + mono_add_internal_call("UnityEngine.Transform::get_hasChanged",(void*) UnityEngine_Transform_get_hasChanged); + mono_add_internal_call("UnityEngine.Transform::set_hasChanged",(void*) UnityEngine_Transform_set_hasChanged); + mono_add_internal_call("UnityEngine.Transform::GetParent",(void*) UnityEngine_Transform_GetParent); + mono_add_internal_call("UnityEngine.Transform::SetParent",(void*) UnityEngine_Transform_SetParent); + mono_add_internal_call("UnityEngine.Transform::GetRoot",(void*) UnityEngine_Transform_GetRoot); + mono_add_internal_call("UnityEngine.Transform::SetAsFirstSibling",(void*) UnityEngine_Transform_SetAsFirstSibling); + mono_add_internal_call("UnityEngine.Transform::FindRelativeTransformWithPath",(void*) UnityEngine_Transform_FindRelativeTransformWithPath); + mono_add_internal_call("UnityEngine.Transform::IsChildOf",(void*) UnityEngine_Transform_IsChildOf); + mono_add_internal_call("UnityEngine.Transform::GetChild",(void*) UnityEngine_Transform_GetChild); + mono_add_internal_call("UnityEngine.Transform::get_position_Injected",(void*) UnityEngine_Transform_get_position_Injected); + mono_add_internal_call("UnityEngine.Transform::set_position_Injected",(void*) UnityEngine_Transform_set_position_Injected); + mono_add_internal_call("UnityEngine.Transform::get_localPosition_Injected",(void*) UnityEngine_Transform_get_localPosition_Injected); + mono_add_internal_call("UnityEngine.Transform::set_localPosition_Injected",(void*) UnityEngine_Transform_set_localPosition_Injected); + mono_add_internal_call("UnityEngine.Transform::get_rotation_Injected",(void*) UnityEngine_Transform_get_rotation_Injected); + mono_add_internal_call("UnityEngine.Transform::set_rotation_Injected",(void*) UnityEngine_Transform_set_rotation_Injected); + mono_add_internal_call("UnityEngine.Transform::get_localRotation_Injected",(void*) UnityEngine_Transform_get_localRotation_Injected); + mono_add_internal_call("UnityEngine.Transform::set_localRotation_Injected",(void*) UnityEngine_Transform_set_localRotation_Injected); + mono_add_internal_call("UnityEngine.Transform::get_localScale_Injected",(void*) UnityEngine_Transform_get_localScale_Injected); + mono_add_internal_call("UnityEngine.Transform::set_localScale_Injected",(void*) UnityEngine_Transform_set_localScale_Injected); + mono_add_internal_call("UnityEngine.Transform::get_worldToLocalMatrix_Injected",(void*) UnityEngine_Transform_get_worldToLocalMatrix_Injected); + mono_add_internal_call("UnityEngine.Transform::get_localToWorldMatrix_Injected",(void*) UnityEngine_Transform_get_localToWorldMatrix_Injected); + mono_add_internal_call("UnityEngine.Transform::SetPositionAndRotation_Injected",(void*) UnityEngine_Transform_SetPositionAndRotation_Injected); + mono_add_internal_call("UnityEngine.Transform::Internal_LookAt_Injected",(void*) UnityEngine_Transform_Internal_LookAt_Injected); + mono_add_internal_call("UnityEngine.Transform::TransformDirection_Injected",(void*) UnityEngine_Transform_TransformDirection_Injected); + mono_add_internal_call("UnityEngine.Transform::InverseTransformDirection_Injected",(void*) UnityEngine_Transform_InverseTransformDirection_Injected); + mono_add_internal_call("UnityEngine.Transform::TransformPoint_Injected",(void*) UnityEngine_Transform_TransformPoint_Injected); + mono_add_internal_call("UnityEngine.Transform::InverseTransformPoint_Injected",(void*) UnityEngine_Transform_InverseTransformPoint_Injected); + mono_add_internal_call("UnityEngine.Transform::get_lossyScale_Injected",(void*) UnityEngine_Transform_get_lossyScale_Injected); + mono_add_internal_call("UnityEngine.Component::get_transform",(void*) UnityEngine_Component_get_transform); + mono_add_internal_call("UnityEngine.Component::get_gameObject",(void*) UnityEngine_Component_get_gameObject); + mono_add_internal_call("UnityEngine.Component::GetComponentsForListInternal",(void*) UnityEngine_Component_GetComponentsForListInternal); + mono_add_internal_call("UnityEngine.Component::SendMessage",(void*) UnityEngine_Component_SendMessage); + mono_add_internal_call("UnityEngine.Component::BroadcastMessage",(void*) UnityEngine_Component_BroadcastMessage); + mono_add_internal_call("UnityEngine.GameObject::get_transform",(void*) UnityEngine_GameObject_get_transform_1); + mono_add_internal_call("UnityEngine.GameObject::get_layer",(void*) UnityEngine_GameObject_get_layer); + mono_add_internal_call("UnityEngine.GameObject::set_layer",(void*) UnityEngine_GameObject_set_layer); + mono_add_internal_call("UnityEngine.GameObject::get_active",(void*) UnityEngine_GameObject_get_active); + mono_add_internal_call("UnityEngine.GameObject::get_activeSelf",(void*) UnityEngine_GameObject_get_activeSelf); + mono_add_internal_call("UnityEngine.GameObject::get_activeInHierarchy",(void*) UnityEngine_GameObject_get_activeInHierarchy); + mono_add_internal_call("UnityEngine.GameObject::get_tag",(void*) UnityEngine_GameObject_get_tag); + mono_add_internal_call("UnityEngine.GameObject::set_tag",(void*) UnityEngine_GameObject_set_tag); + mono_add_internal_call("UnityEngine.GameObject::GetComponent",(void*) UnityEngine_GameObject_GetComponent); + mono_add_internal_call("UnityEngine.GameObject::TryGetComponentFastPath",(void*) UnityEngine_GameObject_TryGetComponentFastPath); + mono_add_internal_call("UnityEngine.GameObject::SetActive",(void*) UnityEngine_GameObject_SetActive); + mono_add_internal_call("UnityEngine.GameObject::CompareTag",(void*) UnityEngine_GameObject_CompareTag); + mono_add_internal_call("UnityEngine.GameObject::SendMessage",(void*) UnityEngine_GameObject_SendMessage_1); + mono_add_internal_call("UnityEngine.GameObject::BroadcastMessage",(void*) UnityEngine_GameObject_BroadcastMessage_1); + mono_add_internal_call("UnityEngine.GameObject::Internal_CreateGameObject",(void*) UnityEngine_GameObject_Internal_CreateGameObject); + mono_add_internal_call("UnityEngine.GameObject::Find",(void*) UnityEngine_GameObject_Find); + mono_add_internal_call("UnityEngine.Behaviour::get_enabled",(void*) UnityEngine_Behaviour_get_enabled); + mono_add_internal_call("UnityEngine.Behaviour::set_enabled",(void*) UnityEngine_Behaviour_set_enabled); + mono_add_internal_call("UnityEngine.Behaviour::get_isActiveAndEnabled",(void*) UnityEngine_Behaviour_get_isActiveAndEnabled); mono_add_internal_call("UnityEngine.DebugLogHandler::Internal_Log",(void*) UnityEngine_DebugLogHandler_Internal_Log); mono_add_internal_call("UnityEngine.DebugLogHandler::Internal_LogException",(void*) UnityEngine_DebugLogHandler_Internal_LogException); - mono_add_internal_call("UnityEngine.Debug::Break",(void*) UnityEngine_Debug_Break); - mono_add_internal_call("UnityEngine.Debug::DebugBreak",(void*) UnityEngine_Debug_DebugBreak); - mono_add_internal_call("UnityEngine.Debug::ClearDeveloperConsole",(void*) UnityEngine_Debug_ClearDeveloperConsole); - mono_add_internal_call("UnityEngine.Debug::get_developerConsoleVisible",(void*) UnityEngine_Debug_get_developerConsoleVisible); - mono_add_internal_call("UnityEngine.Debug::set_developerConsoleVisible",(void*) UnityEngine_Debug_set_developerConsoleVisible); mono_add_internal_call("UnityEngine.Debug::get_isDebugBuild",(void*) UnityEngine_Debug_get_isDebugBuild); - mono_add_internal_call("UnityEngine.Debug::OpenConsoleFile",(void*) UnityEngine_Debug_OpenConsoleFile); - mono_add_internal_call("UnityEngine.Debug::GetDiagnosticSwitches",(void*) UnityEngine_Debug_GetDiagnosticSwitches); - mono_add_internal_call("UnityEngine.Debug::GetDiagnosticSwitch",(void*) UnityEngine_Debug_GetDiagnosticSwitch); - mono_add_internal_call("UnityEngine.Debug::SetDiagnosticSwitch",(void*) UnityEngine_Debug_SetDiagnosticSwitch); + mono_add_internal_call("UnityEngine.Debug::ExtractStackTraceNoAlloc",(void*) UnityEngine_Debug_ExtractStackTraceNoAlloc); mono_add_internal_call("UnityEngine.Debug::DrawLine_Injected",(void*) UnityEngine_Debug_DrawLine_Injected); - mono_add_internal_call("UnityEngine.ExposedPropertyResolver::ResolveReferenceBindingsInternal_Injected",(void*) UnityEngine_ExposedPropertyResolver_ResolveReferenceBindingsInternal_Injected); - mono_add_internal_call("UnityEngine.DynamicGI::get_indirectScale",(void*) UnityEngine_DynamicGI_get_indirectScale); - mono_add_internal_call("UnityEngine.DynamicGI::set_indirectScale",(void*) UnityEngine_DynamicGI_set_indirectScale); - mono_add_internal_call("UnityEngine.DynamicGI::get_updateThreshold",(void*) UnityEngine_DynamicGI_get_updateThreshold); - mono_add_internal_call("UnityEngine.DynamicGI::set_updateThreshold",(void*) UnityEngine_DynamicGI_set_updateThreshold); - mono_add_internal_call("UnityEngine.DynamicGI::get_materialUpdateTimeSlice",(void*) UnityEngine_DynamicGI_get_materialUpdateTimeSlice); - mono_add_internal_call("UnityEngine.DynamicGI::set_materialUpdateTimeSlice",(void*) UnityEngine_DynamicGI_set_materialUpdateTimeSlice); - mono_add_internal_call("UnityEngine.DynamicGI::SetEnvironmentData",(void*) UnityEngine_DynamicGI_SetEnvironmentData); - mono_add_internal_call("UnityEngine.DynamicGI::get_synchronousMode",(void*) UnityEngine_DynamicGI_get_synchronousMode); - mono_add_internal_call("UnityEngine.DynamicGI::set_synchronousMode",(void*) UnityEngine_DynamicGI_set_synchronousMode); - mono_add_internal_call("UnityEngine.DynamicGI::get_isConverged",(void*) UnityEngine_DynamicGI_get_isConverged); - mono_add_internal_call("UnityEngine.DynamicGI::get_scheduledMaterialUpdatesCount",(void*) UnityEngine_DynamicGI_get_scheduledMaterialUpdatesCount); - mono_add_internal_call("UnityEngine.DynamicGI::get_asyncMaterialUpdates",(void*) UnityEngine_DynamicGI_get_asyncMaterialUpdates); - mono_add_internal_call("UnityEngine.DynamicGI::set_asyncMaterialUpdates",(void*) UnityEngine_DynamicGI_set_asyncMaterialUpdates); - mono_add_internal_call("UnityEngine.DynamicGI::UpdateEnvironment",(void*) UnityEngine_DynamicGI_UpdateEnvironment); - mono_add_internal_call("UnityEngine.DynamicGI::SetEmissive_Injected",(void*) UnityEngine_DynamicGI_SetEmissive_Injected); - mono_add_internal_call("UnityEngine.Bounds::Contains_Injected",(void*) UnityEngine_Bounds_Contains_Injected); - mono_add_internal_call("UnityEngine.Bounds::SqrDistance_Injected",(void*) UnityEngine_Bounds_SqrDistance_Injected); - mono_add_internal_call("UnityEngine.Bounds::IntersectRayAABB_Injected",(void*) UnityEngine_Bounds_IntersectRayAABB_Injected); - mono_add_internal_call("UnityEngine.Bounds::ClosestPoint_Injected",(void*) UnityEngine_Bounds_ClosestPoint_Injected); - mono_add_internal_call("UnityEngine.GeometryUtility::TestPlanesAABB_Injected",(void*) UnityEngine_GeometryUtility_TestPlanesAABB_Injected); - mono_add_internal_call("UnityEngine.GeometryUtility::Internal_ExtractPlanes_Injected",(void*) UnityEngine_GeometryUtility_Internal_ExtractPlanes_Injected); - mono_add_internal_call("UnityEngine.GeometryUtility::Internal_CalculateBounds_Injected",(void*) UnityEngine_GeometryUtility_Internal_CalculateBounds_Injected); - mono_add_internal_call("UnityEngine.RectOffset::InternalCreate",(void*) UnityEngine_RectOffset_InternalCreate); - mono_add_internal_call("UnityEngine.RectOffset::InternalDestroy",(void*) UnityEngine_RectOffset_InternalDestroy); mono_add_internal_call("UnityEngine.RectOffset::get_left",(void*) UnityEngine_RectOffset_get_left); - mono_add_internal_call("UnityEngine.RectOffset::set_left",(void*) UnityEngine_RectOffset_set_left); mono_add_internal_call("UnityEngine.RectOffset::get_right",(void*) UnityEngine_RectOffset_get_right); - mono_add_internal_call("UnityEngine.RectOffset::set_right",(void*) UnityEngine_RectOffset_set_right); mono_add_internal_call("UnityEngine.RectOffset::get_top",(void*) UnityEngine_RectOffset_get_top); - mono_add_internal_call("UnityEngine.RectOffset::set_top",(void*) UnityEngine_RectOffset_set_top); mono_add_internal_call("UnityEngine.RectOffset::get_bottom",(void*) UnityEngine_RectOffset_get_bottom); - mono_add_internal_call("UnityEngine.RectOffset::set_bottom",(void*) UnityEngine_RectOffset_set_bottom); mono_add_internal_call("UnityEngine.RectOffset::get_horizontal",(void*) UnityEngine_RectOffset_get_horizontal); mono_add_internal_call("UnityEngine.RectOffset::get_vertical",(void*) UnityEngine_RectOffset_get_vertical); - mono_add_internal_call("UnityEngine.RectOffset::Add_Injected",(void*) UnityEngine_RectOffset_Add_Injected); - mono_add_internal_call("UnityEngine.RectOffset::Remove_Injected",(void*) UnityEngine_RectOffset_Remove_Injected); - mono_add_internal_call("UnityEngine.Gizmos::get_exposure",(void*) UnityEngine_Gizmos_get_exposure); - mono_add_internal_call("UnityEngine.Gizmos::set_exposure",(void*) UnityEngine_Gizmos_set_exposure); mono_add_internal_call("UnityEngine.Gizmos::DrawLine_Injected",(void*) UnityEngine_Gizmos_DrawLine_Injected_1); mono_add_internal_call("UnityEngine.Gizmos::DrawWireSphere_Injected",(void*) UnityEngine_Gizmos_DrawWireSphere_Injected); - mono_add_internal_call("UnityEngine.Gizmos::DrawSphere_Injected",(void*) UnityEngine_Gizmos_DrawSphere_Injected); mono_add_internal_call("UnityEngine.Gizmos::DrawWireCube_Injected",(void*) UnityEngine_Gizmos_DrawWireCube_Injected); - mono_add_internal_call("UnityEngine.Gizmos::DrawCube_Injected",(void*) UnityEngine_Gizmos_DrawCube_Injected); - mono_add_internal_call("UnityEngine.Gizmos::DrawMesh_Injected",(void*) UnityEngine_Gizmos_DrawMesh_Injected); - mono_add_internal_call("UnityEngine.Gizmos::DrawWireMesh_Injected",(void*) UnityEngine_Gizmos_DrawWireMesh_Injected); - mono_add_internal_call("UnityEngine.Gizmos::DrawIcon_Injected",(void*) UnityEngine_Gizmos_DrawIcon_Injected); - mono_add_internal_call("UnityEngine.Gizmos::DrawGUITexture_Injected",(void*) UnityEngine_Gizmos_DrawGUITexture_Injected); - mono_add_internal_call("UnityEngine.Gizmos::get_color_Injected",(void*) UnityEngine_Gizmos_get_color_Injected); - mono_add_internal_call("UnityEngine.Gizmos::set_color_Injected",(void*) UnityEngine_Gizmos_set_color_Injected); - mono_add_internal_call("UnityEngine.Gizmos::get_matrix_Injected",(void*) UnityEngine_Gizmos_get_matrix_Injected); - mono_add_internal_call("UnityEngine.Gizmos::set_matrix_Injected",(void*) UnityEngine_Gizmos_set_matrix_Injected); - mono_add_internal_call("UnityEngine.Gizmos::DrawFrustum_Injected",(void*) UnityEngine_Gizmos_DrawFrustum_Injected); - mono_add_internal_call("UnityEngine.BillboardAsset::Internal_Create",(void*) UnityEngine_BillboardAsset_Internal_Create_2); - mono_add_internal_call("UnityEngine.BillboardAsset::get_width",(void*) UnityEngine_BillboardAsset_get_width); - mono_add_internal_call("UnityEngine.BillboardAsset::set_width",(void*) UnityEngine_BillboardAsset_set_width); - mono_add_internal_call("UnityEngine.BillboardAsset::get_height",(void*) UnityEngine_BillboardAsset_get_height); - mono_add_internal_call("UnityEngine.BillboardAsset::set_height",(void*) UnityEngine_BillboardAsset_set_height); - mono_add_internal_call("UnityEngine.BillboardAsset::get_bottom",(void*) UnityEngine_BillboardAsset_get_bottom_1); - mono_add_internal_call("UnityEngine.BillboardAsset::set_bottom",(void*) UnityEngine_BillboardAsset_set_bottom_1); - mono_add_internal_call("UnityEngine.BillboardAsset::get_imageCount",(void*) UnityEngine_BillboardAsset_get_imageCount); - mono_add_internal_call("UnityEngine.BillboardAsset::get_vertexCount",(void*) UnityEngine_BillboardAsset_get_vertexCount); - mono_add_internal_call("UnityEngine.BillboardAsset::get_indexCount",(void*) UnityEngine_BillboardAsset_get_indexCount); - mono_add_internal_call("UnityEngine.BillboardAsset::get_material",(void*) UnityEngine_BillboardAsset_get_material); - mono_add_internal_call("UnityEngine.BillboardAsset::set_material",(void*) UnityEngine_BillboardAsset_set_material); - mono_add_internal_call("UnityEngine.BillboardAsset::GetImageTexCoords",(void*) UnityEngine_BillboardAsset_GetImageTexCoords); - mono_add_internal_call("UnityEngine.BillboardAsset::GetImageTexCoordsInternal",(void*) UnityEngine_BillboardAsset_GetImageTexCoordsInternal); - mono_add_internal_call("UnityEngine.BillboardAsset::SetImageTexCoords",(void*) UnityEngine_BillboardAsset_SetImageTexCoords); - mono_add_internal_call("UnityEngine.BillboardAsset::SetImageTexCoordsInternalList",(void*) UnityEngine_BillboardAsset_SetImageTexCoordsInternalList); - mono_add_internal_call("UnityEngine.BillboardAsset::GetVertices",(void*) UnityEngine_BillboardAsset_GetVertices); - mono_add_internal_call("UnityEngine.BillboardAsset::GetVerticesInternal",(void*) UnityEngine_BillboardAsset_GetVerticesInternal); - mono_add_internal_call("UnityEngine.BillboardAsset::SetVertices",(void*) UnityEngine_BillboardAsset_SetVertices); - mono_add_internal_call("UnityEngine.BillboardAsset::SetVerticesInternalList",(void*) UnityEngine_BillboardAsset_SetVerticesInternalList); - mono_add_internal_call("UnityEngine.BillboardAsset::GetIndices",(void*) UnityEngine_BillboardAsset_GetIndices); - mono_add_internal_call("UnityEngine.BillboardAsset::GetIndicesInternal",(void*) UnityEngine_BillboardAsset_GetIndicesInternal); - mono_add_internal_call("UnityEngine.BillboardAsset::SetIndices",(void*) UnityEngine_BillboardAsset_SetIndices); - mono_add_internal_call("UnityEngine.BillboardAsset::SetIndicesInternalList",(void*) UnityEngine_BillboardAsset_SetIndicesInternalList); - mono_add_internal_call("UnityEngine.BillboardAsset::MakeMaterialProperties",(void*) UnityEngine_BillboardAsset_MakeMaterialProperties); - mono_add_internal_call("UnityEngine.BillboardRenderer::get_billboard",(void*) UnityEngine_BillboardRenderer_get_billboard); - mono_add_internal_call("UnityEngine.BillboardRenderer::set_billboard",(void*) UnityEngine_BillboardRenderer_set_billboard); - mono_add_internal_call("UnityEngine.Display::GetSystemExtImpl",(void*) UnityEngine_Display_GetSystemExtImpl); - mono_add_internal_call("UnityEngine.Display::GetRenderingExtImpl",(void*) UnityEngine_Display_GetRenderingExtImpl); - mono_add_internal_call("UnityEngine.Display::GetRenderingBuffersImpl",(void*) UnityEngine_Display_GetRenderingBuffersImpl); - mono_add_internal_call("UnityEngine.Display::SetRenderingResolutionImpl",(void*) UnityEngine_Display_SetRenderingResolutionImpl); - mono_add_internal_call("UnityEngine.Display::ActivateDisplayImpl",(void*) UnityEngine_Display_ActivateDisplayImpl); - mono_add_internal_call("UnityEngine.Display::SetParamsImpl",(void*) UnityEngine_Display_SetParamsImpl); - mono_add_internal_call("UnityEngine.Display::RelativeMouseAtImpl",(void*) UnityEngine_Display_RelativeMouseAtImpl); - mono_add_internal_call("UnityEngine.Display::GetActiveImpl",(void*) UnityEngine_Display_GetActiveImpl); - mono_add_internal_call("UnityEngine.Display::RequiresBlitToBackbufferImpl",(void*) UnityEngine_Display_RequiresBlitToBackbufferImpl); - mono_add_internal_call("UnityEngine.Display::RequiresSrgbBlitToBackbufferImpl",(void*) UnityEngine_Display_RequiresSrgbBlitToBackbufferImpl); mono_add_internal_call("UnityEngine.Screen::get_width",(void*) UnityEngine_Screen_get_width_1); mono_add_internal_call("UnityEngine.Screen::get_height",(void*) UnityEngine_Screen_get_height_1); mono_add_internal_call("UnityEngine.Screen::get_dpi",(void*) UnityEngine_Screen_get_dpi); - mono_add_internal_call("UnityEngine.Screen::RequestOrientation",(void*) UnityEngine_Screen_RequestOrientation); - mono_add_internal_call("UnityEngine.Screen::GetScreenOrientation",(void*) UnityEngine_Screen_GetScreenOrientation); mono_add_internal_call("UnityEngine.Screen::get_sleepTimeout",(void*) UnityEngine_Screen_get_sleepTimeout); mono_add_internal_call("UnityEngine.Screen::set_sleepTimeout",(void*) UnityEngine_Screen_set_sleepTimeout); - mono_add_internal_call("UnityEngine.Screen::IsOrientationEnabled",(void*) UnityEngine_Screen_IsOrientationEnabled); - mono_add_internal_call("UnityEngine.Screen::SetOrientationEnabled",(void*) UnityEngine_Screen_SetOrientationEnabled); mono_add_internal_call("UnityEngine.Screen::get_fullScreen",(void*) UnityEngine_Screen_get_fullScreen); mono_add_internal_call("UnityEngine.Screen::set_fullScreen",(void*) UnityEngine_Screen_set_fullScreen); mono_add_internal_call("UnityEngine.Screen::get_fullScreenMode",(void*) UnityEngine_Screen_get_fullScreenMode); mono_add_internal_call("UnityEngine.Screen::set_fullScreenMode",(void*) UnityEngine_Screen_set_fullScreenMode); mono_add_internal_call("UnityEngine.Screen::get_cutouts",(void*) UnityEngine_Screen_get_cutouts); - mono_add_internal_call("UnityEngine.Screen::SetResolution",(void*) UnityEngine_Screen_SetResolution); mono_add_internal_call("UnityEngine.Screen::get_resolutions",(void*) UnityEngine_Screen_get_resolutions); mono_add_internal_call("UnityEngine.Screen::get_brightness",(void*) UnityEngine_Screen_get_brightness); mono_add_internal_call("UnityEngine.Screen::set_brightness",(void*) UnityEngine_Screen_set_brightness); - mono_add_internal_call("UnityEngine.Screen::get_currentResolution_Injected",(void*) UnityEngine_Screen_get_currentResolution_Injected); - mono_add_internal_call("UnityEngine.Screen::get_safeArea_Injected",(void*) UnityEngine_Screen_get_safeArea_Injected); - mono_add_internal_call("UnityEngine.RenderBuffer::SetLoadAction_Injected",(void*) UnityEngine_RenderBuffer_SetLoadAction_Injected); - mono_add_internal_call("UnityEngine.RenderBuffer::SetStoreAction_Injected",(void*) UnityEngine_RenderBuffer_SetStoreAction_Injected); - mono_add_internal_call("UnityEngine.RenderBuffer::GetLoadAction_Injected",(void*) UnityEngine_RenderBuffer_GetLoadAction_Injected); - mono_add_internal_call("UnityEngine.RenderBuffer::GetStoreAction_Injected",(void*) UnityEngine_RenderBuffer_GetStoreAction_Injected); - mono_add_internal_call("UnityEngine.RenderBuffer::GetNativeRenderBufferPtr_Injected",(void*) UnityEngine_RenderBuffer_GetNativeRenderBufferPtr_Injected); - mono_add_internal_call("UnityEngine.Graphics::Internal_GetMaxDrawMeshInstanceCount",(void*) UnityEngine_Graphics_Internal_GetMaxDrawMeshInstanceCount); - mono_add_internal_call("UnityEngine.Graphics::GetActiveColorGamut",(void*) UnityEngine_Graphics_GetActiveColorGamut); + mono_add_internal_call("UnityEngine.Screen::SetResolution",(void*) UnityEngine_Screen_SetResolution); mono_add_internal_call("UnityEngine.Graphics::get_activeTier",(void*) UnityEngine_Graphics_get_activeTier); mono_add_internal_call("UnityEngine.Graphics::set_activeTier",(void*) UnityEngine_Graphics_set_activeTier); - mono_add_internal_call("UnityEngine.Graphics::GetPreserveFramebufferAlpha",(void*) UnityEngine_Graphics_GetPreserveFramebufferAlpha); - mono_add_internal_call("UnityEngine.Graphics::Internal_SetNullRT",(void*) UnityEngine_Graphics_Internal_SetNullRT); - mono_add_internal_call("UnityEngine.Graphics::Internal_SetRandomWriteTargetRT",(void*) UnityEngine_Graphics_Internal_SetRandomWriteTargetRT); - mono_add_internal_call("UnityEngine.Graphics::ClearRandomWriteTargets",(void*) UnityEngine_Graphics_ClearRandomWriteTargets); - mono_add_internal_call("UnityEngine.Graphics::CopyTexture_Full",(void*) UnityEngine_Graphics_CopyTexture_Full); - mono_add_internal_call("UnityEngine.Graphics::CopyTexture_Slice_AllMips",(void*) UnityEngine_Graphics_CopyTexture_Slice_AllMips); - mono_add_internal_call("UnityEngine.Graphics::CopyTexture_Slice",(void*) UnityEngine_Graphics_CopyTexture_Slice); - mono_add_internal_call("UnityEngine.Graphics::CopyTexture_Region",(void*) UnityEngine_Graphics_CopyTexture_Region); - mono_add_internal_call("UnityEngine.Graphics::ConvertTexture_Full",(void*) UnityEngine_Graphics_ConvertTexture_Full); - mono_add_internal_call("UnityEngine.Graphics::ConvertTexture_Slice",(void*) UnityEngine_Graphics_ConvertTexture_Slice); - mono_add_internal_call("UnityEngine.Graphics::Internal_DrawTexture",(void*) UnityEngine_Graphics_Internal_DrawTexture); - mono_add_internal_call("UnityEngine.Graphics::Internal_DrawMeshInstanced",(void*) UnityEngine_Graphics_Internal_DrawMeshInstanced); - mono_add_internal_call("UnityEngine.Graphics::Internal_DrawProceduralNow",(void*) UnityEngine_Graphics_Internal_DrawProceduralNow); - mono_add_internal_call("UnityEngine.Graphics::Internal_DrawProceduralIndexedNow",(void*) UnityEngine_Graphics_Internal_DrawProceduralIndexedNow); - mono_add_internal_call("UnityEngine.Graphics::Internal_BlitMaterial5",(void*) UnityEngine_Graphics_Internal_BlitMaterial5); - mono_add_internal_call("UnityEngine.Graphics::Internal_BlitMaterial6",(void*) UnityEngine_Graphics_Internal_BlitMaterial6); - mono_add_internal_call("UnityEngine.Graphics::Internal_BlitMultiTap4",(void*) UnityEngine_Graphics_Internal_BlitMultiTap4); - mono_add_internal_call("UnityEngine.Graphics::Internal_BlitMultiTap5",(void*) UnityEngine_Graphics_Internal_BlitMultiTap5); mono_add_internal_call("UnityEngine.Graphics::Blit2",(void*) UnityEngine_Graphics_Blit2); - mono_add_internal_call("UnityEngine.Graphics::Blit3",(void*) UnityEngine_Graphics_Blit3); - mono_add_internal_call("UnityEngine.Graphics::CreateGPUFenceImpl",(void*) UnityEngine_Graphics_CreateGPUFenceImpl); - mono_add_internal_call("UnityEngine.Graphics::WaitOnGPUFenceImpl",(void*) UnityEngine_Graphics_WaitOnGPUFenceImpl); - mono_add_internal_call("UnityEngine.Graphics::ExecuteCommandBuffer",(void*) UnityEngine_Graphics_ExecuteCommandBuffer); - mono_add_internal_call("UnityEngine.Graphics::ExecuteCommandBufferAsync",(void*) UnityEngine_Graphics_ExecuteCommandBufferAsync); - mono_add_internal_call("UnityEngine.Graphics::GetActiveColorBuffer_Injected",(void*) UnityEngine_Graphics_GetActiveColorBuffer_Injected); - mono_add_internal_call("UnityEngine.Graphics::GetActiveDepthBuffer_Injected",(void*) UnityEngine_Graphics_GetActiveDepthBuffer_Injected); - mono_add_internal_call("UnityEngine.Graphics::Internal_SetRTSimple_Injected",(void*) UnityEngine_Graphics_Internal_SetRTSimple_Injected); - mono_add_internal_call("UnityEngine.Graphics::Internal_SetMRTSimple_Injected",(void*) UnityEngine_Graphics_Internal_SetMRTSimple_Injected); - mono_add_internal_call("UnityEngine.Graphics::Internal_SetMRTFullSetup_Injected",(void*) UnityEngine_Graphics_Internal_SetMRTFullSetup_Injected); - mono_add_internal_call("UnityEngine.Graphics::Internal_DrawMeshNow1_Injected",(void*) UnityEngine_Graphics_Internal_DrawMeshNow1_Injected); - mono_add_internal_call("UnityEngine.Graphics::Internal_DrawMeshNow2_Injected",(void*) UnityEngine_Graphics_Internal_DrawMeshNow2_Injected); - mono_add_internal_call("UnityEngine.Graphics::Internal_DrawMesh_Injected",(void*) UnityEngine_Graphics_Internal_DrawMesh_Injected); - mono_add_internal_call("UnityEngine.Graphics::Internal_DrawMeshInstancedProcedural_Injected",(void*) UnityEngine_Graphics_Internal_DrawMeshInstancedProcedural_Injected); - mono_add_internal_call("UnityEngine.Graphics::Internal_DrawProcedural_Injected",(void*) UnityEngine_Graphics_Internal_DrawProcedural_Injected); - mono_add_internal_call("UnityEngine.Graphics::Internal_DrawProceduralIndexed_Injected",(void*) UnityEngine_Graphics_Internal_DrawProceduralIndexed_Injected); - mono_add_internal_call("UnityEngine.Graphics::Blit4_Injected",(void*) UnityEngine_Graphics_Blit4_Injected); - mono_add_internal_call("UnityEngine.Graphics::Blit5_Injected",(void*) UnityEngine_Graphics_Blit5_Injected); + mono_add_internal_call("UnityEngine.Graphics::Internal_BlitMaterial5",(void*) UnityEngine_Graphics_Internal_BlitMaterial5); + mono_add_internal_call("UnityEngine.Mesh::get_vertexCount",(void*) UnityEngine_Mesh_get_vertexCount); + mono_add_internal_call("UnityEngine.Mesh::get_subMeshCount",(void*) UnityEngine_Mesh_get_subMeshCount); + mono_add_internal_call("UnityEngine.Mesh::set_subMeshCount",(void*) UnityEngine_Mesh_set_subMeshCount); + mono_add_internal_call("UnityEngine.Mesh::get_canAccess",(void*) UnityEngine_Mesh_get_canAccess); + mono_add_internal_call("UnityEngine.Mesh::Internal_Create",(void*) UnityEngine_Mesh_Internal_Create); + mono_add_internal_call("UnityEngine.Mesh::ClearImpl",(void*) UnityEngine_Mesh_ClearImpl); + mono_add_internal_call("UnityEngine.Mesh::MarkDynamicImpl",(void*) UnityEngine_Mesh_MarkDynamicImpl); + mono_add_internal_call("UnityEngine.Mesh::HasVertexAttribute",(void*) UnityEngine_Mesh_HasVertexAttribute); + mono_add_internal_call("UnityEngine.Material::get_shader",(void*) UnityEngine_Material_get_shader); + mono_add_internal_call("UnityEngine.Material::set_shader",(void*) UnityEngine_Material_set_shader); + mono_add_internal_call("UnityEngine.Material::get_renderQueue",(void*) UnityEngine_Material_get_renderQueue); + mono_add_internal_call("UnityEngine.Material::set_renderQueue",(void*) UnityEngine_Material_set_renderQueue); + mono_add_internal_call("UnityEngine.Material::CreateWithShader",(void*) UnityEngine_Material_CreateWithShader); + mono_add_internal_call("UnityEngine.Material::CreateWithMaterial",(void*) UnityEngine_Material_CreateWithMaterial); + mono_add_internal_call("UnityEngine.Material::CreateWithString",(void*) UnityEngine_Material_CreateWithString); + mono_add_internal_call("UnityEngine.Material::GetTagImpl",(void*) UnityEngine_Material_GetTagImpl); + mono_add_internal_call("UnityEngine.Material::SetFloatImpl",(void*) UnityEngine_Material_SetFloatImpl); + mono_add_internal_call("UnityEngine.Material::SetColorImpl_Injected",(void*) UnityEngine_Material_SetColorImpl_Injected); + mono_add_internal_call("UnityEngine.Material::SetMatrixImpl_Injected",(void*) UnityEngine_Material_SetMatrixImpl_Injected); + mono_add_internal_call("UnityEngine.Material::SetTextureImpl",(void*) UnityEngine_Material_SetTextureImpl); + mono_add_internal_call("UnityEngine.Material::GetFloatImpl",(void*) UnityEngine_Material_GetFloatImpl); + mono_add_internal_call("UnityEngine.Material::GetColorImpl_Injected",(void*) UnityEngine_Material_GetColorImpl_Injected); + mono_add_internal_call("UnityEngine.Material::GetTextureImpl",(void*) UnityEngine_Material_GetTextureImpl); + mono_add_internal_call("UnityEngine.Material::SetTextureOffsetImpl_Injected",(void*) UnityEngine_Material_SetTextureOffsetImpl_Injected); + mono_add_internal_call("UnityEngine.Material::SetTextureScaleImpl_Injected",(void*) UnityEngine_Material_SetTextureScaleImpl_Injected); + mono_add_internal_call("UnityEngine.Material::HasProperty",(void*) UnityEngine_Material_HasProperty); + mono_add_internal_call("UnityEngine.Material::EnableKeyword",(void*) UnityEngine_Material_EnableKeyword); + mono_add_internal_call("UnityEngine.Material::DisableKeyword",(void*) UnityEngine_Material_DisableKeyword); + mono_add_internal_call("UnityEngine.Material::SetPass",(void*) UnityEngine_Material_SetPass); + mono_add_internal_call("UnityEngine.Material::CopyPropertiesFromMaterial",(void*) UnityEngine_Material_CopyPropertiesFromMaterial); + mono_add_internal_call("UnityEngine.Shader::get_maximumLOD",(void*) UnityEngine_Shader_get_maximumLOD); + mono_add_internal_call("UnityEngine.Shader::set_maximumLOD",(void*) UnityEngine_Shader_set_maximumLOD); + mono_add_internal_call("UnityEngine.Shader::get_globalMaximumLOD",(void*) UnityEngine_Shader_get_globalMaximumLOD); + mono_add_internal_call("UnityEngine.Shader::set_globalMaximumLOD",(void*) UnityEngine_Shader_set_globalMaximumLOD); + mono_add_internal_call("UnityEngine.Shader::get_isSupported",(void*) UnityEngine_Shader_get_isSupported); + mono_add_internal_call("UnityEngine.Shader::get_globalRenderPipeline",(void*) UnityEngine_Shader_get_globalRenderPipeline); + mono_add_internal_call("UnityEngine.Shader::set_globalRenderPipeline",(void*) UnityEngine_Shader_set_globalRenderPipeline); + mono_add_internal_call("UnityEngine.Shader::get_renderQueue",(void*) UnityEngine_Shader_get_renderQueue_1); + mono_add_internal_call("UnityEngine.Shader::get_passCount",(void*) UnityEngine_Shader_get_passCount); + mono_add_internal_call("UnityEngine.Shader::TagToID",(void*) UnityEngine_Shader_TagToID); + mono_add_internal_call("UnityEngine.Shader::SetGlobalFloatImpl",(void*) UnityEngine_Shader_SetGlobalFloatImpl); + mono_add_internal_call("UnityEngine.Shader::SetGlobalIntImpl",(void*) UnityEngine_Shader_SetGlobalIntImpl); + mono_add_internal_call("UnityEngine.Shader::SetGlobalVectorImpl_Injected",(void*) UnityEngine_Shader_SetGlobalVectorImpl_Injected); + mono_add_internal_call("UnityEngine.Shader::SetGlobalMatrixImpl_Injected",(void*) UnityEngine_Shader_SetGlobalMatrixImpl_Injected); + mono_add_internal_call("UnityEngine.Shader::SetGlobalTextureImpl",(void*) UnityEngine_Shader_SetGlobalTextureImpl); + mono_add_internal_call("UnityEngine.Shader::SetGlobalRenderTextureImpl",(void*) UnityEngine_Shader_SetGlobalRenderTextureImpl); + mono_add_internal_call("UnityEngine.Shader::SetGlobalGraphicsBufferImpl",(void*) UnityEngine_Shader_SetGlobalGraphicsBufferImpl); + mono_add_internal_call("UnityEngine.Shader::SetGlobalConstantGraphicsBufferImpl",(void*) UnityEngine_Shader_SetGlobalConstantGraphicsBufferImpl); + mono_add_internal_call("UnityEngine.Shader::GetGlobalFloatImpl",(void*) UnityEngine_Shader_GetGlobalFloatImpl); + mono_add_internal_call("UnityEngine.Shader::GetGlobalIntImpl",(void*) UnityEngine_Shader_GetGlobalIntImpl); + mono_add_internal_call("UnityEngine.Shader::GetGlobalVectorImpl_Injected",(void*) UnityEngine_Shader_GetGlobalVectorImpl_Injected); + mono_add_internal_call("UnityEngine.Shader::GetGlobalMatrixImpl_Injected",(void*) UnityEngine_Shader_GetGlobalMatrixImpl_Injected); + mono_add_internal_call("UnityEngine.Shader::GetGlobalTextureImpl",(void*) UnityEngine_Shader_GetGlobalTextureImpl); + mono_add_internal_call("UnityEngine.Shader::GetGlobalFloatArrayCountImpl",(void*) UnityEngine_Shader_GetGlobalFloatArrayCountImpl); + mono_add_internal_call("UnityEngine.Shader::GetGlobalFloatArrayImpl",(void*) UnityEngine_Shader_GetGlobalFloatArrayImpl); + mono_add_internal_call("UnityEngine.Shader::GetGlobalVectorArrayCountImpl",(void*) UnityEngine_Shader_GetGlobalVectorArrayCountImpl); + mono_add_internal_call("UnityEngine.Shader::GetGlobalVectorArrayImpl",(void*) UnityEngine_Shader_GetGlobalVectorArrayImpl); + mono_add_internal_call("UnityEngine.Shader::GetGlobalMatrixArrayCountImpl",(void*) UnityEngine_Shader_GetGlobalMatrixArrayCountImpl); + mono_add_internal_call("UnityEngine.Shader::GetGlobalMatrixArrayImpl",(void*) UnityEngine_Shader_GetGlobalMatrixArrayImpl); + mono_add_internal_call("UnityEngine.Shader::EnableKeyword",(void*) UnityEngine_Shader_EnableKeyword_1); + mono_add_internal_call("UnityEngine.Shader::DisableKeyword",(void*) UnityEngine_Shader_DisableKeyword_1); + mono_add_internal_call("UnityEngine.Shader::IsKeywordEnabled",(void*) UnityEngine_Shader_IsKeywordEnabled); + mono_add_internal_call("UnityEngine.Shader::WarmupAllShaders",(void*) UnityEngine_Shader_WarmupAllShaders); + mono_add_internal_call("UnityEngine.Shader::PropertyToID",(void*) UnityEngine_Shader_PropertyToID); + mono_add_internal_call("UnityEngine.Shader::GetDependency",(void*) UnityEngine_Shader_GetDependency); + mono_add_internal_call("UnityEngine.Shader::GetPropertyCount",(void*) UnityEngine_Shader_GetPropertyCount); + mono_add_internal_call("UnityEngine.Shader::FindPropertyIndex",(void*) UnityEngine_Shader_FindPropertyIndex); + mono_add_internal_call("UnityEngine.Texture::get_isReadable",(void*) UnityEngine_Texture_get_isReadable); + mono_add_internal_call("UnityEngine.Texture::get_wrapMode",(void*) UnityEngine_Texture_get_wrapMode); + mono_add_internal_call("UnityEngine.Texture::set_wrapMode",(void*) UnityEngine_Texture_set_wrapMode_2); + mono_add_internal_call("UnityEngine.Texture::set_filterMode",(void*) UnityEngine_Texture_set_filterMode); + mono_add_internal_call("UnityEngine.Texture::get_anisoLevel",(void*) UnityEngine_Texture_get_anisoLevel); + mono_add_internal_call("UnityEngine.Texture::set_anisoLevel",(void*) UnityEngine_Texture_set_anisoLevel); + mono_add_internal_call("UnityEngine.Texture::set_mipMapBias",(void*) UnityEngine_Texture_set_mipMapBias); + mono_add_internal_call("UnityEngine.Texture::GetDataWidth",(void*) UnityEngine_Texture_GetDataWidth); + mono_add_internal_call("UnityEngine.Texture::GetDataHeight",(void*) UnityEngine_Texture_GetDataHeight); + mono_add_internal_call("UnityEngine.MaterialPropertyBlock::SetFloatImpl",(void*) UnityEngine_MaterialPropertyBlock_SetFloatImpl_1); mono_add_internal_call("UnityEngine.GL::Vertex3",(void*) UnityEngine_GL_Vertex3); - mono_add_internal_call("UnityEngine.GL::TexCoord3",(void*) UnityEngine_GL_TexCoord3); mono_add_internal_call("UnityEngine.GL::MultiTexCoord3",(void*) UnityEngine_GL_MultiTexCoord3); - mono_add_internal_call("UnityEngine.GL::ImmediateColor",(void*) UnityEngine_GL_ImmediateColor); - mono_add_internal_call("UnityEngine.GL::get_wireframe",(void*) UnityEngine_GL_get_wireframe); - mono_add_internal_call("UnityEngine.GL::set_wireframe",(void*) UnityEngine_GL_set_wireframe); - mono_add_internal_call("UnityEngine.GL::get_sRGBWrite",(void*) UnityEngine_GL_get_sRGBWrite); - mono_add_internal_call("UnityEngine.GL::set_sRGBWrite",(void*) UnityEngine_GL_set_sRGBWrite); - mono_add_internal_call("UnityEngine.GL::get_invertCulling",(void*) UnityEngine_GL_get_invertCulling); - mono_add_internal_call("UnityEngine.GL::set_invertCulling",(void*) UnityEngine_GL_set_invertCulling); - mono_add_internal_call("UnityEngine.GL::Flush",(void*) UnityEngine_GL_Flush); - mono_add_internal_call("UnityEngine.GL::RenderTargetBarrier",(void*) UnityEngine_GL_RenderTargetBarrier); - mono_add_internal_call("UnityEngine.GL::IssuePluginEvent",(void*) UnityEngine_GL_IssuePluginEvent); - mono_add_internal_call("UnityEngine.GL::SetRevertBackfacing",(void*) UnityEngine_GL_SetRevertBackfacing); mono_add_internal_call("UnityEngine.GL::PushMatrix",(void*) UnityEngine_GL_PushMatrix); mono_add_internal_call("UnityEngine.GL::PopMatrix",(void*) UnityEngine_GL_PopMatrix); - mono_add_internal_call("UnityEngine.GL::LoadIdentity",(void*) UnityEngine_GL_LoadIdentity); mono_add_internal_call("UnityEngine.GL::LoadOrtho",(void*) UnityEngine_GL_LoadOrtho); - mono_add_internal_call("UnityEngine.GL::LoadPixelMatrix",(void*) UnityEngine_GL_LoadPixelMatrix); - mono_add_internal_call("UnityEngine.GL::InvalidateState",(void*) UnityEngine_GL_InvalidateState); - mono_add_internal_call("UnityEngine.GL::GLLoadPixelMatrixScript",(void*) UnityEngine_GL_GLLoadPixelMatrixScript); - mono_add_internal_call("UnityEngine.GL::GLIssuePluginEvent",(void*) UnityEngine_GL_GLIssuePluginEvent); mono_add_internal_call("UnityEngine.GL::Begin",(void*) UnityEngine_GL_Begin); mono_add_internal_call("UnityEngine.GL::End",(void*) UnityEngine_GL_End); - mono_add_internal_call("UnityEngine.GL::ClearWithSkybox",(void*) UnityEngine_GL_ClearWithSkybox); - mono_add_internal_call("UnityEngine.GL::GetWorldViewMatrix_Injected",(void*) UnityEngine_GL_GetWorldViewMatrix_Injected); - mono_add_internal_call("UnityEngine.GL::SetViewMatrix_Injected",(void*) UnityEngine_GL_SetViewMatrix_Injected); - mono_add_internal_call("UnityEngine.GL::MultMatrix_Injected",(void*) UnityEngine_GL_MultMatrix_Injected); - mono_add_internal_call("UnityEngine.GL::LoadProjectionMatrix_Injected",(void*) UnityEngine_GL_LoadProjectionMatrix_Injected); - mono_add_internal_call("UnityEngine.GL::GetGPUProjectionMatrix_Injected",(void*) UnityEngine_GL_GetGPUProjectionMatrix_Injected); - mono_add_internal_call("UnityEngine.GL::GLClear_Injected",(void*) UnityEngine_GL_GLClear_Injected); - mono_add_internal_call("UnityEngine.GL::Viewport_Injected",(void*) UnityEngine_GL_Viewport_Injected); - mono_add_internal_call("UnityEngine.ScalableBufferManager::get_widthScaleFactor",(void*) UnityEngine_ScalableBufferManager_get_widthScaleFactor); - mono_add_internal_call("UnityEngine.ScalableBufferManager::get_heightScaleFactor",(void*) UnityEngine_ScalableBufferManager_get_heightScaleFactor); - mono_add_internal_call("UnityEngine.ScalableBufferManager::ResizeBuffers",(void*) UnityEngine_ScalableBufferManager_ResizeBuffers); - mono_add_internal_call("UnityEngine.FrameTimingManager::CaptureFrameTimings",(void*) UnityEngine_FrameTimingManager_CaptureFrameTimings); - mono_add_internal_call("UnityEngine.FrameTimingManager::GetLatestTimings",(void*) UnityEngine_FrameTimingManager_GetLatestTimings); - mono_add_internal_call("UnityEngine.FrameTimingManager::GetVSyncsPerSecond",(void*) UnityEngine_FrameTimingManager_GetVSyncsPerSecond); - mono_add_internal_call("UnityEngine.FrameTimingManager::GetGpuTimerFrequency",(void*) UnityEngine_FrameTimingManager_GetGpuTimerFrequency); - mono_add_internal_call("UnityEngine.FrameTimingManager::GetCpuTimerFrequency",(void*) UnityEngine_FrameTimingManager_GetCpuTimerFrequency); - mono_add_internal_call("UnityEngine.LightmapSettings::get_lightmaps",(void*) UnityEngine_LightmapSettings_get_lightmaps); - mono_add_internal_call("UnityEngine.LightmapSettings::set_lightmaps",(void*) UnityEngine_LightmapSettings_set_lightmaps); - mono_add_internal_call("UnityEngine.LightmapSettings::get_lightmapsMode",(void*) UnityEngine_LightmapSettings_get_lightmapsMode); - mono_add_internal_call("UnityEngine.LightmapSettings::set_lightmapsMode",(void*) UnityEngine_LightmapSettings_set_lightmapsMode); - mono_add_internal_call("UnityEngine.LightmapSettings::get_lightProbes",(void*) UnityEngine_LightmapSettings_get_lightProbes); - mono_add_internal_call("UnityEngine.LightmapSettings::set_lightProbes",(void*) UnityEngine_LightmapSettings_set_lightProbes); - mono_add_internal_call("UnityEngine.LightmapSettings::Reset",(void*) UnityEngine_LightmapSettings_Reset_2); - mono_add_internal_call("UnityEngine.LightProbes::Tetrahedralize",(void*) UnityEngine_LightProbes_Tetrahedralize); - mono_add_internal_call("UnityEngine.LightProbes::TetrahedralizeAsync",(void*) UnityEngine_LightProbes_TetrahedralizeAsync); - mono_add_internal_call("UnityEngine.LightProbes::AreLightProbesAllowed",(void*) UnityEngine_LightProbes_AreLightProbesAllowed); - mono_add_internal_call("UnityEngine.LightProbes::CalculateInterpolatedLightAndOcclusionProbes_Internal",(void*) UnityEngine_LightProbes_CalculateInterpolatedLightAndOcclusionProbes_Internal); - mono_add_internal_call("UnityEngine.LightProbes::get_positions",(void*) UnityEngine_LightProbes_get_positions); - mono_add_internal_call("UnityEngine.LightProbes::get_bakedProbes",(void*) UnityEngine_LightProbes_get_bakedProbes); - mono_add_internal_call("UnityEngine.LightProbes::set_bakedProbes",(void*) UnityEngine_LightProbes_set_bakedProbes); - mono_add_internal_call("UnityEngine.LightProbes::get_count",(void*) UnityEngine_LightProbes_get_count); - mono_add_internal_call("UnityEngine.LightProbes::get_cellCount",(void*) UnityEngine_LightProbes_get_cellCount); - mono_add_internal_call("UnityEngine.LightProbes::GetCount",(void*) UnityEngine_LightProbes_GetCount); - mono_add_internal_call("UnityEngine.LightProbes::GetInterpolatedProbe_Injected",(void*) UnityEngine_LightProbes_GetInterpolatedProbe_Injected); - mono_add_internal_call("UnityEngine.HDROutputSettings::SetPaperWhiteInNits",(void*) UnityEngine_HDROutputSettings_SetPaperWhiteInNits); - mono_add_internal_call("UnityEngine.QualitySettings::get_pixelLightCount",(void*) UnityEngine_QualitySettings_get_pixelLightCount); - mono_add_internal_call("UnityEngine.QualitySettings::set_pixelLightCount",(void*) UnityEngine_QualitySettings_set_pixelLightCount); - mono_add_internal_call("UnityEngine.QualitySettings::get_shadows",(void*) UnityEngine_QualitySettings_get_shadows); - mono_add_internal_call("UnityEngine.QualitySettings::set_shadows",(void*) UnityEngine_QualitySettings_set_shadows); - mono_add_internal_call("UnityEngine.QualitySettings::get_shadowProjection",(void*) UnityEngine_QualitySettings_get_shadowProjection); - mono_add_internal_call("UnityEngine.QualitySettings::set_shadowProjection",(void*) UnityEngine_QualitySettings_set_shadowProjection); - mono_add_internal_call("UnityEngine.QualitySettings::get_shadowCascades",(void*) UnityEngine_QualitySettings_get_shadowCascades); - mono_add_internal_call("UnityEngine.QualitySettings::set_shadowCascades",(void*) UnityEngine_QualitySettings_set_shadowCascades); - mono_add_internal_call("UnityEngine.QualitySettings::get_shadowDistance",(void*) UnityEngine_QualitySettings_get_shadowDistance_1); - mono_add_internal_call("UnityEngine.QualitySettings::set_shadowDistance",(void*) UnityEngine_QualitySettings_set_shadowDistance_1); - mono_add_internal_call("UnityEngine.QualitySettings::get_shadowResolution",(void*) UnityEngine_QualitySettings_get_shadowResolution); - mono_add_internal_call("UnityEngine.QualitySettings::set_shadowResolution",(void*) UnityEngine_QualitySettings_set_shadowResolution); - mono_add_internal_call("UnityEngine.QualitySettings::get_shadowmaskMode",(void*) UnityEngine_QualitySettings_get_shadowmaskMode); - mono_add_internal_call("UnityEngine.QualitySettings::set_shadowmaskMode",(void*) UnityEngine_QualitySettings_set_shadowmaskMode); - mono_add_internal_call("UnityEngine.QualitySettings::get_shadowNearPlaneOffset",(void*) UnityEngine_QualitySettings_get_shadowNearPlaneOffset); - mono_add_internal_call("UnityEngine.QualitySettings::set_shadowNearPlaneOffset",(void*) UnityEngine_QualitySettings_set_shadowNearPlaneOffset); - mono_add_internal_call("UnityEngine.QualitySettings::get_shadowCascade2Split",(void*) UnityEngine_QualitySettings_get_shadowCascade2Split); - mono_add_internal_call("UnityEngine.QualitySettings::set_shadowCascade2Split",(void*) UnityEngine_QualitySettings_set_shadowCascade2Split); - mono_add_internal_call("UnityEngine.QualitySettings::get_lodBias",(void*) UnityEngine_QualitySettings_get_lodBias); - mono_add_internal_call("UnityEngine.QualitySettings::set_lodBias",(void*) UnityEngine_QualitySettings_set_lodBias); - mono_add_internal_call("UnityEngine.QualitySettings::get_anisotropicFiltering",(void*) UnityEngine_QualitySettings_get_anisotropicFiltering); - mono_add_internal_call("UnityEngine.QualitySettings::set_anisotropicFiltering",(void*) UnityEngine_QualitySettings_set_anisotropicFiltering); - mono_add_internal_call("UnityEngine.QualitySettings::get_masterTextureLimit",(void*) UnityEngine_QualitySettings_get_masterTextureLimit); - mono_add_internal_call("UnityEngine.QualitySettings::set_masterTextureLimit",(void*) UnityEngine_QualitySettings_set_masterTextureLimit); - mono_add_internal_call("UnityEngine.QualitySettings::get_maximumLODLevel",(void*) UnityEngine_QualitySettings_get_maximumLODLevel); - mono_add_internal_call("UnityEngine.QualitySettings::set_maximumLODLevel",(void*) UnityEngine_QualitySettings_set_maximumLODLevel); - mono_add_internal_call("UnityEngine.QualitySettings::get_particleRaycastBudget",(void*) UnityEngine_QualitySettings_get_particleRaycastBudget); - mono_add_internal_call("UnityEngine.QualitySettings::set_particleRaycastBudget",(void*) UnityEngine_QualitySettings_set_particleRaycastBudget); - mono_add_internal_call("UnityEngine.QualitySettings::get_softParticles",(void*) UnityEngine_QualitySettings_get_softParticles); - mono_add_internal_call("UnityEngine.QualitySettings::set_softParticles",(void*) UnityEngine_QualitySettings_set_softParticles); - mono_add_internal_call("UnityEngine.QualitySettings::get_softVegetation",(void*) UnityEngine_QualitySettings_get_softVegetation); - mono_add_internal_call("UnityEngine.QualitySettings::set_softVegetation",(void*) UnityEngine_QualitySettings_set_softVegetation); - mono_add_internal_call("UnityEngine.QualitySettings::get_vSyncCount",(void*) UnityEngine_QualitySettings_get_vSyncCount); - mono_add_internal_call("UnityEngine.QualitySettings::set_vSyncCount",(void*) UnityEngine_QualitySettings_set_vSyncCount); - mono_add_internal_call("UnityEngine.QualitySettings::get_antiAliasing",(void*) UnityEngine_QualitySettings_get_antiAliasing); - mono_add_internal_call("UnityEngine.QualitySettings::set_antiAliasing",(void*) UnityEngine_QualitySettings_set_antiAliasing); - mono_add_internal_call("UnityEngine.QualitySettings::get_asyncUploadTimeSlice",(void*) UnityEngine_QualitySettings_get_asyncUploadTimeSlice); - mono_add_internal_call("UnityEngine.QualitySettings::set_asyncUploadTimeSlice",(void*) UnityEngine_QualitySettings_set_asyncUploadTimeSlice); - mono_add_internal_call("UnityEngine.QualitySettings::get_asyncUploadBufferSize",(void*) UnityEngine_QualitySettings_get_asyncUploadBufferSize); - mono_add_internal_call("UnityEngine.QualitySettings::set_asyncUploadBufferSize",(void*) UnityEngine_QualitySettings_set_asyncUploadBufferSize); - mono_add_internal_call("UnityEngine.QualitySettings::get_asyncUploadPersistentBuffer",(void*) UnityEngine_QualitySettings_get_asyncUploadPersistentBuffer); - mono_add_internal_call("UnityEngine.QualitySettings::set_asyncUploadPersistentBuffer",(void*) UnityEngine_QualitySettings_set_asyncUploadPersistentBuffer); - mono_add_internal_call("UnityEngine.QualitySettings::get_realtimeReflectionProbes",(void*) UnityEngine_QualitySettings_get_realtimeReflectionProbes); - mono_add_internal_call("UnityEngine.QualitySettings::set_realtimeReflectionProbes",(void*) UnityEngine_QualitySettings_set_realtimeReflectionProbes); - mono_add_internal_call("UnityEngine.QualitySettings::get_billboardsFaceCameraPosition",(void*) UnityEngine_QualitySettings_get_billboardsFaceCameraPosition); - mono_add_internal_call("UnityEngine.QualitySettings::set_billboardsFaceCameraPosition",(void*) UnityEngine_QualitySettings_set_billboardsFaceCameraPosition); - mono_add_internal_call("UnityEngine.QualitySettings::get_resolutionScalingFixedDPIFactor",(void*) UnityEngine_QualitySettings_get_resolutionScalingFixedDPIFactor); - mono_add_internal_call("UnityEngine.QualitySettings::set_resolutionScalingFixedDPIFactor",(void*) UnityEngine_QualitySettings_set_resolutionScalingFixedDPIFactor); - mono_add_internal_call("UnityEngine.QualitySettings::get_INTERNAL_renderPipeline",(void*) UnityEngine_QualitySettings_get_INTERNAL_renderPipeline); - mono_add_internal_call("UnityEngine.QualitySettings::set_INTERNAL_renderPipeline",(void*) UnityEngine_QualitySettings_set_INTERNAL_renderPipeline); - mono_add_internal_call("UnityEngine.QualitySettings::InternalGetRenderPipelineAssetAt",(void*) UnityEngine_QualitySettings_InternalGetRenderPipelineAssetAt); - mono_add_internal_call("UnityEngine.QualitySettings::get_blendWeights",(void*) UnityEngine_QualitySettings_get_blendWeights); - mono_add_internal_call("UnityEngine.QualitySettings::set_blendWeights",(void*) UnityEngine_QualitySettings_set_blendWeights); - mono_add_internal_call("UnityEngine.QualitySettings::get_skinWeights",(void*) UnityEngine_QualitySettings_get_skinWeights); - mono_add_internal_call("UnityEngine.QualitySettings::set_skinWeights",(void*) UnityEngine_QualitySettings_set_skinWeights); - mono_add_internal_call("UnityEngine.QualitySettings::get_streamingMipmapsActive",(void*) UnityEngine_QualitySettings_get_streamingMipmapsActive); - mono_add_internal_call("UnityEngine.QualitySettings::set_streamingMipmapsActive",(void*) UnityEngine_QualitySettings_set_streamingMipmapsActive); - mono_add_internal_call("UnityEngine.QualitySettings::get_streamingMipmapsMemoryBudget",(void*) UnityEngine_QualitySettings_get_streamingMipmapsMemoryBudget); - mono_add_internal_call("UnityEngine.QualitySettings::set_streamingMipmapsMemoryBudget",(void*) UnityEngine_QualitySettings_set_streamingMipmapsMemoryBudget); - mono_add_internal_call("UnityEngine.QualitySettings::get_streamingMipmapsRenderersPerFrame",(void*) UnityEngine_QualitySettings_get_streamingMipmapsRenderersPerFrame); - mono_add_internal_call("UnityEngine.QualitySettings::get_streamingMipmapsMaxLevelReduction",(void*) UnityEngine_QualitySettings_get_streamingMipmapsMaxLevelReduction); - mono_add_internal_call("UnityEngine.QualitySettings::set_streamingMipmapsMaxLevelReduction",(void*) UnityEngine_QualitySettings_set_streamingMipmapsMaxLevelReduction); - mono_add_internal_call("UnityEngine.QualitySettings::get_streamingMipmapsAddAllCameras",(void*) UnityEngine_QualitySettings_get_streamingMipmapsAddAllCameras); - mono_add_internal_call("UnityEngine.QualitySettings::set_streamingMipmapsAddAllCameras",(void*) UnityEngine_QualitySettings_set_streamingMipmapsAddAllCameras); - mono_add_internal_call("UnityEngine.QualitySettings::get_streamingMipmapsMaxFileIORequests",(void*) UnityEngine_QualitySettings_get_streamingMipmapsMaxFileIORequests); - mono_add_internal_call("UnityEngine.QualitySettings::set_streamingMipmapsMaxFileIORequests",(void*) UnityEngine_QualitySettings_set_streamingMipmapsMaxFileIORequests); - mono_add_internal_call("UnityEngine.QualitySettings::get_maxQueuedFrames",(void*) UnityEngine_QualitySettings_get_maxQueuedFrames); - mono_add_internal_call("UnityEngine.QualitySettings::set_maxQueuedFrames",(void*) UnityEngine_QualitySettings_set_maxQueuedFrames); - mono_add_internal_call("UnityEngine.QualitySettings::GetQualityLevel",(void*) UnityEngine_QualitySettings_GetQualityLevel); - mono_add_internal_call("UnityEngine.QualitySettings::SetQualityLevel",(void*) UnityEngine_QualitySettings_SetQualityLevel); - mono_add_internal_call("UnityEngine.QualitySettings::get_names",(void*) UnityEngine_QualitySettings_get_names); - mono_add_internal_call("UnityEngine.QualitySettings::get_desiredColorSpace",(void*) UnityEngine_QualitySettings_get_desiredColorSpace); - mono_add_internal_call("UnityEngine.QualitySettings::get_activeColorSpace",(void*) UnityEngine_QualitySettings_get_activeColorSpace); - mono_add_internal_call("UnityEngine.QualitySettings::get_shadowCascade4Split_Injected",(void*) UnityEngine_QualitySettings_get_shadowCascade4Split_Injected); - mono_add_internal_call("UnityEngine.QualitySettings::set_shadowCascade4Split_Injected",(void*) UnityEngine_QualitySettings_set_shadowCascade4Split_Injected); - mono_add_internal_call("UnityEngine.RendererExtensions::UpdateGIMaterialsForRenderer",(void*) UnityEngine_RendererExtensions_UpdateGIMaterialsForRenderer); - mono_add_internal_call("UnityEngine.TrailRenderer::get_time",(void*) UnityEngine_TrailRenderer_get_time); - mono_add_internal_call("UnityEngine.TrailRenderer::set_time",(void*) UnityEngine_TrailRenderer_set_time); - mono_add_internal_call("UnityEngine.TrailRenderer::get_startWidth",(void*) UnityEngine_TrailRenderer_get_startWidth); - mono_add_internal_call("UnityEngine.TrailRenderer::set_startWidth",(void*) UnityEngine_TrailRenderer_set_startWidth); - mono_add_internal_call("UnityEngine.TrailRenderer::get_endWidth",(void*) UnityEngine_TrailRenderer_get_endWidth); - mono_add_internal_call("UnityEngine.TrailRenderer::set_endWidth",(void*) UnityEngine_TrailRenderer_set_endWidth); - mono_add_internal_call("UnityEngine.TrailRenderer::get_widthMultiplier",(void*) UnityEngine_TrailRenderer_get_widthMultiplier); - mono_add_internal_call("UnityEngine.TrailRenderer::set_widthMultiplier",(void*) UnityEngine_TrailRenderer_set_widthMultiplier); - mono_add_internal_call("UnityEngine.TrailRenderer::get_autodestruct",(void*) UnityEngine_TrailRenderer_get_autodestruct); - mono_add_internal_call("UnityEngine.TrailRenderer::set_autodestruct",(void*) UnityEngine_TrailRenderer_set_autodestruct); - mono_add_internal_call("UnityEngine.TrailRenderer::get_emitting",(void*) UnityEngine_TrailRenderer_get_emitting); - mono_add_internal_call("UnityEngine.TrailRenderer::set_emitting",(void*) UnityEngine_TrailRenderer_set_emitting); - mono_add_internal_call("UnityEngine.TrailRenderer::get_numCornerVertices",(void*) UnityEngine_TrailRenderer_get_numCornerVertices); - mono_add_internal_call("UnityEngine.TrailRenderer::set_numCornerVertices",(void*) UnityEngine_TrailRenderer_set_numCornerVertices); - mono_add_internal_call("UnityEngine.TrailRenderer::get_numCapVertices",(void*) UnityEngine_TrailRenderer_get_numCapVertices); - mono_add_internal_call("UnityEngine.TrailRenderer::set_numCapVertices",(void*) UnityEngine_TrailRenderer_set_numCapVertices); - mono_add_internal_call("UnityEngine.TrailRenderer::get_minVertexDistance",(void*) UnityEngine_TrailRenderer_get_minVertexDistance); - mono_add_internal_call("UnityEngine.TrailRenderer::set_minVertexDistance",(void*) UnityEngine_TrailRenderer_set_minVertexDistance); - mono_add_internal_call("UnityEngine.TrailRenderer::get_positionCount",(void*) UnityEngine_TrailRenderer_get_positionCount); - mono_add_internal_call("UnityEngine.TrailRenderer::get_shadowBias",(void*) UnityEngine_TrailRenderer_get_shadowBias); - mono_add_internal_call("UnityEngine.TrailRenderer::set_shadowBias",(void*) UnityEngine_TrailRenderer_set_shadowBias); - mono_add_internal_call("UnityEngine.TrailRenderer::get_generateLightingData",(void*) UnityEngine_TrailRenderer_get_generateLightingData); - mono_add_internal_call("UnityEngine.TrailRenderer::set_generateLightingData",(void*) UnityEngine_TrailRenderer_set_generateLightingData); - mono_add_internal_call("UnityEngine.TrailRenderer::get_textureMode",(void*) UnityEngine_TrailRenderer_get_textureMode); - mono_add_internal_call("UnityEngine.TrailRenderer::set_textureMode",(void*) UnityEngine_TrailRenderer_set_textureMode); - mono_add_internal_call("UnityEngine.TrailRenderer::get_alignment",(void*) UnityEngine_TrailRenderer_get_alignment); - mono_add_internal_call("UnityEngine.TrailRenderer::set_alignment",(void*) UnityEngine_TrailRenderer_set_alignment); - mono_add_internal_call("UnityEngine.TrailRenderer::Clear",(void*) UnityEngine_TrailRenderer_Clear); - mono_add_internal_call("UnityEngine.TrailRenderer::BakeMesh",(void*) UnityEngine_TrailRenderer_BakeMesh); - mono_add_internal_call("UnityEngine.TrailRenderer::GetWidthCurveCopy",(void*) UnityEngine_TrailRenderer_GetWidthCurveCopy); - mono_add_internal_call("UnityEngine.TrailRenderer::SetWidthCurve",(void*) UnityEngine_TrailRenderer_SetWidthCurve); - mono_add_internal_call("UnityEngine.TrailRenderer::GetColorGradientCopy",(void*) UnityEngine_TrailRenderer_GetColorGradientCopy); - mono_add_internal_call("UnityEngine.TrailRenderer::SetColorGradient",(void*) UnityEngine_TrailRenderer_SetColorGradient); - mono_add_internal_call("UnityEngine.TrailRenderer::GetPositions",(void*) UnityEngine_TrailRenderer_GetPositions); - mono_add_internal_call("UnityEngine.TrailRenderer::SetPositions",(void*) UnityEngine_TrailRenderer_SetPositions); - mono_add_internal_call("UnityEngine.TrailRenderer::AddPositions",(void*) UnityEngine_TrailRenderer_AddPositions); - mono_add_internal_call("UnityEngine.TrailRenderer::get_startColor_Injected",(void*) UnityEngine_TrailRenderer_get_startColor_Injected); - mono_add_internal_call("UnityEngine.TrailRenderer::set_startColor_Injected",(void*) UnityEngine_TrailRenderer_set_startColor_Injected); - mono_add_internal_call("UnityEngine.TrailRenderer::get_endColor_Injected",(void*) UnityEngine_TrailRenderer_get_endColor_Injected); - mono_add_internal_call("UnityEngine.TrailRenderer::set_endColor_Injected",(void*) UnityEngine_TrailRenderer_set_endColor_Injected); - mono_add_internal_call("UnityEngine.TrailRenderer::SetPosition_Injected",(void*) UnityEngine_TrailRenderer_SetPosition_Injected); - mono_add_internal_call("UnityEngine.TrailRenderer::GetPosition_Injected",(void*) UnityEngine_TrailRenderer_GetPosition_Injected); - mono_add_internal_call("UnityEngine.TrailRenderer::AddPosition_Injected",(void*) UnityEngine_TrailRenderer_AddPosition_Injected); - mono_add_internal_call("UnityEngine.LineRenderer::get_startWidth",(void*) UnityEngine_LineRenderer_get_startWidth_1); - mono_add_internal_call("UnityEngine.LineRenderer::set_startWidth",(void*) UnityEngine_LineRenderer_set_startWidth_1); - mono_add_internal_call("UnityEngine.LineRenderer::get_endWidth",(void*) UnityEngine_LineRenderer_get_endWidth_1); - mono_add_internal_call("UnityEngine.LineRenderer::set_endWidth",(void*) UnityEngine_LineRenderer_set_endWidth_1); - mono_add_internal_call("UnityEngine.LineRenderer::get_widthMultiplier",(void*) UnityEngine_LineRenderer_get_widthMultiplier_1); - mono_add_internal_call("UnityEngine.LineRenderer::set_widthMultiplier",(void*) UnityEngine_LineRenderer_set_widthMultiplier_1); - mono_add_internal_call("UnityEngine.LineRenderer::get_numCornerVertices",(void*) UnityEngine_LineRenderer_get_numCornerVertices_1); - mono_add_internal_call("UnityEngine.LineRenderer::set_numCornerVertices",(void*) UnityEngine_LineRenderer_set_numCornerVertices_1); - mono_add_internal_call("UnityEngine.LineRenderer::get_numCapVertices",(void*) UnityEngine_LineRenderer_get_numCapVertices_1); - mono_add_internal_call("UnityEngine.LineRenderer::set_numCapVertices",(void*) UnityEngine_LineRenderer_set_numCapVertices_1); - mono_add_internal_call("UnityEngine.LineRenderer::get_useWorldSpace",(void*) UnityEngine_LineRenderer_get_useWorldSpace); - mono_add_internal_call("UnityEngine.LineRenderer::set_useWorldSpace",(void*) UnityEngine_LineRenderer_set_useWorldSpace); - mono_add_internal_call("UnityEngine.LineRenderer::get_loop",(void*) UnityEngine_LineRenderer_get_loop); - mono_add_internal_call("UnityEngine.LineRenderer::set_loop",(void*) UnityEngine_LineRenderer_set_loop); - mono_add_internal_call("UnityEngine.LineRenderer::get_positionCount",(void*) UnityEngine_LineRenderer_get_positionCount_1); + mono_add_internal_call("UnityEngine.TrailRenderer::get_time",(void*) UnityEngine_TrailRenderer_get_time_1); + mono_add_internal_call("UnityEngine.TrailRenderer::set_time",(void*) UnityEngine_TrailRenderer_set_time_1); + mono_add_internal_call("UnityEngine.LineRenderer::set_widthMultiplier",(void*) UnityEngine_LineRenderer_set_widthMultiplier); mono_add_internal_call("UnityEngine.LineRenderer::set_positionCount",(void*) UnityEngine_LineRenderer_set_positionCount); - mono_add_internal_call("UnityEngine.LineRenderer::get_shadowBias",(void*) UnityEngine_LineRenderer_get_shadowBias_1); - mono_add_internal_call("UnityEngine.LineRenderer::set_shadowBias",(void*) UnityEngine_LineRenderer_set_shadowBias_1); - mono_add_internal_call("UnityEngine.LineRenderer::get_generateLightingData",(void*) UnityEngine_LineRenderer_get_generateLightingData_1); - mono_add_internal_call("UnityEngine.LineRenderer::set_generateLightingData",(void*) UnityEngine_LineRenderer_set_generateLightingData_1); - mono_add_internal_call("UnityEngine.LineRenderer::get_textureMode",(void*) UnityEngine_LineRenderer_get_textureMode_1); - mono_add_internal_call("UnityEngine.LineRenderer::set_textureMode",(void*) UnityEngine_LineRenderer_set_textureMode_1); - mono_add_internal_call("UnityEngine.LineRenderer::get_alignment",(void*) UnityEngine_LineRenderer_get_alignment_1); - mono_add_internal_call("UnityEngine.LineRenderer::set_alignment",(void*) UnityEngine_LineRenderer_set_alignment_1); - mono_add_internal_call("UnityEngine.LineRenderer::Simplify",(void*) UnityEngine_LineRenderer_Simplify); - mono_add_internal_call("UnityEngine.LineRenderer::BakeMesh",(void*) UnityEngine_LineRenderer_BakeMesh_1); - mono_add_internal_call("UnityEngine.LineRenderer::GetWidthCurveCopy",(void*) UnityEngine_LineRenderer_GetWidthCurveCopy_1); - mono_add_internal_call("UnityEngine.LineRenderer::SetWidthCurve",(void*) UnityEngine_LineRenderer_SetWidthCurve_1); - mono_add_internal_call("UnityEngine.LineRenderer::GetColorGradientCopy",(void*) UnityEngine_LineRenderer_GetColorGradientCopy_1); - mono_add_internal_call("UnityEngine.LineRenderer::SetColorGradient",(void*) UnityEngine_LineRenderer_SetColorGradient_1); - mono_add_internal_call("UnityEngine.LineRenderer::GetPositions",(void*) UnityEngine_LineRenderer_GetPositions_1); - mono_add_internal_call("UnityEngine.LineRenderer::SetPositions",(void*) UnityEngine_LineRenderer_SetPositions_1); - mono_add_internal_call("UnityEngine.LineRenderer::get_startColor_Injected",(void*) UnityEngine_LineRenderer_get_startColor_Injected_1); - mono_add_internal_call("UnityEngine.LineRenderer::set_startColor_Injected",(void*) UnityEngine_LineRenderer_set_startColor_Injected_1); - mono_add_internal_call("UnityEngine.LineRenderer::get_endColor_Injected",(void*) UnityEngine_LineRenderer_get_endColor_Injected_1); - mono_add_internal_call("UnityEngine.LineRenderer::set_endColor_Injected",(void*) UnityEngine_LineRenderer_set_endColor_Injected_1); - mono_add_internal_call("UnityEngine.LineRenderer::SetPosition_Injected",(void*) UnityEngine_LineRenderer_SetPosition_Injected_1); - mono_add_internal_call("UnityEngine.LineRenderer::GetPosition_Injected",(void*) UnityEngine_LineRenderer_GetPosition_Injected_1); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::GetFloatImpl",(void*) UnityEngine_MaterialPropertyBlock_GetFloatImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::GetTextureImpl",(void*) UnityEngine_MaterialPropertyBlock_GetTextureImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::SetFloatImpl",(void*) UnityEngine_MaterialPropertyBlock_SetFloatImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::SetTextureImpl",(void*) UnityEngine_MaterialPropertyBlock_SetTextureImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::SetRenderTextureImpl",(void*) UnityEngine_MaterialPropertyBlock_SetRenderTextureImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::SetFloatArrayImpl",(void*) UnityEngine_MaterialPropertyBlock_SetFloatArrayImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::SetVectorArrayImpl",(void*) UnityEngine_MaterialPropertyBlock_SetVectorArrayImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::SetMatrixArrayImpl",(void*) UnityEngine_MaterialPropertyBlock_SetMatrixArrayImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::GetFloatArrayImpl",(void*) UnityEngine_MaterialPropertyBlock_GetFloatArrayImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::GetVectorArrayImpl",(void*) UnityEngine_MaterialPropertyBlock_GetVectorArrayImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::GetMatrixArrayImpl",(void*) UnityEngine_MaterialPropertyBlock_GetMatrixArrayImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::GetFloatArrayCountImpl",(void*) UnityEngine_MaterialPropertyBlock_GetFloatArrayCountImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::GetVectorArrayCountImpl",(void*) UnityEngine_MaterialPropertyBlock_GetVectorArrayCountImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::GetMatrixArrayCountImpl",(void*) UnityEngine_MaterialPropertyBlock_GetMatrixArrayCountImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::ExtractFloatArrayImpl",(void*) UnityEngine_MaterialPropertyBlock_ExtractFloatArrayImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::ExtractVectorArrayImpl",(void*) UnityEngine_MaterialPropertyBlock_ExtractVectorArrayImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::ExtractMatrixArrayImpl",(void*) UnityEngine_MaterialPropertyBlock_ExtractMatrixArrayImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::Internal_CopySHCoefficientArraysFrom",(void*) UnityEngine_MaterialPropertyBlock_Internal_CopySHCoefficientArraysFrom); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::Internal_CopyProbeOcclusionArrayFrom",(void*) UnityEngine_MaterialPropertyBlock_Internal_CopyProbeOcclusionArrayFrom); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::CreateImpl",(void*) UnityEngine_MaterialPropertyBlock_CreateImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::DestroyImpl",(void*) UnityEngine_MaterialPropertyBlock_DestroyImpl); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::get_isEmpty",(void*) UnityEngine_MaterialPropertyBlock_get_isEmpty); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::Clear",(void*) UnityEngine_MaterialPropertyBlock_Clear_1); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::GetVectorImpl_Injected",(void*) UnityEngine_MaterialPropertyBlock_GetVectorImpl_Injected); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::GetColorImpl_Injected",(void*) UnityEngine_MaterialPropertyBlock_GetColorImpl_Injected); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::GetMatrixImpl_Injected",(void*) UnityEngine_MaterialPropertyBlock_GetMatrixImpl_Injected); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::SetVectorImpl_Injected",(void*) UnityEngine_MaterialPropertyBlock_SetVectorImpl_Injected); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::SetColorImpl_Injected",(void*) UnityEngine_MaterialPropertyBlock_SetColorImpl_Injected); - mono_add_internal_call("UnityEngine.MaterialPropertyBlock::SetMatrixImpl_Injected",(void*) UnityEngine_MaterialPropertyBlock_SetMatrixImpl_Injected); - mono_add_internal_call("UnityEngine.Renderer::GetMaterial",(void*) UnityEngine_Renderer_GetMaterial); - mono_add_internal_call("UnityEngine.Renderer::GetSharedMaterial",(void*) UnityEngine_Renderer_GetSharedMaterial); - mono_add_internal_call("UnityEngine.Renderer::SetMaterial",(void*) UnityEngine_Renderer_SetMaterial); - mono_add_internal_call("UnityEngine.Renderer::GetMaterialArray",(void*) UnityEngine_Renderer_GetMaterialArray); - mono_add_internal_call("UnityEngine.Renderer::CopyMaterialArray",(void*) UnityEngine_Renderer_CopyMaterialArray); - mono_add_internal_call("UnityEngine.Renderer::CopySharedMaterialArray",(void*) UnityEngine_Renderer_CopySharedMaterialArray); - mono_add_internal_call("UnityEngine.Renderer::SetMaterialArray",(void*) UnityEngine_Renderer_SetMaterialArray); - mono_add_internal_call("UnityEngine.Renderer::Internal_SetPropertyBlock",(void*) UnityEngine_Renderer_Internal_SetPropertyBlock); - mono_add_internal_call("UnityEngine.Renderer::Internal_GetPropertyBlock",(void*) UnityEngine_Renderer_Internal_GetPropertyBlock); - mono_add_internal_call("UnityEngine.Renderer::Internal_SetPropertyBlockMaterialIndex",(void*) UnityEngine_Renderer_Internal_SetPropertyBlockMaterialIndex); - mono_add_internal_call("UnityEngine.Renderer::Internal_GetPropertyBlockMaterialIndex",(void*) UnityEngine_Renderer_Internal_GetPropertyBlockMaterialIndex); - mono_add_internal_call("UnityEngine.Renderer::HasPropertyBlock",(void*) UnityEngine_Renderer_HasPropertyBlock); - mono_add_internal_call("UnityEngine.Renderer::GetClosestReflectionProbesInternal",(void*) UnityEngine_Renderer_GetClosestReflectionProbesInternal); + mono_add_internal_call("UnityEngine.LineRenderer::SetPosition_Injected",(void*) UnityEngine_LineRenderer_SetPosition_Injected); mono_add_internal_call("UnityEngine.Renderer::get_enabled",(void*) UnityEngine_Renderer_get_enabled_1); mono_add_internal_call("UnityEngine.Renderer::set_enabled",(void*) UnityEngine_Renderer_set_enabled_1); - mono_add_internal_call("UnityEngine.Renderer::get_isVisible",(void*) UnityEngine_Renderer_get_isVisible); mono_add_internal_call("UnityEngine.Renderer::get_shadowCastingMode",(void*) UnityEngine_Renderer_get_shadowCastingMode); mono_add_internal_call("UnityEngine.Renderer::set_shadowCastingMode",(void*) UnityEngine_Renderer_set_shadowCastingMode); mono_add_internal_call("UnityEngine.Renderer::get_receiveShadows",(void*) UnityEngine_Renderer_get_receiveShadows); mono_add_internal_call("UnityEngine.Renderer::set_receiveShadows",(void*) UnityEngine_Renderer_set_receiveShadows); - mono_add_internal_call("UnityEngine.Renderer::get_forceRenderingOff",(void*) UnityEngine_Renderer_get_forceRenderingOff); - mono_add_internal_call("UnityEngine.Renderer::set_forceRenderingOff",(void*) UnityEngine_Renderer_set_forceRenderingOff); mono_add_internal_call("UnityEngine.Renderer::get_motionVectorGenerationMode",(void*) UnityEngine_Renderer_get_motionVectorGenerationMode); mono_add_internal_call("UnityEngine.Renderer::set_motionVectorGenerationMode",(void*) UnityEngine_Renderer_set_motionVectorGenerationMode); mono_add_internal_call("UnityEngine.Renderer::get_lightProbeUsage",(void*) UnityEngine_Renderer_get_lightProbeUsage); mono_add_internal_call("UnityEngine.Renderer::set_lightProbeUsage",(void*) UnityEngine_Renderer_set_lightProbeUsage); mono_add_internal_call("UnityEngine.Renderer::get_reflectionProbeUsage",(void*) UnityEngine_Renderer_get_reflectionProbeUsage); mono_add_internal_call("UnityEngine.Renderer::set_reflectionProbeUsage",(void*) UnityEngine_Renderer_set_reflectionProbeUsage); - mono_add_internal_call("UnityEngine.Renderer::get_renderingLayerMask",(void*) UnityEngine_Renderer_get_renderingLayerMask); - mono_add_internal_call("UnityEngine.Renderer::set_renderingLayerMask",(void*) UnityEngine_Renderer_set_renderingLayerMask); - mono_add_internal_call("UnityEngine.Renderer::get_rendererPriority",(void*) UnityEngine_Renderer_get_rendererPriority); - mono_add_internal_call("UnityEngine.Renderer::set_rendererPriority",(void*) UnityEngine_Renderer_set_rendererPriority); - mono_add_internal_call("UnityEngine.Renderer::get_rayTracingMode",(void*) UnityEngine_Renderer_get_rayTracingMode); - mono_add_internal_call("UnityEngine.Renderer::set_rayTracingMode",(void*) UnityEngine_Renderer_set_rayTracingMode); - mono_add_internal_call("UnityEngine.Renderer::get_sortingLayerName",(void*) UnityEngine_Renderer_get_sortingLayerName); - mono_add_internal_call("UnityEngine.Renderer::set_sortingLayerName",(void*) UnityEngine_Renderer_set_sortingLayerName); mono_add_internal_call("UnityEngine.Renderer::get_sortingLayerID",(void*) UnityEngine_Renderer_get_sortingLayerID); mono_add_internal_call("UnityEngine.Renderer::set_sortingLayerID",(void*) UnityEngine_Renderer_set_sortingLayerID); mono_add_internal_call("UnityEngine.Renderer::get_sortingOrder",(void*) UnityEngine_Renderer_get_sortingOrder); mono_add_internal_call("UnityEngine.Renderer::set_sortingOrder",(void*) UnityEngine_Renderer_set_sortingOrder); - mono_add_internal_call("UnityEngine.Renderer::get_sortingGroupID",(void*) UnityEngine_Renderer_get_sortingGroupID); - mono_add_internal_call("UnityEngine.Renderer::set_sortingGroupID",(void*) UnityEngine_Renderer_set_sortingGroupID); - mono_add_internal_call("UnityEngine.Renderer::get_sortingGroupOrder",(void*) UnityEngine_Renderer_get_sortingGroupOrder); - mono_add_internal_call("UnityEngine.Renderer::set_sortingGroupOrder",(void*) UnityEngine_Renderer_set_sortingGroupOrder); - mono_add_internal_call("UnityEngine.Renderer::get_allowOcclusionWhenDynamic",(void*) UnityEngine_Renderer_get_allowOcclusionWhenDynamic); - mono_add_internal_call("UnityEngine.Renderer::set_allowOcclusionWhenDynamic",(void*) UnityEngine_Renderer_set_allowOcclusionWhenDynamic); - mono_add_internal_call("UnityEngine.Renderer::get_staticBatchRootTransform",(void*) UnityEngine_Renderer_get_staticBatchRootTransform); - mono_add_internal_call("UnityEngine.Renderer::set_staticBatchRootTransform",(void*) UnityEngine_Renderer_set_staticBatchRootTransform); - mono_add_internal_call("UnityEngine.Renderer::get_staticBatchIndex",(void*) UnityEngine_Renderer_get_staticBatchIndex); - mono_add_internal_call("UnityEngine.Renderer::SetStaticBatchInfo",(void*) UnityEngine_Renderer_SetStaticBatchInfo); - mono_add_internal_call("UnityEngine.Renderer::get_isPartOfStaticBatch",(void*) UnityEngine_Renderer_get_isPartOfStaticBatch); - mono_add_internal_call("UnityEngine.Renderer::get_lightProbeProxyVolumeOverride",(void*) UnityEngine_Renderer_get_lightProbeProxyVolumeOverride); - mono_add_internal_call("UnityEngine.Renderer::set_lightProbeProxyVolumeOverride",(void*) UnityEngine_Renderer_set_lightProbeProxyVolumeOverride); mono_add_internal_call("UnityEngine.Renderer::get_probeAnchor",(void*) UnityEngine_Renderer_get_probeAnchor); mono_add_internal_call("UnityEngine.Renderer::set_probeAnchor",(void*) UnityEngine_Renderer_set_probeAnchor); - mono_add_internal_call("UnityEngine.Renderer::GetLightmapIndex",(void*) UnityEngine_Renderer_GetLightmapIndex); - mono_add_internal_call("UnityEngine.Renderer::SetLightmapIndex",(void*) UnityEngine_Renderer_SetLightmapIndex); - mono_add_internal_call("UnityEngine.Renderer::GetMaterialCount",(void*) UnityEngine_Renderer_GetMaterialCount); - mono_add_internal_call("UnityEngine.Renderer::GetSharedMaterialArray",(void*) UnityEngine_Renderer_GetSharedMaterialArray); - mono_add_internal_call("UnityEngine.Renderer::get_bounds_Injected",(void*) UnityEngine_Renderer_get_bounds_Injected_1); - mono_add_internal_call("UnityEngine.Renderer::SetStaticLightmapST_Injected",(void*) UnityEngine_Renderer_SetStaticLightmapST_Injected); - mono_add_internal_call("UnityEngine.Renderer::get_worldToLocalMatrix_Injected",(void*) UnityEngine_Renderer_get_worldToLocalMatrix_Injected); - mono_add_internal_call("UnityEngine.Renderer::get_localToWorldMatrix_Injected",(void*) UnityEngine_Renderer_get_localToWorldMatrix_Injected); - mono_add_internal_call("UnityEngine.Renderer::GetLightmapST_Injected",(void*) UnityEngine_Renderer_GetLightmapST_Injected); - mono_add_internal_call("UnityEngine.Renderer::SetLightmapST_Injected",(void*) UnityEngine_Renderer_SetLightmapST_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::get_fog",(void*) UnityEngine_RenderSettings_get_fog); - mono_add_internal_call("UnityEngine.RenderSettings::set_fog",(void*) UnityEngine_RenderSettings_set_fog); - mono_add_internal_call("UnityEngine.RenderSettings::get_fogStartDistance",(void*) UnityEngine_RenderSettings_get_fogStartDistance); - mono_add_internal_call("UnityEngine.RenderSettings::set_fogStartDistance",(void*) UnityEngine_RenderSettings_set_fogStartDistance); - mono_add_internal_call("UnityEngine.RenderSettings::get_fogEndDistance",(void*) UnityEngine_RenderSettings_get_fogEndDistance); - mono_add_internal_call("UnityEngine.RenderSettings::set_fogEndDistance",(void*) UnityEngine_RenderSettings_set_fogEndDistance); - mono_add_internal_call("UnityEngine.RenderSettings::get_fogMode",(void*) UnityEngine_RenderSettings_get_fogMode); - mono_add_internal_call("UnityEngine.RenderSettings::set_fogMode",(void*) UnityEngine_RenderSettings_set_fogMode); - mono_add_internal_call("UnityEngine.RenderSettings::get_fogDensity",(void*) UnityEngine_RenderSettings_get_fogDensity); - mono_add_internal_call("UnityEngine.RenderSettings::set_fogDensity",(void*) UnityEngine_RenderSettings_set_fogDensity); - mono_add_internal_call("UnityEngine.RenderSettings::get_ambientMode",(void*) UnityEngine_RenderSettings_get_ambientMode); - mono_add_internal_call("UnityEngine.RenderSettings::set_ambientMode",(void*) UnityEngine_RenderSettings_set_ambientMode); - mono_add_internal_call("UnityEngine.RenderSettings::get_ambientIntensity",(void*) UnityEngine_RenderSettings_get_ambientIntensity); - mono_add_internal_call("UnityEngine.RenderSettings::set_ambientIntensity",(void*) UnityEngine_RenderSettings_set_ambientIntensity); - mono_add_internal_call("UnityEngine.RenderSettings::get_skybox",(void*) UnityEngine_RenderSettings_get_skybox); - mono_add_internal_call("UnityEngine.RenderSettings::set_skybox",(void*) UnityEngine_RenderSettings_set_skybox); - mono_add_internal_call("UnityEngine.RenderSettings::get_sun",(void*) UnityEngine_RenderSettings_get_sun); - mono_add_internal_call("UnityEngine.RenderSettings::set_sun",(void*) UnityEngine_RenderSettings_set_sun); - mono_add_internal_call("UnityEngine.RenderSettings::get_customReflection",(void*) UnityEngine_RenderSettings_get_customReflection); - mono_add_internal_call("UnityEngine.RenderSettings::set_customReflection",(void*) UnityEngine_RenderSettings_set_customReflection); - mono_add_internal_call("UnityEngine.RenderSettings::get_reflectionIntensity",(void*) UnityEngine_RenderSettings_get_reflectionIntensity); - mono_add_internal_call("UnityEngine.RenderSettings::set_reflectionIntensity",(void*) UnityEngine_RenderSettings_set_reflectionIntensity); - mono_add_internal_call("UnityEngine.RenderSettings::get_reflectionBounces",(void*) UnityEngine_RenderSettings_get_reflectionBounces); - mono_add_internal_call("UnityEngine.RenderSettings::set_reflectionBounces",(void*) UnityEngine_RenderSettings_set_reflectionBounces); - mono_add_internal_call("UnityEngine.RenderSettings::get_defaultReflectionMode",(void*) UnityEngine_RenderSettings_get_defaultReflectionMode); - mono_add_internal_call("UnityEngine.RenderSettings::set_defaultReflectionMode",(void*) UnityEngine_RenderSettings_set_defaultReflectionMode); - mono_add_internal_call("UnityEngine.RenderSettings::get_defaultReflectionResolution",(void*) UnityEngine_RenderSettings_get_defaultReflectionResolution); - mono_add_internal_call("UnityEngine.RenderSettings::set_defaultReflectionResolution",(void*) UnityEngine_RenderSettings_set_defaultReflectionResolution); - mono_add_internal_call("UnityEngine.RenderSettings::get_haloStrength",(void*) UnityEngine_RenderSettings_get_haloStrength); - mono_add_internal_call("UnityEngine.RenderSettings::set_haloStrength",(void*) UnityEngine_RenderSettings_set_haloStrength); - mono_add_internal_call("UnityEngine.RenderSettings::get_flareStrength",(void*) UnityEngine_RenderSettings_get_flareStrength); - mono_add_internal_call("UnityEngine.RenderSettings::set_flareStrength",(void*) UnityEngine_RenderSettings_set_flareStrength); - mono_add_internal_call("UnityEngine.RenderSettings::get_flareFadeSpeed",(void*) UnityEngine_RenderSettings_get_flareFadeSpeed); - mono_add_internal_call("UnityEngine.RenderSettings::set_flareFadeSpeed",(void*) UnityEngine_RenderSettings_set_flareFadeSpeed); - mono_add_internal_call("UnityEngine.RenderSettings::GetRenderSettings",(void*) UnityEngine_RenderSettings_GetRenderSettings); - mono_add_internal_call("UnityEngine.RenderSettings::Reset",(void*) UnityEngine_RenderSettings_Reset_3); - mono_add_internal_call("UnityEngine.RenderSettings::get_fogColor_Injected",(void*) UnityEngine_RenderSettings_get_fogColor_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::set_fogColor_Injected",(void*) UnityEngine_RenderSettings_set_fogColor_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::get_ambientSkyColor_Injected",(void*) UnityEngine_RenderSettings_get_ambientSkyColor_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::set_ambientSkyColor_Injected",(void*) UnityEngine_RenderSettings_set_ambientSkyColor_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::get_ambientEquatorColor_Injected",(void*) UnityEngine_RenderSettings_get_ambientEquatorColor_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::set_ambientEquatorColor_Injected",(void*) UnityEngine_RenderSettings_set_ambientEquatorColor_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::get_ambientGroundColor_Injected",(void*) UnityEngine_RenderSettings_get_ambientGroundColor_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::set_ambientGroundColor_Injected",(void*) UnityEngine_RenderSettings_set_ambientGroundColor_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::get_ambientLight_Injected",(void*) UnityEngine_RenderSettings_get_ambientLight_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::set_ambientLight_Injected",(void*) UnityEngine_RenderSettings_set_ambientLight_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::get_subtractiveShadowColor_Injected",(void*) UnityEngine_RenderSettings_get_subtractiveShadowColor_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::set_subtractiveShadowColor_Injected",(void*) UnityEngine_RenderSettings_set_subtractiveShadowColor_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::get_ambientProbe_Injected",(void*) UnityEngine_RenderSettings_get_ambientProbe_Injected); - mono_add_internal_call("UnityEngine.RenderSettings::set_ambientProbe_Injected",(void*) UnityEngine_RenderSettings_set_ambientProbe_Injected); - mono_add_internal_call("UnityEngine.Shader::Find",(void*) UnityEngine_Shader_Find); - mono_add_internal_call("UnityEngine.Shader::FindBuiltin",(void*) UnityEngine_Shader_FindBuiltin); - mono_add_internal_call("UnityEngine.Shader::get_maximumLOD",(void*) UnityEngine_Shader_get_maximumLOD); - mono_add_internal_call("UnityEngine.Shader::set_maximumLOD",(void*) UnityEngine_Shader_set_maximumLOD); - mono_add_internal_call("UnityEngine.Shader::get_globalMaximumLOD",(void*) UnityEngine_Shader_get_globalMaximumLOD); - mono_add_internal_call("UnityEngine.Shader::set_globalMaximumLOD",(void*) UnityEngine_Shader_set_globalMaximumLOD); - mono_add_internal_call("UnityEngine.Shader::get_isSupported",(void*) UnityEngine_Shader_get_isSupported); - mono_add_internal_call("UnityEngine.Shader::get_globalRenderPipeline",(void*) UnityEngine_Shader_get_globalRenderPipeline); - mono_add_internal_call("UnityEngine.Shader::set_globalRenderPipeline",(void*) UnityEngine_Shader_set_globalRenderPipeline); - mono_add_internal_call("UnityEngine.Shader::EnableKeyword",(void*) UnityEngine_Shader_EnableKeyword); - mono_add_internal_call("UnityEngine.Shader::DisableKeyword",(void*) UnityEngine_Shader_DisableKeyword); - mono_add_internal_call("UnityEngine.Shader::IsKeywordEnabled",(void*) UnityEngine_Shader_IsKeywordEnabled); - mono_add_internal_call("UnityEngine.Shader::get_renderQueue",(void*) UnityEngine_Shader_get_renderQueue); - mono_add_internal_call("UnityEngine.Shader::get_disableBatching",(void*) UnityEngine_Shader_get_disableBatching); - mono_add_internal_call("UnityEngine.Shader::WarmupAllShaders",(void*) UnityEngine_Shader_WarmupAllShaders); - mono_add_internal_call("UnityEngine.Shader::TagToID",(void*) UnityEngine_Shader_TagToID); - mono_add_internal_call("UnityEngine.Shader::IDToTag",(void*) UnityEngine_Shader_IDToTag); - mono_add_internal_call("UnityEngine.Shader::PropertyToID",(void*) UnityEngine_Shader_PropertyToID); - mono_add_internal_call("UnityEngine.Shader::GetDependency",(void*) UnityEngine_Shader_GetDependency); - mono_add_internal_call("UnityEngine.Shader::get_passCount",(void*) UnityEngine_Shader_get_passCount); - mono_add_internal_call("UnityEngine.Shader::Internal_FindPassTagValue",(void*) UnityEngine_Shader_Internal_FindPassTagValue); - mono_add_internal_call("UnityEngine.Shader::SetGlobalFloatImpl",(void*) UnityEngine_Shader_SetGlobalFloatImpl); - mono_add_internal_call("UnityEngine.Shader::SetGlobalTextureImpl",(void*) UnityEngine_Shader_SetGlobalTextureImpl); - mono_add_internal_call("UnityEngine.Shader::SetGlobalRenderTextureImpl",(void*) UnityEngine_Shader_SetGlobalRenderTextureImpl); - mono_add_internal_call("UnityEngine.Shader::GetGlobalFloatImpl",(void*) UnityEngine_Shader_GetGlobalFloatImpl); - mono_add_internal_call("UnityEngine.Shader::GetGlobalTextureImpl",(void*) UnityEngine_Shader_GetGlobalTextureImpl); - mono_add_internal_call("UnityEngine.Shader::SetGlobalFloatArrayImpl",(void*) UnityEngine_Shader_SetGlobalFloatArrayImpl); - mono_add_internal_call("UnityEngine.Shader::SetGlobalVectorArrayImpl",(void*) UnityEngine_Shader_SetGlobalVectorArrayImpl); - mono_add_internal_call("UnityEngine.Shader::SetGlobalMatrixArrayImpl",(void*) UnityEngine_Shader_SetGlobalMatrixArrayImpl); - mono_add_internal_call("UnityEngine.Shader::GetGlobalFloatArrayImpl",(void*) UnityEngine_Shader_GetGlobalFloatArrayImpl); - mono_add_internal_call("UnityEngine.Shader::GetGlobalVectorArrayImpl",(void*) UnityEngine_Shader_GetGlobalVectorArrayImpl); - mono_add_internal_call("UnityEngine.Shader::GetGlobalMatrixArrayImpl",(void*) UnityEngine_Shader_GetGlobalMatrixArrayImpl); - mono_add_internal_call("UnityEngine.Shader::GetGlobalFloatArrayCountImpl",(void*) UnityEngine_Shader_GetGlobalFloatArrayCountImpl); - mono_add_internal_call("UnityEngine.Shader::GetGlobalVectorArrayCountImpl",(void*) UnityEngine_Shader_GetGlobalVectorArrayCountImpl); - mono_add_internal_call("UnityEngine.Shader::GetGlobalMatrixArrayCountImpl",(void*) UnityEngine_Shader_GetGlobalMatrixArrayCountImpl); - mono_add_internal_call("UnityEngine.Shader::ExtractGlobalFloatArrayImpl",(void*) UnityEngine_Shader_ExtractGlobalFloatArrayImpl); - mono_add_internal_call("UnityEngine.Shader::ExtractGlobalVectorArrayImpl",(void*) UnityEngine_Shader_ExtractGlobalVectorArrayImpl); - mono_add_internal_call("UnityEngine.Shader::ExtractGlobalMatrixArrayImpl",(void*) UnityEngine_Shader_ExtractGlobalMatrixArrayImpl); - mono_add_internal_call("UnityEngine.Shader::GetPropertyName",(void*) UnityEngine_Shader_GetPropertyName); - mono_add_internal_call("UnityEngine.Shader::GetPropertyNameId",(void*) UnityEngine_Shader_GetPropertyNameId); - mono_add_internal_call("UnityEngine.Shader::GetPropertyType",(void*) UnityEngine_Shader_GetPropertyType); - mono_add_internal_call("UnityEngine.Shader::GetPropertyDescription",(void*) UnityEngine_Shader_GetPropertyDescription); - mono_add_internal_call("UnityEngine.Shader::GetPropertyFlags",(void*) UnityEngine_Shader_GetPropertyFlags); - mono_add_internal_call("UnityEngine.Shader::GetPropertyAttributes",(void*) UnityEngine_Shader_GetPropertyAttributes); - mono_add_internal_call("UnityEngine.Shader::GetPropertyTextureDimension",(void*) UnityEngine_Shader_GetPropertyTextureDimension); - mono_add_internal_call("UnityEngine.Shader::GetPropertyTextureDefaultName",(void*) UnityEngine_Shader_GetPropertyTextureDefaultName); - mono_add_internal_call("UnityEngine.Shader::GetPropertyCount",(void*) UnityEngine_Shader_GetPropertyCount); - mono_add_internal_call("UnityEngine.Shader::FindPropertyIndex",(void*) UnityEngine_Shader_FindPropertyIndex); - mono_add_internal_call("UnityEngine.Shader::SetGlobalVectorImpl_Injected",(void*) UnityEngine_Shader_SetGlobalVectorImpl_Injected); - mono_add_internal_call("UnityEngine.Shader::SetGlobalMatrixImpl_Injected",(void*) UnityEngine_Shader_SetGlobalMatrixImpl_Injected); - mono_add_internal_call("UnityEngine.Shader::GetGlobalVectorImpl_Injected",(void*) UnityEngine_Shader_GetGlobalVectorImpl_Injected); - mono_add_internal_call("UnityEngine.Shader::GetGlobalMatrixImpl_Injected",(void*) UnityEngine_Shader_GetGlobalMatrixImpl_Injected); - mono_add_internal_call("UnityEngine.Shader::GetPropertyDefaultValue_Injected",(void*) UnityEngine_Shader_GetPropertyDefaultValue_Injected); - mono_add_internal_call("UnityEngine.Material::CreateWithShader",(void*) UnityEngine_Material_CreateWithShader); - mono_add_internal_call("UnityEngine.Material::CreateWithMaterial",(void*) UnityEngine_Material_CreateWithMaterial); - mono_add_internal_call("UnityEngine.Material::CreateWithString",(void*) UnityEngine_Material_CreateWithString); - mono_add_internal_call("UnityEngine.Material::GetDefaultMaterial",(void*) UnityEngine_Material_GetDefaultMaterial); - mono_add_internal_call("UnityEngine.Material::GetDefaultParticleMaterial",(void*) UnityEngine_Material_GetDefaultParticleMaterial); - mono_add_internal_call("UnityEngine.Material::GetDefaultLineMaterial",(void*) UnityEngine_Material_GetDefaultLineMaterial); - mono_add_internal_call("UnityEngine.Material::get_shader",(void*) UnityEngine_Material_get_shader); - mono_add_internal_call("UnityEngine.Material::set_shader",(void*) UnityEngine_Material_set_shader); - mono_add_internal_call("UnityEngine.Material::GetFirstPropertyNameIdByAttribute",(void*) UnityEngine_Material_GetFirstPropertyNameIdByAttribute); - mono_add_internal_call("UnityEngine.Material::HasProperty",(void*) UnityEngine_Material_HasProperty); - mono_add_internal_call("UnityEngine.Material::get_renderQueue",(void*) UnityEngine_Material_get_renderQueue_1); - mono_add_internal_call("UnityEngine.Material::set_renderQueue",(void*) UnityEngine_Material_set_renderQueue); - mono_add_internal_call("UnityEngine.Material::get_rawRenderQueue",(void*) UnityEngine_Material_get_rawRenderQueue); - mono_add_internal_call("UnityEngine.Material::EnableKeyword",(void*) UnityEngine_Material_EnableKeyword_1); - mono_add_internal_call("UnityEngine.Material::DisableKeyword",(void*) UnityEngine_Material_DisableKeyword_1); - mono_add_internal_call("UnityEngine.Material::IsKeywordEnabled",(void*) UnityEngine_Material_IsKeywordEnabled_1); - mono_add_internal_call("UnityEngine.Material::get_globalIlluminationFlags",(void*) UnityEngine_Material_get_globalIlluminationFlags); - mono_add_internal_call("UnityEngine.Material::set_globalIlluminationFlags",(void*) UnityEngine_Material_set_globalIlluminationFlags); - mono_add_internal_call("UnityEngine.Material::get_doubleSidedGI",(void*) UnityEngine_Material_get_doubleSidedGI); - mono_add_internal_call("UnityEngine.Material::set_doubleSidedGI",(void*) UnityEngine_Material_set_doubleSidedGI); - mono_add_internal_call("UnityEngine.Material::get_enableInstancing",(void*) UnityEngine_Material_get_enableInstancing); - mono_add_internal_call("UnityEngine.Material::set_enableInstancing",(void*) UnityEngine_Material_set_enableInstancing); - mono_add_internal_call("UnityEngine.Material::get_passCount",(void*) UnityEngine_Material_get_passCount_1); - mono_add_internal_call("UnityEngine.Material::SetShaderPassEnabled",(void*) UnityEngine_Material_SetShaderPassEnabled); - mono_add_internal_call("UnityEngine.Material::GetShaderPassEnabled",(void*) UnityEngine_Material_GetShaderPassEnabled); - mono_add_internal_call("UnityEngine.Material::GetPassName",(void*) UnityEngine_Material_GetPassName); - mono_add_internal_call("UnityEngine.Material::FindPass",(void*) UnityEngine_Material_FindPass); - mono_add_internal_call("UnityEngine.Material::SetOverrideTag",(void*) UnityEngine_Material_SetOverrideTag); - mono_add_internal_call("UnityEngine.Material::GetTagImpl",(void*) UnityEngine_Material_GetTagImpl); - mono_add_internal_call("UnityEngine.Material::Lerp",(void*) UnityEngine_Material_Lerp); - mono_add_internal_call("UnityEngine.Material::SetPass",(void*) UnityEngine_Material_SetPass); - mono_add_internal_call("UnityEngine.Material::CopyPropertiesFromMaterial",(void*) UnityEngine_Material_CopyPropertiesFromMaterial); - mono_add_internal_call("UnityEngine.Material::GetShaderKeywords",(void*) UnityEngine_Material_GetShaderKeywords); - mono_add_internal_call("UnityEngine.Material::SetShaderKeywords",(void*) UnityEngine_Material_SetShaderKeywords); - mono_add_internal_call("UnityEngine.Material::ComputeCRC",(void*) UnityEngine_Material_ComputeCRC); - mono_add_internal_call("UnityEngine.Material::GetTexturePropertyNames",(void*) UnityEngine_Material_GetTexturePropertyNames); - mono_add_internal_call("UnityEngine.Material::GetTexturePropertyNameIDs",(void*) UnityEngine_Material_GetTexturePropertyNameIDs); - mono_add_internal_call("UnityEngine.Material::GetTexturePropertyNamesInternal",(void*) UnityEngine_Material_GetTexturePropertyNamesInternal); - mono_add_internal_call("UnityEngine.Material::GetTexturePropertyNameIDsInternal",(void*) UnityEngine_Material_GetTexturePropertyNameIDsInternal); - mono_add_internal_call("UnityEngine.Material::SetFloatImpl",(void*) UnityEngine_Material_SetFloatImpl_1); - mono_add_internal_call("UnityEngine.Material::SetTextureImpl",(void*) UnityEngine_Material_SetTextureImpl_1); - mono_add_internal_call("UnityEngine.Material::SetRenderTextureImpl",(void*) UnityEngine_Material_SetRenderTextureImpl_1); - mono_add_internal_call("UnityEngine.Material::GetFloatImpl",(void*) UnityEngine_Material_GetFloatImpl_1); - mono_add_internal_call("UnityEngine.Material::GetTextureImpl",(void*) UnityEngine_Material_GetTextureImpl_1); - mono_add_internal_call("UnityEngine.Material::SetFloatArrayImpl",(void*) UnityEngine_Material_SetFloatArrayImpl_1); - mono_add_internal_call("UnityEngine.Material::SetVectorArrayImpl",(void*) UnityEngine_Material_SetVectorArrayImpl_1); - mono_add_internal_call("UnityEngine.Material::SetColorArrayImpl",(void*) UnityEngine_Material_SetColorArrayImpl); - mono_add_internal_call("UnityEngine.Material::SetMatrixArrayImpl",(void*) UnityEngine_Material_SetMatrixArrayImpl_1); - mono_add_internal_call("UnityEngine.Material::GetFloatArrayImpl",(void*) UnityEngine_Material_GetFloatArrayImpl_1); - mono_add_internal_call("UnityEngine.Material::GetVectorArrayImpl",(void*) UnityEngine_Material_GetVectorArrayImpl_1); - mono_add_internal_call("UnityEngine.Material::GetColorArrayImpl",(void*) UnityEngine_Material_GetColorArrayImpl); - mono_add_internal_call("UnityEngine.Material::GetMatrixArrayImpl",(void*) UnityEngine_Material_GetMatrixArrayImpl_1); - mono_add_internal_call("UnityEngine.Material::GetFloatArrayCountImpl",(void*) UnityEngine_Material_GetFloatArrayCountImpl_1); - mono_add_internal_call("UnityEngine.Material::GetVectorArrayCountImpl",(void*) UnityEngine_Material_GetVectorArrayCountImpl_1); - mono_add_internal_call("UnityEngine.Material::GetColorArrayCountImpl",(void*) UnityEngine_Material_GetColorArrayCountImpl); - mono_add_internal_call("UnityEngine.Material::GetMatrixArrayCountImpl",(void*) UnityEngine_Material_GetMatrixArrayCountImpl_1); - mono_add_internal_call("UnityEngine.Material::ExtractFloatArrayImpl",(void*) UnityEngine_Material_ExtractFloatArrayImpl_1); - mono_add_internal_call("UnityEngine.Material::ExtractVectorArrayImpl",(void*) UnityEngine_Material_ExtractVectorArrayImpl_1); - mono_add_internal_call("UnityEngine.Material::ExtractColorArrayImpl",(void*) UnityEngine_Material_ExtractColorArrayImpl); - mono_add_internal_call("UnityEngine.Material::ExtractMatrixArrayImpl",(void*) UnityEngine_Material_ExtractMatrixArrayImpl_1); - mono_add_internal_call("UnityEngine.Material::SetColorImpl_Injected",(void*) UnityEngine_Material_SetColorImpl_Injected_1); - mono_add_internal_call("UnityEngine.Material::SetMatrixImpl_Injected",(void*) UnityEngine_Material_SetMatrixImpl_Injected_1); - mono_add_internal_call("UnityEngine.Material::GetColorImpl_Injected",(void*) UnityEngine_Material_GetColorImpl_Injected_1); - mono_add_internal_call("UnityEngine.Material::GetMatrixImpl_Injected",(void*) UnityEngine_Material_GetMatrixImpl_Injected_1); - mono_add_internal_call("UnityEngine.Material::GetTextureScaleAndOffsetImpl_Injected",(void*) UnityEngine_Material_GetTextureScaleAndOffsetImpl_Injected); - mono_add_internal_call("UnityEngine.Material::SetTextureOffsetImpl_Injected",(void*) UnityEngine_Material_SetTextureOffsetImpl_Injected); - mono_add_internal_call("UnityEngine.Material::SetTextureScaleImpl_Injected",(void*) UnityEngine_Material_SetTextureScaleImpl_Injected); - mono_add_internal_call("UnityEngine.GraphicsBuffer::InitBuffer",(void*) UnityEngine_GraphicsBuffer_InitBuffer); - mono_add_internal_call("UnityEngine.GraphicsBuffer::DestroyBuffer",(void*) UnityEngine_GraphicsBuffer_DestroyBuffer); - mono_add_internal_call("UnityEngine.GraphicsBuffer::get_count",(void*) UnityEngine_GraphicsBuffer_get_count_1); - mono_add_internal_call("UnityEngine.GraphicsBuffer::get_stride",(void*) UnityEngine_GraphicsBuffer_get_stride); - mono_add_internal_call("UnityEngine.GraphicsBuffer::InternalSetNativeData",(void*) UnityEngine_GraphicsBuffer_InternalSetNativeData); - mono_add_internal_call("UnityEngine.GraphicsBuffer::InternalSetData",(void*) UnityEngine_GraphicsBuffer_InternalSetData); - mono_add_internal_call("UnityEngine.GraphicsBuffer::GetNativeBufferPtr",(void*) UnityEngine_GraphicsBuffer_GetNativeBufferPtr); - mono_add_internal_call("UnityEngine.OcclusionPortal::get_open",(void*) UnityEngine_OcclusionPortal_get_open); - mono_add_internal_call("UnityEngine.OcclusionPortal::set_open",(void*) UnityEngine_OcclusionPortal_set_open); - mono_add_internal_call("UnityEngine.OcclusionArea::get_center_Injected",(void*) UnityEngine_OcclusionArea_get_center_Injected_1); - mono_add_internal_call("UnityEngine.OcclusionArea::set_center_Injected",(void*) UnityEngine_OcclusionArea_set_center_Injected_1); - mono_add_internal_call("UnityEngine.OcclusionArea::get_size_Injected",(void*) UnityEngine_OcclusionArea_get_size_Injected_1); - mono_add_internal_call("UnityEngine.OcclusionArea::set_size_Injected",(void*) UnityEngine_OcclusionArea_set_size_Injected_1); - mono_add_internal_call("UnityEngine.Flare::Internal_Create",(void*) UnityEngine_Flare_Internal_Create_3); - mono_add_internal_call("UnityEngine.LensFlare::get_brightness",(void*) UnityEngine_LensFlare_get_brightness_1); - mono_add_internal_call("UnityEngine.LensFlare::set_brightness",(void*) UnityEngine_LensFlare_set_brightness_1); - mono_add_internal_call("UnityEngine.LensFlare::get_fadeSpeed",(void*) UnityEngine_LensFlare_get_fadeSpeed); - mono_add_internal_call("UnityEngine.LensFlare::set_fadeSpeed",(void*) UnityEngine_LensFlare_set_fadeSpeed); - mono_add_internal_call("UnityEngine.LensFlare::get_flare",(void*) UnityEngine_LensFlare_get_flare); - mono_add_internal_call("UnityEngine.LensFlare::set_flare",(void*) UnityEngine_LensFlare_set_flare); - mono_add_internal_call("UnityEngine.LensFlare::get_color_Injected",(void*) UnityEngine_LensFlare_get_color_Injected_1); - mono_add_internal_call("UnityEngine.LensFlare::set_color_Injected",(void*) UnityEngine_LensFlare_set_color_Injected_1); - mono_add_internal_call("UnityEngine.Projector::get_nearClipPlane",(void*) UnityEngine_Projector_get_nearClipPlane_2); - mono_add_internal_call("UnityEngine.Projector::set_nearClipPlane",(void*) UnityEngine_Projector_set_nearClipPlane_2); - mono_add_internal_call("UnityEngine.Projector::get_farClipPlane",(void*) UnityEngine_Projector_get_farClipPlane_2); - mono_add_internal_call("UnityEngine.Projector::set_farClipPlane",(void*) UnityEngine_Projector_set_farClipPlane_2); - mono_add_internal_call("UnityEngine.Projector::get_fieldOfView",(void*) UnityEngine_Projector_get_fieldOfView_1); - mono_add_internal_call("UnityEngine.Projector::set_fieldOfView",(void*) UnityEngine_Projector_set_fieldOfView_1); - mono_add_internal_call("UnityEngine.Projector::get_aspectRatio",(void*) UnityEngine_Projector_get_aspectRatio); - mono_add_internal_call("UnityEngine.Projector::set_aspectRatio",(void*) UnityEngine_Projector_set_aspectRatio); - mono_add_internal_call("UnityEngine.Projector::get_orthographic",(void*) UnityEngine_Projector_get_orthographic_1); + mono_add_internal_call("UnityEngine.Renderer::Internal_SetPropertyBlock",(void*) UnityEngine_Renderer_Internal_SetPropertyBlock); + mono_add_internal_call("UnityEngine.Renderer::Internal_GetPropertyBlock",(void*) UnityEngine_Renderer_Internal_GetPropertyBlock); mono_add_internal_call("UnityEngine.Projector::set_orthographic",(void*) UnityEngine_Projector_set_orthographic_1); - mono_add_internal_call("UnityEngine.Projector::get_orthographicSize",(void*) UnityEngine_Projector_get_orthographicSize_1); mono_add_internal_call("UnityEngine.Projector::set_orthographicSize",(void*) UnityEngine_Projector_set_orthographicSize_1); - mono_add_internal_call("UnityEngine.Projector::get_ignoreLayers",(void*) UnityEngine_Projector_get_ignoreLayers); mono_add_internal_call("UnityEngine.Projector::set_ignoreLayers",(void*) UnityEngine_Projector_set_ignoreLayers); - mono_add_internal_call("UnityEngine.Projector::get_material",(void*) UnityEngine_Projector_get_material_1); - mono_add_internal_call("UnityEngine.Projector::set_material",(void*) UnityEngine_Projector_set_material_1); - mono_add_internal_call("UnityEngine.Light::get_type",(void*) UnityEngine_Light_get_type_1); - mono_add_internal_call("UnityEngine.Light::set_type",(void*) UnityEngine_Light_set_type_1); - mono_add_internal_call("UnityEngine.Light::get_shape",(void*) UnityEngine_Light_get_shape); - mono_add_internal_call("UnityEngine.Light::set_shape",(void*) UnityEngine_Light_set_shape); + mono_add_internal_call("UnityEngine.Projector::get_material",(void*) UnityEngine_Projector_get_material); + mono_add_internal_call("UnityEngine.Projector::set_material",(void*) UnityEngine_Projector_set_material); + mono_add_internal_call("UnityEngine.Light::get_type",(void*) UnityEngine_Light_get_type); mono_add_internal_call("UnityEngine.Light::get_spotAngle",(void*) UnityEngine_Light_get_spotAngle); - mono_add_internal_call("UnityEngine.Light::set_spotAngle",(void*) UnityEngine_Light_set_spotAngle); - mono_add_internal_call("UnityEngine.Light::get_innerSpotAngle",(void*) UnityEngine_Light_get_innerSpotAngle); - mono_add_internal_call("UnityEngine.Light::set_innerSpotAngle",(void*) UnityEngine_Light_set_innerSpotAngle); - mono_add_internal_call("UnityEngine.Light::get_colorTemperature",(void*) UnityEngine_Light_get_colorTemperature); - mono_add_internal_call("UnityEngine.Light::set_colorTemperature",(void*) UnityEngine_Light_set_colorTemperature); - mono_add_internal_call("UnityEngine.Light::get_useColorTemperature",(void*) UnityEngine_Light_get_useColorTemperature); - mono_add_internal_call("UnityEngine.Light::set_useColorTemperature",(void*) UnityEngine_Light_set_useColorTemperature); - mono_add_internal_call("UnityEngine.Light::get_intensity",(void*) UnityEngine_Light_get_intensity_1); - mono_add_internal_call("UnityEngine.Light::set_intensity",(void*) UnityEngine_Light_set_intensity_1); + mono_add_internal_call("UnityEngine.Light::get_intensity",(void*) UnityEngine_Light_get_intensity); mono_add_internal_call("UnityEngine.Light::get_bounceIntensity",(void*) UnityEngine_Light_get_bounceIntensity); - mono_add_internal_call("UnityEngine.Light::set_bounceIntensity",(void*) UnityEngine_Light_set_bounceIntensity); - mono_add_internal_call("UnityEngine.Light::get_useBoundingSphereOverride",(void*) UnityEngine_Light_get_useBoundingSphereOverride); - mono_add_internal_call("UnityEngine.Light::set_useBoundingSphereOverride",(void*) UnityEngine_Light_set_useBoundingSphereOverride); - mono_add_internal_call("UnityEngine.Light::get_shadowCustomResolution",(void*) UnityEngine_Light_get_shadowCustomResolution); - mono_add_internal_call("UnityEngine.Light::set_shadowCustomResolution",(void*) UnityEngine_Light_set_shadowCustomResolution); - mono_add_internal_call("UnityEngine.Light::get_shadowBias",(void*) UnityEngine_Light_get_shadowBias_2); - mono_add_internal_call("UnityEngine.Light::set_shadowBias",(void*) UnityEngine_Light_set_shadowBias_2); - mono_add_internal_call("UnityEngine.Light::get_shadowNormalBias",(void*) UnityEngine_Light_get_shadowNormalBias); - mono_add_internal_call("UnityEngine.Light::set_shadowNormalBias",(void*) UnityEngine_Light_set_shadowNormalBias); - mono_add_internal_call("UnityEngine.Light::get_shadowNearPlane",(void*) UnityEngine_Light_get_shadowNearPlane); - mono_add_internal_call("UnityEngine.Light::set_shadowNearPlane",(void*) UnityEngine_Light_set_shadowNearPlane); - mono_add_internal_call("UnityEngine.Light::get_useShadowMatrixOverride",(void*) UnityEngine_Light_get_useShadowMatrixOverride); - mono_add_internal_call("UnityEngine.Light::set_useShadowMatrixOverride",(void*) UnityEngine_Light_set_useShadowMatrixOverride); mono_add_internal_call("UnityEngine.Light::get_range",(void*) UnityEngine_Light_get_range); - mono_add_internal_call("UnityEngine.Light::set_range",(void*) UnityEngine_Light_set_range); - mono_add_internal_call("UnityEngine.Light::get_flare",(void*) UnityEngine_Light_get_flare_1); - mono_add_internal_call("UnityEngine.Light::set_flare",(void*) UnityEngine_Light_set_flare_1); - mono_add_internal_call("UnityEngine.Light::get_cullingMask",(void*) UnityEngine_Light_get_cullingMask_2); - mono_add_internal_call("UnityEngine.Light::set_cullingMask",(void*) UnityEngine_Light_set_cullingMask_2); - mono_add_internal_call("UnityEngine.Light::get_renderingLayerMask",(void*) UnityEngine_Light_get_renderingLayerMask_1); - mono_add_internal_call("UnityEngine.Light::set_renderingLayerMask",(void*) UnityEngine_Light_set_renderingLayerMask_1); - mono_add_internal_call("UnityEngine.Light::get_lightShadowCasterMode",(void*) UnityEngine_Light_get_lightShadowCasterMode); - mono_add_internal_call("UnityEngine.Light::set_lightShadowCasterMode",(void*) UnityEngine_Light_set_lightShadowCasterMode); - mono_add_internal_call("UnityEngine.Light::Reset",(void*) UnityEngine_Light_Reset_4); mono_add_internal_call("UnityEngine.Light::get_shadows",(void*) UnityEngine_Light_get_shadows_1); - mono_add_internal_call("UnityEngine.Light::set_shadows",(void*) UnityEngine_Light_set_shadows_1); - mono_add_internal_call("UnityEngine.Light::get_shadowStrength",(void*) UnityEngine_Light_get_shadowStrength); - mono_add_internal_call("UnityEngine.Light::set_shadowStrength",(void*) UnityEngine_Light_set_shadowStrength); - mono_add_internal_call("UnityEngine.Light::get_shadowResolution",(void*) UnityEngine_Light_get_shadowResolution_1); - mono_add_internal_call("UnityEngine.Light::set_shadowResolution",(void*) UnityEngine_Light_set_shadowResolution_1); - mono_add_internal_call("UnityEngine.Light::get_layerShadowCullDistances",(void*) UnityEngine_Light_get_layerShadowCullDistances); - mono_add_internal_call("UnityEngine.Light::set_layerShadowCullDistances",(void*) UnityEngine_Light_set_layerShadowCullDistances); mono_add_internal_call("UnityEngine.Light::get_cookieSize",(void*) UnityEngine_Light_get_cookieSize); - mono_add_internal_call("UnityEngine.Light::set_cookieSize",(void*) UnityEngine_Light_set_cookieSize); mono_add_internal_call("UnityEngine.Light::get_cookie",(void*) UnityEngine_Light_get_cookie); - mono_add_internal_call("UnityEngine.Light::set_cookie",(void*) UnityEngine_Light_set_cookie); - mono_add_internal_call("UnityEngine.Light::get_renderMode",(void*) UnityEngine_Light_get_renderMode); - mono_add_internal_call("UnityEngine.Light::set_renderMode",(void*) UnityEngine_Light_set_renderMode); - mono_add_internal_call("UnityEngine.Light::AddCommandBuffer",(void*) UnityEngine_Light_AddCommandBuffer); - mono_add_internal_call("UnityEngine.Light::AddCommandBufferAsync",(void*) UnityEngine_Light_AddCommandBufferAsync); - mono_add_internal_call("UnityEngine.Light::RemoveCommandBuffer",(void*) UnityEngine_Light_RemoveCommandBuffer); - mono_add_internal_call("UnityEngine.Light::RemoveCommandBuffers",(void*) UnityEngine_Light_RemoveCommandBuffers_1); - mono_add_internal_call("UnityEngine.Light::RemoveAllCommandBuffers",(void*) UnityEngine_Light_RemoveAllCommandBuffers_1); - mono_add_internal_call("UnityEngine.Light::GetCommandBuffers",(void*) UnityEngine_Light_GetCommandBuffers_1); - mono_add_internal_call("UnityEngine.Light::get_commandBufferCount",(void*) UnityEngine_Light_get_commandBufferCount_1); - mono_add_internal_call("UnityEngine.Light::GetLights",(void*) UnityEngine_Light_GetLights); - mono_add_internal_call("UnityEngine.Light::get_color_Injected",(void*) UnityEngine_Light_get_color_Injected_2); - mono_add_internal_call("UnityEngine.Light::set_color_Injected",(void*) UnityEngine_Light_set_color_Injected_2); - mono_add_internal_call("UnityEngine.Light::get_boundingSphereOverride_Injected",(void*) UnityEngine_Light_get_boundingSphereOverride_Injected); - mono_add_internal_call("UnityEngine.Light::set_boundingSphereOverride_Injected",(void*) UnityEngine_Light_set_boundingSphereOverride_Injected); - mono_add_internal_call("UnityEngine.Light::get_shadowMatrixOverride_Injected",(void*) UnityEngine_Light_get_shadowMatrixOverride_Injected); - mono_add_internal_call("UnityEngine.Light::set_shadowMatrixOverride_Injected",(void*) UnityEngine_Light_set_shadowMatrixOverride_Injected); - mono_add_internal_call("UnityEngine.Light::get_bakingOutput_Injected",(void*) UnityEngine_Light_get_bakingOutput_Injected); - mono_add_internal_call("UnityEngine.Light::set_bakingOutput_Injected",(void*) UnityEngine_Light_set_bakingOutput_Injected); - mono_add_internal_call("UnityEngine.Skybox::get_material",(void*) UnityEngine_Skybox_get_material_2); - mono_add_internal_call("UnityEngine.Skybox::set_material",(void*) UnityEngine_Skybox_set_material_2); mono_add_internal_call("UnityEngine.MeshFilter::get_sharedMesh",(void*) UnityEngine_MeshFilter_get_sharedMesh); mono_add_internal_call("UnityEngine.MeshFilter::set_sharedMesh",(void*) UnityEngine_MeshFilter_set_sharedMesh); mono_add_internal_call("UnityEngine.MeshFilter::get_mesh",(void*) UnityEngine_MeshFilter_get_mesh); mono_add_internal_call("UnityEngine.MeshFilter::set_mesh",(void*) UnityEngine_MeshFilter_set_mesh); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_isFeatureSupported",(void*) UnityEngine_LightProbeProxyVolume_get_isFeatureSupported); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_probeDensity",(void*) UnityEngine_LightProbeProxyVolume_get_probeDensity); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::set_probeDensity",(void*) UnityEngine_LightProbeProxyVolume_set_probeDensity); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_gridResolutionX",(void*) UnityEngine_LightProbeProxyVolume_get_gridResolutionX); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::set_gridResolutionX",(void*) UnityEngine_LightProbeProxyVolume_set_gridResolutionX); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_gridResolutionY",(void*) UnityEngine_LightProbeProxyVolume_get_gridResolutionY); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::set_gridResolutionY",(void*) UnityEngine_LightProbeProxyVolume_set_gridResolutionY); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_gridResolutionZ",(void*) UnityEngine_LightProbeProxyVolume_get_gridResolutionZ); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::set_gridResolutionZ",(void*) UnityEngine_LightProbeProxyVolume_set_gridResolutionZ); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_boundingBoxMode",(void*) UnityEngine_LightProbeProxyVolume_get_boundingBoxMode); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::set_boundingBoxMode",(void*) UnityEngine_LightProbeProxyVolume_set_boundingBoxMode); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_resolutionMode",(void*) UnityEngine_LightProbeProxyVolume_get_resolutionMode); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::set_resolutionMode",(void*) UnityEngine_LightProbeProxyVolume_set_resolutionMode); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_probePositionMode",(void*) UnityEngine_LightProbeProxyVolume_get_probePositionMode); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::set_probePositionMode",(void*) UnityEngine_LightProbeProxyVolume_set_probePositionMode); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_refreshMode",(void*) UnityEngine_LightProbeProxyVolume_get_refreshMode_1); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::set_refreshMode",(void*) UnityEngine_LightProbeProxyVolume_set_refreshMode_1); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_qualityMode",(void*) UnityEngine_LightProbeProxyVolume_get_qualityMode); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::set_qualityMode",(void*) UnityEngine_LightProbeProxyVolume_set_qualityMode); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::SetDirtyFlag",(void*) UnityEngine_LightProbeProxyVolume_SetDirtyFlag); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_boundsGlobal_Injected",(void*) UnityEngine_LightProbeProxyVolume_get_boundsGlobal_Injected); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_sizeCustom_Injected",(void*) UnityEngine_LightProbeProxyVolume_get_sizeCustom_Injected); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::set_sizeCustom_Injected",(void*) UnityEngine_LightProbeProxyVolume_set_sizeCustom_Injected); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::get_originCustom_Injected",(void*) UnityEngine_LightProbeProxyVolume_get_originCustom_Injected); - mono_add_internal_call("UnityEngine.LightProbeProxyVolume::set_originCustom_Injected",(void*) UnityEngine_LightProbeProxyVolume_set_originCustom_Injected); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::get_quality",(void*) UnityEngine_SkinnedMeshRenderer_get_quality); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::set_quality",(void*) UnityEngine_SkinnedMeshRenderer_set_quality); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::get_updateWhenOffscreen",(void*) UnityEngine_SkinnedMeshRenderer_get_updateWhenOffscreen); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::set_updateWhenOffscreen",(void*) UnityEngine_SkinnedMeshRenderer_set_updateWhenOffscreen); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::get_forceMatrixRecalculationPerRender",(void*) UnityEngine_SkinnedMeshRenderer_get_forceMatrixRecalculationPerRender); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::set_forceMatrixRecalculationPerRender",(void*) UnityEngine_SkinnedMeshRenderer_set_forceMatrixRecalculationPerRender); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::get_rootBone",(void*) UnityEngine_SkinnedMeshRenderer_get_rootBone); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::set_rootBone",(void*) UnityEngine_SkinnedMeshRenderer_set_rootBone); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::get_bones",(void*) UnityEngine_SkinnedMeshRenderer_get_bones); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::set_bones",(void*) UnityEngine_SkinnedMeshRenderer_set_bones); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::get_sharedMesh",(void*) UnityEngine_SkinnedMeshRenderer_get_sharedMesh_1); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::set_sharedMesh",(void*) UnityEngine_SkinnedMeshRenderer_set_sharedMesh_1); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::get_skinnedMotionVectors",(void*) UnityEngine_SkinnedMeshRenderer_get_skinnedMotionVectors); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::set_skinnedMotionVectors",(void*) UnityEngine_SkinnedMeshRenderer_set_skinnedMotionVectors); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::GetBlendShapeWeight",(void*) UnityEngine_SkinnedMeshRenderer_GetBlendShapeWeight); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::SetBlendShapeWeight",(void*) UnityEngine_SkinnedMeshRenderer_SetBlendShapeWeight); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::BakeMesh",(void*) UnityEngine_SkinnedMeshRenderer_BakeMesh_2); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::GetLocalAABB_Injected",(void*) UnityEngine_SkinnedMeshRenderer_GetLocalAABB_Injected); - mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::SetLocalAABB_Injected",(void*) UnityEngine_SkinnedMeshRenderer_SetLocalAABB_Injected); - mono_add_internal_call("UnityEngine.MeshRenderer::get_additionalVertexStreams",(void*) UnityEngine_MeshRenderer_get_additionalVertexStreams); - mono_add_internal_call("UnityEngine.MeshRenderer::set_additionalVertexStreams",(void*) UnityEngine_MeshRenderer_set_additionalVertexStreams); - mono_add_internal_call("UnityEngine.MeshRenderer::get_subMeshStartIndex",(void*) UnityEngine_MeshRenderer_get_subMeshStartIndex); - mono_add_internal_call("UnityEngine.LODGroup::get_size",(void*) UnityEngine_LODGroup_get_size); - mono_add_internal_call("UnityEngine.LODGroup::set_size",(void*) UnityEngine_LODGroup_set_size); - mono_add_internal_call("UnityEngine.LODGroup::get_lodCount",(void*) UnityEngine_LODGroup_get_lodCount); - mono_add_internal_call("UnityEngine.LODGroup::get_fadeMode",(void*) UnityEngine_LODGroup_get_fadeMode); - mono_add_internal_call("UnityEngine.LODGroup::set_fadeMode",(void*) UnityEngine_LODGroup_set_fadeMode); - mono_add_internal_call("UnityEngine.LODGroup::get_animateCrossFading",(void*) UnityEngine_LODGroup_get_animateCrossFading); - mono_add_internal_call("UnityEngine.LODGroup::set_animateCrossFading",(void*) UnityEngine_LODGroup_set_animateCrossFading); - mono_add_internal_call("UnityEngine.LODGroup::get_enabled",(void*) UnityEngine_LODGroup_get_enabled_2); - mono_add_internal_call("UnityEngine.LODGroup::set_enabled",(void*) UnityEngine_LODGroup_set_enabled_2); - mono_add_internal_call("UnityEngine.LODGroup::RecalculateBounds",(void*) UnityEngine_LODGroup_RecalculateBounds); - mono_add_internal_call("UnityEngine.LODGroup::GetLODs",(void*) UnityEngine_LODGroup_GetLODs); - mono_add_internal_call("UnityEngine.LODGroup::SetLODs",(void*) UnityEngine_LODGroup_SetLODs); - mono_add_internal_call("UnityEngine.LODGroup::ForceLOD",(void*) UnityEngine_LODGroup_ForceLOD); - mono_add_internal_call("UnityEngine.LODGroup::get_crossFadeAnimationDuration",(void*) UnityEngine_LODGroup_get_crossFadeAnimationDuration); - mono_add_internal_call("UnityEngine.LODGroup::set_crossFadeAnimationDuration",(void*) UnityEngine_LODGroup_set_crossFadeAnimationDuration); - mono_add_internal_call("UnityEngine.LODGroup::get_localReferencePoint_Injected",(void*) UnityEngine_LODGroup_get_localReferencePoint_Injected); - mono_add_internal_call("UnityEngine.LODGroup::set_localReferencePoint_Injected",(void*) UnityEngine_LODGroup_set_localReferencePoint_Injected); - mono_add_internal_call("UnityEngine.LineUtility::GeneratePointsToKeep3D",(void*) UnityEngine_LineUtility_GeneratePointsToKeep3D); - mono_add_internal_call("UnityEngine.LineUtility::GeneratePointsToKeep2D",(void*) UnityEngine_LineUtility_GeneratePointsToKeep2D); - mono_add_internal_call("UnityEngine.LineUtility::GenerateSimplifiedPoints3D",(void*) UnityEngine_LineUtility_GenerateSimplifiedPoints3D); - mono_add_internal_call("UnityEngine.LineUtility::GenerateSimplifiedPoints2D",(void*) UnityEngine_LineUtility_GenerateSimplifiedPoints2D); - mono_add_internal_call("UnityEngine.Mesh::Internal_Create",(void*) UnityEngine_Mesh_Internal_Create_4); - mono_add_internal_call("UnityEngine.Mesh::FromInstanceID",(void*) UnityEngine_Mesh_FromInstanceID); - mono_add_internal_call("UnityEngine.Mesh::get_indexFormat",(void*) UnityEngine_Mesh_get_indexFormat); - mono_add_internal_call("UnityEngine.Mesh::set_indexFormat",(void*) UnityEngine_Mesh_set_indexFormat); - mono_add_internal_call("UnityEngine.Mesh::SetIndexBufferParams",(void*) UnityEngine_Mesh_SetIndexBufferParams); - mono_add_internal_call("UnityEngine.Mesh::InternalSetIndexBufferData",(void*) UnityEngine_Mesh_InternalSetIndexBufferData); - mono_add_internal_call("UnityEngine.Mesh::InternalSetIndexBufferDataFromArray",(void*) UnityEngine_Mesh_InternalSetIndexBufferDataFromArray); - mono_add_internal_call("UnityEngine.Mesh::SetVertexBufferParams",(void*) UnityEngine_Mesh_SetVertexBufferParams); - mono_add_internal_call("UnityEngine.Mesh::InternalSetVertexBufferData",(void*) UnityEngine_Mesh_InternalSetVertexBufferData); - mono_add_internal_call("UnityEngine.Mesh::InternalSetVertexBufferDataFromArray",(void*) UnityEngine_Mesh_InternalSetVertexBufferDataFromArray); - mono_add_internal_call("UnityEngine.Mesh::GetVertexAttributesAlloc",(void*) UnityEngine_Mesh_GetVertexAttributesAlloc); - mono_add_internal_call("UnityEngine.Mesh::GetVertexAttributesArray",(void*) UnityEngine_Mesh_GetVertexAttributesArray); - mono_add_internal_call("UnityEngine.Mesh::GetVertexAttributesList",(void*) UnityEngine_Mesh_GetVertexAttributesList); - mono_add_internal_call("UnityEngine.Mesh::GetVertexAttributeCountImpl",(void*) UnityEngine_Mesh_GetVertexAttributeCountImpl); - mono_add_internal_call("UnityEngine.Mesh::GetIndexStartImpl",(void*) UnityEngine_Mesh_GetIndexStartImpl); - mono_add_internal_call("UnityEngine.Mesh::GetIndexCountImpl",(void*) UnityEngine_Mesh_GetIndexCountImpl); - mono_add_internal_call("UnityEngine.Mesh::GetTrianglesCountImpl",(void*) UnityEngine_Mesh_GetTrianglesCountImpl); - mono_add_internal_call("UnityEngine.Mesh::GetBaseVertexImpl",(void*) UnityEngine_Mesh_GetBaseVertexImpl); - mono_add_internal_call("UnityEngine.Mesh::GetTrianglesImpl",(void*) UnityEngine_Mesh_GetTrianglesImpl); - mono_add_internal_call("UnityEngine.Mesh::GetIndicesImpl",(void*) UnityEngine_Mesh_GetIndicesImpl); - mono_add_internal_call("UnityEngine.Mesh::SetIndicesImpl",(void*) UnityEngine_Mesh_SetIndicesImpl); - mono_add_internal_call("UnityEngine.Mesh::SetIndicesNativeArrayImpl",(void*) UnityEngine_Mesh_SetIndicesNativeArrayImpl); - mono_add_internal_call("UnityEngine.Mesh::GetTrianglesNonAllocImpl",(void*) UnityEngine_Mesh_GetTrianglesNonAllocImpl); - mono_add_internal_call("UnityEngine.Mesh::GetTrianglesNonAllocImpl16",(void*) UnityEngine_Mesh_GetTrianglesNonAllocImpl16); - mono_add_internal_call("UnityEngine.Mesh::GetIndicesNonAllocImpl",(void*) UnityEngine_Mesh_GetIndicesNonAllocImpl); - mono_add_internal_call("UnityEngine.Mesh::GetIndicesNonAllocImpl16",(void*) UnityEngine_Mesh_GetIndicesNonAllocImpl16); - mono_add_internal_call("UnityEngine.Mesh::PrintErrorCantAccessChannel",(void*) UnityEngine_Mesh_PrintErrorCantAccessChannel); - mono_add_internal_call("UnityEngine.Mesh::HasVertexAttribute",(void*) UnityEngine_Mesh_HasVertexAttribute); - mono_add_internal_call("UnityEngine.Mesh::GetVertexAttributeDimension",(void*) UnityEngine_Mesh_GetVertexAttributeDimension); - mono_add_internal_call("UnityEngine.Mesh::GetVertexAttributeFormat",(void*) UnityEngine_Mesh_GetVertexAttributeFormat); - mono_add_internal_call("UnityEngine.Mesh::SetArrayForChannelImpl",(void*) UnityEngine_Mesh_SetArrayForChannelImpl); - mono_add_internal_call("UnityEngine.Mesh::SetNativeArrayForChannelImpl",(void*) UnityEngine_Mesh_SetNativeArrayForChannelImpl); - mono_add_internal_call("UnityEngine.Mesh::GetAllocArrayFromChannelImpl",(void*) UnityEngine_Mesh_GetAllocArrayFromChannelImpl); - mono_add_internal_call("UnityEngine.Mesh::GetArrayFromChannelImpl",(void*) UnityEngine_Mesh_GetArrayFromChannelImpl); - mono_add_internal_call("UnityEngine.Mesh::get_vertexBufferCount",(void*) UnityEngine_Mesh_get_vertexBufferCount); - mono_add_internal_call("UnityEngine.Mesh::GetNativeVertexBufferPtr",(void*) UnityEngine_Mesh_GetNativeVertexBufferPtr); - mono_add_internal_call("UnityEngine.Mesh::GetNativeIndexBufferPtr",(void*) UnityEngine_Mesh_GetNativeIndexBufferPtr); - mono_add_internal_call("UnityEngine.Mesh::get_blendShapeCount",(void*) UnityEngine_Mesh_get_blendShapeCount); - mono_add_internal_call("UnityEngine.Mesh::ClearBlendShapes",(void*) UnityEngine_Mesh_ClearBlendShapes); - mono_add_internal_call("UnityEngine.Mesh::GetBlendShapeName",(void*) UnityEngine_Mesh_GetBlendShapeName); - mono_add_internal_call("UnityEngine.Mesh::GetBlendShapeIndex",(void*) UnityEngine_Mesh_GetBlendShapeIndex); - mono_add_internal_call("UnityEngine.Mesh::GetBlendShapeFrameCount",(void*) UnityEngine_Mesh_GetBlendShapeFrameCount); - mono_add_internal_call("UnityEngine.Mesh::GetBlendShapeFrameWeight",(void*) UnityEngine_Mesh_GetBlendShapeFrameWeight); - mono_add_internal_call("UnityEngine.Mesh::GetBlendShapeFrameVertices",(void*) UnityEngine_Mesh_GetBlendShapeFrameVertices); - mono_add_internal_call("UnityEngine.Mesh::AddBlendShapeFrame",(void*) UnityEngine_Mesh_AddBlendShapeFrame); - mono_add_internal_call("UnityEngine.Mesh::HasBoneWeights",(void*) UnityEngine_Mesh_HasBoneWeights); - mono_add_internal_call("UnityEngine.Mesh::GetBoneWeightsImpl",(void*) UnityEngine_Mesh_GetBoneWeightsImpl); - mono_add_internal_call("UnityEngine.Mesh::SetBoneWeightsImpl",(void*) UnityEngine_Mesh_SetBoneWeightsImpl); - mono_add_internal_call("UnityEngine.Mesh::InternalSetBoneWeights",(void*) UnityEngine_Mesh_InternalSetBoneWeights); - mono_add_internal_call("UnityEngine.Mesh::GetAllBoneWeightsArraySize",(void*) UnityEngine_Mesh_GetAllBoneWeightsArraySize); - mono_add_internal_call("UnityEngine.Mesh::GetAllBoneWeightsArray",(void*) UnityEngine_Mesh_GetAllBoneWeightsArray); - mono_add_internal_call("UnityEngine.Mesh::GetBonesPerVertexArray",(void*) UnityEngine_Mesh_GetBonesPerVertexArray); - mono_add_internal_call("UnityEngine.Mesh::GetBindposeCount",(void*) UnityEngine_Mesh_GetBindposeCount); - mono_add_internal_call("UnityEngine.Mesh::get_bindposes",(void*) UnityEngine_Mesh_get_bindposes); - mono_add_internal_call("UnityEngine.Mesh::set_bindposes",(void*) UnityEngine_Mesh_set_bindposes); - mono_add_internal_call("UnityEngine.Mesh::GetBoneWeightsNonAllocImpl",(void*) UnityEngine_Mesh_GetBoneWeightsNonAllocImpl); - mono_add_internal_call("UnityEngine.Mesh::GetBindposesNonAllocImpl",(void*) UnityEngine_Mesh_GetBindposesNonAllocImpl); - mono_add_internal_call("UnityEngine.Mesh::get_isReadable",(void*) UnityEngine_Mesh_get_isReadable); - mono_add_internal_call("UnityEngine.Mesh::get_canAccess",(void*) UnityEngine_Mesh_get_canAccess); - mono_add_internal_call("UnityEngine.Mesh::get_vertexCount",(void*) UnityEngine_Mesh_get_vertexCount_1); - mono_add_internal_call("UnityEngine.Mesh::get_subMeshCount",(void*) UnityEngine_Mesh_get_subMeshCount); - mono_add_internal_call("UnityEngine.Mesh::set_subMeshCount",(void*) UnityEngine_Mesh_set_subMeshCount); - mono_add_internal_call("UnityEngine.Mesh::ClearImpl",(void*) UnityEngine_Mesh_ClearImpl); - mono_add_internal_call("UnityEngine.Mesh::RecalculateBoundsImpl",(void*) UnityEngine_Mesh_RecalculateBoundsImpl); - mono_add_internal_call("UnityEngine.Mesh::RecalculateNormalsImpl",(void*) UnityEngine_Mesh_RecalculateNormalsImpl); - mono_add_internal_call("UnityEngine.Mesh::RecalculateTangentsImpl",(void*) UnityEngine_Mesh_RecalculateTangentsImpl); - mono_add_internal_call("UnityEngine.Mesh::MarkDynamicImpl",(void*) UnityEngine_Mesh_MarkDynamicImpl); - mono_add_internal_call("UnityEngine.Mesh::MarkModified",(void*) UnityEngine_Mesh_MarkModified); - mono_add_internal_call("UnityEngine.Mesh::UploadMeshDataImpl",(void*) UnityEngine_Mesh_UploadMeshDataImpl); - mono_add_internal_call("UnityEngine.Mesh::GetTopologyImpl",(void*) UnityEngine_Mesh_GetTopologyImpl); - mono_add_internal_call("UnityEngine.Mesh::GetUVDistributionMetric",(void*) UnityEngine_Mesh_GetUVDistributionMetric); - mono_add_internal_call("UnityEngine.Mesh::CombineMeshesImpl",(void*) UnityEngine_Mesh_CombineMeshesImpl); - mono_add_internal_call("UnityEngine.Mesh::OptimizeImpl",(void*) UnityEngine_Mesh_OptimizeImpl); - mono_add_internal_call("UnityEngine.Mesh::OptimizeIndexBuffersImpl",(void*) UnityEngine_Mesh_OptimizeIndexBuffersImpl); - mono_add_internal_call("UnityEngine.Mesh::OptimizeReorderVertexBufferImpl",(void*) UnityEngine_Mesh_OptimizeReorderVertexBufferImpl); - mono_add_internal_call("UnityEngine.Mesh::GetVertexAttribute_Injected",(void*) UnityEngine_Mesh_GetVertexAttribute_Injected); - mono_add_internal_call("UnityEngine.Mesh::SetSubMesh_Injected",(void*) UnityEngine_Mesh_SetSubMesh_Injected); - mono_add_internal_call("UnityEngine.Mesh::GetSubMesh_Injected",(void*) UnityEngine_Mesh_GetSubMesh_Injected); - mono_add_internal_call("UnityEngine.Mesh::get_bounds_Injected",(void*) UnityEngine_Mesh_get_bounds_Injected_2); - mono_add_internal_call("UnityEngine.Mesh::set_bounds_Injected",(void*) UnityEngine_Mesh_set_bounds_Injected); - mono_add_internal_call("UnityEngine.StaticBatchingHelper::InternalCombineVertices",(void*) UnityEngine_StaticBatchingHelper_InternalCombineVertices); - mono_add_internal_call("UnityEngine.StaticBatchingHelper::InternalCombineIndices",(void*) UnityEngine_StaticBatchingHelper_InternalCombineIndices); - mono_add_internal_call("UnityEngine.Texture::get_masterTextureLimit",(void*) UnityEngine_Texture_get_masterTextureLimit_1); - mono_add_internal_call("UnityEngine.Texture::set_masterTextureLimit",(void*) UnityEngine_Texture_set_masterTextureLimit_1); - mono_add_internal_call("UnityEngine.Texture::get_mipmapCount",(void*) UnityEngine_Texture_get_mipmapCount); - mono_add_internal_call("UnityEngine.Texture::get_anisotropicFiltering",(void*) UnityEngine_Texture_get_anisotropicFiltering_1); - mono_add_internal_call("UnityEngine.Texture::set_anisotropicFiltering",(void*) UnityEngine_Texture_set_anisotropicFiltering_1); - mono_add_internal_call("UnityEngine.Texture::SetGlobalAnisotropicFilteringLimits",(void*) UnityEngine_Texture_SetGlobalAnisotropicFilteringLimits); - mono_add_internal_call("UnityEngine.Texture::GetDataWidth",(void*) UnityEngine_Texture_GetDataWidth); - mono_add_internal_call("UnityEngine.Texture::GetDataHeight",(void*) UnityEngine_Texture_GetDataHeight); - mono_add_internal_call("UnityEngine.Texture::GetDimension",(void*) UnityEngine_Texture_GetDimension); - mono_add_internal_call("UnityEngine.Texture::get_isReadable",(void*) UnityEngine_Texture_get_isReadable_1); - mono_add_internal_call("UnityEngine.Texture::get_wrapMode",(void*) UnityEngine_Texture_get_wrapMode); - mono_add_internal_call("UnityEngine.Texture::set_wrapMode",(void*) UnityEngine_Texture_set_wrapMode); - mono_add_internal_call("UnityEngine.Texture::get_wrapModeU",(void*) UnityEngine_Texture_get_wrapModeU); - mono_add_internal_call("UnityEngine.Texture::set_wrapModeU",(void*) UnityEngine_Texture_set_wrapModeU); - mono_add_internal_call("UnityEngine.Texture::get_wrapModeV",(void*) UnityEngine_Texture_get_wrapModeV); - mono_add_internal_call("UnityEngine.Texture::set_wrapModeV",(void*) UnityEngine_Texture_set_wrapModeV); - mono_add_internal_call("UnityEngine.Texture::get_wrapModeW",(void*) UnityEngine_Texture_get_wrapModeW); - mono_add_internal_call("UnityEngine.Texture::set_wrapModeW",(void*) UnityEngine_Texture_set_wrapModeW); - mono_add_internal_call("UnityEngine.Texture::get_filterMode",(void*) UnityEngine_Texture_get_filterMode); - mono_add_internal_call("UnityEngine.Texture::set_filterMode",(void*) UnityEngine_Texture_set_filterMode); - mono_add_internal_call("UnityEngine.Texture::get_anisoLevel",(void*) UnityEngine_Texture_get_anisoLevel); - mono_add_internal_call("UnityEngine.Texture::set_anisoLevel",(void*) UnityEngine_Texture_set_anisoLevel); - mono_add_internal_call("UnityEngine.Texture::get_mipMapBias",(void*) UnityEngine_Texture_get_mipMapBias); - mono_add_internal_call("UnityEngine.Texture::set_mipMapBias",(void*) UnityEngine_Texture_set_mipMapBias); - mono_add_internal_call("UnityEngine.Texture::GetNativeTexturePtr",(void*) UnityEngine_Texture_GetNativeTexturePtr); - mono_add_internal_call("UnityEngine.Texture::get_updateCount",(void*) UnityEngine_Texture_get_updateCount); - mono_add_internal_call("UnityEngine.Texture::IncrementUpdateCount",(void*) UnityEngine_Texture_IncrementUpdateCount); - mono_add_internal_call("UnityEngine.Texture::Internal_GetActiveTextureColorSpace",(void*) UnityEngine_Texture_Internal_GetActiveTextureColorSpace); - mono_add_internal_call("UnityEngine.Texture::get_totalTextureMemory",(void*) UnityEngine_Texture_get_totalTextureMemory); - mono_add_internal_call("UnityEngine.Texture::get_desiredTextureMemory",(void*) UnityEngine_Texture_get_desiredTextureMemory); - mono_add_internal_call("UnityEngine.Texture::get_targetTextureMemory",(void*) UnityEngine_Texture_get_targetTextureMemory); - mono_add_internal_call("UnityEngine.Texture::get_currentTextureMemory",(void*) UnityEngine_Texture_get_currentTextureMemory); - mono_add_internal_call("UnityEngine.Texture::get_nonStreamingTextureMemory",(void*) UnityEngine_Texture_get_nonStreamingTextureMemory); - mono_add_internal_call("UnityEngine.Texture::get_streamingMipmapUploadCount",(void*) UnityEngine_Texture_get_streamingMipmapUploadCount); - mono_add_internal_call("UnityEngine.Texture::get_streamingRendererCount",(void*) UnityEngine_Texture_get_streamingRendererCount); - mono_add_internal_call("UnityEngine.Texture::get_streamingTextureCount",(void*) UnityEngine_Texture_get_streamingTextureCount); - mono_add_internal_call("UnityEngine.Texture::get_nonStreamingTextureCount",(void*) UnityEngine_Texture_get_nonStreamingTextureCount); - mono_add_internal_call("UnityEngine.Texture::get_streamingTexturePendingLoadCount",(void*) UnityEngine_Texture_get_streamingTexturePendingLoadCount); - mono_add_internal_call("UnityEngine.Texture::get_streamingTextureLoadingCount",(void*) UnityEngine_Texture_get_streamingTextureLoadingCount); - mono_add_internal_call("UnityEngine.Texture::SetStreamingTextureMaterialDebugProperties",(void*) UnityEngine_Texture_SetStreamingTextureMaterialDebugProperties); - mono_add_internal_call("UnityEngine.Texture::get_streamingTextureForceLoadAll",(void*) UnityEngine_Texture_get_streamingTextureForceLoadAll); - mono_add_internal_call("UnityEngine.Texture::set_streamingTextureForceLoadAll",(void*) UnityEngine_Texture_set_streamingTextureForceLoadAll); - mono_add_internal_call("UnityEngine.Texture::get_streamingTextureDiscardUnusedMips",(void*) UnityEngine_Texture_get_streamingTextureDiscardUnusedMips); - mono_add_internal_call("UnityEngine.Texture::set_streamingTextureDiscardUnusedMips",(void*) UnityEngine_Texture_set_streamingTextureDiscardUnusedMips); - mono_add_internal_call("UnityEngine.Texture::get_allowThreadedTextureCreation",(void*) UnityEngine_Texture_get_allowThreadedTextureCreation); - mono_add_internal_call("UnityEngine.Texture::set_allowThreadedTextureCreation",(void*) UnityEngine_Texture_set_allowThreadedTextureCreation); - mono_add_internal_call("UnityEngine.Texture::get_texelSize_Injected",(void*) UnityEngine_Texture_get_texelSize_Injected); - mono_add_internal_call("UnityEngine.Texture2D::get_format",(void*) UnityEngine_Texture2D_get_format); + mono_add_internal_call("UnityEngine.SkinnedMeshRenderer::BakeMesh",(void*) UnityEngine_SkinnedMeshRenderer_BakeMesh); mono_add_internal_call("UnityEngine.Texture2D::get_whiteTexture",(void*) UnityEngine_Texture2D_get_whiteTexture); - mono_add_internal_call("UnityEngine.Texture2D::get_blackTexture",(void*) UnityEngine_Texture2D_get_blackTexture); - mono_add_internal_call("UnityEngine.Texture2D::get_redTexture",(void*) UnityEngine_Texture2D_get_redTexture); - mono_add_internal_call("UnityEngine.Texture2D::get_grayTexture",(void*) UnityEngine_Texture2D_get_grayTexture); - mono_add_internal_call("UnityEngine.Texture2D::get_linearGrayTexture",(void*) UnityEngine_Texture2D_get_linearGrayTexture); - mono_add_internal_call("UnityEngine.Texture2D::get_normalTexture",(void*) UnityEngine_Texture2D_get_normalTexture); - mono_add_internal_call("UnityEngine.Texture2D::Compress",(void*) UnityEngine_Texture2D_Compress); - mono_add_internal_call("UnityEngine.Texture2D::Internal_CreateImpl",(void*) UnityEngine_Texture2D_Internal_CreateImpl); - mono_add_internal_call("UnityEngine.Texture2D::get_isReadable",(void*) UnityEngine_Texture2D_get_isReadable_2); - mono_add_internal_call("UnityEngine.Texture2D::ApplyImpl",(void*) UnityEngine_Texture2D_ApplyImpl); - mono_add_internal_call("UnityEngine.Texture2D::ResizeImpl",(void*) UnityEngine_Texture2D_ResizeImpl); - mono_add_internal_call("UnityEngine.Texture2D::ResizeWithFormatImpl",(void*) UnityEngine_Texture2D_ResizeWithFormatImpl); - mono_add_internal_call("UnityEngine.Texture2D::SetPixelsImpl",(void*) UnityEngine_Texture2D_SetPixelsImpl); - mono_add_internal_call("UnityEngine.Texture2D::LoadRawTextureDataImpl",(void*) UnityEngine_Texture2D_LoadRawTextureDataImpl); - mono_add_internal_call("UnityEngine.Texture2D::LoadRawTextureDataImplArray",(void*) UnityEngine_Texture2D_LoadRawTextureDataImplArray); - mono_add_internal_call("UnityEngine.Texture2D::SetPixelDataImplArray",(void*) UnityEngine_Texture2D_SetPixelDataImplArray); - mono_add_internal_call("UnityEngine.Texture2D::SetPixelDataImpl",(void*) UnityEngine_Texture2D_SetPixelDataImpl); - mono_add_internal_call("UnityEngine.Texture2D::GetWritableImageData",(void*) UnityEngine_Texture2D_GetWritableImageData); - mono_add_internal_call("UnityEngine.Texture2D::GetRawImageDataSize",(void*) UnityEngine_Texture2D_GetRawImageDataSize); - mono_add_internal_call("UnityEngine.Texture2D::GenerateAtlasImpl",(void*) UnityEngine_Texture2D_GenerateAtlasImpl); - mono_add_internal_call("UnityEngine.Texture2D::get_isPreProcessed",(void*) UnityEngine_Texture2D_get_isPreProcessed); - mono_add_internal_call("UnityEngine.Texture2D::get_streamingMipmaps",(void*) UnityEngine_Texture2D_get_streamingMipmaps); - mono_add_internal_call("UnityEngine.Texture2D::get_streamingMipmapsPriority",(void*) UnityEngine_Texture2D_get_streamingMipmapsPriority); - mono_add_internal_call("UnityEngine.Texture2D::get_requestedMipmapLevel",(void*) UnityEngine_Texture2D_get_requestedMipmapLevel); - mono_add_internal_call("UnityEngine.Texture2D::set_requestedMipmapLevel",(void*) UnityEngine_Texture2D_set_requestedMipmapLevel); - mono_add_internal_call("UnityEngine.Texture2D::get_minimumMipmapLevel",(void*) UnityEngine_Texture2D_get_minimumMipmapLevel); - mono_add_internal_call("UnityEngine.Texture2D::set_minimumMipmapLevel",(void*) UnityEngine_Texture2D_set_minimumMipmapLevel); - mono_add_internal_call("UnityEngine.Texture2D::get_loadAllMips",(void*) UnityEngine_Texture2D_get_loadAllMips); - mono_add_internal_call("UnityEngine.Texture2D::set_loadAllMips",(void*) UnityEngine_Texture2D_set_loadAllMips); - mono_add_internal_call("UnityEngine.Texture2D::get_calculatedMipmapLevel",(void*) UnityEngine_Texture2D_get_calculatedMipmapLevel); - mono_add_internal_call("UnityEngine.Texture2D::get_desiredMipmapLevel",(void*) UnityEngine_Texture2D_get_desiredMipmapLevel); - mono_add_internal_call("UnityEngine.Texture2D::get_loadingMipmapLevel",(void*) UnityEngine_Texture2D_get_loadingMipmapLevel); - mono_add_internal_call("UnityEngine.Texture2D::get_loadedMipmapLevel",(void*) UnityEngine_Texture2D_get_loadedMipmapLevel); - mono_add_internal_call("UnityEngine.Texture2D::ClearRequestedMipmapLevel",(void*) UnityEngine_Texture2D_ClearRequestedMipmapLevel); - mono_add_internal_call("UnityEngine.Texture2D::IsRequestedMipmapLevelLoaded",(void*) UnityEngine_Texture2D_IsRequestedMipmapLevelLoaded); - mono_add_internal_call("UnityEngine.Texture2D::ClearMinimumMipmapLevel",(void*) UnityEngine_Texture2D_ClearMinimumMipmapLevel); - mono_add_internal_call("UnityEngine.Texture2D::UpdateExternalTexture",(void*) UnityEngine_Texture2D_UpdateExternalTexture); - mono_add_internal_call("UnityEngine.Texture2D::SetAllPixels32",(void*) UnityEngine_Texture2D_SetAllPixels32); - mono_add_internal_call("UnityEngine.Texture2D::SetBlockOfPixels32",(void*) UnityEngine_Texture2D_SetBlockOfPixels32); - mono_add_internal_call("UnityEngine.Texture2D::GetRawTextureData",(void*) UnityEngine_Texture2D_GetRawTextureData); + mono_add_internal_call("UnityEngine.Texture2D::get_isReadable",(void*) UnityEngine_Texture2D_get_isReadable_1); mono_add_internal_call("UnityEngine.Texture2D::GetPixels",(void*) UnityEngine_Texture2D_GetPixels); - mono_add_internal_call("UnityEngine.Texture2D::GetPixels32",(void*) UnityEngine_Texture2D_GetPixels32); mono_add_internal_call("UnityEngine.Texture2D::PackTextures",(void*) UnityEngine_Texture2D_PackTextures); - mono_add_internal_call("UnityEngine.Texture2D::SetPixelImpl_Injected",(void*) UnityEngine_Texture2D_SetPixelImpl_Injected); - mono_add_internal_call("UnityEngine.Texture2D::GetPixelImpl_Injected",(void*) UnityEngine_Texture2D_GetPixelImpl_Injected); - mono_add_internal_call("UnityEngine.Texture2D::GetPixelBilinearImpl_Injected",(void*) UnityEngine_Texture2D_GetPixelBilinearImpl_Injected); - mono_add_internal_call("UnityEngine.Texture2D::ReadPixelsImpl_Injected",(void*) UnityEngine_Texture2D_ReadPixelsImpl_Injected); - mono_add_internal_call("UnityEngine.Cubemap::get_format",(void*) UnityEngine_Cubemap_get_format_1); - mono_add_internal_call("UnityEngine.Cubemap::Internal_CreateImpl",(void*) UnityEngine_Cubemap_Internal_CreateImpl_1); - mono_add_internal_call("UnityEngine.Cubemap::ApplyImpl",(void*) UnityEngine_Cubemap_ApplyImpl_1); - mono_add_internal_call("UnityEngine.Cubemap::UpdateExternalTexture",(void*) UnityEngine_Cubemap_UpdateExternalTexture_1); - mono_add_internal_call("UnityEngine.Cubemap::get_isReadable",(void*) UnityEngine_Cubemap_get_isReadable_3); - mono_add_internal_call("UnityEngine.Cubemap::SmoothEdges",(void*) UnityEngine_Cubemap_SmoothEdges); - mono_add_internal_call("UnityEngine.Cubemap::GetPixels",(void*) UnityEngine_Cubemap_GetPixels_1); - mono_add_internal_call("UnityEngine.Cubemap::SetPixels",(void*) UnityEngine_Cubemap_SetPixels); - mono_add_internal_call("UnityEngine.Cubemap::SetPixelDataImplArray",(void*) UnityEngine_Cubemap_SetPixelDataImplArray_1); - mono_add_internal_call("UnityEngine.Cubemap::SetPixelDataImpl",(void*) UnityEngine_Cubemap_SetPixelDataImpl_1); - mono_add_internal_call("UnityEngine.Cubemap::get_streamingMipmaps",(void*) UnityEngine_Cubemap_get_streamingMipmaps_1); - mono_add_internal_call("UnityEngine.Cubemap::get_streamingMipmapsPriority",(void*) UnityEngine_Cubemap_get_streamingMipmapsPriority_1); - mono_add_internal_call("UnityEngine.Cubemap::get_requestedMipmapLevel",(void*) UnityEngine_Cubemap_get_requestedMipmapLevel_1); - mono_add_internal_call("UnityEngine.Cubemap::set_requestedMipmapLevel",(void*) UnityEngine_Cubemap_set_requestedMipmapLevel_1); - mono_add_internal_call("UnityEngine.Cubemap::get_loadAllMips",(void*) UnityEngine_Cubemap_get_loadAllMips_1); - mono_add_internal_call("UnityEngine.Cubemap::set_loadAllMips",(void*) UnityEngine_Cubemap_set_loadAllMips_1); - mono_add_internal_call("UnityEngine.Cubemap::get_desiredMipmapLevel",(void*) UnityEngine_Cubemap_get_desiredMipmapLevel_1); - mono_add_internal_call("UnityEngine.Cubemap::get_loadingMipmapLevel",(void*) UnityEngine_Cubemap_get_loadingMipmapLevel_1); - mono_add_internal_call("UnityEngine.Cubemap::get_loadedMipmapLevel",(void*) UnityEngine_Cubemap_get_loadedMipmapLevel_1); - mono_add_internal_call("UnityEngine.Cubemap::ClearRequestedMipmapLevel",(void*) UnityEngine_Cubemap_ClearRequestedMipmapLevel_1); - mono_add_internal_call("UnityEngine.Cubemap::IsRequestedMipmapLevelLoaded",(void*) UnityEngine_Cubemap_IsRequestedMipmapLevelLoaded_1); - mono_add_internal_call("UnityEngine.Cubemap::SetPixelImpl_Injected",(void*) UnityEngine_Cubemap_SetPixelImpl_Injected_1); - mono_add_internal_call("UnityEngine.Cubemap::GetPixelImpl_Injected",(void*) UnityEngine_Cubemap_GetPixelImpl_Injected_1); - mono_add_internal_call("UnityEngine.Texture3D::get_depth",(void*) UnityEngine_Texture3D_get_depth_1); - mono_add_internal_call("UnityEngine.Texture3D::get_format",(void*) UnityEngine_Texture3D_get_format_2); - mono_add_internal_call("UnityEngine.Texture3D::get_isReadable",(void*) UnityEngine_Texture3D_get_isReadable_4); - mono_add_internal_call("UnityEngine.Texture3D::Internal_CreateImpl",(void*) UnityEngine_Texture3D_Internal_CreateImpl_2); - mono_add_internal_call("UnityEngine.Texture3D::ApplyImpl",(void*) UnityEngine_Texture3D_ApplyImpl_2); - mono_add_internal_call("UnityEngine.Texture3D::GetPixels",(void*) UnityEngine_Texture3D_GetPixels_2); - mono_add_internal_call("UnityEngine.Texture3D::GetPixels32",(void*) UnityEngine_Texture3D_GetPixels32_1); - mono_add_internal_call("UnityEngine.Texture3D::SetPixels",(void*) UnityEngine_Texture3D_SetPixels_1); - mono_add_internal_call("UnityEngine.Texture3D::SetPixels32",(void*) UnityEngine_Texture3D_SetPixels32); - mono_add_internal_call("UnityEngine.Texture3D::SetPixelDataImplArray",(void*) UnityEngine_Texture3D_SetPixelDataImplArray_2); - mono_add_internal_call("UnityEngine.Texture3D::SetPixelDataImpl",(void*) UnityEngine_Texture3D_SetPixelDataImpl_2); - mono_add_internal_call("UnityEngine.Texture3D::SetPixelImpl_Injected",(void*) UnityEngine_Texture3D_SetPixelImpl_Injected_2); - mono_add_internal_call("UnityEngine.Texture3D::GetPixelImpl_Injected",(void*) UnityEngine_Texture3D_GetPixelImpl_Injected_2); - mono_add_internal_call("UnityEngine.Texture3D::GetPixelBilinearImpl_Injected",(void*) UnityEngine_Texture3D_GetPixelBilinearImpl_Injected_1); - mono_add_internal_call("UnityEngine.Texture2DArray::get_allSlices",(void*) UnityEngine_Texture2DArray_get_allSlices); - mono_add_internal_call("UnityEngine.Texture2DArray::get_depth",(void*) UnityEngine_Texture2DArray_get_depth_2); - mono_add_internal_call("UnityEngine.Texture2DArray::get_format",(void*) UnityEngine_Texture2DArray_get_format_3); - mono_add_internal_call("UnityEngine.Texture2DArray::get_isReadable",(void*) UnityEngine_Texture2DArray_get_isReadable_5); - mono_add_internal_call("UnityEngine.Texture2DArray::Internal_CreateImpl",(void*) UnityEngine_Texture2DArray_Internal_CreateImpl_3); - mono_add_internal_call("UnityEngine.Texture2DArray::ApplyImpl",(void*) UnityEngine_Texture2DArray_ApplyImpl_3); - mono_add_internal_call("UnityEngine.Texture2DArray::GetPixels",(void*) UnityEngine_Texture2DArray_GetPixels_3); - mono_add_internal_call("UnityEngine.Texture2DArray::SetPixelDataImplArray",(void*) UnityEngine_Texture2DArray_SetPixelDataImplArray_3); - mono_add_internal_call("UnityEngine.Texture2DArray::SetPixelDataImpl",(void*) UnityEngine_Texture2DArray_SetPixelDataImpl_3); - mono_add_internal_call("UnityEngine.Texture2DArray::GetPixels32",(void*) UnityEngine_Texture2DArray_GetPixels32_2); - mono_add_internal_call("UnityEngine.Texture2DArray::SetPixels",(void*) UnityEngine_Texture2DArray_SetPixels_2); - mono_add_internal_call("UnityEngine.Texture2DArray::SetPixels32",(void*) UnityEngine_Texture2DArray_SetPixels32_1); - mono_add_internal_call("UnityEngine.CubemapArray::get_cubemapCount",(void*) UnityEngine_CubemapArray_get_cubemapCount); - mono_add_internal_call("UnityEngine.CubemapArray::get_format",(void*) UnityEngine_CubemapArray_get_format_4); - mono_add_internal_call("UnityEngine.CubemapArray::get_isReadable",(void*) UnityEngine_CubemapArray_get_isReadable_6); - mono_add_internal_call("UnityEngine.CubemapArray::Internal_CreateImpl",(void*) UnityEngine_CubemapArray_Internal_CreateImpl_4); - mono_add_internal_call("UnityEngine.CubemapArray::ApplyImpl",(void*) UnityEngine_CubemapArray_ApplyImpl_4); - mono_add_internal_call("UnityEngine.CubemapArray::GetPixels",(void*) UnityEngine_CubemapArray_GetPixels_4); - mono_add_internal_call("UnityEngine.CubemapArray::GetPixels32",(void*) UnityEngine_CubemapArray_GetPixels32_3); - mono_add_internal_call("UnityEngine.CubemapArray::SetPixels",(void*) UnityEngine_CubemapArray_SetPixels_3); - mono_add_internal_call("UnityEngine.CubemapArray::SetPixels32",(void*) UnityEngine_CubemapArray_SetPixels32_2); - mono_add_internal_call("UnityEngine.CubemapArray::SetPixelDataImplArray",(void*) UnityEngine_CubemapArray_SetPixelDataImplArray_4); - mono_add_internal_call("UnityEngine.CubemapArray::SetPixelDataImpl",(void*) UnityEngine_CubemapArray_SetPixelDataImpl_4); - mono_add_internal_call("UnityEngine.SparseTexture::get_tileWidth",(void*) UnityEngine_SparseTexture_get_tileWidth); - mono_add_internal_call("UnityEngine.SparseTexture::get_tileHeight",(void*) UnityEngine_SparseTexture_get_tileHeight); - mono_add_internal_call("UnityEngine.SparseTexture::get_isCreated",(void*) UnityEngine_SparseTexture_get_isCreated); - mono_add_internal_call("UnityEngine.SparseTexture::Internal_Create",(void*) UnityEngine_SparseTexture_Internal_Create_5); - mono_add_internal_call("UnityEngine.SparseTexture::UpdateTile",(void*) UnityEngine_SparseTexture_UpdateTile); - mono_add_internal_call("UnityEngine.SparseTexture::UpdateTileRaw",(void*) UnityEngine_SparseTexture_UpdateTileRaw); - mono_add_internal_call("UnityEngine.RenderTexture::get_width",(void*) UnityEngine_RenderTexture_get_width_2); - mono_add_internal_call("UnityEngine.RenderTexture::set_width",(void*) UnityEngine_RenderTexture_set_width_1); - mono_add_internal_call("UnityEngine.RenderTexture::get_height",(void*) UnityEngine_RenderTexture_get_height_2); - mono_add_internal_call("UnityEngine.RenderTexture::set_height",(void*) UnityEngine_RenderTexture_set_height_1); - mono_add_internal_call("UnityEngine.RenderTexture::get_dimension",(void*) UnityEngine_RenderTexture_get_dimension); - mono_add_internal_call("UnityEngine.RenderTexture::set_dimension",(void*) UnityEngine_RenderTexture_set_dimension); - mono_add_internal_call("UnityEngine.RenderTexture::get_graphicsFormat",(void*) UnityEngine_RenderTexture_get_graphicsFormat); - mono_add_internal_call("UnityEngine.RenderTexture::set_graphicsFormat",(void*) UnityEngine_RenderTexture_set_graphicsFormat); - mono_add_internal_call("UnityEngine.RenderTexture::get_useMipMap",(void*) UnityEngine_RenderTexture_get_useMipMap); - mono_add_internal_call("UnityEngine.RenderTexture::set_useMipMap",(void*) UnityEngine_RenderTexture_set_useMipMap); - mono_add_internal_call("UnityEngine.RenderTexture::get_sRGB",(void*) UnityEngine_RenderTexture_get_sRGB); - mono_add_internal_call("UnityEngine.RenderTexture::get_vrUsage",(void*) UnityEngine_RenderTexture_get_vrUsage); - mono_add_internal_call("UnityEngine.RenderTexture::set_vrUsage",(void*) UnityEngine_RenderTexture_set_vrUsage); - mono_add_internal_call("UnityEngine.RenderTexture::get_memorylessMode",(void*) UnityEngine_RenderTexture_get_memorylessMode); - mono_add_internal_call("UnityEngine.RenderTexture::set_memorylessMode",(void*) UnityEngine_RenderTexture_set_memorylessMode); - mono_add_internal_call("UnityEngine.RenderTexture::get_stencilFormat",(void*) UnityEngine_RenderTexture_get_stencilFormat); - mono_add_internal_call("UnityEngine.RenderTexture::set_stencilFormat",(void*) UnityEngine_RenderTexture_set_stencilFormat); - mono_add_internal_call("UnityEngine.RenderTexture::get_autoGenerateMips",(void*) UnityEngine_RenderTexture_get_autoGenerateMips); - mono_add_internal_call("UnityEngine.RenderTexture::set_autoGenerateMips",(void*) UnityEngine_RenderTexture_set_autoGenerateMips); - mono_add_internal_call("UnityEngine.RenderTexture::get_volumeDepth",(void*) UnityEngine_RenderTexture_get_volumeDepth); - mono_add_internal_call("UnityEngine.RenderTexture::set_volumeDepth",(void*) UnityEngine_RenderTexture_set_volumeDepth); - mono_add_internal_call("UnityEngine.RenderTexture::get_antiAliasing",(void*) UnityEngine_RenderTexture_get_antiAliasing_1); - mono_add_internal_call("UnityEngine.RenderTexture::set_antiAliasing",(void*) UnityEngine_RenderTexture_set_antiAliasing_1); - mono_add_internal_call("UnityEngine.RenderTexture::get_bindTextureMS",(void*) UnityEngine_RenderTexture_get_bindTextureMS); - mono_add_internal_call("UnityEngine.RenderTexture::set_bindTextureMS",(void*) UnityEngine_RenderTexture_set_bindTextureMS); - mono_add_internal_call("UnityEngine.RenderTexture::get_enableRandomWrite",(void*) UnityEngine_RenderTexture_get_enableRandomWrite); - mono_add_internal_call("UnityEngine.RenderTexture::set_enableRandomWrite",(void*) UnityEngine_RenderTexture_set_enableRandomWrite); - mono_add_internal_call("UnityEngine.RenderTexture::get_useDynamicScale",(void*) UnityEngine_RenderTexture_get_useDynamicScale); - mono_add_internal_call("UnityEngine.RenderTexture::set_useDynamicScale",(void*) UnityEngine_RenderTexture_set_useDynamicScale); - mono_add_internal_call("UnityEngine.RenderTexture::GetIsPowerOfTwo",(void*) UnityEngine_RenderTexture_GetIsPowerOfTwo); - mono_add_internal_call("UnityEngine.RenderTexture::GetActive",(void*) UnityEngine_RenderTexture_GetActive); - mono_add_internal_call("UnityEngine.RenderTexture::SetActive",(void*) UnityEngine_RenderTexture_SetActive); - mono_add_internal_call("UnityEngine.RenderTexture::GetNativeDepthBufferPtr",(void*) UnityEngine_RenderTexture_GetNativeDepthBufferPtr); - mono_add_internal_call("UnityEngine.RenderTexture::DiscardContents",(void*) UnityEngine_RenderTexture_DiscardContents); - mono_add_internal_call("UnityEngine.RenderTexture::MarkRestoreExpected",(void*) UnityEngine_RenderTexture_MarkRestoreExpected); - mono_add_internal_call("UnityEngine.RenderTexture::ResolveAA",(void*) UnityEngine_RenderTexture_ResolveAA); - mono_add_internal_call("UnityEngine.RenderTexture::ResolveAATo",(void*) UnityEngine_RenderTexture_ResolveAATo); - mono_add_internal_call("UnityEngine.RenderTexture::SetGlobalShaderProperty",(void*) UnityEngine_RenderTexture_SetGlobalShaderProperty); - mono_add_internal_call("UnityEngine.RenderTexture::Create",(void*) UnityEngine_RenderTexture_Create); - mono_add_internal_call("UnityEngine.RenderTexture::Release",(void*) UnityEngine_RenderTexture_Release); - mono_add_internal_call("UnityEngine.RenderTexture::IsCreated",(void*) UnityEngine_RenderTexture_IsCreated); - mono_add_internal_call("UnityEngine.RenderTexture::GenerateMips",(void*) UnityEngine_RenderTexture_GenerateMips); - mono_add_internal_call("UnityEngine.RenderTexture::ConvertToEquirect",(void*) UnityEngine_RenderTexture_ConvertToEquirect); - mono_add_internal_call("UnityEngine.RenderTexture::SetSRGBReadWrite",(void*) UnityEngine_RenderTexture_SetSRGBReadWrite); - mono_add_internal_call("UnityEngine.RenderTexture::Internal_Create",(void*) UnityEngine_RenderTexture_Internal_Create_6); - mono_add_internal_call("UnityEngine.RenderTexture::SupportsStencil",(void*) UnityEngine_RenderTexture_SupportsStencil); - mono_add_internal_call("UnityEngine.RenderTexture::ReleaseTemporary",(void*) UnityEngine_RenderTexture_ReleaseTemporary); - mono_add_internal_call("UnityEngine.RenderTexture::get_depth",(void*) UnityEngine_RenderTexture_get_depth_3); - mono_add_internal_call("UnityEngine.RenderTexture::set_depth",(void*) UnityEngine_RenderTexture_set_depth_1); - mono_add_internal_call("UnityEngine.RenderTexture::GetColorBuffer_Injected",(void*) UnityEngine_RenderTexture_GetColorBuffer_Injected); - mono_add_internal_call("UnityEngine.RenderTexture::GetDepthBuffer_Injected",(void*) UnityEngine_RenderTexture_GetDepthBuffer_Injected); - mono_add_internal_call("UnityEngine.RenderTexture::SetRenderTextureDescriptor_Injected",(void*) UnityEngine_RenderTexture_SetRenderTextureDescriptor_Injected); - mono_add_internal_call("UnityEngine.RenderTexture::GetDescriptor_Injected",(void*) UnityEngine_RenderTexture_GetDescriptor_Injected); - mono_add_internal_call("UnityEngine.RenderTexture::GetTemporary_Internal_Injected",(void*) UnityEngine_RenderTexture_GetTemporary_Internal_Injected); - mono_add_internal_call("UnityEngine.CustomRenderTexture::Internal_CreateCustomRenderTexture",(void*) UnityEngine_CustomRenderTexture_Internal_CreateCustomRenderTexture); - mono_add_internal_call("UnityEngine.CustomRenderTexture::Update",(void*) UnityEngine_CustomRenderTexture_Update); - mono_add_internal_call("UnityEngine.CustomRenderTexture::Initialize",(void*) UnityEngine_CustomRenderTexture_Initialize); - mono_add_internal_call("UnityEngine.CustomRenderTexture::ClearUpdateZones",(void*) UnityEngine_CustomRenderTexture_ClearUpdateZones); - mono_add_internal_call("UnityEngine.CustomRenderTexture::get_material",(void*) UnityEngine_CustomRenderTexture_get_material_3); - mono_add_internal_call("UnityEngine.CustomRenderTexture::set_material",(void*) UnityEngine_CustomRenderTexture_set_material_3); - mono_add_internal_call("UnityEngine.CustomRenderTexture::get_initializationMaterial",(void*) UnityEngine_CustomRenderTexture_get_initializationMaterial); - mono_add_internal_call("UnityEngine.CustomRenderTexture::set_initializationMaterial",(void*) UnityEngine_CustomRenderTexture_set_initializationMaterial); - mono_add_internal_call("UnityEngine.CustomRenderTexture::get_initializationTexture",(void*) UnityEngine_CustomRenderTexture_get_initializationTexture); - mono_add_internal_call("UnityEngine.CustomRenderTexture::set_initializationTexture",(void*) UnityEngine_CustomRenderTexture_set_initializationTexture); - mono_add_internal_call("UnityEngine.CustomRenderTexture::GetUpdateZonesInternal",(void*) UnityEngine_CustomRenderTexture_GetUpdateZonesInternal); - mono_add_internal_call("UnityEngine.CustomRenderTexture::SetUpdateZonesInternal",(void*) UnityEngine_CustomRenderTexture_SetUpdateZonesInternal); - mono_add_internal_call("UnityEngine.CustomRenderTexture::get_initializationSource",(void*) UnityEngine_CustomRenderTexture_get_initializationSource); - mono_add_internal_call("UnityEngine.CustomRenderTexture::set_initializationSource",(void*) UnityEngine_CustomRenderTexture_set_initializationSource); - mono_add_internal_call("UnityEngine.CustomRenderTexture::get_updateMode",(void*) UnityEngine_CustomRenderTexture_get_updateMode); - mono_add_internal_call("UnityEngine.CustomRenderTexture::set_updateMode",(void*) UnityEngine_CustomRenderTexture_set_updateMode); - mono_add_internal_call("UnityEngine.CustomRenderTexture::get_initializationMode",(void*) UnityEngine_CustomRenderTexture_get_initializationMode); - mono_add_internal_call("UnityEngine.CustomRenderTexture::set_initializationMode",(void*) UnityEngine_CustomRenderTexture_set_initializationMode); - mono_add_internal_call("UnityEngine.CustomRenderTexture::get_updateZoneSpace",(void*) UnityEngine_CustomRenderTexture_get_updateZoneSpace); - mono_add_internal_call("UnityEngine.CustomRenderTexture::set_updateZoneSpace",(void*) UnityEngine_CustomRenderTexture_set_updateZoneSpace); - mono_add_internal_call("UnityEngine.CustomRenderTexture::get_shaderPass",(void*) UnityEngine_CustomRenderTexture_get_shaderPass); - mono_add_internal_call("UnityEngine.CustomRenderTexture::set_shaderPass",(void*) UnityEngine_CustomRenderTexture_set_shaderPass); - mono_add_internal_call("UnityEngine.CustomRenderTexture::get_cubemapFaceMask",(void*) UnityEngine_CustomRenderTexture_get_cubemapFaceMask); - mono_add_internal_call("UnityEngine.CustomRenderTexture::set_cubemapFaceMask",(void*) UnityEngine_CustomRenderTexture_set_cubemapFaceMask); - mono_add_internal_call("UnityEngine.CustomRenderTexture::get_doubleBuffered",(void*) UnityEngine_CustomRenderTexture_get_doubleBuffered); - mono_add_internal_call("UnityEngine.CustomRenderTexture::set_doubleBuffered",(void*) UnityEngine_CustomRenderTexture_set_doubleBuffered); - mono_add_internal_call("UnityEngine.CustomRenderTexture::get_wrapUpdateZones",(void*) UnityEngine_CustomRenderTexture_get_wrapUpdateZones); - mono_add_internal_call("UnityEngine.CustomRenderTexture::set_wrapUpdateZones",(void*) UnityEngine_CustomRenderTexture_set_wrapUpdateZones); - mono_add_internal_call("UnityEngine.CustomRenderTexture::get_initializationColor_Injected",(void*) UnityEngine_CustomRenderTexture_get_initializationColor_Injected); - mono_add_internal_call("UnityEngine.CustomRenderTexture::set_initializationColor_Injected",(void*) UnityEngine_CustomRenderTexture_set_initializationColor_Injected); - mono_add_internal_call("UnityEngine.Handheld::Vibrate",(void*) UnityEngine_Handheld_Vibrate); - mono_add_internal_call("UnityEngine.Handheld::GetUse32BitDisplayBuffer_Bindings",(void*) UnityEngine_Handheld_GetUse32BitDisplayBuffer_Bindings); - mono_add_internal_call("UnityEngine.Handheld::SetActivityIndicatorStyleImpl_Bindings",(void*) UnityEngine_Handheld_SetActivityIndicatorStyleImpl_Bindings); - mono_add_internal_call("UnityEngine.Handheld::GetActivityIndicatorStyle",(void*) UnityEngine_Handheld_GetActivityIndicatorStyle); - mono_add_internal_call("UnityEngine.Handheld::StartActivityIndicator",(void*) UnityEngine_Handheld_StartActivityIndicator); - mono_add_internal_call("UnityEngine.Handheld::StopActivityIndicator",(void*) UnityEngine_Handheld_StopActivityIndicator); - mono_add_internal_call("UnityEngine.Handheld::ClearShaderCache",(void*) UnityEngine_Handheld_ClearShaderCache); - mono_add_internal_call("UnityEngine.Handheld::PlayFullScreenMovie_Bindings_Injected",(void*) UnityEngine_Handheld_PlayFullScreenMovie_Bindings_Injected); - mono_add_internal_call("UnityEngine.Hash128::Parse_Injected",(void*) UnityEngine_Hash128_Parse_Injected); - mono_add_internal_call("UnityEngine.Hash128::Internal_Hash128ToString_Injected",(void*) UnityEngine_Hash128_Internal_Hash128ToString_Injected); - mono_add_internal_call("UnityEngine.Hash128::Compute_Injected",(void*) UnityEngine_Hash128_Compute_Injected); - mono_add_internal_call("UnityEngine.HotReloadDeserializer::PrepareHotReload",(void*) UnityEngine_HotReloadDeserializer_PrepareHotReload); - mono_add_internal_call("UnityEngine.HotReloadDeserializer::FinishHotReload",(void*) UnityEngine_HotReloadDeserializer_FinishHotReload); - mono_add_internal_call("UnityEngine.HotReloadDeserializer::CreateEmptyAsset",(void*) UnityEngine_HotReloadDeserializer_CreateEmptyAsset); - mono_add_internal_call("UnityEngine.HotReloadDeserializer::DeserializeAsset",(void*) UnityEngine_HotReloadDeserializer_DeserializeAsset); - mono_add_internal_call("UnityEngine.HotReloadDeserializer::RemapInstanceIds",(void*) UnityEngine_HotReloadDeserializer_RemapInstanceIds); - mono_add_internal_call("UnityEngine.HotReloadDeserializer::FinalizeAssetCreation",(void*) UnityEngine_HotReloadDeserializer_FinalizeAssetCreation); - mono_add_internal_call("UnityEngine.HotReloadDeserializer::GetDependencies",(void*) UnityEngine_HotReloadDeserializer_GetDependencies); - mono_add_internal_call("UnityEngine.HotReloadDeserializer::GetNullDependencies",(void*) UnityEngine_HotReloadDeserializer_GetNullDependencies); - mono_add_internal_call("UnityEngine.Cursor::get_visible",(void*) UnityEngine_Cursor_get_visible); + mono_add_internal_call("UnityEngine.Cubemap::get_isReadable",(void*) UnityEngine_Cubemap_get_isReadable_2); + mono_add_internal_call("UnityEngine.Texture3D::get_isReadable",(void*) UnityEngine_Texture3D_get_isReadable_3); + mono_add_internal_call("UnityEngine.Texture2DArray::get_isReadable",(void*) UnityEngine_Texture2DArray_get_isReadable_4); + mono_add_internal_call("UnityEngine.CubemapArray::get_isReadable",(void*) UnityEngine_CubemapArray_get_isReadable_5); mono_add_internal_call("UnityEngine.Cursor::set_visible",(void*) UnityEngine_Cursor_set_visible); mono_add_internal_call("UnityEngine.Cursor::get_lockState",(void*) UnityEngine_Cursor_get_lockState); mono_add_internal_call("UnityEngine.Cursor::set_lockState",(void*) UnityEngine_Cursor_set_lockState); - mono_add_internal_call("UnityEngine.Cursor::SetCursor_Injected",(void*) UnityEngine_Cursor_SetCursor_Injected); - mono_add_internal_call("UnityEngine.UnityLogWriter::WriteStringToUnityLogImpl",(void*) UnityEngine_UnityLogWriter_WriteStringToUnityLogImpl); - mono_add_internal_call("UnityEngine.ColorUtility::DoTryParseHtmlColor",(void*) UnityEngine_ColorUtility_DoTryParseHtmlColor); - mono_add_internal_call("UnityEngine.Gradient::Init",(void*) UnityEngine_Gradient_Init_1); - mono_add_internal_call("UnityEngine.Gradient::Cleanup",(void*) UnityEngine_Gradient_Cleanup); - mono_add_internal_call("UnityEngine.Gradient::Internal_Equals",(void*) UnityEngine_Gradient_Internal_Equals_1); - mono_add_internal_call("UnityEngine.Gradient::get_colorKeys",(void*) UnityEngine_Gradient_get_colorKeys); - mono_add_internal_call("UnityEngine.Gradient::set_colorKeys",(void*) UnityEngine_Gradient_set_colorKeys); - mono_add_internal_call("UnityEngine.Gradient::get_alphaKeys",(void*) UnityEngine_Gradient_get_alphaKeys); - mono_add_internal_call("UnityEngine.Gradient::set_alphaKeys",(void*) UnityEngine_Gradient_set_alphaKeys); - mono_add_internal_call("UnityEngine.Gradient::get_mode",(void*) UnityEngine_Gradient_get_mode_1); - mono_add_internal_call("UnityEngine.Gradient::set_mode",(void*) UnityEngine_Gradient_set_mode_1); - mono_add_internal_call("UnityEngine.Gradient::SetKeys",(void*) UnityEngine_Gradient_SetKeys_1); - mono_add_internal_call("UnityEngine.Gradient::Evaluate_Injected",(void*) UnityEngine_Gradient_Evaluate_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::GetRotation_Injected",(void*) UnityEngine_Matrix4x4_GetRotation_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::GetLossyScale_Injected",(void*) UnityEngine_Matrix4x4_GetLossyScale_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::IsIdentity_Injected",(void*) UnityEngine_Matrix4x4_IsIdentity_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::GetDeterminant_Injected",(void*) UnityEngine_Matrix4x4_GetDeterminant_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::DecomposeProjection_Injected",(void*) UnityEngine_Matrix4x4_DecomposeProjection_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::ValidTRS_Injected",(void*) UnityEngine_Matrix4x4_ValidTRS_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::TRS_Injected",(void*) UnityEngine_Matrix4x4_TRS_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::Inverse3DAffine_Injected",(void*) UnityEngine_Matrix4x4_Inverse3DAffine_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::Inverse_Injected",(void*) UnityEngine_Matrix4x4_Inverse_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::Transpose_Injected",(void*) UnityEngine_Matrix4x4_Transpose_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::Ortho_Injected",(void*) UnityEngine_Matrix4x4_Ortho_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::Perspective_Injected",(void*) UnityEngine_Matrix4x4_Perspective_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::LookAt_Injected",(void*) UnityEngine_Matrix4x4_LookAt_Injected); - mono_add_internal_call("UnityEngine.Matrix4x4::Frustum_Injected",(void*) UnityEngine_Matrix4x4_Frustum_Injected); - mono_add_internal_call("UnityEngine.Vector3::OrthoNormalize2",(void*) UnityEngine_Vector3_OrthoNormalize2); - mono_add_internal_call("UnityEngine.Vector3::OrthoNormalize3",(void*) UnityEngine_Vector3_OrthoNormalize3); - mono_add_internal_call("UnityEngine.Vector3::Slerp_Injected",(void*) UnityEngine_Vector3_Slerp_Injected); - mono_add_internal_call("UnityEngine.Vector3::SlerpUnclamped_Injected",(void*) UnityEngine_Vector3_SlerpUnclamped_Injected); - mono_add_internal_call("UnityEngine.Vector3::RotateTowards_Injected",(void*) UnityEngine_Vector3_RotateTowards_Injected); - mono_add_internal_call("UnityEngine.Quaternion::FromToRotation_Injected",(void*) UnityEngine_Quaternion_FromToRotation_Injected); - mono_add_internal_call("UnityEngine.Quaternion::Inverse_Injected",(void*) UnityEngine_Quaternion_Inverse_Injected_1); - mono_add_internal_call("UnityEngine.Quaternion::Slerp_Injected",(void*) UnityEngine_Quaternion_Slerp_Injected_1); - mono_add_internal_call("UnityEngine.Quaternion::SlerpUnclamped_Injected",(void*) UnityEngine_Quaternion_SlerpUnclamped_Injected_1); - mono_add_internal_call("UnityEngine.Quaternion::Lerp_Injected",(void*) UnityEngine_Quaternion_Lerp_Injected); - mono_add_internal_call("UnityEngine.Quaternion::LerpUnclamped_Injected",(void*) UnityEngine_Quaternion_LerpUnclamped_Injected); - mono_add_internal_call("UnityEngine.Quaternion::Internal_FromEulerRad_Injected",(void*) UnityEngine_Quaternion_Internal_FromEulerRad_Injected); - mono_add_internal_call("UnityEngine.Quaternion::Internal_ToEulerRad_Injected",(void*) UnityEngine_Quaternion_Internal_ToEulerRad_Injected); - mono_add_internal_call("UnityEngine.Quaternion::Internal_ToAxisAngleRad_Injected",(void*) UnityEngine_Quaternion_Internal_ToAxisAngleRad_Injected); - mono_add_internal_call("UnityEngine.Quaternion::AngleAxis_Injected",(void*) UnityEngine_Quaternion_AngleAxis_Injected); - mono_add_internal_call("UnityEngine.Quaternion::LookRotation_Injected",(void*) UnityEngine_Quaternion_LookRotation_Injected); - mono_add_internal_call("UnityEngine.Mathf::ClosestPowerOfTwo",(void*) UnityEngine_Mathf_ClosestPowerOfTwo); - mono_add_internal_call("UnityEngine.Mathf::IsPowerOfTwo",(void*) UnityEngine_Mathf_IsPowerOfTwo); - mono_add_internal_call("UnityEngine.Mathf::NextPowerOfTwo",(void*) UnityEngine_Mathf_NextPowerOfTwo); - mono_add_internal_call("UnityEngine.Mathf::GammaToLinearSpace",(void*) UnityEngine_Mathf_GammaToLinearSpace); - mono_add_internal_call("UnityEngine.Mathf::LinearToGammaSpace",(void*) UnityEngine_Mathf_LinearToGammaSpace); - mono_add_internal_call("UnityEngine.Mathf::FloatToHalf",(void*) UnityEngine_Mathf_FloatToHalf); - mono_add_internal_call("UnityEngine.Mathf::HalfToFloat",(void*) UnityEngine_Mathf_HalfToFloat); - mono_add_internal_call("UnityEngine.Mathf::PerlinNoise",(void*) UnityEngine_Mathf_PerlinNoise); - mono_add_internal_call("UnityEngine.Mathf::CorrelatedColorTemperatureToRGB_Injected",(void*) UnityEngine_Mathf_CorrelatedColorTemperatureToRGB_Injected); - mono_add_internal_call("UnityEngine.Ping::Internal_Destroy",(void*) UnityEngine_Ping_Internal_Destroy_1); - mono_add_internal_call("UnityEngine.Ping::Internal_Create",(void*) UnityEngine_Ping_Internal_Create_7); - mono_add_internal_call("UnityEngine.Ping::Internal_IsDone",(void*) UnityEngine_Ping_Internal_IsDone); - mono_add_internal_call("UnityEngine.Ping::get_time",(void*) UnityEngine_Ping_get_time_1); - mono_add_internal_call("UnityEngine.Ping::get_ip",(void*) UnityEngine_Ping_get_ip); - mono_add_internal_call("UnityEngine.PlayerConnectionInternal::IsConnected",(void*) UnityEngine_PlayerConnectionInternal_IsConnected); - mono_add_internal_call("UnityEngine.PlayerConnectionInternal::Initialize",(void*) UnityEngine_PlayerConnectionInternal_Initialize_1); - mono_add_internal_call("UnityEngine.PlayerConnectionInternal::RegisterInternal",(void*) UnityEngine_PlayerConnectionInternal_RegisterInternal); - mono_add_internal_call("UnityEngine.PlayerConnectionInternal::UnregisterInternal",(void*) UnityEngine_PlayerConnectionInternal_UnregisterInternal); - mono_add_internal_call("UnityEngine.PlayerConnectionInternal::SendMessage",(void*) UnityEngine_PlayerConnectionInternal_SendMessage); - mono_add_internal_call("UnityEngine.PlayerConnectionInternal::TrySendMessage",(void*) UnityEngine_PlayerConnectionInternal_TrySendMessage); - mono_add_internal_call("UnityEngine.PlayerConnectionInternal::PollInternal",(void*) UnityEngine_PlayerConnectionInternal_PollInternal); - mono_add_internal_call("UnityEngine.PlayerConnectionInternal::DisconnectAll",(void*) UnityEngine_PlayerConnectionInternal_DisconnectAll); - mono_add_internal_call("UnityEngine.PlayerPrefs::TrySetInt",(void*) UnityEngine_PlayerPrefs_TrySetInt); - mono_add_internal_call("UnityEngine.PlayerPrefs::TrySetFloat",(void*) UnityEngine_PlayerPrefs_TrySetFloat); - mono_add_internal_call("UnityEngine.PlayerPrefs::TrySetSetString",(void*) UnityEngine_PlayerPrefs_TrySetSetString); mono_add_internal_call("UnityEngine.PlayerPrefs::GetInt",(void*) UnityEngine_PlayerPrefs_GetInt); mono_add_internal_call("UnityEngine.PlayerPrefs::GetFloat",(void*) UnityEngine_PlayerPrefs_GetFloat); mono_add_internal_call("UnityEngine.PlayerPrefs::GetString",(void*) UnityEngine_PlayerPrefs_GetString); @@ -29970,85 +18330,27 @@ void regist_icall_gen() mono_add_internal_call("UnityEngine.PlayerPrefs::DeleteKey",(void*) UnityEngine_PlayerPrefs_DeleteKey); mono_add_internal_call("UnityEngine.PlayerPrefs::DeleteAll",(void*) UnityEngine_PlayerPrefs_DeleteAll); mono_add_internal_call("UnityEngine.PlayerPrefs::Save",(void*) UnityEngine_PlayerPrefs_Save); - mono_add_internal_call("UnityEngine.DrivenPropertyManager::UnregisterProperties",(void*) UnityEngine_DrivenPropertyManager_UnregisterProperties); - mono_add_internal_call("UnityEngine.DrivenPropertyManager::RegisterPropertyPartial",(void*) UnityEngine_DrivenPropertyManager_RegisterPropertyPartial); - mono_add_internal_call("UnityEngine.DrivenPropertyManager::UnregisterPropertyPartial",(void*) UnityEngine_DrivenPropertyManager_UnregisterPropertyPartial); mono_add_internal_call("UnityEngine.PropertyNameUtils::PropertyNameFromString_Injected",(void*) UnityEngine_PropertyNameUtils_PropertyNameFromString_Injected); - mono_add_internal_call("UnityEngine.Random::get_seed",(void*) UnityEngine_Random_get_seed); - mono_add_internal_call("UnityEngine.Random::set_seed",(void*) UnityEngine_Random_set_seed); + mono_add_internal_call("UnityEngine.Random::RandomRangeInt",(void*) UnityEngine_Random_RandomRangeInt); mono_add_internal_call("UnityEngine.Random::InitState",(void*) UnityEngine_Random_InitState); mono_add_internal_call("UnityEngine.Random::Range",(void*) UnityEngine_Random_Range); - mono_add_internal_call("UnityEngine.Random::RandomRangeInt",(void*) UnityEngine_Random_RandomRangeInt); - mono_add_internal_call("UnityEngine.Random::get_value",(void*) UnityEngine_Random_get_value); - mono_add_internal_call("UnityEngine.Random::GetRandomUnitCircle",(void*) UnityEngine_Random_GetRandomUnitCircle); - mono_add_internal_call("UnityEngine.Random::get_state_Injected",(void*) UnityEngine_Random_get_state_Injected); - mono_add_internal_call("UnityEngine.Random::set_state_Injected",(void*) UnityEngine_Random_set_state_Injected); - mono_add_internal_call("UnityEngine.Random::get_insideUnitSphere_Injected",(void*) UnityEngine_Random_get_insideUnitSphere_Injected); - mono_add_internal_call("UnityEngine.Random::get_onUnitSphere_Injected",(void*) UnityEngine_Random_get_onUnitSphere_Injected); - mono_add_internal_call("UnityEngine.Random::get_rotation_Injected",(void*) UnityEngine_Random_get_rotation_Injected); - mono_add_internal_call("UnityEngine.Random::get_rotationUniform_Injected",(void*) UnityEngine_Random_get_rotationUniform_Injected); - mono_add_internal_call("UnityEngine.Resources::FindObjectsOfTypeAll",(void*) UnityEngine_Resources_FindObjectsOfTypeAll); - mono_add_internal_call("UnityEngine.Resources::Load",(void*) UnityEngine_Resources_Load); - mono_add_internal_call("UnityEngine.Resources::LoadAsyncInternal",(void*) UnityEngine_Resources_LoadAsyncInternal); - mono_add_internal_call("UnityEngine.Resources::LoadAll",(void*) UnityEngine_Resources_LoadAll); + mono_add_internal_call("UnityEngine.ResourcesAPIInternal::FindObjectsOfTypeAll",(void*) UnityEngine_ResourcesAPIInternal_FindObjectsOfTypeAll); + mono_add_internal_call("UnityEngine.ResourcesAPIInternal::FindShaderByName",(void*) UnityEngine_ResourcesAPIInternal_FindShaderByName); + mono_add_internal_call("UnityEngine.ResourcesAPIInternal::Load",(void*) UnityEngine_ResourcesAPIInternal_Load); + mono_add_internal_call("UnityEngine.ResourcesAPIInternal::LoadAll",(void*) UnityEngine_ResourcesAPIInternal_LoadAll); + mono_add_internal_call("UnityEngine.ResourcesAPIInternal::LoadAsyncInternal",(void*) UnityEngine_ResourcesAPIInternal_LoadAsyncInternal); + mono_add_internal_call("UnityEngine.ResourcesAPIInternal::UnloadAsset",(void*) UnityEngine_ResourcesAPIInternal_UnloadAsset); mono_add_internal_call("UnityEngine.Resources::GetBuiltinResource",(void*) UnityEngine_Resources_GetBuiltinResource); - mono_add_internal_call("UnityEngine.Resources::UnloadAsset",(void*) UnityEngine_Resources_UnloadAsset); + mono_add_internal_call("UnityEngine.Resources::UnloadAssetImplResourceManager",(void*) UnityEngine_Resources_UnloadAssetImplResourceManager); mono_add_internal_call("UnityEngine.Resources::UnloadUnusedAssets",(void*) UnityEngine_Resources_UnloadUnusedAssets); - mono_add_internal_call("UnityEngine.AsyncOperation::InternalDestroy",(void*) UnityEngine_AsyncOperation_InternalDestroy_1); + mono_add_internal_call("UnityEngine.Resources::InstanceIDToObject",(void*) UnityEngine_Resources_InstanceIDToObject); + mono_add_internal_call("UnityEngine.Resources::InstanceIDToObjectList",(void*) UnityEngine_Resources_InstanceIDToObjectList); mono_add_internal_call("UnityEngine.AsyncOperation::get_isDone",(void*) UnityEngine_AsyncOperation_get_isDone); - mono_add_internal_call("UnityEngine.AsyncOperation::get_progress",(void*) UnityEngine_AsyncOperation_get_progress); - mono_add_internal_call("UnityEngine.AsyncOperation::get_priority",(void*) UnityEngine_AsyncOperation_get_priority); - mono_add_internal_call("UnityEngine.AsyncOperation::set_priority",(void*) UnityEngine_AsyncOperation_set_priority); - mono_add_internal_call("UnityEngine.AsyncOperation::get_allowSceneActivation",(void*) UnityEngine_AsyncOperation_get_allowSceneActivation); - mono_add_internal_call("UnityEngine.AsyncOperation::set_allowSceneActivation",(void*) UnityEngine_AsyncOperation_set_allowSceneActivation); - mono_add_internal_call("UnityEngine.Behaviour::get_enabled",(void*) UnityEngine_Behaviour_get_enabled_3); - mono_add_internal_call("UnityEngine.Behaviour::set_enabled",(void*) UnityEngine_Behaviour_set_enabled_3); - mono_add_internal_call("UnityEngine.Behaviour::get_isActiveAndEnabled",(void*) UnityEngine_Behaviour_get_isActiveAndEnabled); - mono_add_internal_call("UnityEngine.Component::get_transform",(void*) UnityEngine_Component_get_transform); - mono_add_internal_call("UnityEngine.Component::get_gameObject",(void*) UnityEngine_Component_get_gameObject); - mono_add_internal_call("UnityEngine.Component::GetComponent",(void*) UnityEngine_Component_GetComponent); - mono_add_internal_call("UnityEngine.Component::GetComponentsForListInternal",(void*) UnityEngine_Component_GetComponentsForListInternal); - mono_add_internal_call("UnityEngine.Component::SendMessageUpwards",(void*) UnityEngine_Component_SendMessageUpwards); - mono_add_internal_call("UnityEngine.Component::SendMessage",(void*) UnityEngine_Component_SendMessage_1); - mono_add_internal_call("UnityEngine.Component::BroadcastMessage",(void*) UnityEngine_Component_BroadcastMessage); - mono_add_internal_call("UnityEngine.GameObject::CreatePrimitive",(void*) UnityEngine_GameObject_CreatePrimitive); - mono_add_internal_call("UnityEngine.GameObject::GetComponent",(void*) UnityEngine_GameObject_GetComponent_1); - mono_add_internal_call("UnityEngine.GameObject::GetComponentByName",(void*) UnityEngine_GameObject_GetComponentByName); - mono_add_internal_call("UnityEngine.GameObject::GetComponentInChildren",(void*) UnityEngine_GameObject_GetComponentInChildren); - mono_add_internal_call("UnityEngine.GameObject::GetComponentInParent",(void*) UnityEngine_GameObject_GetComponentInParent); - mono_add_internal_call("UnityEngine.GameObject::TryGetComponentInternal",(void*) UnityEngine_GameObject_TryGetComponentInternal); - mono_add_internal_call("UnityEngine.GameObject::TryGetComponentFastPath",(void*) UnityEngine_GameObject_TryGetComponentFastPath); - mono_add_internal_call("UnityEngine.GameObject::AddComponentInternal",(void*) UnityEngine_GameObject_AddComponentInternal); - mono_add_internal_call("UnityEngine.GameObject::get_transform",(void*) UnityEngine_GameObject_get_transform_1); - mono_add_internal_call("UnityEngine.GameObject::get_layer",(void*) UnityEngine_GameObject_get_layer); - mono_add_internal_call("UnityEngine.GameObject::set_layer",(void*) UnityEngine_GameObject_set_layer); - mono_add_internal_call("UnityEngine.GameObject::get_active",(void*) UnityEngine_GameObject_get_active); - mono_add_internal_call("UnityEngine.GameObject::set_active",(void*) UnityEngine_GameObject_set_active); - mono_add_internal_call("UnityEngine.GameObject::SetActive",(void*) UnityEngine_GameObject_SetActive_1); - mono_add_internal_call("UnityEngine.GameObject::get_activeSelf",(void*) UnityEngine_GameObject_get_activeSelf); - mono_add_internal_call("UnityEngine.GameObject::get_activeInHierarchy",(void*) UnityEngine_GameObject_get_activeInHierarchy); - mono_add_internal_call("UnityEngine.GameObject::SetActiveRecursively",(void*) UnityEngine_GameObject_SetActiveRecursively); - mono_add_internal_call("UnityEngine.GameObject::get_isStatic",(void*) UnityEngine_GameObject_get_isStatic); - mono_add_internal_call("UnityEngine.GameObject::set_isStatic",(void*) UnityEngine_GameObject_set_isStatic); - mono_add_internal_call("UnityEngine.GameObject::get_isStaticBatchable",(void*) UnityEngine_GameObject_get_isStaticBatchable); - mono_add_internal_call("UnityEngine.GameObject::get_tag",(void*) UnityEngine_GameObject_get_tag); - mono_add_internal_call("UnityEngine.GameObject::set_tag",(void*) UnityEngine_GameObject_set_tag); - mono_add_internal_call("UnityEngine.GameObject::CompareTag",(void*) UnityEngine_GameObject_CompareTag); - mono_add_internal_call("UnityEngine.GameObject::FindGameObjectWithTag",(void*) UnityEngine_GameObject_FindGameObjectWithTag); - mono_add_internal_call("UnityEngine.GameObject::FindGameObjectsWithTag",(void*) UnityEngine_GameObject_FindGameObjectsWithTag); - mono_add_internal_call("UnityEngine.GameObject::SendMessageUpwards",(void*) UnityEngine_GameObject_SendMessageUpwards_1); - mono_add_internal_call("UnityEngine.GameObject::SendMessage",(void*) UnityEngine_GameObject_SendMessage_2); - mono_add_internal_call("UnityEngine.GameObject::BroadcastMessage",(void*) UnityEngine_GameObject_BroadcastMessage_1); - mono_add_internal_call("UnityEngine.GameObject::Internal_CreateGameObject",(void*) UnityEngine_GameObject_Internal_CreateGameObject); - mono_add_internal_call("UnityEngine.GameObject::Find",(void*) UnityEngine_GameObject_Find_1); - mono_add_internal_call("UnityEngine.GameObject::get_sceneCullingMask",(void*) UnityEngine_GameObject_get_sceneCullingMask); - mono_add_internal_call("UnityEngine.GameObject::get_scene_Injected",(void*) UnityEngine_GameObject_get_scene_Injected_1); - mono_add_internal_call("UnityEngine.LayerMask::LayerToName",(void*) UnityEngine_LayerMask_LayerToName); mono_add_internal_call("UnityEngine.LayerMask::NameToLayer",(void*) UnityEngine_LayerMask_NameToLayer); - mono_add_internal_call("UnityEngine.MonoBehaviour::StopCoroutine",(void*) UnityEngine_MonoBehaviour_StopCoroutine); - mono_add_internal_call("UnityEngine.MonoBehaviour::StopAllCoroutines",(void*) UnityEngine_MonoBehaviour_StopAllCoroutines); mono_add_internal_call("UnityEngine.MonoBehaviour::get_useGUILayout",(void*) UnityEngine_MonoBehaviour_get_useGUILayout); mono_add_internal_call("UnityEngine.MonoBehaviour::set_useGUILayout",(void*) UnityEngine_MonoBehaviour_set_useGUILayout); + mono_add_internal_call("UnityEngine.MonoBehaviour::StopCoroutine",(void*) UnityEngine_MonoBehaviour_StopCoroutine); + mono_add_internal_call("UnityEngine.MonoBehaviour::StopAllCoroutines",(void*) UnityEngine_MonoBehaviour_StopAllCoroutines); mono_add_internal_call("UnityEngine.MonoBehaviour::Internal_CancelInvokeAll",(void*) UnityEngine_MonoBehaviour_Internal_CancelInvokeAll); mono_add_internal_call("UnityEngine.MonoBehaviour::Internal_IsInvokingAll",(void*) UnityEngine_MonoBehaviour_Internal_IsInvokingAll); mono_add_internal_call("UnityEngine.MonoBehaviour::InvokeDelayed",(void*) UnityEngine_MonoBehaviour_InvokeDelayed); @@ -30059,761 +18361,48 @@ void regist_icall_gen() mono_add_internal_call("UnityEngine.MonoBehaviour::StopCoroutineManaged",(void*) UnityEngine_MonoBehaviour_StopCoroutineManaged); mono_add_internal_call("UnityEngine.MonoBehaviour::StopCoroutineFromEnumeratorManaged",(void*) UnityEngine_MonoBehaviour_StopCoroutineFromEnumeratorManaged); mono_add_internal_call("UnityEngine.MonoBehaviour::GetScriptClassName",(void*) UnityEngine_MonoBehaviour_GetScriptClassName); - mono_add_internal_call("UnityEngine.NoAllocHelpers::Internal_ResizeList",(void*) UnityEngine_NoAllocHelpers_Internal_ResizeList); - mono_add_internal_call("UnityEngine.NoAllocHelpers::ExtractArrayFromList",(void*) UnityEngine_NoAllocHelpers_ExtractArrayFromList); - mono_add_internal_call("UnityEngine.ScriptableObject::SetDirty",(void*) UnityEngine_ScriptableObject_SetDirty); mono_add_internal_call("UnityEngine.ScriptableObject::CreateScriptableObject",(void*) UnityEngine_ScriptableObject_CreateScriptableObject); - mono_add_internal_call("UnityEngine.ScriptableObject::CreateScriptableObjectInstanceFromName",(void*) UnityEngine_ScriptableObject_CreateScriptableObjectInstanceFromName); mono_add_internal_call("UnityEngine.ScriptableObject::CreateScriptableObjectInstanceFromType",(void*) UnityEngine_ScriptableObject_CreateScriptableObjectInstanceFromType); - mono_add_internal_call("UnityEngine.ScriptableObject::ResetAndApplyDefaultInstances",(void*) UnityEngine_ScriptableObject_ResetAndApplyDefaultInstances); - mono_add_internal_call("UnityEngine.ScriptingRuntime::GetAllUserAssemblies",(void*) UnityEngine_ScriptingRuntime_GetAllUserAssemblies); - mono_add_internal_call("UnityEngine.TextAsset::get_text",(void*) UnityEngine_TextAsset_get_text); mono_add_internal_call("UnityEngine.TextAsset::get_bytes",(void*) UnityEngine_TextAsset_get_bytes); - mono_add_internal_call("UnityEngine.TextAsset::Internal_CreateInstance",(void*) UnityEngine_TextAsset_Internal_CreateInstance); - mono_add_internal_call("UnityEngine.UnhandledExceptionHandler::iOSNativeUnhandledExceptionHandler",(void*) UnityEngine_UnhandledExceptionHandler_iOSNativeUnhandledExceptionHandler); - mono_add_internal_call("UnityEngine.Object::Destroy",(void*) UnityEngine_Object_Destroy); - mono_add_internal_call("UnityEngine.Object::DestroyImmediate",(void*) UnityEngine_Object_DestroyImmediate); - mono_add_internal_call("UnityEngine.Object::FindObjectsOfType",(void*) UnityEngine_Object_FindObjectsOfType); - mono_add_internal_call("UnityEngine.Object::DontDestroyOnLoad",(void*) UnityEngine_Object_DontDestroyOnLoad); - mono_add_internal_call("UnityEngine.Object::get_hideFlags",(void*) UnityEngine_Object_get_hideFlags); - mono_add_internal_call("UnityEngine.Object::set_hideFlags",(void*) UnityEngine_Object_set_hideFlags); - mono_add_internal_call("UnityEngine.Object::FindSceneObjectsOfType",(void*) UnityEngine_Object_FindSceneObjectsOfType); - mono_add_internal_call("UnityEngine.Object::FindObjectsOfTypeIncludingAssets",(void*) UnityEngine_Object_FindObjectsOfTypeIncludingAssets); - mono_add_internal_call("UnityEngine.Object::GetOffsetOfInstanceIDInCPlusPlusObject",(void*) UnityEngine_Object_GetOffsetOfInstanceIDInCPlusPlusObject); - mono_add_internal_call("UnityEngine.Object::CurrentThreadIsMainThread",(void*) UnityEngine_Object_CurrentThreadIsMainThread); - mono_add_internal_call("UnityEngine.Object::Internal_CloneSingle",(void*) UnityEngine_Object_Internal_CloneSingle); - mono_add_internal_call("UnityEngine.Object::Internal_CloneSingleWithParent",(void*) UnityEngine_Object_Internal_CloneSingleWithParent); - mono_add_internal_call("UnityEngine.Object::ToString",(void*) UnityEngine_Object_ToString); - mono_add_internal_call("UnityEngine.Object::GetName",(void*) UnityEngine_Object_GetName); - mono_add_internal_call("UnityEngine.Object::IsPersistent",(void*) UnityEngine_Object_IsPersistent); - mono_add_internal_call("UnityEngine.Object::SetName",(void*) UnityEngine_Object_SetName); - mono_add_internal_call("UnityEngine.Object::DoesObjectWithInstanceIDExist",(void*) UnityEngine_Object_DoesObjectWithInstanceIDExist); - mono_add_internal_call("UnityEngine.Object::FindObjectFromInstanceID",(void*) UnityEngine_Object_FindObjectFromInstanceID); - mono_add_internal_call("UnityEngine.Object::ForceLoadFromInstanceID",(void*) UnityEngine_Object_ForceLoadFromInstanceID); - mono_add_internal_call("UnityEngine.Object::Internal_InstantiateSingle_Injected",(void*) UnityEngine_Object_Internal_InstantiateSingle_Injected); - mono_add_internal_call("UnityEngine.Object::Internal_InstantiateSingleWithParent_Injected",(void*) UnityEngine_Object_Internal_InstantiateSingleWithParent_Injected); - mono_add_internal_call("UnityEngine.ShaderVariantCollection::get_shaderCount",(void*) UnityEngine_ShaderVariantCollection_get_shaderCount); - mono_add_internal_call("UnityEngine.ShaderVariantCollection::get_variantCount",(void*) UnityEngine_ShaderVariantCollection_get_variantCount); - mono_add_internal_call("UnityEngine.ShaderVariantCollection::get_isWarmedUp",(void*) UnityEngine_ShaderVariantCollection_get_isWarmedUp); - mono_add_internal_call("UnityEngine.ShaderVariantCollection::AddVariant",(void*) UnityEngine_ShaderVariantCollection_AddVariant); - mono_add_internal_call("UnityEngine.ShaderVariantCollection::RemoveVariant",(void*) UnityEngine_ShaderVariantCollection_RemoveVariant); - mono_add_internal_call("UnityEngine.ShaderVariantCollection::ContainsVariant",(void*) UnityEngine_ShaderVariantCollection_ContainsVariant); - mono_add_internal_call("UnityEngine.ShaderVariantCollection::Clear",(void*) UnityEngine_ShaderVariantCollection_Clear_2); - mono_add_internal_call("UnityEngine.ShaderVariantCollection::WarmUp",(void*) UnityEngine_ShaderVariantCollection_WarmUp); - mono_add_internal_call("UnityEngine.ShaderVariantCollection::Internal_Create",(void*) UnityEngine_ShaderVariantCollection_Internal_Create_8); mono_add_internal_call("UnityEngine.ComputeShader::FindKernel",(void*) UnityEngine_ComputeShader_FindKernel); - mono_add_internal_call("UnityEngine.ComputeShader::HasKernel",(void*) UnityEngine_ComputeShader_HasKernel); - mono_add_internal_call("UnityEngine.ComputeShader::SetFloat",(void*) UnityEngine_ComputeShader_SetFloat); - mono_add_internal_call("UnityEngine.ComputeShader::SetInt",(void*) UnityEngine_ComputeShader_SetInt); - mono_add_internal_call("UnityEngine.ComputeShader::SetFloatArray",(void*) UnityEngine_ComputeShader_SetFloatArray); - mono_add_internal_call("UnityEngine.ComputeShader::SetIntArray",(void*) UnityEngine_ComputeShader_SetIntArray); - mono_add_internal_call("UnityEngine.ComputeShader::SetVectorArray",(void*) UnityEngine_ComputeShader_SetVectorArray); - mono_add_internal_call("UnityEngine.ComputeShader::SetMatrixArray",(void*) UnityEngine_ComputeShader_SetMatrixArray); - mono_add_internal_call("UnityEngine.ComputeShader::SetTexture",(void*) UnityEngine_ComputeShader_SetTexture); - mono_add_internal_call("UnityEngine.ComputeShader::SetRenderTexture",(void*) UnityEngine_ComputeShader_SetRenderTexture); - mono_add_internal_call("UnityEngine.ComputeShader::SetTextureFromGlobal",(void*) UnityEngine_ComputeShader_SetTextureFromGlobal); - mono_add_internal_call("UnityEngine.ComputeShader::GetKernelThreadGroupSizes",(void*) UnityEngine_ComputeShader_GetKernelThreadGroupSizes); - mono_add_internal_call("UnityEngine.ComputeShader::Dispatch",(void*) UnityEngine_ComputeShader_Dispatch); - mono_add_internal_call("UnityEngine.ComputeShader::SetVector_Injected",(void*) UnityEngine_ComputeShader_SetVector_Injected); - mono_add_internal_call("UnityEngine.ComputeShader::SetMatrix_Injected",(void*) UnityEngine_ComputeShader_SetMatrix_Injected); - mono_add_internal_call("UnityEngine.SystemInfo::GetBatteryLevel",(void*) UnityEngine_SystemInfo_GetBatteryLevel); - mono_add_internal_call("UnityEngine.SystemInfo::GetBatteryStatus",(void*) UnityEngine_SystemInfo_GetBatteryStatus); - mono_add_internal_call("UnityEngine.SystemInfo::GetOperatingSystem",(void*) UnityEngine_SystemInfo_GetOperatingSystem); - mono_add_internal_call("UnityEngine.SystemInfo::GetOperatingSystemFamily",(void*) UnityEngine_SystemInfo_GetOperatingSystemFamily); - mono_add_internal_call("UnityEngine.SystemInfo::GetProcessorType",(void*) UnityEngine_SystemInfo_GetProcessorType); - mono_add_internal_call("UnityEngine.SystemInfo::GetProcessorFrequencyMHz",(void*) UnityEngine_SystemInfo_GetProcessorFrequencyMHz); - mono_add_internal_call("UnityEngine.SystemInfo::GetProcessorCount",(void*) UnityEngine_SystemInfo_GetProcessorCount); - mono_add_internal_call("UnityEngine.SystemInfo::GetPhysicalMemoryMB",(void*) UnityEngine_SystemInfo_GetPhysicalMemoryMB); - mono_add_internal_call("UnityEngine.SystemInfo::GetDeviceUniqueIdentifier",(void*) UnityEngine_SystemInfo_GetDeviceUniqueIdentifier); - mono_add_internal_call("UnityEngine.SystemInfo::GetDeviceName",(void*) UnityEngine_SystemInfo_GetDeviceName); - mono_add_internal_call("UnityEngine.SystemInfo::GetDeviceModel",(void*) UnityEngine_SystemInfo_GetDeviceModel); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsAccelerometer",(void*) UnityEngine_SystemInfo_SupportsAccelerometer); - mono_add_internal_call("UnityEngine.SystemInfo::IsGyroAvailable",(void*) UnityEngine_SystemInfo_IsGyroAvailable); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsLocationService",(void*) UnityEngine_SystemInfo_SupportsLocationService); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsVibration",(void*) UnityEngine_SystemInfo_SupportsVibration); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsAudio",(void*) UnityEngine_SystemInfo_SupportsAudio); - mono_add_internal_call("UnityEngine.SystemInfo::GetDeviceType",(void*) UnityEngine_SystemInfo_GetDeviceType); - mono_add_internal_call("UnityEngine.SystemInfo::GetGraphicsMemorySize",(void*) UnityEngine_SystemInfo_GetGraphicsMemorySize); - mono_add_internal_call("UnityEngine.SystemInfo::GetGraphicsDeviceName",(void*) UnityEngine_SystemInfo_GetGraphicsDeviceName); - mono_add_internal_call("UnityEngine.SystemInfo::GetGraphicsDeviceVendor",(void*) UnityEngine_SystemInfo_GetGraphicsDeviceVendor); - mono_add_internal_call("UnityEngine.SystemInfo::GetGraphicsDeviceID",(void*) UnityEngine_SystemInfo_GetGraphicsDeviceID); - mono_add_internal_call("UnityEngine.SystemInfo::GetGraphicsDeviceVendorID",(void*) UnityEngine_SystemInfo_GetGraphicsDeviceVendorID); - mono_add_internal_call("UnityEngine.SystemInfo::GetGraphicsDeviceType",(void*) UnityEngine_SystemInfo_GetGraphicsDeviceType); - mono_add_internal_call("UnityEngine.SystemInfo::GetGraphicsUVStartsAtTop",(void*) UnityEngine_SystemInfo_GetGraphicsUVStartsAtTop); - mono_add_internal_call("UnityEngine.SystemInfo::GetGraphicsDeviceVersion",(void*) UnityEngine_SystemInfo_GetGraphicsDeviceVersion); - mono_add_internal_call("UnityEngine.SystemInfo::GetGraphicsShaderLevel",(void*) UnityEngine_SystemInfo_GetGraphicsShaderLevel); - mono_add_internal_call("UnityEngine.SystemInfo::GetGraphicsMultiThreaded",(void*) UnityEngine_SystemInfo_GetGraphicsMultiThreaded); - mono_add_internal_call("UnityEngine.SystemInfo::GetRenderingThreadingMode",(void*) UnityEngine_SystemInfo_GetRenderingThreadingMode); - mono_add_internal_call("UnityEngine.SystemInfo::HasHiddenSurfaceRemovalOnGPU",(void*) UnityEngine_SystemInfo_HasHiddenSurfaceRemovalOnGPU); - mono_add_internal_call("UnityEngine.SystemInfo::HasDynamicUniformArrayIndexingInFragmentShaders",(void*) UnityEngine_SystemInfo_HasDynamicUniformArrayIndexingInFragmentShaders); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsShadows",(void*) UnityEngine_SystemInfo_SupportsShadows); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsRawShadowDepthSampling",(void*) UnityEngine_SystemInfo_SupportsRawShadowDepthSampling); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsMotionVectors",(void*) UnityEngine_SystemInfo_SupportsMotionVectors); - mono_add_internal_call("UnityEngine.SystemInfo::Supports3DTextures",(void*) UnityEngine_SystemInfo_Supports3DTextures); - mono_add_internal_call("UnityEngine.SystemInfo::Supports2DArrayTextures",(void*) UnityEngine_SystemInfo_Supports2DArrayTextures); - mono_add_internal_call("UnityEngine.SystemInfo::Supports3DRenderTextures",(void*) UnityEngine_SystemInfo_Supports3DRenderTextures); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsCubemapArrayTextures",(void*) UnityEngine_SystemInfo_SupportsCubemapArrayTextures); - mono_add_internal_call("UnityEngine.SystemInfo::GetCopyTextureSupport",(void*) UnityEngine_SystemInfo_GetCopyTextureSupport); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsComputeShaders",(void*) UnityEngine_SystemInfo_SupportsComputeShaders); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsGeometryShaders",(void*) UnityEngine_SystemInfo_SupportsGeometryShaders); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsTessellationShaders",(void*) UnityEngine_SystemInfo_SupportsTessellationShaders); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsInstancing",(void*) UnityEngine_SystemInfo_SupportsInstancing); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsHardwareQuadTopology",(void*) UnityEngine_SystemInfo_SupportsHardwareQuadTopology); - mono_add_internal_call("UnityEngine.SystemInfo::Supports32bitsIndexBuffer",(void*) UnityEngine_SystemInfo_Supports32bitsIndexBuffer); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsSparseTextures",(void*) UnityEngine_SystemInfo_SupportsSparseTextures); - mono_add_internal_call("UnityEngine.SystemInfo::SupportedRenderTargetCount",(void*) UnityEngine_SystemInfo_SupportedRenderTargetCount); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsSeparatedRenderTargetsBlend",(void*) UnityEngine_SystemInfo_SupportsSeparatedRenderTargetsBlend); - mono_add_internal_call("UnityEngine.SystemInfo::SupportedRandomWriteTargetCount",(void*) UnityEngine_SystemInfo_SupportedRandomWriteTargetCount); - mono_add_internal_call("UnityEngine.SystemInfo::MaxComputeBufferInputsVertex",(void*) UnityEngine_SystemInfo_MaxComputeBufferInputsVertex); - mono_add_internal_call("UnityEngine.SystemInfo::MaxComputeBufferInputsFragment",(void*) UnityEngine_SystemInfo_MaxComputeBufferInputsFragment); - mono_add_internal_call("UnityEngine.SystemInfo::MaxComputeBufferInputsGeometry",(void*) UnityEngine_SystemInfo_MaxComputeBufferInputsGeometry); - mono_add_internal_call("UnityEngine.SystemInfo::MaxComputeBufferInputsDomain",(void*) UnityEngine_SystemInfo_MaxComputeBufferInputsDomain); - mono_add_internal_call("UnityEngine.SystemInfo::MaxComputeBufferInputsHull",(void*) UnityEngine_SystemInfo_MaxComputeBufferInputsHull); - mono_add_internal_call("UnityEngine.SystemInfo::MaxComputeBufferInputsCompute",(void*) UnityEngine_SystemInfo_MaxComputeBufferInputsCompute); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsMultisampledTextures",(void*) UnityEngine_SystemInfo_SupportsMultisampledTextures); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsMultisampleAutoResolve",(void*) UnityEngine_SystemInfo_SupportsMultisampleAutoResolve); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsTextureWrapMirrorOnce",(void*) UnityEngine_SystemInfo_SupportsTextureWrapMirrorOnce); - mono_add_internal_call("UnityEngine.SystemInfo::UsesReversedZBuffer",(void*) UnityEngine_SystemInfo_UsesReversedZBuffer); - mono_add_internal_call("UnityEngine.SystemInfo::HasRenderTextureNative",(void*) UnityEngine_SystemInfo_HasRenderTextureNative); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsBlendingOnRenderTextureFormatNative",(void*) UnityEngine_SystemInfo_SupportsBlendingOnRenderTextureFormatNative); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsTextureFormatNative",(void*) UnityEngine_SystemInfo_SupportsTextureFormatNative); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsVertexAttributeFormatNative",(void*) UnityEngine_SystemInfo_SupportsVertexAttributeFormatNative); - mono_add_internal_call("UnityEngine.SystemInfo::GetNPOTSupport",(void*) UnityEngine_SystemInfo_GetNPOTSupport); - mono_add_internal_call("UnityEngine.SystemInfo::GetMaxTextureSize",(void*) UnityEngine_SystemInfo_GetMaxTextureSize); - mono_add_internal_call("UnityEngine.SystemInfo::GetMaxCubemapSize",(void*) UnityEngine_SystemInfo_GetMaxCubemapSize); - mono_add_internal_call("UnityEngine.SystemInfo::GetMaxRenderTextureSize",(void*) UnityEngine_SystemInfo_GetMaxRenderTextureSize); - mono_add_internal_call("UnityEngine.SystemInfo::GetMaxComputeWorkGroupSize",(void*) UnityEngine_SystemInfo_GetMaxComputeWorkGroupSize); - mono_add_internal_call("UnityEngine.SystemInfo::GetMaxComputeWorkGroupSizeX",(void*) UnityEngine_SystemInfo_GetMaxComputeWorkGroupSizeX); - mono_add_internal_call("UnityEngine.SystemInfo::GetMaxComputeWorkGroupSizeY",(void*) UnityEngine_SystemInfo_GetMaxComputeWorkGroupSizeY); - mono_add_internal_call("UnityEngine.SystemInfo::GetMaxComputeWorkGroupSizeZ",(void*) UnityEngine_SystemInfo_GetMaxComputeWorkGroupSizeZ); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsAsyncCompute",(void*) UnityEngine_SystemInfo_SupportsAsyncCompute); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsGPUFence",(void*) UnityEngine_SystemInfo_SupportsGPUFence); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsAsyncGPUReadback",(void*) UnityEngine_SystemInfo_SupportsAsyncGPUReadback); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsRayTracing",(void*) UnityEngine_SystemInfo_SupportsRayTracing); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsSetConstantBuffer",(void*) UnityEngine_SystemInfo_SupportsSetConstantBuffer); - mono_add_internal_call("UnityEngine.SystemInfo::MinConstantBufferOffsetAlignment",(void*) UnityEngine_SystemInfo_MinConstantBufferOffsetAlignment); - mono_add_internal_call("UnityEngine.SystemInfo::HasMipMaxLevel",(void*) UnityEngine_SystemInfo_HasMipMaxLevel); - mono_add_internal_call("UnityEngine.SystemInfo::SupportsMipStreaming",(void*) UnityEngine_SystemInfo_SupportsMipStreaming); - mono_add_internal_call("UnityEngine.SystemInfo::IsFormatSupported",(void*) UnityEngine_SystemInfo_IsFormatSupported); - mono_add_internal_call("UnityEngine.SystemInfo::GetCompatibleFormat",(void*) UnityEngine_SystemInfo_GetCompatibleFormat); - mono_add_internal_call("UnityEngine.SystemInfo::GetGraphicsFormat",(void*) UnityEngine_SystemInfo_GetGraphicsFormat); - mono_add_internal_call("UnityEngine.SystemInfo::UsesLoadStoreActions",(void*) UnityEngine_SystemInfo_UsesLoadStoreActions); mono_add_internal_call("UnityEngine.Time::get_time",(void*) UnityEngine_Time_get_time_2); - mono_add_internal_call("UnityEngine.Time::get_timeSinceLevelLoad",(void*) UnityEngine_Time_get_timeSinceLevelLoad); mono_add_internal_call("UnityEngine.Time::get_deltaTime",(void*) UnityEngine_Time_get_deltaTime); - mono_add_internal_call("UnityEngine.Time::get_fixedTime",(void*) UnityEngine_Time_get_fixedTime); mono_add_internal_call("UnityEngine.Time::get_unscaledTime",(void*) UnityEngine_Time_get_unscaledTime); - mono_add_internal_call("UnityEngine.Time::get_fixedUnscaledTime",(void*) UnityEngine_Time_get_fixedUnscaledTime); mono_add_internal_call("UnityEngine.Time::get_unscaledDeltaTime",(void*) UnityEngine_Time_get_unscaledDeltaTime); - mono_add_internal_call("UnityEngine.Time::get_fixedUnscaledDeltaTime",(void*) UnityEngine_Time_get_fixedUnscaledDeltaTime); mono_add_internal_call("UnityEngine.Time::get_fixedDeltaTime",(void*) UnityEngine_Time_get_fixedDeltaTime); - mono_add_internal_call("UnityEngine.Time::set_fixedDeltaTime",(void*) UnityEngine_Time_set_fixedDeltaTime); mono_add_internal_call("UnityEngine.Time::get_maximumDeltaTime",(void*) UnityEngine_Time_get_maximumDeltaTime); - mono_add_internal_call("UnityEngine.Time::set_maximumDeltaTime",(void*) UnityEngine_Time_set_maximumDeltaTime); - mono_add_internal_call("UnityEngine.Time::get_smoothDeltaTime",(void*) UnityEngine_Time_get_smoothDeltaTime); - mono_add_internal_call("UnityEngine.Time::get_maximumParticleDeltaTime",(void*) UnityEngine_Time_get_maximumParticleDeltaTime); - mono_add_internal_call("UnityEngine.Time::set_maximumParticleDeltaTime",(void*) UnityEngine_Time_set_maximumParticleDeltaTime); mono_add_internal_call("UnityEngine.Time::get_timeScale",(void*) UnityEngine_Time_get_timeScale); mono_add_internal_call("UnityEngine.Time::set_timeScale",(void*) UnityEngine_Time_set_timeScale); mono_add_internal_call("UnityEngine.Time::get_frameCount",(void*) UnityEngine_Time_get_frameCount); - mono_add_internal_call("UnityEngine.Time::get_renderedFrameCount",(void*) UnityEngine_Time_get_renderedFrameCount); mono_add_internal_call("UnityEngine.Time::get_realtimeSinceStartup",(void*) UnityEngine_Time_get_realtimeSinceStartup); - mono_add_internal_call("UnityEngine.Time::get_captureDeltaTime",(void*) UnityEngine_Time_get_captureDeltaTime); mono_add_internal_call("UnityEngine.Time::set_captureDeltaTime",(void*) UnityEngine_Time_set_captureDeltaTime); - mono_add_internal_call("UnityEngine.Time::get_inFixedTimeStep",(void*) UnityEngine_Time_get_inFixedTimeStep); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::Internal_Destroy",(void*) UnityEngine_TouchScreenKeyboard_Internal_Destroy_2); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::TouchScreenKeyboard_InternalConstructorHelper",(void*) UnityEngine_TouchScreenKeyboard_TouchScreenKeyboard_InternalConstructorHelper); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::get_text",(void*) UnityEngine_TouchScreenKeyboard_get_text_1); + mono_add_internal_call("UnityEngine.TouchScreenKeyboard::get_text",(void*) UnityEngine_TouchScreenKeyboard_get_text); mono_add_internal_call("UnityEngine.TouchScreenKeyboard::set_text",(void*) UnityEngine_TouchScreenKeyboard_set_text); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::get_hideInput",(void*) UnityEngine_TouchScreenKeyboard_get_hideInput); mono_add_internal_call("UnityEngine.TouchScreenKeyboard::set_hideInput",(void*) UnityEngine_TouchScreenKeyboard_set_hideInput); mono_add_internal_call("UnityEngine.TouchScreenKeyboard::get_active",(void*) UnityEngine_TouchScreenKeyboard_get_active_1); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::set_active",(void*) UnityEngine_TouchScreenKeyboard_set_active_1); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::GetDone",(void*) UnityEngine_TouchScreenKeyboard_GetDone); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::GetWasCanceled",(void*) UnityEngine_TouchScreenKeyboard_GetWasCanceled); + mono_add_internal_call("UnityEngine.TouchScreenKeyboard::set_active",(void*) UnityEngine_TouchScreenKeyboard_set_active); mono_add_internal_call("UnityEngine.TouchScreenKeyboard::get_status",(void*) UnityEngine_TouchScreenKeyboard_get_status); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::get_characterLimit",(void*) UnityEngine_TouchScreenKeyboard_get_characterLimit); mono_add_internal_call("UnityEngine.TouchScreenKeyboard::set_characterLimit",(void*) UnityEngine_TouchScreenKeyboard_set_characterLimit); mono_add_internal_call("UnityEngine.TouchScreenKeyboard::get_canGetSelection",(void*) UnityEngine_TouchScreenKeyboard_get_canGetSelection); mono_add_internal_call("UnityEngine.TouchScreenKeyboard::get_canSetSelection",(void*) UnityEngine_TouchScreenKeyboard_get_canSetSelection); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::GetSelection",(void*) UnityEngine_TouchScreenKeyboard_GetSelection); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::SetSelection",(void*) UnityEngine_TouchScreenKeyboard_SetSelection); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::get_type",(void*) UnityEngine_TouchScreenKeyboard_get_type_2); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::get_visible",(void*) UnityEngine_TouchScreenKeyboard_get_visible_1); - mono_add_internal_call("UnityEngine.TouchScreenKeyboard::get_area_Injected",(void*) UnityEngine_TouchScreenKeyboard_get_area_Injected); - mono_add_internal_call("UnityEngine.UnityEventQueueSystem::GetGlobalEventQueue",(void*) UnityEngine_UnityEventQueueSystem_GetGlobalEventQueue); - mono_add_internal_call("UnityEngine.RectTransform::get_drivenByObject",(void*) UnityEngine_RectTransform_get_drivenByObject); - mono_add_internal_call("UnityEngine.RectTransform::set_drivenByObject",(void*) UnityEngine_RectTransform_set_drivenByObject); - mono_add_internal_call("UnityEngine.RectTransform::get_drivenProperties",(void*) UnityEngine_RectTransform_get_drivenProperties); - mono_add_internal_call("UnityEngine.RectTransform::set_drivenProperties",(void*) UnityEngine_RectTransform_set_drivenProperties); - mono_add_internal_call("UnityEngine.RectTransform::ForceUpdateRectTransforms",(void*) UnityEngine_RectTransform_ForceUpdateRectTransforms); - mono_add_internal_call("UnityEngine.RectTransform::get_rect_Injected",(void*) UnityEngine_RectTransform_get_rect_Injected_1); - mono_add_internal_call("UnityEngine.RectTransform::get_anchorMin_Injected",(void*) UnityEngine_RectTransform_get_anchorMin_Injected); - mono_add_internal_call("UnityEngine.RectTransform::set_anchorMin_Injected",(void*) UnityEngine_RectTransform_set_anchorMin_Injected); - mono_add_internal_call("UnityEngine.RectTransform::get_anchorMax_Injected",(void*) UnityEngine_RectTransform_get_anchorMax_Injected); - mono_add_internal_call("UnityEngine.RectTransform::set_anchorMax_Injected",(void*) UnityEngine_RectTransform_set_anchorMax_Injected); - mono_add_internal_call("UnityEngine.RectTransform::get_anchoredPosition_Injected",(void*) UnityEngine_RectTransform_get_anchoredPosition_Injected); - mono_add_internal_call("UnityEngine.RectTransform::set_anchoredPosition_Injected",(void*) UnityEngine_RectTransform_set_anchoredPosition_Injected); - mono_add_internal_call("UnityEngine.RectTransform::get_sizeDelta_Injected",(void*) UnityEngine_RectTransform_get_sizeDelta_Injected); - mono_add_internal_call("UnityEngine.RectTransform::set_sizeDelta_Injected",(void*) UnityEngine_RectTransform_set_sizeDelta_Injected); - mono_add_internal_call("UnityEngine.RectTransform::get_pivot_Injected",(void*) UnityEngine_RectTransform_get_pivot_Injected); - mono_add_internal_call("UnityEngine.RectTransform::set_pivot_Injected",(void*) UnityEngine_RectTransform_set_pivot_Injected); - mono_add_internal_call("UnityEngine.Transform::GetRotationOrderInternal",(void*) UnityEngine_Transform_GetRotationOrderInternal); - mono_add_internal_call("UnityEngine.Transform::SetRotationOrderInternal",(void*) UnityEngine_Transform_SetRotationOrderInternal); - mono_add_internal_call("UnityEngine.Transform::GetParent",(void*) UnityEngine_Transform_GetParent); - mono_add_internal_call("UnityEngine.Transform::SetParent",(void*) UnityEngine_Transform_SetParent); - mono_add_internal_call("UnityEngine.Transform::GetRoot",(void*) UnityEngine_Transform_GetRoot); - mono_add_internal_call("UnityEngine.Transform::get_childCount",(void*) UnityEngine_Transform_get_childCount); - mono_add_internal_call("UnityEngine.Transform::DetachChildren",(void*) UnityEngine_Transform_DetachChildren); - mono_add_internal_call("UnityEngine.Transform::SetAsFirstSibling",(void*) UnityEngine_Transform_SetAsFirstSibling); - mono_add_internal_call("UnityEngine.Transform::SetAsLastSibling",(void*) UnityEngine_Transform_SetAsLastSibling); - mono_add_internal_call("UnityEngine.Transform::SetSiblingIndex",(void*) UnityEngine_Transform_SetSiblingIndex); - mono_add_internal_call("UnityEngine.Transform::GetSiblingIndex",(void*) UnityEngine_Transform_GetSiblingIndex); - mono_add_internal_call("UnityEngine.Transform::FindRelativeTransformWithPath",(void*) UnityEngine_Transform_FindRelativeTransformWithPath); - mono_add_internal_call("UnityEngine.Transform::SendTransformChangedScale",(void*) UnityEngine_Transform_SendTransformChangedScale); - mono_add_internal_call("UnityEngine.Transform::IsChildOf",(void*) UnityEngine_Transform_IsChildOf); - mono_add_internal_call("UnityEngine.Transform::get_hasChanged",(void*) UnityEngine_Transform_get_hasChanged); - mono_add_internal_call("UnityEngine.Transform::set_hasChanged",(void*) UnityEngine_Transform_set_hasChanged); - mono_add_internal_call("UnityEngine.Transform::GetChild",(void*) UnityEngine_Transform_GetChild); - mono_add_internal_call("UnityEngine.Transform::GetChildCount",(void*) UnityEngine_Transform_GetChildCount); - mono_add_internal_call("UnityEngine.Transform::internal_getHierarchyCapacity",(void*) UnityEngine_Transform_internal_getHierarchyCapacity); - mono_add_internal_call("UnityEngine.Transform::internal_setHierarchyCapacity",(void*) UnityEngine_Transform_internal_setHierarchyCapacity); - mono_add_internal_call("UnityEngine.Transform::internal_getHierarchyCount",(void*) UnityEngine_Transform_internal_getHierarchyCount); - mono_add_internal_call("UnityEngine.Transform::IsNonUniformScaleTransform",(void*) UnityEngine_Transform_IsNonUniformScaleTransform); - mono_add_internal_call("UnityEngine.Transform::get_position_Injected",(void*) UnityEngine_Transform_get_position_Injected); - mono_add_internal_call("UnityEngine.Transform::set_position_Injected",(void*) UnityEngine_Transform_set_position_Injected); - mono_add_internal_call("UnityEngine.Transform::get_localPosition_Injected",(void*) UnityEngine_Transform_get_localPosition_Injected); - mono_add_internal_call("UnityEngine.Transform::set_localPosition_Injected",(void*) UnityEngine_Transform_set_localPosition_Injected); - mono_add_internal_call("UnityEngine.Transform::GetLocalEulerAngles_Injected",(void*) UnityEngine_Transform_GetLocalEulerAngles_Injected); - mono_add_internal_call("UnityEngine.Transform::SetLocalEulerAngles_Injected",(void*) UnityEngine_Transform_SetLocalEulerAngles_Injected); - mono_add_internal_call("UnityEngine.Transform::SetLocalEulerHint_Injected",(void*) UnityEngine_Transform_SetLocalEulerHint_Injected); - mono_add_internal_call("UnityEngine.Transform::get_rotation_Injected",(void*) UnityEngine_Transform_get_rotation_Injected_1); - mono_add_internal_call("UnityEngine.Transform::set_rotation_Injected",(void*) UnityEngine_Transform_set_rotation_Injected); - mono_add_internal_call("UnityEngine.Transform::get_localRotation_Injected",(void*) UnityEngine_Transform_get_localRotation_Injected); - mono_add_internal_call("UnityEngine.Transform::set_localRotation_Injected",(void*) UnityEngine_Transform_set_localRotation_Injected); - mono_add_internal_call("UnityEngine.Transform::get_localScale_Injected",(void*) UnityEngine_Transform_get_localScale_Injected); - mono_add_internal_call("UnityEngine.Transform::set_localScale_Injected",(void*) UnityEngine_Transform_set_localScale_Injected); - mono_add_internal_call("UnityEngine.Transform::get_worldToLocalMatrix_Injected",(void*) UnityEngine_Transform_get_worldToLocalMatrix_Injected_1); - mono_add_internal_call("UnityEngine.Transform::get_localToWorldMatrix_Injected",(void*) UnityEngine_Transform_get_localToWorldMatrix_Injected_1); - mono_add_internal_call("UnityEngine.Transform::SetPositionAndRotation_Injected",(void*) UnityEngine_Transform_SetPositionAndRotation_Injected); - mono_add_internal_call("UnityEngine.Transform::RotateAroundInternal_Injected",(void*) UnityEngine_Transform_RotateAroundInternal_Injected); - mono_add_internal_call("UnityEngine.Transform::Internal_LookAt_Injected",(void*) UnityEngine_Transform_Internal_LookAt_Injected); - mono_add_internal_call("UnityEngine.Transform::TransformDirection_Injected",(void*) UnityEngine_Transform_TransformDirection_Injected); - mono_add_internal_call("UnityEngine.Transform::InverseTransformDirection_Injected",(void*) UnityEngine_Transform_InverseTransformDirection_Injected); - mono_add_internal_call("UnityEngine.Transform::TransformVector_Injected",(void*) UnityEngine_Transform_TransformVector_Injected); - mono_add_internal_call("UnityEngine.Transform::InverseTransformVector_Injected",(void*) UnityEngine_Transform_InverseTransformVector_Injected); - mono_add_internal_call("UnityEngine.Transform::TransformPoint_Injected",(void*) UnityEngine_Transform_TransformPoint_Injected); - mono_add_internal_call("UnityEngine.Transform::InverseTransformPoint_Injected",(void*) UnityEngine_Transform_InverseTransformPoint_Injected); - mono_add_internal_call("UnityEngine.Transform::get_lossyScale_Injected",(void*) UnityEngine_Transform_get_lossyScale_Injected); - mono_add_internal_call("UnityEngine.Transform::RotateAround_Injected",(void*) UnityEngine_Transform_RotateAround_Injected); - mono_add_internal_call("UnityEngine.Transform::RotateAroundLocal_Injected",(void*) UnityEngine_Transform_RotateAroundLocal_Injected); - mono_add_internal_call("UnityEngine.SpriteRenderer::get_shouldSupportTiling",(void*) UnityEngine_SpriteRenderer_get_shouldSupportTiling); - mono_add_internal_call("UnityEngine.SpriteRenderer::get_sprite",(void*) UnityEngine_SpriteRenderer_get_sprite); mono_add_internal_call("UnityEngine.SpriteRenderer::set_sprite",(void*) UnityEngine_SpriteRenderer_set_sprite); - mono_add_internal_call("UnityEngine.SpriteRenderer::get_drawMode",(void*) UnityEngine_SpriteRenderer_get_drawMode); - mono_add_internal_call("UnityEngine.SpriteRenderer::set_drawMode",(void*) UnityEngine_SpriteRenderer_set_drawMode); - mono_add_internal_call("UnityEngine.SpriteRenderer::get_adaptiveModeThreshold",(void*) UnityEngine_SpriteRenderer_get_adaptiveModeThreshold); - mono_add_internal_call("UnityEngine.SpriteRenderer::set_adaptiveModeThreshold",(void*) UnityEngine_SpriteRenderer_set_adaptiveModeThreshold); - mono_add_internal_call("UnityEngine.SpriteRenderer::get_tileMode",(void*) UnityEngine_SpriteRenderer_get_tileMode); - mono_add_internal_call("UnityEngine.SpriteRenderer::set_tileMode",(void*) UnityEngine_SpriteRenderer_set_tileMode); - mono_add_internal_call("UnityEngine.SpriteRenderer::get_maskInteraction",(void*) UnityEngine_SpriteRenderer_get_maskInteraction); - mono_add_internal_call("UnityEngine.SpriteRenderer::set_maskInteraction",(void*) UnityEngine_SpriteRenderer_set_maskInteraction); - mono_add_internal_call("UnityEngine.SpriteRenderer::get_flipX",(void*) UnityEngine_SpriteRenderer_get_flipX); - mono_add_internal_call("UnityEngine.SpriteRenderer::set_flipX",(void*) UnityEngine_SpriteRenderer_set_flipX); - mono_add_internal_call("UnityEngine.SpriteRenderer::get_flipY",(void*) UnityEngine_SpriteRenderer_get_flipY); - mono_add_internal_call("UnityEngine.SpriteRenderer::set_flipY",(void*) UnityEngine_SpriteRenderer_set_flipY); - mono_add_internal_call("UnityEngine.SpriteRenderer::get_spriteSortPoint",(void*) UnityEngine_SpriteRenderer_get_spriteSortPoint); - mono_add_internal_call("UnityEngine.SpriteRenderer::set_spriteSortPoint",(void*) UnityEngine_SpriteRenderer_set_spriteSortPoint); - mono_add_internal_call("UnityEngine.SpriteRenderer::get_size_Injected",(void*) UnityEngine_SpriteRenderer_get_size_Injected_2); - mono_add_internal_call("UnityEngine.SpriteRenderer::set_size_Injected",(void*) UnityEngine_SpriteRenderer_set_size_Injected_2); - mono_add_internal_call("UnityEngine.SpriteRenderer::get_color_Injected",(void*) UnityEngine_SpriteRenderer_get_color_Injected_3); - mono_add_internal_call("UnityEngine.SpriteRenderer::set_color_Injected",(void*) UnityEngine_SpriteRenderer_set_color_Injected_3); - mono_add_internal_call("UnityEngine.SpriteRenderer::Internal_GetSpriteBounds_Injected",(void*) UnityEngine_SpriteRenderer_Internal_GetSpriteBounds_Injected); - mono_add_internal_call("UnityEngine.Sprite::GetPackingMode",(void*) UnityEngine_Sprite_GetPackingMode); - mono_add_internal_call("UnityEngine.Sprite::GetPackingRotation",(void*) UnityEngine_Sprite_GetPackingRotation); - mono_add_internal_call("UnityEngine.Sprite::GetPacked",(void*) UnityEngine_Sprite_GetPacked); - mono_add_internal_call("UnityEngine.Sprite::get_texture",(void*) UnityEngine_Sprite_get_texture_1); + mono_add_internal_call("UnityEngine.Sprite::get_texture",(void*) UnityEngine_Sprite_get_texture); mono_add_internal_call("UnityEngine.Sprite::get_pixelsPerUnit",(void*) UnityEngine_Sprite_get_pixelsPerUnit); - mono_add_internal_call("UnityEngine.Sprite::get_spriteAtlasTextureScale",(void*) UnityEngine_Sprite_get_spriteAtlasTextureScale); mono_add_internal_call("UnityEngine.Sprite::get_associatedAlphaSplitTexture",(void*) UnityEngine_Sprite_get_associatedAlphaSplitTexture); mono_add_internal_call("UnityEngine.Sprite::get_vertices",(void*) UnityEngine_Sprite_get_vertices); mono_add_internal_call("UnityEngine.Sprite::get_triangles",(void*) UnityEngine_Sprite_get_triangles); mono_add_internal_call("UnityEngine.Sprite::get_uv",(void*) UnityEngine_Sprite_get_uv); - mono_add_internal_call("UnityEngine.Sprite::GetPhysicsShapeCount",(void*) UnityEngine_Sprite_GetPhysicsShapeCount); - mono_add_internal_call("UnityEngine.Sprite::Internal_GetPhysicsShapePointCount",(void*) UnityEngine_Sprite_Internal_GetPhysicsShapePointCount); - mono_add_internal_call("UnityEngine.Sprite::GetPhysicsShapeImpl",(void*) UnityEngine_Sprite_GetPhysicsShapeImpl); - mono_add_internal_call("UnityEngine.Sprite::OverridePhysicsShapeCount",(void*) UnityEngine_Sprite_OverridePhysicsShapeCount); - mono_add_internal_call("UnityEngine.Sprite::OverridePhysicsShape",(void*) UnityEngine_Sprite_OverridePhysicsShape); - mono_add_internal_call("UnityEngine.Sprite::OverrideGeometry",(void*) UnityEngine_Sprite_OverrideGeometry); - mono_add_internal_call("UnityEngine.Sprite::GetTextureRect_Injected",(void*) UnityEngine_Sprite_GetTextureRect_Injected); - mono_add_internal_call("UnityEngine.Sprite::GetTextureRectOffset_Injected",(void*) UnityEngine_Sprite_GetTextureRectOffset_Injected); mono_add_internal_call("UnityEngine.Sprite::GetInnerUVs_Injected",(void*) UnityEngine_Sprite_GetInnerUVs_Injected); mono_add_internal_call("UnityEngine.Sprite::GetOuterUVs_Injected",(void*) UnityEngine_Sprite_GetOuterUVs_Injected); mono_add_internal_call("UnityEngine.Sprite::GetPadding_Injected",(void*) UnityEngine_Sprite_GetPadding_Injected); - mono_add_internal_call("UnityEngine.Sprite::CreateSpriteWithoutTextureScripting_Injected",(void*) UnityEngine_Sprite_CreateSpriteWithoutTextureScripting_Injected); - mono_add_internal_call("UnityEngine.Sprite::CreateSprite_Injected",(void*) UnityEngine_Sprite_CreateSprite_Injected); - mono_add_internal_call("UnityEngine.Sprite::get_bounds_Injected",(void*) UnityEngine_Sprite_get_bounds_Injected_3); - mono_add_internal_call("UnityEngine.Sprite::get_rect_Injected",(void*) UnityEngine_Sprite_get_rect_Injected_2); - mono_add_internal_call("UnityEngine.Sprite::get_border_Injected",(void*) UnityEngine_Sprite_get_border_Injected); - mono_add_internal_call("UnityEngine.Sprite::get_pivot_Injected",(void*) UnityEngine_Sprite_get_pivot_Injected_1); - mono_add_internal_call("UnityEngine.U2D.PixelPerfectRendering::get_pixelSnapSpacing",(void*) UnityEngine_U2D_PixelPerfectRendering_get_pixelSnapSpacing); - mono_add_internal_call("UnityEngine.U2D.PixelPerfectRendering::set_pixelSnapSpacing",(void*) UnityEngine_U2D_PixelPerfectRendering_set_pixelSnapSpacing); - mono_add_internal_call("UnityEngine.U2D.SpriteDataAccessExtensions::HasVertexAttribute",(void*) UnityEngine_U2D_SpriteDataAccessExtensions_HasVertexAttribute_1); - mono_add_internal_call("UnityEngine.U2D.SpriteDataAccessExtensions::SetVertexCount",(void*) UnityEngine_U2D_SpriteDataAccessExtensions_SetVertexCount); - mono_add_internal_call("UnityEngine.U2D.SpriteDataAccessExtensions::GetVertexCount",(void*) UnityEngine_U2D_SpriteDataAccessExtensions_GetVertexCount); - mono_add_internal_call("UnityEngine.U2D.SpriteDataAccessExtensions::SetBindPoseData",(void*) UnityEngine_U2D_SpriteDataAccessExtensions_SetBindPoseData); - mono_add_internal_call("UnityEngine.U2D.SpriteDataAccessExtensions::SetIndicesData",(void*) UnityEngine_U2D_SpriteDataAccessExtensions_SetIndicesData); - mono_add_internal_call("UnityEngine.U2D.SpriteDataAccessExtensions::SetChannelData",(void*) UnityEngine_U2D_SpriteDataAccessExtensions_SetChannelData); - mono_add_internal_call("UnityEngine.U2D.SpriteDataAccessExtensions::GetBoneInfo",(void*) UnityEngine_U2D_SpriteDataAccessExtensions_GetBoneInfo); - mono_add_internal_call("UnityEngine.U2D.SpriteDataAccessExtensions::SetBoneData",(void*) UnityEngine_U2D_SpriteDataAccessExtensions_SetBoneData); - mono_add_internal_call("UnityEngine.U2D.SpriteDataAccessExtensions::GetPrimaryVertexStreamSize",(void*) UnityEngine_U2D_SpriteDataAccessExtensions_GetPrimaryVertexStreamSize); - mono_add_internal_call("UnityEngine.U2D.SpriteDataAccessExtensions::GetBindPoseInfo_Injected",(void*) UnityEngine_U2D_SpriteDataAccessExtensions_GetBindPoseInfo_Injected); - mono_add_internal_call("UnityEngine.U2D.SpriteDataAccessExtensions::GetIndicesInfo_Injected",(void*) UnityEngine_U2D_SpriteDataAccessExtensions_GetIndicesInfo_Injected); - mono_add_internal_call("UnityEngine.U2D.SpriteDataAccessExtensions::GetChannelInfo_Injected",(void*) UnityEngine_U2D_SpriteDataAccessExtensions_GetChannelInfo_Injected); - mono_add_internal_call("UnityEngine.U2D.SpriteRendererDataAccessExtensions::DeactivateDeformableBuffer",(void*) UnityEngine_U2D_SpriteRendererDataAccessExtensions_DeactivateDeformableBuffer); - mono_add_internal_call("UnityEngine.U2D.SpriteRendererDataAccessExtensions::SetDeformableBuffer",(void*) UnityEngine_U2D_SpriteRendererDataAccessExtensions_SetDeformableBuffer); - mono_add_internal_call("UnityEngine.U2D.SpriteRendererDataAccessExtensions::SetLocalAABB_Injected",(void*) UnityEngine_U2D_SpriteRendererDataAccessExtensions_SetLocalAABB_Injected_1); - mono_add_internal_call("UnityEngine.U2D.SpriteAtlasManager::Register",(void*) UnityEngine_U2D_SpriteAtlasManager_Register); - mono_add_internal_call("UnityEngine.U2D.SpriteAtlas::get_isVariant",(void*) UnityEngine_U2D_SpriteAtlas_get_isVariant); - mono_add_internal_call("UnityEngine.U2D.SpriteAtlas::get_tag",(void*) UnityEngine_U2D_SpriteAtlas_get_tag_1); - mono_add_internal_call("UnityEngine.U2D.SpriteAtlas::get_spriteCount",(void*) UnityEngine_U2D_SpriteAtlas_get_spriteCount); - mono_add_internal_call("UnityEngine.U2D.SpriteAtlas::CanBindTo",(void*) UnityEngine_U2D_SpriteAtlas_CanBindTo); - mono_add_internal_call("UnityEngine.U2D.SpriteAtlas::GetSprite",(void*) UnityEngine_U2D_SpriteAtlas_GetSprite); - mono_add_internal_call("UnityEngine.U2D.SpriteAtlas::GetSpritesScripting",(void*) UnityEngine_U2D_SpriteAtlas_GetSpritesScripting); - mono_add_internal_call("UnityEngine.U2D.SpriteAtlas::GetSpritesWithNameScripting",(void*) UnityEngine_U2D_SpriteAtlas_GetSpritesWithNameScripting); - mono_add_internal_call("UnityEngine.Profiling.Profiler::get_supported",(void*) UnityEngine_Profiling_Profiler_get_supported); - mono_add_internal_call("UnityEngine.Profiling.Profiler::get_logFile",(void*) UnityEngine_Profiling_Profiler_get_logFile); - mono_add_internal_call("UnityEngine.Profiling.Profiler::set_logFile",(void*) UnityEngine_Profiling_Profiler_set_logFile); - mono_add_internal_call("UnityEngine.Profiling.Profiler::get_enableBinaryLog",(void*) UnityEngine_Profiling_Profiler_get_enableBinaryLog); - mono_add_internal_call("UnityEngine.Profiling.Profiler::set_enableBinaryLog",(void*) UnityEngine_Profiling_Profiler_set_enableBinaryLog); - mono_add_internal_call("UnityEngine.Profiling.Profiler::get_maxUsedMemory",(void*) UnityEngine_Profiling_Profiler_get_maxUsedMemory); - mono_add_internal_call("UnityEngine.Profiling.Profiler::set_maxUsedMemory",(void*) UnityEngine_Profiling_Profiler_set_maxUsedMemory); - mono_add_internal_call("UnityEngine.Profiling.Profiler::get_enabled",(void*) UnityEngine_Profiling_Profiler_get_enabled_4); - mono_add_internal_call("UnityEngine.Profiling.Profiler::set_enabled",(void*) UnityEngine_Profiling_Profiler_set_enabled_4); - mono_add_internal_call("UnityEngine.Profiling.Profiler::get_enableAllocationCallstacks",(void*) UnityEngine_Profiling_Profiler_get_enableAllocationCallstacks); - mono_add_internal_call("UnityEngine.Profiling.Profiler::set_enableAllocationCallstacks",(void*) UnityEngine_Profiling_Profiler_set_enableAllocationCallstacks); - mono_add_internal_call("UnityEngine.Profiling.Profiler::SetAreaEnabled",(void*) UnityEngine_Profiling_Profiler_SetAreaEnabled); - mono_add_internal_call("UnityEngine.Profiling.Profiler::GetAreaEnabled",(void*) UnityEngine_Profiling_Profiler_GetAreaEnabled); - mono_add_internal_call("UnityEngine.Profiling.Profiler::AddFramesFromFile_Internal",(void*) UnityEngine_Profiling_Profiler_AddFramesFromFile_Internal); - mono_add_internal_call("UnityEngine.Profiling.Profiler::BeginThreadProfilingInternal",(void*) UnityEngine_Profiling_Profiler_BeginThreadProfilingInternal); - mono_add_internal_call("UnityEngine.Profiling.Profiler::EndThreadProfiling",(void*) UnityEngine_Profiling_Profiler_EndThreadProfiling); - mono_add_internal_call("UnityEngine.Profiling.Profiler::BeginSampleImpl",(void*) UnityEngine_Profiling_Profiler_BeginSampleImpl); - mono_add_internal_call("UnityEngine.Profiling.Profiler::EndSample",(void*) UnityEngine_Profiling_Profiler_EndSample); - mono_add_internal_call("UnityEngine.Profiling.Profiler::get_usedHeapSizeLong",(void*) UnityEngine_Profiling_Profiler_get_usedHeapSizeLong); - mono_add_internal_call("UnityEngine.Profiling.Profiler::GetRuntimeMemorySizeLong",(void*) UnityEngine_Profiling_Profiler_GetRuntimeMemorySizeLong); - mono_add_internal_call("UnityEngine.Profiling.Profiler::GetMonoHeapSizeLong",(void*) UnityEngine_Profiling_Profiler_GetMonoHeapSizeLong); - mono_add_internal_call("UnityEngine.Profiling.Profiler::GetMonoUsedSizeLong",(void*) UnityEngine_Profiling_Profiler_GetMonoUsedSizeLong); - mono_add_internal_call("UnityEngine.Profiling.Profiler::SetTempAllocatorRequestedSize",(void*) UnityEngine_Profiling_Profiler_SetTempAllocatorRequestedSize); - mono_add_internal_call("UnityEngine.Profiling.Profiler::GetTempAllocatorSize",(void*) UnityEngine_Profiling_Profiler_GetTempAllocatorSize); - mono_add_internal_call("UnityEngine.Profiling.Profiler::GetTotalAllocatedMemoryLong",(void*) UnityEngine_Profiling_Profiler_GetTotalAllocatedMemoryLong); - mono_add_internal_call("UnityEngine.Profiling.Profiler::GetTotalUnusedReservedMemoryLong",(void*) UnityEngine_Profiling_Profiler_GetTotalUnusedReservedMemoryLong); - mono_add_internal_call("UnityEngine.Profiling.Profiler::GetTotalReservedMemoryLong",(void*) UnityEngine_Profiling_Profiler_GetTotalReservedMemoryLong); - mono_add_internal_call("UnityEngine.Profiling.Profiler::GetAllocatedMemoryForGraphicsDriver",(void*) UnityEngine_Profiling_Profiler_GetAllocatedMemoryForGraphicsDriver); - mono_add_internal_call("UnityEngine.Profiling.Profiler::Internal_EmitFrameMetaData_Array",(void*) UnityEngine_Profiling_Profiler_Internal_EmitFrameMetaData_Array); - mono_add_internal_call("UnityEngine.Profiling.Profiler::Internal_EmitFrameMetaData_Native",(void*) UnityEngine_Profiling_Profiler_Internal_EmitFrameMetaData_Native); - mono_add_internal_call("UnityEngine.Profiling.Recorder::GetInternal",(void*) UnityEngine_Profiling_Recorder_GetInternal); - mono_add_internal_call("UnityEngine.Profiling.Recorder::DisposeNative",(void*) UnityEngine_Profiling_Recorder_DisposeNative); - mono_add_internal_call("UnityEngine.Profiling.Recorder::IsEnabled",(void*) UnityEngine_Profiling_Recorder_IsEnabled); - mono_add_internal_call("UnityEngine.Profiling.Recorder::SetEnabled",(void*) UnityEngine_Profiling_Recorder_SetEnabled); - mono_add_internal_call("UnityEngine.Profiling.Recorder::GetElapsedNanoseconds",(void*) UnityEngine_Profiling_Recorder_GetElapsedNanoseconds); - mono_add_internal_call("UnityEngine.Profiling.Recorder::GetSampleBlockCount",(void*) UnityEngine_Profiling_Recorder_GetSampleBlockCount); - mono_add_internal_call("UnityEngine.Profiling.Recorder::FilterToCurrentThread",(void*) UnityEngine_Profiling_Recorder_FilterToCurrentThread); - mono_add_internal_call("UnityEngine.Profiling.Recorder::CollectFromAllThreads",(void*) UnityEngine_Profiling_Recorder_CollectFromAllThreads); - mono_add_internal_call("UnityEngine.Profiling.Sampler::GetSamplerName",(void*) UnityEngine_Profiling_Sampler_GetSamplerName); - mono_add_internal_call("UnityEngine.Profiling.Sampler::GetRecorderInternal",(void*) UnityEngine_Profiling_Sampler_GetRecorderInternal); - mono_add_internal_call("UnityEngine.Profiling.Sampler::GetSamplerInternal",(void*) UnityEngine_Profiling_Sampler_GetSamplerInternal); - mono_add_internal_call("UnityEngine.Profiling.Sampler::GetSamplerNamesInternal",(void*) UnityEngine_Profiling_Sampler_GetSamplerNamesInternal); - mono_add_internal_call("UnityEngine.Profiling.CustomSampler::CreateInternal",(void*) UnityEngine_Profiling_CustomSampler_CreateInternal); - mono_add_internal_call("UnityEngine.Profiling.CustomSampler::Begin",(void*) UnityEngine_Profiling_CustomSampler_Begin_1); - mono_add_internal_call("UnityEngine.Profiling.CustomSampler::BeginWithObject",(void*) UnityEngine_Profiling_CustomSampler_BeginWithObject); - mono_add_internal_call("UnityEngine.Profiling.CustomSampler::End",(void*) UnityEngine_Profiling_CustomSampler_End_1); - mono_add_internal_call("UnityEngine.Profiling.Memory.Experimental.MemoryProfiler::StartOperation",(void*) UnityEngine_Profiling_Memory_Experimental_MemoryProfiler_StartOperation); - mono_add_internal_call("UnityEngine.Jobs.TransformAccess::GetPosition",(void*) UnityEngine_Jobs_TransformAccess_GetPosition); - mono_add_internal_call("UnityEngine.Jobs.TransformAccess::SetPosition",(void*) UnityEngine_Jobs_TransformAccess_SetPosition); - mono_add_internal_call("UnityEngine.Jobs.TransformAccess::GetRotation",(void*) UnityEngine_Jobs_TransformAccess_GetRotation); - mono_add_internal_call("UnityEngine.Jobs.TransformAccess::SetRotation",(void*) UnityEngine_Jobs_TransformAccess_SetRotation); - mono_add_internal_call("UnityEngine.Jobs.TransformAccess::GetLocalPosition",(void*) UnityEngine_Jobs_TransformAccess_GetLocalPosition); - mono_add_internal_call("UnityEngine.Jobs.TransformAccess::SetLocalPosition",(void*) UnityEngine_Jobs_TransformAccess_SetLocalPosition); - mono_add_internal_call("UnityEngine.Jobs.TransformAccess::GetLocalRotation",(void*) UnityEngine_Jobs_TransformAccess_GetLocalRotation); - mono_add_internal_call("UnityEngine.Jobs.TransformAccess::SetLocalRotation",(void*) UnityEngine_Jobs_TransformAccess_SetLocalRotation); - mono_add_internal_call("UnityEngine.Jobs.TransformAccess::GetLocalScale",(void*) UnityEngine_Jobs_TransformAccess_GetLocalScale); - mono_add_internal_call("UnityEngine.Jobs.TransformAccess::SetLocalScale",(void*) UnityEngine_Jobs_TransformAccess_SetLocalScale); - mono_add_internal_call("UnityEngine.Jobs.TransformAccess::GetLocalToWorldMatrix",(void*) UnityEngine_Jobs_TransformAccess_GetLocalToWorldMatrix); - mono_add_internal_call("UnityEngine.Jobs.TransformAccess::GetWorldToLocalMatrix",(void*) UnityEngine_Jobs_TransformAccess_GetWorldToLocalMatrix); - mono_add_internal_call("UnityEngine.Jobs.TransformAccessArray::Create",(void*) UnityEngine_Jobs_TransformAccessArray_Create_1); - mono_add_internal_call("UnityEngine.Jobs.TransformAccessArray::DestroyTransformAccessArray",(void*) UnityEngine_Jobs_TransformAccessArray_DestroyTransformAccessArray); - mono_add_internal_call("UnityEngine.Jobs.TransformAccessArray::SetTransforms",(void*) UnityEngine_Jobs_TransformAccessArray_SetTransforms); - mono_add_internal_call("UnityEngine.Jobs.TransformAccessArray::Add",(void*) UnityEngine_Jobs_TransformAccessArray_Add); - mono_add_internal_call("UnityEngine.Jobs.TransformAccessArray::RemoveAtSwapBack",(void*) UnityEngine_Jobs_TransformAccessArray_RemoveAtSwapBack); - mono_add_internal_call("UnityEngine.Jobs.TransformAccessArray::GetSortedTransformAccess",(void*) UnityEngine_Jobs_TransformAccessArray_GetSortedTransformAccess); - mono_add_internal_call("UnityEngine.Jobs.TransformAccessArray::GetSortedToUserIndex",(void*) UnityEngine_Jobs_TransformAccessArray_GetSortedToUserIndex); - mono_add_internal_call("UnityEngine.Jobs.TransformAccessArray::GetLength",(void*) UnityEngine_Jobs_TransformAccessArray_GetLength); - mono_add_internal_call("UnityEngine.Jobs.TransformAccessArray::GetCapacity",(void*) UnityEngine_Jobs_TransformAccessArray_GetCapacity); - mono_add_internal_call("UnityEngine.Jobs.TransformAccessArray::SetCapacity",(void*) UnityEngine_Jobs_TransformAccessArray_SetCapacity); - mono_add_internal_call("UnityEngine.Jobs.TransformAccessArray::GetTransform",(void*) UnityEngine_Jobs_TransformAccessArray_GetTransform); - mono_add_internal_call("UnityEngine.Jobs.TransformAccessArray::SetTransform",(void*) UnityEngine_Jobs_TransformAccessArray_SetTransform); - mono_add_internal_call("UnityEngine.tvOS.Remote::get_allowExitToHome",(void*) UnityEngine_tvOS_Remote_get_allowExitToHome); - mono_add_internal_call("UnityEngine.tvOS.Remote::set_allowExitToHome",(void*) UnityEngine_tvOS_Remote_set_allowExitToHome); - mono_add_internal_call("UnityEngine.tvOS.Remote::get_allowRemoteRotation",(void*) UnityEngine_tvOS_Remote_get_allowRemoteRotation); - mono_add_internal_call("UnityEngine.tvOS.Remote::set_allowRemoteRotation",(void*) UnityEngine_tvOS_Remote_set_allowRemoteRotation); - mono_add_internal_call("UnityEngine.tvOS.Remote::get_reportAbsoluteDpadValues",(void*) UnityEngine_tvOS_Remote_get_reportAbsoluteDpadValues); - mono_add_internal_call("UnityEngine.tvOS.Remote::set_reportAbsoluteDpadValues",(void*) UnityEngine_tvOS_Remote_set_reportAbsoluteDpadValues); - mono_add_internal_call("UnityEngine.tvOS.Remote::get_touchesEnabled",(void*) UnityEngine_tvOS_Remote_get_touchesEnabled); - mono_add_internal_call("UnityEngine.tvOS.Remote::set_touchesEnabled",(void*) UnityEngine_tvOS_Remote_set_touchesEnabled); - mono_add_internal_call("UnityEngine.tvOS.Device::get_tvOSsystemVersion",(void*) UnityEngine_tvOS_Device_get_tvOSsystemVersion); - mono_add_internal_call("UnityEngine.tvOS.Device::get_tvOSGeneration",(void*) UnityEngine_tvOS_Device_get_tvOSGeneration); - mono_add_internal_call("UnityEngine.tvOS.Device::get_tvOSVendorIdentifier",(void*) UnityEngine_tvOS_Device_get_tvOSVendorIdentifier); - mono_add_internal_call("UnityEngine.tvOS.Device::GetTVOSAdvertisingIdentifier",(void*) UnityEngine_tvOS_Device_GetTVOSAdvertisingIdentifier); - mono_add_internal_call("UnityEngine.tvOS.Device::IsTVOSAdvertisingTrackingEnabled",(void*) UnityEngine_tvOS_Device_IsTVOSAdvertisingTrackingEnabled); - mono_add_internal_call("UnityEngine.tvOS.Device::SettvOSNoBackupFlag",(void*) UnityEngine_tvOS_Device_SettvOSNoBackupFlag); - mono_add_internal_call("UnityEngine.tvOS.Device::tvOSResetNoBackupFlag",(void*) UnityEngine_tvOS_Device_tvOSResetNoBackupFlag); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::get_APIAvailable",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_get_APIAvailable); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::get_broadcastingAPIAvailable",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_get_broadcastingAPIAvailable); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::get_recordingAvailable",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_get_recordingAvailable); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::get_isRecording",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_get_isRecording); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::get_isBroadcasting",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_get_isBroadcasting); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::get_isBroadcastingPaused",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_get_isBroadcastingPaused); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::get_isPreviewControllerActive",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_get_isPreviewControllerActive); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::get_cameraEnabled",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_get_cameraEnabled); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::set_cameraEnabled",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_set_cameraEnabled); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::get_microphoneEnabled",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_get_microphoneEnabled); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::set_microphoneEnabled",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_set_microphoneEnabled); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::get_broadcastURL",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_get_broadcastURL); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::get_lastError",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_get_lastError); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::StartRecordingImpl",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_StartRecordingImpl); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::StartBroadcastingImpl",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_StartBroadcastingImpl); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::StopRecording",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_StopRecording); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::StopBroadcasting",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_StopBroadcasting); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::PauseBroadcasting",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_PauseBroadcasting); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::ResumeBroadcasting",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_ResumeBroadcasting); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::Preview",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_Preview); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::Discard",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_Discard); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::ShowCameraPreviewAt",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_ShowCameraPreviewAt); - mono_add_internal_call("UnityEngine.Apple.ReplayKit.ReplayKit::HideCameraPreview",(void*) UnityEngine_Apple_ReplayKit_ReplayKit_HideCameraPreview); - mono_add_internal_call("UnityEngine.iOS.OnDemandResourcesRequest::get_error",(void*) UnityEngine_iOS_OnDemandResourcesRequest_get_error); - mono_add_internal_call("UnityEngine.iOS.OnDemandResourcesRequest::get_loadingPriority",(void*) UnityEngine_iOS_OnDemandResourcesRequest_get_loadingPriority); - mono_add_internal_call("UnityEngine.iOS.OnDemandResourcesRequest::set_loadingPriority",(void*) UnityEngine_iOS_OnDemandResourcesRequest_set_loadingPriority); - mono_add_internal_call("UnityEngine.iOS.OnDemandResourcesRequest::GetResourcePath",(void*) UnityEngine_iOS_OnDemandResourcesRequest_GetResourcePath); - mono_add_internal_call("UnityEngine.iOS.OnDemandResourcesRequest::DestroyFromScript",(void*) UnityEngine_iOS_OnDemandResourcesRequest_DestroyFromScript); - mono_add_internal_call("UnityEngine.iOS.OnDemandResources::get_enabled",(void*) UnityEngine_iOS_OnDemandResources_get_enabled_5); - mono_add_internal_call("UnityEngine.iOS.OnDemandResources::PreloadAsyncImpl",(void*) UnityEngine_iOS_OnDemandResources_PreloadAsyncImpl); - mono_add_internal_call("UnityEngine.iOS.Device::get_systemVersion",(void*) UnityEngine_iOS_Device_get_systemVersion); - mono_add_internal_call("UnityEngine.iOS.Device::get_generation",(void*) UnityEngine_iOS_Device_get_generation); - mono_add_internal_call("UnityEngine.iOS.Device::get_vendorIdentifier",(void*) UnityEngine_iOS_Device_get_vendorIdentifier); - mono_add_internal_call("UnityEngine.iOS.Device::GetAdvertisingIdentifier",(void*) UnityEngine_iOS_Device_GetAdvertisingIdentifier); - mono_add_internal_call("UnityEngine.iOS.Device::IsAdvertisingTrackingEnabled",(void*) UnityEngine_iOS_Device_IsAdvertisingTrackingEnabled); - mono_add_internal_call("UnityEngine.iOS.Device::get_hideHomeButton",(void*) UnityEngine_iOS_Device_get_hideHomeButton); - mono_add_internal_call("UnityEngine.iOS.Device::set_hideHomeButton",(void*) UnityEngine_iOS_Device_set_hideHomeButton); - mono_add_internal_call("UnityEngine.iOS.Device::get_lowPowerModeEnabled",(void*) UnityEngine_iOS_Device_get_lowPowerModeEnabled); - mono_add_internal_call("UnityEngine.iOS.Device::get_wantsSoftwareDimming",(void*) UnityEngine_iOS_Device_get_wantsSoftwareDimming); - mono_add_internal_call("UnityEngine.iOS.Device::set_wantsSoftwareDimming",(void*) UnityEngine_iOS_Device_set_wantsSoftwareDimming); - mono_add_internal_call("UnityEngine.iOS.Device::get_iosAppOnMac",(void*) UnityEngine_iOS_Device_get_iosAppOnMac); - mono_add_internal_call("UnityEngine.iOS.Device::get_deferSystemGesturesModeInternal",(void*) UnityEngine_iOS_Device_get_deferSystemGesturesModeInternal); - mono_add_internal_call("UnityEngine.iOS.Device::set_deferSystemGesturesModeInternal",(void*) UnityEngine_iOS_Device_set_deferSystemGesturesModeInternal); - mono_add_internal_call("UnityEngine.iOS.Device::SetNoBackupFlag",(void*) UnityEngine_iOS_Device_SetNoBackupFlag); - mono_add_internal_call("UnityEngine.iOS.Device::ResetNoBackupFlag",(void*) UnityEngine_iOS_Device_ResetNoBackupFlag); - mono_add_internal_call("UnityEngine.iOS.Device::RequestStoreReview",(void*) UnityEngine_iOS_Device_RequestStoreReview); - mono_add_internal_call("UnityEngine.iOS.NotificationHelper::CreateLocal",(void*) UnityEngine_iOS_NotificationHelper_CreateLocal); - mono_add_internal_call("UnityEngine.iOS.NotificationHelper::DestroyLocal",(void*) UnityEngine_iOS_NotificationHelper_DestroyLocal); - mono_add_internal_call("UnityEngine.iOS.NotificationHelper::DestroyRemote",(void*) UnityEngine_iOS_NotificationHelper_DestroyRemote); - mono_add_internal_call("UnityEngine.iOS.RemoteNotification::get_alertBody",(void*) UnityEngine_iOS_RemoteNotification_get_alertBody); - mono_add_internal_call("UnityEngine.iOS.RemoteNotification::get_alertTitle",(void*) UnityEngine_iOS_RemoteNotification_get_alertTitle); - mono_add_internal_call("UnityEngine.iOS.RemoteNotification::get_soundName",(void*) UnityEngine_iOS_RemoteNotification_get_soundName); - mono_add_internal_call("UnityEngine.iOS.RemoteNotification::get_applicationIconBadgeNumber",(void*) UnityEngine_iOS_RemoteNotification_get_applicationIconBadgeNumber); - mono_add_internal_call("UnityEngine.iOS.RemoteNotification::get_hasAction",(void*) UnityEngine_iOS_RemoteNotification_get_hasAction); - mono_add_internal_call("UnityEngine.iOS.NotificationServices::get_localNotificationCount",(void*) UnityEngine_iOS_NotificationServices_get_localNotificationCount); - mono_add_internal_call("UnityEngine.iOS.NotificationServices::get_remoteNotificationCount",(void*) UnityEngine_iOS_NotificationServices_get_remoteNotificationCount); - mono_add_internal_call("UnityEngine.iOS.NotificationServices::ClearLocalNotifications",(void*) UnityEngine_iOS_NotificationServices_ClearLocalNotifications); - mono_add_internal_call("UnityEngine.iOS.NotificationServices::ClearRemoteNotifications",(void*) UnityEngine_iOS_NotificationServices_ClearRemoteNotifications); - mono_add_internal_call("UnityEngine.iOS.NotificationServices::Internal_RegisterImpl",(void*) UnityEngine_iOS_NotificationServices_Internal_RegisterImpl); - mono_add_internal_call("UnityEngine.iOS.NotificationServices::get_enabledNotificationTypes",(void*) UnityEngine_iOS_NotificationServices_get_enabledNotificationTypes); - mono_add_internal_call("UnityEngine.iOS.NotificationServices::CancelAllLocalNotifications",(void*) UnityEngine_iOS_NotificationServices_CancelAllLocalNotifications); - mono_add_internal_call("UnityEngine.iOS.NotificationServices::UnregisterForRemoteNotifications",(void*) UnityEngine_iOS_NotificationServices_UnregisterForRemoteNotifications); - mono_add_internal_call("UnityEngine.iOS.NotificationServices::get_registrationError",(void*) UnityEngine_iOS_NotificationServices_get_registrationError); - mono_add_internal_call("UnityEngine.iOS.NotificationServices::get_deviceToken",(void*) UnityEngine_iOS_NotificationServices_get_deviceToken); - mono_add_internal_call("UnityEngine.iOS.NotificationServices::GetRemoteNotificationImpl",(void*) UnityEngine_iOS_NotificationServices_GetRemoteNotificationImpl); - mono_add_internal_call("UnityEngine.Scripting.GarbageCollector::SetMode",(void*) UnityEngine_Scripting_GarbageCollector_SetMode); - mono_add_internal_call("UnityEngine.Scripting.GarbageCollector::GetMode",(void*) UnityEngine_Scripting_GarbageCollector_GetMode); - mono_add_internal_call("UnityEngine.Scripting.GarbageCollector::get_isIncremental",(void*) UnityEngine_Scripting_GarbageCollector_get_isIncremental); - mono_add_internal_call("UnityEngine.Scripting.GarbageCollector::get_incrementalTimeSliceNanoseconds",(void*) UnityEngine_Scripting_GarbageCollector_get_incrementalTimeSliceNanoseconds); - mono_add_internal_call("UnityEngine.Scripting.GarbageCollector::set_incrementalTimeSliceNanoseconds",(void*) UnityEngine_Scripting_GarbageCollector_set_incrementalTimeSliceNanoseconds); - mono_add_internal_call("UnityEngine.Scripting.GarbageCollector::CollectIncremental",(void*) UnityEngine_Scripting_GarbageCollector_CollectIncremental); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::IsValidInternal",(void*) UnityEngine_SceneManagement_Scene_IsValidInternal); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetPathInternal",(void*) UnityEngine_SceneManagement_Scene_GetPathInternal); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetNameInternal",(void*) UnityEngine_SceneManagement_Scene_GetNameInternal); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::SetNameInternal",(void*) UnityEngine_SceneManagement_Scene_SetNameInternal); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetGUIDInternal",(void*) UnityEngine_SceneManagement_Scene_GetGUIDInternal); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::IsSubScene",(void*) UnityEngine_SceneManagement_Scene_IsSubScene); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::SetIsSubScene",(void*) UnityEngine_SceneManagement_Scene_SetIsSubScene); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetIsLoadedInternal",(void*) UnityEngine_SceneManagement_Scene_GetIsLoadedInternal); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetLoadingStateInternal",(void*) UnityEngine_SceneManagement_Scene_GetLoadingStateInternal); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetIsDirtyInternal",(void*) UnityEngine_SceneManagement_Scene_GetIsDirtyInternal); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetDirtyID",(void*) UnityEngine_SceneManagement_Scene_GetDirtyID); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetBuildIndexInternal",(void*) UnityEngine_SceneManagement_Scene_GetBuildIndexInternal); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetRootCountInternal",(void*) UnityEngine_SceneManagement_Scene_GetRootCountInternal); - mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetRootGameObjectsInternal",(void*) UnityEngine_SceneManagement_Scene_GetRootGameObjectsInternal); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManagerAPIInternal::UnloadSceneNameIndexInternal",(void*) UnityEngine_SceneManagement_SceneManagerAPIInternal_UnloadSceneNameIndexInternal); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManagerAPIInternal::LoadSceneAsyncNameIndexInternal_Injected",(void*) UnityEngine_SceneManagement_SceneManagerAPIInternal_LoadSceneAsyncNameIndexInternal_Injected); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::get_sceneCount",(void*) UnityEngine_SceneManagement_SceneManager_get_sceneCount); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::get_sceneCountInBuildSettings",(void*) UnityEngine_SceneManagement_SceneManager_get_sceneCountInBuildSettings); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::GetActiveScene_Injected",(void*) UnityEngine_SceneManagement_SceneManager_GetActiveScene_Injected); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::SetActiveScene_Injected",(void*) UnityEngine_SceneManagement_SceneManager_SetActiveScene_Injected); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::GetSceneByPath_Injected",(void*) UnityEngine_SceneManagement_SceneManager_GetSceneByPath_Injected); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::GetSceneByName_Injected",(void*) UnityEngine_SceneManagement_SceneManager_GetSceneByName_Injected); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::GetSceneByBuildIndex_Injected",(void*) UnityEngine_SceneManagement_SceneManager_GetSceneByBuildIndex_Injected); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::GetSceneAt_Injected",(void*) UnityEngine_SceneManagement_SceneManager_GetSceneAt_Injected); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::CreateScene_Injected",(void*) UnityEngine_SceneManagement_SceneManager_CreateScene_Injected); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::UnloadSceneInternal_Injected",(void*) UnityEngine_SceneManagement_SceneManager_UnloadSceneInternal_Injected); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::UnloadSceneAsyncInternal_Injected",(void*) UnityEngine_SceneManagement_SceneManager_UnloadSceneAsyncInternal_Injected); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::MergeScenes_Injected",(void*) UnityEngine_SceneManagement_SceneManager_MergeScenes_Injected); - mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::MoveGameObjectToScene_Injected",(void*) UnityEngine_SceneManagement_SceneManager_MoveGameObjectToScene_Injected); - mono_add_internal_call("UnityEngine.SceneManagement.SceneUtility::GetScenePathByBuildIndex",(void*) UnityEngine_SceneManagement_SceneUtility_GetScenePathByBuildIndex); - mono_add_internal_call("UnityEngine.SceneManagement.SceneUtility::GetBuildIndexByScenePath",(void*) UnityEngine_SceneManagement_SceneUtility_GetBuildIndexByScenePath); - mono_add_internal_call("UnityEngine.LowLevel.PlayerLoop::GetDefaultPlayerLoopInternal",(void*) UnityEngine_LowLevel_PlayerLoop_GetDefaultPlayerLoopInternal); - mono_add_internal_call("UnityEngine.LowLevel.PlayerLoop::GetCurrentPlayerLoopInternal",(void*) UnityEngine_LowLevel_PlayerLoop_GetCurrentPlayerLoopInternal); - mono_add_internal_call("UnityEngine.LowLevel.PlayerLoop::SetPlayerLoopInternal",(void*) UnityEngine_LowLevel_PlayerLoop_SetPlayerLoopInternal); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadbackRequest::Update_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadbackRequest_Update_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadbackRequest::WaitForCompletion_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadbackRequest_WaitForCompletion_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadbackRequest::IsDone_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadbackRequest_IsDone_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadbackRequest::HasError_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadbackRequest_HasError_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadbackRequest::GetLayerCount_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadbackRequest_GetLayerCount_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadbackRequest::GetLayerDataSize_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadbackRequest_GetLayerDataSize_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadbackRequest::GetWidth_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadbackRequest_GetWidth_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadbackRequest::GetHeight_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadbackRequest_GetHeight_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadbackRequest::GetDepth_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadbackRequest_GetDepth_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadbackRequest::SetScriptingCallback_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadbackRequest_SetScriptingCallback_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadbackRequest::GetDataRaw_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadbackRequest_GetDataRaw_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadback::WaitAllRequests",(void*) UnityEngine_Rendering_AsyncGPUReadback_WaitAllRequests); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_1_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_1_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_2_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_2_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_3_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_3_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_4_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_4_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_5_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_5_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_6_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_6_Injected); - mono_add_internal_call("UnityEngine.Rendering.AsyncGPUReadback::Request_Internal_Texture_7_Injected",(void*) UnityEngine_Rendering_AsyncGPUReadback_Request_Internal_Texture_7_Injected); - mono_add_internal_call("UnityEngine.Rendering.GraphicsFence::HasFencePassed_Internal",(void*) UnityEngine_Rendering_GraphicsFence_HasFencePassed_Internal); - mono_add_internal_call("UnityEngine.Rendering.GraphicsFence::GetVersionNumber",(void*) UnityEngine_Rendering_GraphicsFence_GetVersionNumber); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::get_transparencySortMode",(void*) UnityEngine_Rendering_GraphicsSettings_get_transparencySortMode_1); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::set_transparencySortMode",(void*) UnityEngine_Rendering_GraphicsSettings_set_transparencySortMode_1); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::get_realtimeDirectRectangularAreaLights",(void*) UnityEngine_Rendering_GraphicsSettings_get_realtimeDirectRectangularAreaLights); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::set_realtimeDirectRectangularAreaLights",(void*) UnityEngine_Rendering_GraphicsSettings_set_realtimeDirectRectangularAreaLights); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::get_lightsUseLinearIntensity",(void*) UnityEngine_Rendering_GraphicsSettings_get_lightsUseLinearIntensity); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::set_lightsUseLinearIntensity",(void*) UnityEngine_Rendering_GraphicsSettings_set_lightsUseLinearIntensity); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::get_lightsUseColorTemperature",(void*) UnityEngine_Rendering_GraphicsSettings_get_lightsUseColorTemperature); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::set_lightsUseColorTemperature",(void*) UnityEngine_Rendering_GraphicsSettings_set_lightsUseColorTemperature); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::get_useScriptableRenderPipelineBatching",(void*) UnityEngine_Rendering_GraphicsSettings_get_useScriptableRenderPipelineBatching); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::set_useScriptableRenderPipelineBatching",(void*) UnityEngine_Rendering_GraphicsSettings_set_useScriptableRenderPipelineBatching); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::get_logWhenShaderIsCompiled",(void*) UnityEngine_Rendering_GraphicsSettings_get_logWhenShaderIsCompiled); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::set_logWhenShaderIsCompiled",(void*) UnityEngine_Rendering_GraphicsSettings_set_logWhenShaderIsCompiled); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::AllowEnlightenSupportForUpgradedProject",(void*) UnityEngine_Rendering_GraphicsSettings_AllowEnlightenSupportForUpgradedProject); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::HasShaderDefine",(void*) UnityEngine_Rendering_GraphicsSettings_HasShaderDefine); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::get_INTERNAL_currentRenderPipeline",(void*) UnityEngine_Rendering_GraphicsSettings_get_INTERNAL_currentRenderPipeline); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::get_INTERNAL_defaultRenderPipeline",(void*) UnityEngine_Rendering_GraphicsSettings_get_INTERNAL_defaultRenderPipeline); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::set_INTERNAL_defaultRenderPipeline",(void*) UnityEngine_Rendering_GraphicsSettings_set_INTERNAL_defaultRenderPipeline); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::GetAllConfiguredRenderPipelines",(void*) UnityEngine_Rendering_GraphicsSettings_GetAllConfiguredRenderPipelines); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::GetGraphicsSettings",(void*) UnityEngine_Rendering_GraphicsSettings_GetGraphicsSettings); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::SetShaderMode",(void*) UnityEngine_Rendering_GraphicsSettings_SetShaderMode); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::GetShaderMode",(void*) UnityEngine_Rendering_GraphicsSettings_GetShaderMode); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::SetCustomShader",(void*) UnityEngine_Rendering_GraphicsSettings_SetCustomShader); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::GetCustomShader",(void*) UnityEngine_Rendering_GraphicsSettings_GetCustomShader); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::get_transparencySortAxis_Injected",(void*) UnityEngine_Rendering_GraphicsSettings_get_transparencySortAxis_Injected_1); - mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::set_transparencySortAxis_Injected",(void*) UnityEngine_Rendering_GraphicsSettings_set_transparencySortAxis_Injected_1); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::WaitAllAsyncReadbackRequests",(void*) UnityEngine_Rendering_CommandBuffer_WaitAllAsyncReadbackRequests); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_RequestAsyncReadback_3",(void*) UnityEngine_Rendering_CommandBuffer_Internal_RequestAsyncReadback_3); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_RequestAsyncReadback_4",(void*) UnityEngine_Rendering_CommandBuffer_Internal_RequestAsyncReadback_4); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_RequestAsyncReadback_5",(void*) UnityEngine_Rendering_CommandBuffer_Internal_RequestAsyncReadback_5); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_RequestAsyncReadback_6",(void*) UnityEngine_Rendering_CommandBuffer_Internal_RequestAsyncReadback_6); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_RequestAsyncReadback_7",(void*) UnityEngine_Rendering_CommandBuffer_Internal_RequestAsyncReadback_7); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetInvertCulling",(void*) UnityEngine_Rendering_CommandBuffer_SetInvertCulling); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetSinglePassStereo",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetSinglePassStereo); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::InitBuffer",(void*) UnityEngine_Rendering_CommandBuffer_InitBuffer_1); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::CreateGPUFence_Internal",(void*) UnityEngine_Rendering_CommandBuffer_CreateGPUFence_Internal); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::WaitOnGPUFence_Internal",(void*) UnityEngine_Rendering_CommandBuffer_WaitOnGPUFence_Internal); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::ReleaseBuffer",(void*) UnityEngine_Rendering_CommandBuffer_ReleaseBuffer); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetComputeFloatParam",(void*) UnityEngine_Rendering_CommandBuffer_SetComputeFloatParam); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetComputeIntParam",(void*) UnityEngine_Rendering_CommandBuffer_SetComputeIntParam); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetComputeVectorArrayParam",(void*) UnityEngine_Rendering_CommandBuffer_SetComputeVectorArrayParam); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetComputeMatrixArrayParam",(void*) UnityEngine_Rendering_CommandBuffer_SetComputeMatrixArrayParam); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetComputeFloats",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetComputeFloats); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetComputeInts",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetComputeInts); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetComputeTextureParam",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetComputeTextureParam); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_DispatchCompute",(void*) UnityEngine_Rendering_CommandBuffer_Internal_DispatchCompute); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingTextureParam",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingTextureParam); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingFloatParam",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingFloatParam); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingIntParam",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingIntParam); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingVectorArrayParam",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingVectorArrayParam); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingMatrixArrayParam",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingMatrixArrayParam); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingFloats",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingFloats); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingInts",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingInts); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_BuildRayTracingAccelerationStructure",(void*) UnityEngine_Rendering_CommandBuffer_Internal_BuildRayTracingAccelerationStructure); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingAccelerationStructure",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingAccelerationStructure); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetRayTracingShaderPass",(void*) UnityEngine_Rendering_CommandBuffer_SetRayTracingShaderPass); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_DispatchRays",(void*) UnityEngine_Rendering_CommandBuffer_Internal_DispatchRays); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_GenerateMips",(void*) UnityEngine_Rendering_CommandBuffer_Internal_GenerateMips); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_ResolveAntiAliasedSurface",(void*) UnityEngine_Rendering_CommandBuffer_Internal_ResolveAntiAliasedSurface); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::get_name",(void*) UnityEngine_Rendering_CommandBuffer_get_name); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::set_name",(void*) UnityEngine_Rendering_CommandBuffer_set_name); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::get_sizeInBytes",(void*) UnityEngine_Rendering_CommandBuffer_get_sizeInBytes); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Clear",(void*) UnityEngine_Rendering_CommandBuffer_Clear_3); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_DrawRenderer",(void*) UnityEngine_Rendering_CommandBuffer_Internal_DrawRenderer); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_DrawMeshInstanced",(void*) UnityEngine_Rendering_CommandBuffer_Internal_DrawMeshInstanced_1); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_DrawMeshInstancedProcedural",(void*) UnityEngine_Rendering_CommandBuffer_Internal_DrawMeshInstancedProcedural); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetRandomWriteTarget_Texture",(void*) UnityEngine_Rendering_CommandBuffer_SetRandomWriteTarget_Texture); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::ClearRandomWriteTargets",(void*) UnityEngine_Rendering_CommandBuffer_ClearRandomWriteTargets_1); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::DisableScissorRect",(void*) UnityEngine_Rendering_CommandBuffer_DisableScissorRect); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::CopyTexture_Internal",(void*) UnityEngine_Rendering_CommandBuffer_CopyTexture_Internal); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::GetTemporaryRT",(void*) UnityEngine_Rendering_CommandBuffer_GetTemporaryRT); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::GetTemporaryRTArray",(void*) UnityEngine_Rendering_CommandBuffer_GetTemporaryRTArray); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::ReleaseTemporaryRT",(void*) UnityEngine_Rendering_CommandBuffer_ReleaseTemporaryRT); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalFloat",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalFloat); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalInt",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalInt); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::EnableShaderKeyword",(void*) UnityEngine_Rendering_CommandBuffer_EnableShaderKeyword); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::DisableShaderKeyword",(void*) UnityEngine_Rendering_CommandBuffer_DisableShaderKeyword); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalDepthBias",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalDepthBias); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetExecutionFlags",(void*) UnityEngine_Rendering_CommandBuffer_SetExecutionFlags); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::ValidateAgainstExecutionFlags",(void*) UnityEngine_Rendering_CommandBuffer_ValidateAgainstExecutionFlags); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalFloatArrayListImpl",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalFloatArrayListImpl); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalVectorArrayListImpl",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalVectorArrayListImpl); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalMatrixArrayListImpl",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalMatrixArrayListImpl); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalFloatArray",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalFloatArray); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalVectorArray",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalVectorArray); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalMatrixArray",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalMatrixArray); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalTexture_Impl",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalTexture_Impl); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetShadowSamplingMode_Impl",(void*) UnityEngine_Rendering_CommandBuffer_SetShadowSamplingMode_Impl); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::IssuePluginEventInternal",(void*) UnityEngine_Rendering_CommandBuffer_IssuePluginEventInternal); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::BeginSample",(void*) UnityEngine_Rendering_CommandBuffer_BeginSample); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::EndSample",(void*) UnityEngine_Rendering_CommandBuffer_EndSample_1); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::IssuePluginEventAndDataInternal",(void*) UnityEngine_Rendering_CommandBuffer_IssuePluginEventAndDataInternal); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::IssuePluginCustomBlitInternal",(void*) UnityEngine_Rendering_CommandBuffer_IssuePluginCustomBlitInternal); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::IssuePluginCustomTextureUpdateInternal",(void*) UnityEngine_Rendering_CommandBuffer_IssuePluginCustomTextureUpdateInternal); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetInstanceMultiplier",(void*) UnityEngine_Rendering_CommandBuffer_SetInstanceMultiplier); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::ConvertTexture_Internal_Injected",(void*) UnityEngine_Rendering_CommandBuffer_ConvertTexture_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetComputeVectorParam_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetComputeVectorParam_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetComputeMatrixParam_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetComputeMatrixParam_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingVectorParam_Injected",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingVectorParam_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_SetRayTracingMatrixParam_Injected",(void*) UnityEngine_Rendering_CommandBuffer_Internal_SetRayTracingMatrixParam_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_DrawMesh_Injected",(void*) UnityEngine_Rendering_CommandBuffer_Internal_DrawMesh_Injected_1); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_DrawProcedural_Injected",(void*) UnityEngine_Rendering_CommandBuffer_Internal_DrawProcedural_Injected_1); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_DrawProceduralIndexed_Injected",(void*) UnityEngine_Rendering_CommandBuffer_Internal_DrawProceduralIndexed_Injected_1); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Internal_DrawOcclusionMesh_Injected",(void*) UnityEngine_Rendering_CommandBuffer_Internal_DrawOcclusionMesh_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetViewport_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetViewport_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::EnableScissorRect_Injected",(void*) UnityEngine_Rendering_CommandBuffer_EnableScissorRect_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Blit_Texture_Injected",(void*) UnityEngine_Rendering_CommandBuffer_Blit_Texture_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::Blit_Identifier_Injected",(void*) UnityEngine_Rendering_CommandBuffer_Blit_Identifier_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::GetTemporaryRTWithDescriptor_Injected",(void*) UnityEngine_Rendering_CommandBuffer_GetTemporaryRTWithDescriptor_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::ClearRenderTarget_Injected",(void*) UnityEngine_Rendering_CommandBuffer_ClearRenderTarget_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalVector_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalVector_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalColor_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalColor_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetGlobalMatrix_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetGlobalMatrix_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetViewMatrix_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetViewMatrix_Injected_1); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetProjectionMatrix_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetProjectionMatrix_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetViewProjectionMatrices_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetViewProjectionMatrices_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::IncrementUpdateCount_Injected",(void*) UnityEngine_Rendering_CommandBuffer_IncrementUpdateCount_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetRenderTargetSingle_Internal_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetRenderTargetSingle_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetRenderTargetColorDepth_Internal_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetRenderTargetColorDepth_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetRenderTargetMulti_Internal_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetRenderTargetMulti_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetRenderTargetColorDepthSubtarget_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetRenderTargetColorDepthSubtarget_Injected); - mono_add_internal_call("UnityEngine.Rendering.CommandBuffer::SetRenderTargetMultiSubtarget_Injected",(void*) UnityEngine_Rendering_CommandBuffer_SetRenderTargetMultiSubtarget_Injected); - mono_add_internal_call("UnityEngine.Rendering.SplashScreen::get_isFinished",(void*) UnityEngine_Rendering_SplashScreen_get_isFinished); - mono_add_internal_call("UnityEngine.Rendering.SplashScreen::CancelSplashScreen",(void*) UnityEngine_Rendering_SplashScreen_CancelSplashScreen); - mono_add_internal_call("UnityEngine.Rendering.SplashScreen::BeginSplashScreenFade",(void*) UnityEngine_Rendering_SplashScreen_BeginSplashScreenFade); - mono_add_internal_call("UnityEngine.Rendering.SplashScreen::Begin",(void*) UnityEngine_Rendering_SplashScreen_Begin_2); - mono_add_internal_call("UnityEngine.Rendering.SplashScreen::Draw",(void*) UnityEngine_Rendering_SplashScreen_Draw); - mono_add_internal_call("UnityEngine.Rendering.SplashScreen::SetTime",(void*) UnityEngine_Rendering_SplashScreen_SetTime); - mono_add_internal_call("UnityEngine.Rendering.SphericalHarmonicsL2::EvaluateInternal",(void*) UnityEngine_Rendering_SphericalHarmonicsL2_EvaluateInternal); - mono_add_internal_call("UnityEngine.Rendering.SphericalHarmonicsL2::SetZero_Injected",(void*) UnityEngine_Rendering_SphericalHarmonicsL2_SetZero_Injected); - mono_add_internal_call("UnityEngine.Rendering.SphericalHarmonicsL2::AddAmbientLight_Injected",(void*) UnityEngine_Rendering_SphericalHarmonicsL2_AddAmbientLight_Injected); - mono_add_internal_call("UnityEngine.Rendering.SphericalHarmonicsL2::AddDirectionalLightInternal_Injected",(void*) UnityEngine_Rendering_SphericalHarmonicsL2_AddDirectionalLightInternal_Injected); - mono_add_internal_call("UnityEngine.Rendering.CullingResults::GetLightIndexCount",(void*) UnityEngine_Rendering_CullingResults_GetLightIndexCount); - mono_add_internal_call("UnityEngine.Rendering.CullingResults::GetReflectionProbeIndexCount",(void*) UnityEngine_Rendering_CullingResults_GetReflectionProbeIndexCount); - mono_add_internal_call("UnityEngine.Rendering.CullingResults::GetLightIndexMapSize",(void*) UnityEngine_Rendering_CullingResults_GetLightIndexMapSize); - mono_add_internal_call("UnityEngine.Rendering.CullingResults::GetReflectionProbeIndexMapSize",(void*) UnityEngine_Rendering_CullingResults_GetReflectionProbeIndexMapSize); - mono_add_internal_call("UnityEngine.Rendering.CullingResults::FillLightIndexMap",(void*) UnityEngine_Rendering_CullingResults_FillLightIndexMap); - mono_add_internal_call("UnityEngine.Rendering.CullingResults::FillReflectionProbeIndexMap",(void*) UnityEngine_Rendering_CullingResults_FillReflectionProbeIndexMap); - mono_add_internal_call("UnityEngine.Rendering.CullingResults::SetLightIndexMap",(void*) UnityEngine_Rendering_CullingResults_SetLightIndexMap); - mono_add_internal_call("UnityEngine.Rendering.CullingResults::SetReflectionProbeIndexMap",(void*) UnityEngine_Rendering_CullingResults_SetReflectionProbeIndexMap); - mono_add_internal_call("UnityEngine.Rendering.CullingResults::GetShadowCasterBounds",(void*) UnityEngine_Rendering_CullingResults_GetShadowCasterBounds); - mono_add_internal_call("UnityEngine.Rendering.CullingResults::ComputeSpotShadowMatricesAndCullingPrimitives",(void*) UnityEngine_Rendering_CullingResults_ComputeSpotShadowMatricesAndCullingPrimitives); - mono_add_internal_call("UnityEngine.Rendering.CullingResults::ComputePointShadowMatricesAndCullingPrimitives",(void*) UnityEngine_Rendering_CullingResults_ComputePointShadowMatricesAndCullingPrimitives); - mono_add_internal_call("UnityEngine.Rendering.CullingResults::ComputeDirectionalShadowMatricesAndCullingPrimitives_Injected",(void*) UnityEngine_Rendering_CullingResults_ComputeDirectionalShadowMatricesAndCullingPrimitives_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::BeginRenderPass_Internal",(void*) UnityEngine_Rendering_ScriptableRenderContext_BeginRenderPass_Internal); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::BeginSubPass_Internal",(void*) UnityEngine_Rendering_ScriptableRenderContext_BeginSubPass_Internal); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::EndSubPass_Internal",(void*) UnityEngine_Rendering_ScriptableRenderContext_EndSubPass_Internal); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::EndRenderPass_Internal",(void*) UnityEngine_Rendering_ScriptableRenderContext_EndRenderPass_Internal); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::InitializeSortSettings",(void*) UnityEngine_Rendering_ScriptableRenderContext_InitializeSortSettings); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::Internal_Cull_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_Internal_Cull_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::Submit_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_Submit_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::GetNumberOfCameras_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_GetNumberOfCameras_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::GetCamera_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_GetCamera_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::DrawRenderers_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_DrawRenderers_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::DrawShadows_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_DrawShadows_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::ExecuteCommandBuffer_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_ExecuteCommandBuffer_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::ExecuteCommandBufferAsync_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_ExecuteCommandBufferAsync_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::SetupCameraProperties_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_SetupCameraProperties_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::StereoEndRender_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_StereoEndRender_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::StartMultiEye_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_StartMultiEye_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::StopMultiEye_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_StopMultiEye_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::DrawSkybox_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_DrawSkybox_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::InvokeOnRenderObjectCallback_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_InvokeOnRenderObjectCallback_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::DrawGizmos_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_DrawGizmos_Internal_Injected); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::SetInstancingData",(void*) UnityEngine_Rendering_BatchRendererGroup_SetInstancingData); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::GetNumBatches",(void*) UnityEngine_Rendering_BatchRendererGroup_GetNumBatches); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::RemoveBatch",(void*) UnityEngine_Rendering_BatchRendererGroup_RemoveBatch); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::GetBatchMatrices",(void*) UnityEngine_Rendering_BatchRendererGroup_GetBatchMatrices); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::GetBatchScalarArray",(void*) UnityEngine_Rendering_BatchRendererGroup_GetBatchScalarArray); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::GetBatchVectorArray",(void*) UnityEngine_Rendering_BatchRendererGroup_GetBatchVectorArray); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::GetBatchMatrixArray",(void*) UnityEngine_Rendering_BatchRendererGroup_GetBatchMatrixArray); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::GetBatchScalarArray_Int",(void*) UnityEngine_Rendering_BatchRendererGroup_GetBatchScalarArray_Int); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::GetBatchVectorArray_Int",(void*) UnityEngine_Rendering_BatchRendererGroup_GetBatchVectorArray_Int); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::GetBatchMatrixArray_Int",(void*) UnityEngine_Rendering_BatchRendererGroup_GetBatchMatrixArray_Int); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::Create",(void*) UnityEngine_Rendering_BatchRendererGroup_Create_2); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::Destroy",(void*) UnityEngine_Rendering_BatchRendererGroup_Destroy_1); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::AddBatch_Injected",(void*) UnityEngine_Rendering_BatchRendererGroup_AddBatch_Injected); - mono_add_internal_call("UnityEngine.Rendering.BatchRendererGroup::SetBatchBounds_Injected",(void*) UnityEngine_Rendering_BatchRendererGroup_SetBatchBounds_Injected); - mono_add_internal_call("UnityEngine.Rendering.ShaderKeyword::GetGlobalKeywordIndex",(void*) UnityEngine_Rendering_ShaderKeyword_GetGlobalKeywordIndex); - mono_add_internal_call("UnityEngine.Rendering.ShaderKeyword::GetKeywordIndex",(void*) UnityEngine_Rendering_ShaderKeyword_GetKeywordIndex); - mono_add_internal_call("UnityEngine.Rendering.ShaderKeyword::GetGlobalKeywordName_Injected",(void*) UnityEngine_Rendering_ShaderKeyword_GetGlobalKeywordName_Injected); - mono_add_internal_call("UnityEngine.Rendering.ShaderKeyword::GetGlobalKeywordType_Injected",(void*) UnityEngine_Rendering_ShaderKeyword_GetGlobalKeywordType_Injected); - mono_add_internal_call("UnityEngine.Rendering.ShaderKeyword::IsKeywordLocal_Injected",(void*) UnityEngine_Rendering_ShaderKeyword_IsKeywordLocal_Injected); - mono_add_internal_call("UnityEngine.Rendering.ShaderKeyword::GetKeywordName_Injected",(void*) UnityEngine_Rendering_ShaderKeyword_GetKeywordName_Injected); - mono_add_internal_call("UnityEngine.Rendering.ShaderKeyword::GetKeywordType_Injected",(void*) UnityEngine_Rendering_ShaderKeyword_GetKeywordType_Injected); - mono_add_internal_call("UnityEngine.Rendering.SortingGroup::get_invalidSortingGroupID",(void*) UnityEngine_Rendering_SortingGroup_get_invalidSortingGroupID); - mono_add_internal_call("UnityEngine.Rendering.SortingGroup::UpdateAllSortingGroups",(void*) UnityEngine_Rendering_SortingGroup_UpdateAllSortingGroups); - mono_add_internal_call("UnityEngine.Rendering.SortingGroup::get_sortingLayerName",(void*) UnityEngine_Rendering_SortingGroup_get_sortingLayerName_1); - mono_add_internal_call("UnityEngine.Rendering.SortingGroup::set_sortingLayerName",(void*) UnityEngine_Rendering_SortingGroup_set_sortingLayerName_1); - mono_add_internal_call("UnityEngine.Rendering.SortingGroup::get_sortingLayerID",(void*) UnityEngine_Rendering_SortingGroup_get_sortingLayerID_1); - mono_add_internal_call("UnityEngine.Rendering.SortingGroup::set_sortingLayerID",(void*) UnityEngine_Rendering_SortingGroup_set_sortingLayerID_1); - mono_add_internal_call("UnityEngine.Rendering.SortingGroup::get_sortingOrder",(void*) UnityEngine_Rendering_SortingGroup_get_sortingOrder_1); - mono_add_internal_call("UnityEngine.Rendering.SortingGroup::set_sortingOrder",(void*) UnityEngine_Rendering_SortingGroup_set_sortingOrder_1); - mono_add_internal_call("UnityEngine.Rendering.SortingGroup::get_sortingGroupID",(void*) UnityEngine_Rendering_SortingGroup_get_sortingGroupID_1); - mono_add_internal_call("UnityEngine.Rendering.SortingGroup::get_sortingGroupOrder",(void*) UnityEngine_Rendering_SortingGroup_get_sortingGroupOrder_1); - mono_add_internal_call("UnityEngine.Rendering.SortingGroup::get_index",(void*) UnityEngine_Rendering_SortingGroup_get_index); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::Create_Injected",(void*) UnityEngine_Playables_PlayableGraph_Create_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::Destroy_Injected",(void*) UnityEngine_Playables_PlayableGraph_Destroy_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableGraph::IsValid_Injected",(void*) UnityEngine_Playables_PlayableGraph_IsValid_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::IsPlaying_Injected",(void*) UnityEngine_Playables_PlayableGraph_IsPlaying_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::IsDone_Injected",(void*) UnityEngine_Playables_PlayableGraph_IsDone_Injected_1); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::Play_Injected",(void*) UnityEngine_Playables_PlayableGraph_Play_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableGraph::Stop_Injected",(void*) UnityEngine_Playables_PlayableGraph_Stop_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::Evaluate_Injected",(void*) UnityEngine_Playables_PlayableGraph_Evaluate_Injected_1); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::GetTimeUpdateMode_Injected",(void*) UnityEngine_Playables_PlayableGraph_GetTimeUpdateMode_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::SetTimeUpdateMode_Injected",(void*) UnityEngine_Playables_PlayableGraph_SetTimeUpdateMode_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::GetResolver_Injected",(void*) UnityEngine_Playables_PlayableGraph_GetResolver_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::SetResolver_Injected",(void*) UnityEngine_Playables_PlayableGraph_SetResolver_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableGraph::GetPlayableCount_Injected",(void*) UnityEngine_Playables_PlayableGraph_GetPlayableCount_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::GetRootPlayableCount_Injected",(void*) UnityEngine_Playables_PlayableGraph_GetRootPlayableCount_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::GetOutputCount_Injected",(void*) UnityEngine_Playables_PlayableGraph_GetOutputCount_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableGraph::CreatePlayableHandle_Injected",(void*) UnityEngine_Playables_PlayableGraph_CreatePlayableHandle_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableGraph::CreateScriptOutputInternal_Injected",(void*) UnityEngine_Playables_PlayableGraph_CreateScriptOutputInternal_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableGraph::GetRootPlayableInternal_Injected",(void*) UnityEngine_Playables_PlayableGraph_GetRootPlayableInternal_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::DestroyOutputInternal_Injected",(void*) UnityEngine_Playables_PlayableGraph_DestroyOutputInternal_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::GetOutputInternal_Injected",(void*) UnityEngine_Playables_PlayableGraph_GetOutputInternal_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::GetOutputCountByTypeInternal_Injected",(void*) UnityEngine_Playables_PlayableGraph_GetOutputCountByTypeInternal_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::GetOutputByTypeInternal_Injected",(void*) UnityEngine_Playables_PlayableGraph_GetOutputByTypeInternal_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableGraph::ConnectInternal_Injected",(void*) UnityEngine_Playables_PlayableGraph_ConnectInternal_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::DisconnectInternal_Injected",(void*) UnityEngine_Playables_PlayableGraph_DisconnectInternal_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableGraph::DestroyPlayableInternal_Injected",(void*) UnityEngine_Playables_PlayableGraph_DestroyPlayableInternal_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableGraph::DestroySubgraphInternal_Injected",(void*) UnityEngine_Playables_PlayableGraph_DestroySubgraphInternal_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::IsNull_Injected",(void*) UnityEngine_Playables_PlayableHandle_IsNull_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::IsValid_Injected",(void*) UnityEngine_Playables_PlayableHandle_IsValid_Injected_1); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::GetPlayableType_Injected",(void*) UnityEngine_Playables_PlayableHandle_GetPlayableType_Injected); @@ -30823,13 +18412,13 @@ void regist_icall_gen() mono_add_internal_call("UnityEngine.Playables.PlayableHandle::CanSetWeights_Injected",(void*) UnityEngine_Playables_PlayableHandle_CanSetWeights_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::CanDestroy_Injected",(void*) UnityEngine_Playables_PlayableHandle_CanDestroy_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::GetPlayState_Injected",(void*) UnityEngine_Playables_PlayableHandle_GetPlayState_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableHandle::Play_Injected",(void*) UnityEngine_Playables_PlayableHandle_Play_Injected_1); + mono_add_internal_call("UnityEngine.Playables.PlayableHandle::Play_Injected",(void*) UnityEngine_Playables_PlayableHandle_Play_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::Pause_Injected",(void*) UnityEngine_Playables_PlayableHandle_Pause_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::GetSpeed_Injected",(void*) UnityEngine_Playables_PlayableHandle_GetSpeed_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::SetSpeed_Injected",(void*) UnityEngine_Playables_PlayableHandle_SetSpeed_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::GetTime_Injected",(void*) UnityEngine_Playables_PlayableHandle_GetTime_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::SetTime_Injected",(void*) UnityEngine_Playables_PlayableHandle_SetTime_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableHandle::IsDone_Injected",(void*) UnityEngine_Playables_PlayableHandle_IsDone_Injected_2); + mono_add_internal_call("UnityEngine.Playables.PlayableHandle::IsDone_Injected",(void*) UnityEngine_Playables_PlayableHandle_IsDone_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::SetDone_Injected",(void*) UnityEngine_Playables_PlayableHandle_SetDone_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::GetDuration_Injected",(void*) UnityEngine_Playables_PlayableHandle_GetDuration_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::SetDuration_Injected",(void*) UnityEngine_Playables_PlayableHandle_SetDuration_Injected); @@ -30838,7 +18427,7 @@ void regist_icall_gen() mono_add_internal_call("UnityEngine.Playables.PlayableHandle::GetGraph_Injected",(void*) UnityEngine_Playables_PlayableHandle_GetGraph_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::GetInputCount_Injected",(void*) UnityEngine_Playables_PlayableHandle_GetInputCount_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::SetInputCount_Injected",(void*) UnityEngine_Playables_PlayableHandle_SetInputCount_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableHandle::GetOutputCount_Injected",(void*) UnityEngine_Playables_PlayableHandle_GetOutputCount_Injected_1); + mono_add_internal_call("UnityEngine.Playables.PlayableHandle::GetOutputCount_Injected",(void*) UnityEngine_Playables_PlayableHandle_GetOutputCount_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::SetOutputCount_Injected",(void*) UnityEngine_Playables_PlayableHandle_SetOutputCount_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::SetInputWeight_Injected",(void*) UnityEngine_Playables_PlayableHandle_SetInputWeight_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableHandle::SetDelay_Injected",(void*) UnityEngine_Playables_PlayableHandle_SetDelay_Injected); @@ -30873,368 +18462,221 @@ void regist_icall_gen() mono_add_internal_call("UnityEngine.Playables.PlayableOutputHandle::GetNotificationReceivers_Injected",(void*) UnityEngine_Playables_PlayableOutputHandle_GetNotificationReceivers_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableOutputHandle::AddNotificationReceiver_Injected",(void*) UnityEngine_Playables_PlayableOutputHandle_AddNotificationReceiver_Injected); mono_add_internal_call("UnityEngine.Playables.PlayableOutputHandle::RemoveNotificationReceiver_Injected",(void*) UnityEngine_Playables_PlayableOutputHandle_RemoveNotificationReceiver_Injected); - mono_add_internal_call("UnityEngine.Diagnostics.Utils::ForceCrash",(void*) UnityEngine_Diagnostics_Utils_ForceCrash); - mono_add_internal_call("UnityEngine.Diagnostics.Utils::NativeAssert",(void*) UnityEngine_Diagnostics_Utils_NativeAssert); - mono_add_internal_call("UnityEngine.Diagnostics.Utils::NativeError",(void*) UnityEngine_Diagnostics_Utils_NativeError); - mono_add_internal_call("UnityEngine.Diagnostics.Utils::NativeWarning",(void*) UnityEngine_Diagnostics_Utils_NativeWarning); - mono_add_internal_call("UnityEngine.Experimental.U2D.SpriteRendererGroup::AddRenderers",(void*) UnityEngine_Experimental_U2D_SpriteRendererGroup_AddRenderers); - mono_add_internal_call("UnityEngine.Experimental.U2D.SpriteRendererGroup::Clear",(void*) UnityEngine_Experimental_U2D_SpriteRendererGroup_Clear_4); - mono_add_internal_call("UnityEngine.Experimental.GlobalIllumination.RenderSettings::get_useRadianceAmbientProbe",(void*) UnityEngine_Experimental_GlobalIllumination_RenderSettings_get_useRadianceAmbientProbe); - mono_add_internal_call("UnityEngine.Experimental.GlobalIllumination.RenderSettings::set_useRadianceAmbientProbe",(void*) UnityEngine_Experimental_GlobalIllumination_RenderSettings_set_useRadianceAmbientProbe); - mono_add_internal_call("UnityEngine.Experimental.Playables.CameraPlayable::GetCameraInternal",(void*) UnityEngine_Experimental_Playables_CameraPlayable_GetCameraInternal); - mono_add_internal_call("UnityEngine.Experimental.Playables.CameraPlayable::SetCameraInternal",(void*) UnityEngine_Experimental_Playables_CameraPlayable_SetCameraInternal); - mono_add_internal_call("UnityEngine.Experimental.Playables.CameraPlayable::InternalCreateCameraPlayable",(void*) UnityEngine_Experimental_Playables_CameraPlayable_InternalCreateCameraPlayable); - mono_add_internal_call("UnityEngine.Experimental.Playables.CameraPlayable::ValidateType",(void*) UnityEngine_Experimental_Playables_CameraPlayable_ValidateType); - mono_add_internal_call("UnityEngine.Experimental.Playables.MaterialEffectPlayable::GetMaterialInternal",(void*) UnityEngine_Experimental_Playables_MaterialEffectPlayable_GetMaterialInternal); - mono_add_internal_call("UnityEngine.Experimental.Playables.MaterialEffectPlayable::SetMaterialInternal",(void*) UnityEngine_Experimental_Playables_MaterialEffectPlayable_SetMaterialInternal); - mono_add_internal_call("UnityEngine.Experimental.Playables.MaterialEffectPlayable::GetPassInternal",(void*) UnityEngine_Experimental_Playables_MaterialEffectPlayable_GetPassInternal); - mono_add_internal_call("UnityEngine.Experimental.Playables.MaterialEffectPlayable::SetPassInternal",(void*) UnityEngine_Experimental_Playables_MaterialEffectPlayable_SetPassInternal); - mono_add_internal_call("UnityEngine.Experimental.Playables.MaterialEffectPlayable::InternalCreateMaterialEffectPlayable",(void*) UnityEngine_Experimental_Playables_MaterialEffectPlayable_InternalCreateMaterialEffectPlayable); - mono_add_internal_call("UnityEngine.Experimental.Playables.MaterialEffectPlayable::ValidateType",(void*) UnityEngine_Experimental_Playables_MaterialEffectPlayable_ValidateType_1); - mono_add_internal_call("UnityEngine.Experimental.Playables.TextureMixerPlayable::CreateTextureMixerPlayableInternal",(void*) UnityEngine_Experimental_Playables_TextureMixerPlayable_CreateTextureMixerPlayableInternal); - mono_add_internal_call("UnityEngine.Experimental.Playables.TexturePlayableGraphExtensions::InternalCreateTextureOutput",(void*) UnityEngine_Experimental_Playables_TexturePlayableGraphExtensions_InternalCreateTextureOutput); - mono_add_internal_call("UnityEngine.Experimental.Playables.TexturePlayableOutput::InternalGetTarget",(void*) UnityEngine_Experimental_Playables_TexturePlayableOutput_InternalGetTarget); - mono_add_internal_call("UnityEngine.Experimental.Playables.TexturePlayableOutput::InternalSetTarget",(void*) UnityEngine_Experimental_Playables_TexturePlayableOutput_InternalSetTarget); - mono_add_internal_call("UnityEngine.Experimental.Rendering.ScriptableRuntimeReflectionSystemSettings::ScriptingDirtyReflectionSystemInstance",(void*) UnityEngine_Experimental_Rendering_ScriptableRuntimeReflectionSystemSettings_ScriptingDirtyReflectionSystemInstance); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsDeviceSettings::get_waitForPresentSyncPoint",(void*) UnityEngine_Experimental_Rendering_GraphicsDeviceSettings_get_waitForPresentSyncPoint); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsDeviceSettings::set_waitForPresentSyncPoint",(void*) UnityEngine_Experimental_Rendering_GraphicsDeviceSettings_set_waitForPresentSyncPoint); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsDeviceSettings::get_graphicsJobsSyncPoint",(void*) UnityEngine_Experimental_Rendering_GraphicsDeviceSettings_get_graphicsJobsSyncPoint); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsDeviceSettings::set_graphicsJobsSyncPoint",(void*) UnityEngine_Experimental_Rendering_GraphicsDeviceSettings_set_graphicsJobsSyncPoint); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetFormat); + mono_add_internal_call("UnityEngine.SceneManagement.Scene::IsValidInternal",(void*) UnityEngine_SceneManagement_Scene_IsValidInternal); + mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetIsLoadedInternal",(void*) UnityEngine_SceneManagement_Scene_GetIsLoadedInternal); + mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetRootCountInternal",(void*) UnityEngine_SceneManagement_Scene_GetRootCountInternal); + mono_add_internal_call("UnityEngine.SceneManagement.Scene::GetRootGameObjectsInternal",(void*) UnityEngine_SceneManagement_Scene_GetRootGameObjectsInternal); + mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::get_sceneCount",(void*) UnityEngine_SceneManagement_SceneManager_get_sceneCount); + mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::GetActiveScene_Injected",(void*) UnityEngine_SceneManagement_SceneManager_GetActiveScene_Injected); + mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::GetSceneByName_Injected",(void*) UnityEngine_SceneManagement_SceneManager_GetSceneByName_Injected); + mono_add_internal_call("UnityEngine.SceneManagement.SceneManager::GetSceneAt_Injected",(void*) UnityEngine_SceneManagement_SceneManager_GetSceneAt_Injected); + mono_add_internal_call("UnityEngine.Scripting.GarbageCollector::get_isIncremental",(void*) UnityEngine_Scripting_GarbageCollector_get_isIncremental); + mono_add_internal_call("UnityEngine.Scripting.GarbageCollector::get_incrementalTimeSliceNanoseconds",(void*) UnityEngine_Scripting_GarbageCollector_get_incrementalTimeSliceNanoseconds); + mono_add_internal_call("UnityEngine.Scripting.GarbageCollector::set_incrementalTimeSliceNanoseconds",(void*) UnityEngine_Scripting_GarbageCollector_set_incrementalTimeSliceNanoseconds); + mono_add_internal_call("UnityEngine.Scripting.GarbageCollector::CollectIncremental",(void*) UnityEngine_Scripting_GarbageCollector_CollectIncremental); + mono_add_internal_call("UnityEngine.U2D.SpriteAtlas::CanBindTo",(void*) UnityEngine_U2D_SpriteAtlas_CanBindTo); + mono_add_internal_call("UnityEngine.Rendering.GraphicsSettings::get_lightsUseLinearIntensity",(void*) UnityEngine_Rendering_GraphicsSettings_get_lightsUseLinearIntensity); + mono_add_internal_call("UnityEngine.Rendering.ScriptableRenderContext::GetCameras_Internal_Injected",(void*) UnityEngine_Rendering_ScriptableRenderContext_GetCameras_Internal_Injected); mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetGraphicsFormat_Native_TextureFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetGraphicsFormat_Native_TextureFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetTextureFormat_Native_GraphicsFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetTextureFormat_Native_GraphicsFormat); mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetGraphicsFormat_Native_RenderTextureFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetGraphicsFormat_Native_RenderTextureFormat); mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsSRGBFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsSRGBFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsSwizzleFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsSwizzleFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetSRGBFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetSRGBFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetLinearFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetLinearFormat); mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetRenderTextureFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetRenderTextureFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetColorComponentCount",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetColorComponentCount); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetAlphaComponentCount",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetAlphaComponentCount); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetComponentCount",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetComponentCount); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetFormatString",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetFormatString); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsCompressedFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsCompressedFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsCompressedTextureFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsCompressedTextureFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsPackedFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsPackedFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::Is16BitPackedFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_Is16BitPackedFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::ConvertToAlphaFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_ConvertToAlphaFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsAlphaOnlyFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsAlphaOnlyFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsAlphaTestFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsAlphaTestFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::HasAlphaChannel",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_HasAlphaChannel); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsDepthFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsDepthFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsStencilFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsStencilFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsIEEE754Format",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsIEEE754Format); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsFloatFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsFloatFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsHalfFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsHalfFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsUnsignedFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsUnsignedFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsSignedFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsSignedFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsNormFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsNormFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsUNormFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsUNormFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsSNormFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsSNormFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsIntegerFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsIntegerFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsUIntFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsUIntFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsSIntFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsSIntFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsXRFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsXRFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsDXTCFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsDXTCFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsRGTCFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsRGTCFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsBPTCFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsBPTCFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsBCFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsBCFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsPVRTCFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsPVRTCFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsETCFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsETCFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsEACFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsEACFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::IsASTCFormat",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_IsASTCFormat); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetSwizzleR",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetSwizzleR); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetSwizzleG",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetSwizzleG); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetSwizzleB",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetSwizzleB); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetSwizzleA",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetSwizzleA); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetBlockSize",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetBlockSize); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetBlockWidth",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetBlockWidth); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::GetBlockHeight",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_GetBlockHeight); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::ComputeMipmapSize_Native_2D",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_ComputeMipmapSize_Native_2D); - mono_add_internal_call("UnityEngine.Experimental.Rendering.GraphicsFormatUtility::ComputeMipmapSize_Native_3D",(void*) UnityEngine_Experimental_Rendering_GraphicsFormatUtility_ComputeMipmapSize_Native_3D); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::Destroy",(void*) UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_Destroy_2); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::Build",(void*) UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_Build); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::Update",(void*) UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_Update_1); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::AddInstance",(void*) UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_AddInstance); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::UpdateInstanceTransform",(void*) UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_UpdateInstanceTransform); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::GetSize",(void*) UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_GetSize); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure::Create_Injected",(void*) UnityEngine_Experimental_Rendering_RayTracingAccelerationStructure_Create_Injected_1); - mono_add_internal_call("UnityEngine.Experimental.Rendering.ShaderWarmup::WarmupShader_Injected",(void*) UnityEngine_Experimental_Rendering_ShaderWarmup_WarmupShader_Injected); - mono_add_internal_call("UnityEngine.Experimental.Rendering.ShaderWarmup::WarmupShaderFromCollection_Injected",(void*) UnityEngine_Experimental_Rendering_ShaderWarmup_WarmupShaderFromCollection_Injected); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::get_maxRecursionDepth",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_get_maxRecursionDepth); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::SetFloat",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_SetFloat_1); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::SetInt",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_SetInt_1); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::SetFloatArray",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_SetFloatArray_1); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::SetIntArray",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_SetIntArray_1); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::SetVectorArray",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_SetVectorArray_1); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::SetMatrixArray",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_SetMatrixArray_1); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::SetTexture",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_SetTexture_1); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::SetAccelerationStructure",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_SetAccelerationStructure); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::SetShaderPass",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_SetShaderPass); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::SetTextureFromGlobal",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_SetTextureFromGlobal_1); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::Dispatch",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_Dispatch_1); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::SetVector_Injected",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_SetVector_Injected_1); - mono_add_internal_call("UnityEngine.Experimental.Rendering.RayTracingShader::SetMatrix_Injected",(void*) UnityEngine_Experimental_Rendering_RayTracingShader_SetMatrix_Injected_1); - mono_add_internal_call("UnityEngine.Android.Permission::HasUserAuthorizedPermission",(void*) UnityEngine_Android_Permission_HasUserAuthorizedPermission); - mono_add_internal_call("UnityEngine.Android.Permission::RequestUserPermission",(void*) UnityEngine_Android_Permission_RequestUserPermission); - mono_add_internal_call("UnityEngine.TestTools.Coverage::get_enabled",(void*) UnityEngine_TestTools_Coverage_get_enabled_6); - mono_add_internal_call("UnityEngine.TestTools.Coverage::GetStatsForAllCoveredMethods",(void*) UnityEngine_TestTools_Coverage_GetStatsForAllCoveredMethods); - mono_add_internal_call("UnityEngine.TestTools.Coverage::ResetAll",(void*) UnityEngine_TestTools_Coverage_ResetAll); - mono_add_internal_call("UnityEngine.Playables.PlayableDirector::ClearReferenceValue_Injected",(void*) UnityEngine_Playables_PlayableDirector_ClearReferenceValue_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableDirector::SetReferenceValue_Injected",(void*) UnityEngine_Playables_PlayableDirector_SetReferenceValue_Injected); - mono_add_internal_call("UnityEngine.Playables.PlayableDirector::GetReferenceValue_Injected",(void*) UnityEngine_Playables_PlayableDirector_GetReferenceValue_Injected); + mono_add_internal_call("Unity.Jobs.JobHandle::ScheduleBatchedJobs",(void*) Unity_Jobs_JobHandle_ScheduleBatchedJobs); + mono_add_internal_call("UnityEngine.Playables.PlayableDirector::set_time",(void*) UnityEngine_Playables_PlayableDirector_set_time_2); + mono_add_internal_call("UnityEngine.Playables.PlayableDirector::Evaluate",(void*) UnityEngine_Playables_PlayableDirector_Evaluate_1); + mono_add_internal_call("UnityEngine.Playables.PlayableDirector::Play",(void*) UnityEngine_Playables_PlayableDirector_Play_3); + mono_add_internal_call("UnityEngine.Playables.PlayableDirector::Stop",(void*) UnityEngine_Playables_PlayableDirector_Stop_1); + mono_add_internal_call("UnityEngine.Playables.PlayableDirector::Pause",(void*) UnityEngine_Playables_PlayableDirector_Pause_1); + mono_add_internal_call("UnityEngine.Playables.PlayableDirector::Resume",(void*) UnityEngine_Playables_PlayableDirector_Resume); + mono_add_internal_call("UnityEngine.Playables.PlayableDirector::GetGenericBinding",(void*) UnityEngine_Playables_PlayableDirector_GetGenericBinding); + mono_add_internal_call("UnityEngine.ImageConversion::EncodeToPNG",(void*) UnityEngine_ImageConversion_EncodeToPNG); + mono_add_internal_call("UnityEngine.ImageConversion::EncodeToJPG",(void*) UnityEngine_ImageConversion_EncodeToJPG); + mono_add_internal_call("UnityEngine.ImageConversion::LoadImage",(void*) UnityEngine_ImageConversion_LoadImage); mono_add_internal_call("UnityEngine.Event::get_rawType",(void*) UnityEngine_Event_get_rawType); mono_add_internal_call("UnityEngine.Event::get_pointerType",(void*) UnityEngine_Event_get_pointerType); mono_add_internal_call("UnityEngine.Event::get_button",(void*) UnityEngine_Event_get_button); mono_add_internal_call("UnityEngine.Event::get_modifiers",(void*) UnityEngine_Event_get_modifiers); - mono_add_internal_call("UnityEngine.Event::set_modifiers",(void*) UnityEngine_Event_set_modifiers); mono_add_internal_call("UnityEngine.Event::get_pressure",(void*) UnityEngine_Event_get_pressure); mono_add_internal_call("UnityEngine.Event::get_clickCount",(void*) UnityEngine_Event_get_clickCount); mono_add_internal_call("UnityEngine.Event::get_character",(void*) UnityEngine_Event_get_character); - mono_add_internal_call("UnityEngine.Event::set_character",(void*) UnityEngine_Event_set_character); mono_add_internal_call("UnityEngine.Event::get_keyCode",(void*) UnityEngine_Event_get_keyCode); - mono_add_internal_call("UnityEngine.Event::set_keyCode",(void*) UnityEngine_Event_set_keyCode); mono_add_internal_call("UnityEngine.Event::get_displayIndex",(void*) UnityEngine_Event_get_displayIndex); mono_add_internal_call("UnityEngine.Event::set_displayIndex",(void*) UnityEngine_Event_set_displayIndex); - mono_add_internal_call("UnityEngine.Event::get_type",(void*) UnityEngine_Event_get_type_3); - mono_add_internal_call("UnityEngine.Event::set_type",(void*) UnityEngine_Event_set_type_2); + mono_add_internal_call("UnityEngine.Event::get_type",(void*) UnityEngine_Event_get_type_1); + mono_add_internal_call("UnityEngine.Event::set_type",(void*) UnityEngine_Event_set_type); mono_add_internal_call("UnityEngine.Event::get_commandName",(void*) UnityEngine_Event_get_commandName); mono_add_internal_call("UnityEngine.Event::set_commandName",(void*) UnityEngine_Event_set_commandName); - mono_add_internal_call("UnityEngine.Event::Internal_Use",(void*) UnityEngine_Event_Internal_Use); - mono_add_internal_call("UnityEngine.Event::Internal_Create",(void*) UnityEngine_Event_Internal_Create_9); - mono_add_internal_call("UnityEngine.Event::Internal_Destroy",(void*) UnityEngine_Event_Internal_Destroy_3); mono_add_internal_call("UnityEngine.Event::CopyFromPtr",(void*) UnityEngine_Event_CopyFromPtr); - mono_add_internal_call("UnityEngine.Event::Internal_SetNativeEvent",(void*) UnityEngine_Event_Internal_SetNativeEvent); - mono_add_internal_call("UnityEngine.Event::get_mousePosition_Injected",(void*) UnityEngine_Event_get_mousePosition_Injected); - mono_add_internal_call("UnityEngine.Event::set_mousePosition_Injected",(void*) UnityEngine_Event_set_mousePosition_Injected); - mono_add_internal_call("UnityEngine.Event::get_delta_Injected",(void*) UnityEngine_Event_get_delta_Injected); + mono_add_internal_call("UnityEngine.Event::PopEvent",(void*) UnityEngine_Event_PopEvent); mono_add_internal_call("UnityEngine.GUI::get_changed",(void*) UnityEngine_GUI_get_changed); mono_add_internal_call("UnityEngine.GUI::set_changed",(void*) UnityEngine_GUI_set_changed); - mono_add_internal_call("UnityEngine.GUI::get_enabled",(void*) UnityEngine_GUI_get_enabled_7); - mono_add_internal_call("UnityEngine.GUI::set_enabled",(void*) UnityEngine_GUI_set_enabled_5); - mono_add_internal_call("UnityEngine.GUI::GrabMouseControl",(void*) UnityEngine_GUI_GrabMouseControl); - mono_add_internal_call("UnityEngine.GUI::HasMouseControl",(void*) UnityEngine_GUI_HasMouseControl); - mono_add_internal_call("UnityEngine.GUI::ReleaseMouseControl",(void*) UnityEngine_GUI_ReleaseMouseControl); - mono_add_internal_call("UnityEngine.GUI::get_color_Injected",(void*) UnityEngine_GUI_get_color_Injected_4); - mono_add_internal_call("UnityEngine.GUI::set_color_Injected",(void*) UnityEngine_GUI_set_color_Injected_4); - mono_add_internal_call("UnityEngine.GUI::get_backgroundColor_Injected",(void*) UnityEngine_GUI_get_backgroundColor_Injected_2); - mono_add_internal_call("UnityEngine.GUI::set_backgroundColor_Injected",(void*) UnityEngine_GUI_set_backgroundColor_Injected_2); - mono_add_internal_call("UnityEngine.GUI::get_contentColor_Injected",(void*) UnityEngine_GUI_get_contentColor_Injected); - mono_add_internal_call("UnityEngine.GUI::set_contentColor_Injected",(void*) UnityEngine_GUI_set_contentColor_Injected); - mono_add_internal_call("UnityEngine.GUIClip::Internal_Pop",(void*) UnityEngine_GUIClip_Internal_Pop); - mono_add_internal_call("UnityEngine.GUIClip::Internal_GetCount",(void*) UnityEngine_GUIClip_Internal_GetCount); - mono_add_internal_call("UnityEngine.GUIClip::Internal_PopParentClip",(void*) UnityEngine_GUIClip_Internal_PopParentClip); - mono_add_internal_call("UnityEngine.GUIClip::get_visibleRect_Injected",(void*) UnityEngine_GUIClip_get_visibleRect_Injected); - mono_add_internal_call("UnityEngine.GUIClip::GetMatrix_Injected",(void*) UnityEngine_GUIClip_GetMatrix_Injected); - mono_add_internal_call("UnityEngine.GUIClip::SetMatrix_Injected",(void*) UnityEngine_GUIClip_SetMatrix_Injected_2); - mono_add_internal_call("UnityEngine.GUIClip::Internal_PushParentClip_Injected",(void*) UnityEngine_GUIClip_Internal_PushParentClip_Injected); - mono_add_internal_call("UnityEngine.GUILayoutUtility::Internal_GetWindowRect_Injected",(void*) UnityEngine_GUILayoutUtility_Internal_GetWindowRect_Injected); - mono_add_internal_call("UnityEngine.GUILayoutUtility::Internal_MoveWindow_Injected",(void*) UnityEngine_GUILayoutUtility_Internal_MoveWindow_Injected); - mono_add_internal_call("UnityEngine.GUISettings::Internal_GetCursorFlashSpeed",(void*) UnityEngine_GUISettings_Internal_GetCursorFlashSpeed); - mono_add_internal_call("UnityEngine.GUIStyleState::Init",(void*) UnityEngine_GUIStyleState_Init_2); - mono_add_internal_call("UnityEngine.GUIStyleState::Cleanup",(void*) UnityEngine_GUIStyleState_Cleanup_1); - mono_add_internal_call("UnityEngine.GUIStyleState::set_textColor_Injected",(void*) UnityEngine_GUIStyleState_set_textColor_Injected); - mono_add_internal_call("UnityEngine.GUIStyle::get_rawName",(void*) UnityEngine_GUIStyle_get_rawName); - mono_add_internal_call("UnityEngine.GUIStyle::set_rawName",(void*) UnityEngine_GUIStyle_set_rawName); - mono_add_internal_call("UnityEngine.GUIStyle::get_font",(void*) UnityEngine_GUIStyle_get_font); + mono_add_internal_call("UnityEngine.GUI::get_enabled",(void*) UnityEngine_GUI_get_enabled_2); + mono_add_internal_call("UnityEngine.GUI::set_enabled",(void*) UnityEngine_GUI_set_enabled_2); + mono_add_internal_call("UnityEngine.GUIStyle::set_alignment",(void*) UnityEngine_GUIStyle_set_alignment); mono_add_internal_call("UnityEngine.GUIStyle::get_fixedWidth",(void*) UnityEngine_GUIStyle_get_fixedWidth); mono_add_internal_call("UnityEngine.GUIStyle::get_fixedHeight",(void*) UnityEngine_GUIStyle_get_fixedHeight); mono_add_internal_call("UnityEngine.GUIStyle::get_stretchWidth",(void*) UnityEngine_GUIStyle_get_stretchWidth); mono_add_internal_call("UnityEngine.GUIStyle::get_stretchHeight",(void*) UnityEngine_GUIStyle_get_stretchHeight); mono_add_internal_call("UnityEngine.GUIStyle::set_stretchHeight",(void*) UnityEngine_GUIStyle_set_stretchHeight); - mono_add_internal_call("UnityEngine.GUIStyle::Internal_Create",(void*) UnityEngine_GUIStyle_Internal_Create_10); - mono_add_internal_call("UnityEngine.GUIStyle::Internal_Destroy",(void*) UnityEngine_GUIStyle_Internal_Destroy_4); - mono_add_internal_call("UnityEngine.GUIStyle::GetStyleStatePtr",(void*) UnityEngine_GUIStyle_GetStyleStatePtr); - mono_add_internal_call("UnityEngine.GUIStyle::GetRectOffsetPtr",(void*) UnityEngine_GUIStyle_GetRectOffsetPtr); - mono_add_internal_call("UnityEngine.GUIStyle::Internal_GetLineHeight",(void*) UnityEngine_GUIStyle_Internal_GetLineHeight); - mono_add_internal_call("UnityEngine.GUIStyle::Internal_CalcHeight",(void*) UnityEngine_GUIStyle_Internal_CalcHeight); - mono_add_internal_call("UnityEngine.GUIStyle::Internal_GetCursorFlashOffset",(void*) UnityEngine_GUIStyle_Internal_GetCursorFlashOffset); - mono_add_internal_call("UnityEngine.GUIStyle::SetDefaultFont",(void*) UnityEngine_GUIStyle_SetDefaultFont); - mono_add_internal_call("UnityEngine.GUIStyle::get_contentOffset_Injected",(void*) UnityEngine_GUIStyle_get_contentOffset_Injected); - mono_add_internal_call("UnityEngine.GUIStyle::set_contentOffset_Injected",(void*) UnityEngine_GUIStyle_set_contentOffset_Injected); - mono_add_internal_call("UnityEngine.GUIStyle::set_Internal_clipOffset_Injected",(void*) UnityEngine_GUIStyle_set_Internal_clipOffset_Injected); mono_add_internal_call("UnityEngine.GUIStyle::Internal_Draw_Injected",(void*) UnityEngine_GUIStyle_Internal_Draw_Injected); mono_add_internal_call("UnityEngine.GUIStyle::Internal_Draw2_Injected",(void*) UnityEngine_GUIStyle_Internal_Draw2_Injected); - mono_add_internal_call("UnityEngine.GUIStyle::Internal_DrawCursor_Injected",(void*) UnityEngine_GUIStyle_Internal_DrawCursor_Injected); - mono_add_internal_call("UnityEngine.GUIStyle::Internal_DrawWithTextSelection_Injected",(void*) UnityEngine_GUIStyle_Internal_DrawWithTextSelection_Injected); - mono_add_internal_call("UnityEngine.GUIStyle::Internal_GetCursorPixelPosition_Injected",(void*) UnityEngine_GUIStyle_Internal_GetCursorPixelPosition_Injected); - mono_add_internal_call("UnityEngine.GUIStyle::Internal_GetCursorStringIndex_Injected",(void*) UnityEngine_GUIStyle_Internal_GetCursorStringIndex_Injected); - mono_add_internal_call("UnityEngine.GUIStyle::Internal_GetSelectedRenderedText_Injected",(void*) UnityEngine_GUIStyle_Internal_GetSelectedRenderedText_Injected); mono_add_internal_call("UnityEngine.GUIStyle::Internal_CalcSize_Injected",(void*) UnityEngine_GUIStyle_Internal_CalcSize_Injected); - mono_add_internal_call("UnityEngine.GUIStyle::SetMouseTooltip_Injected",(void*) UnityEngine_GUIStyle_SetMouseTooltip_Injected); - mono_add_internal_call("UnityEngine.GUIUtility::get_pixelsPerPoint",(void*) UnityEngine_GUIUtility_get_pixelsPerPoint); - mono_add_internal_call("UnityEngine.GUIUtility::get_guiDepth",(void*) UnityEngine_GUIUtility_get_guiDepth); - mono_add_internal_call("UnityEngine.GUIUtility::set_textFieldInput",(void*) UnityEngine_GUIUtility_set_textFieldInput); mono_add_internal_call("UnityEngine.GUIUtility::get_systemCopyBuffer",(void*) UnityEngine_GUIUtility_get_systemCopyBuffer); mono_add_internal_call("UnityEngine.GUIUtility::set_systemCopyBuffer",(void*) UnityEngine_GUIUtility_set_systemCopyBuffer); - mono_add_internal_call("UnityEngine.GUIUtility::BeginContainerFromOwner",(void*) UnityEngine_GUIUtility_BeginContainerFromOwner); - mono_add_internal_call("UnityEngine.GUIUtility::BeginContainer",(void*) UnityEngine_GUIUtility_BeginContainer); - mono_add_internal_call("UnityEngine.GUIUtility::Internal_EndContainer",(void*) UnityEngine_GUIUtility_Internal_EndContainer); - mono_add_internal_call("UnityEngine.GUIUtility::CheckForTabEvent",(void*) UnityEngine_GUIUtility_CheckForTabEvent); - mono_add_internal_call("UnityEngine.GUIUtility::SetKeyboardControlToFirstControlId",(void*) UnityEngine_GUIUtility_SetKeyboardControlToFirstControlId); - mono_add_internal_call("UnityEngine.GUIUtility::SetKeyboardControlToLastControlId",(void*) UnityEngine_GUIUtility_SetKeyboardControlToLastControlId); - mono_add_internal_call("UnityEngine.GUIUtility::HasFocusableControls",(void*) UnityEngine_GUIUtility_HasFocusableControls); - mono_add_internal_call("UnityEngine.GUIUtility::OwnsId",(void*) UnityEngine_GUIUtility_OwnsId); - mono_add_internal_call("UnityEngine.GUIUtility::get_compositionString",(void*) UnityEngine_GUIUtility_get_compositionString); - mono_add_internal_call("UnityEngine.GUIUtility::Internal_GetHotControl",(void*) UnityEngine_GUIUtility_Internal_GetHotControl); - mono_add_internal_call("UnityEngine.GUIUtility::Internal_GetKeyboardControl",(void*) UnityEngine_GUIUtility_Internal_GetKeyboardControl); - mono_add_internal_call("UnityEngine.GUIUtility::Internal_SetHotControl",(void*) UnityEngine_GUIUtility_Internal_SetHotControl); - mono_add_internal_call("UnityEngine.GUIUtility::Internal_SetKeyboardControl",(void*) UnityEngine_GUIUtility_Internal_SetKeyboardControl); - mono_add_internal_call("UnityEngine.GUIUtility::Internal_GetDefaultSkin",(void*) UnityEngine_GUIUtility_Internal_GetDefaultSkin); - mono_add_internal_call("UnityEngine.GUIUtility::Internal_ExitGUI",(void*) UnityEngine_GUIUtility_Internal_ExitGUI); - mono_add_internal_call("UnityEngine.GUIUtility::GetControlID_Injected",(void*) UnityEngine_GUIUtility_GetControlID_Injected); - mono_add_internal_call("UnityEngine.GUIUtility::AlignRectToDevice_Injected",(void*) UnityEngine_GUIUtility_AlignRectToDevice_Injected); - mono_add_internal_call("UnityEngine.GUIUtility::set_compositionCursorPos_Injected",(void*) UnityEngine_GUIUtility_set_compositionCursorPos_Injected); - mono_add_internal_call("UnityEngine.ObjectGUIState::Internal_Create",(void*) UnityEngine_ObjectGUIState_Internal_Create_11); - mono_add_internal_call("UnityEngine.ObjectGUIState::Internal_Destroy",(void*) UnityEngine_ObjectGUIState_Internal_Destroy_5); - mono_add_internal_call("UnityEngine.CameraRaycastHelper::RaycastTry_Injected",(void*) UnityEngine_CameraRaycastHelper_RaycastTry_Injected); - mono_add_internal_call("UnityEngine.CameraRaycastHelper::RaycastTry2D_Injected",(void*) UnityEngine_CameraRaycastHelper_RaycastTry2D_Injected); + mono_add_internal_call("UnityEngine.Input::get_anyKeyDown",(void*) UnityEngine_Input_get_anyKeyDown); + mono_add_internal_call("UnityEngine.Input::get_inputString",(void*) UnityEngine_Input_get_inputString); + mono_add_internal_call("UnityEngine.Input::get_imeCompositionMode",(void*) UnityEngine_Input_get_imeCompositionMode); + mono_add_internal_call("UnityEngine.Input::set_imeCompositionMode",(void*) UnityEngine_Input_set_imeCompositionMode); + mono_add_internal_call("UnityEngine.Input::get_compositionString",(void*) UnityEngine_Input_get_compositionString); + mono_add_internal_call("UnityEngine.Input::get_mousePresent",(void*) UnityEngine_Input_get_mousePresent); + mono_add_internal_call("UnityEngine.Input::get_touchCount",(void*) UnityEngine_Input_get_touchCount); + mono_add_internal_call("UnityEngine.Input::get_touchSupported",(void*) UnityEngine_Input_get_touchSupported); + mono_add_internal_call("UnityEngine.Input::set_multiTouchEnabled",(void*) UnityEngine_Input_set_multiTouchEnabled); + mono_add_internal_call("UnityEngine.Input::GetAxis",(void*) UnityEngine_Input_GetAxis); + mono_add_internal_call("UnityEngine.Input::GetAxisRaw",(void*) UnityEngine_Input_GetAxisRaw); + mono_add_internal_call("UnityEngine.Input::GetButtonDown",(void*) UnityEngine_Input_GetButtonDown); mono_add_internal_call("UnityEngine.Input::GetMouseButton",(void*) UnityEngine_Input_GetMouseButton); mono_add_internal_call("UnityEngine.Input::GetMouseButtonDown",(void*) UnityEngine_Input_GetMouseButtonDown); - mono_add_internal_call("UnityEngine.Input::get_mousePosition_Injected",(void*) UnityEngine_Input_get_mousePosition_Injected_1); - mono_add_internal_call("UnityEngineInternal.Input.NativeInputSystem::set_hasDeviceDiscoveredCallback",(void*) UnityEngineInternal_Input_NativeInputSystem_set_hasDeviceDiscoveredCallback); - mono_add_internal_call("UnityEngine.ParticleSystem::Emit_Internal",(void*) UnityEngine_ParticleSystem_Emit_Internal); + mono_add_internal_call("UnityEngine.Input::GetMouseButtonUp",(void*) UnityEngine_Input_GetMouseButtonUp); + mono_add_internal_call("UnityEngine.Input::GetTouch_Injected",(void*) UnityEngine_Input_GetTouch_Injected); + mono_add_internal_call("UnityEngine.Input::GetKeyInt",(void*) UnityEngine_Input_GetKeyInt); + mono_add_internal_call("UnityEngine.Input::GetKeyUpInt",(void*) UnityEngine_Input_GetKeyUpInt); + mono_add_internal_call("UnityEngine.Input::GetKeyDownInt",(void*) UnityEngine_Input_GetKeyDownInt); + mono_add_internal_call("UnityEngine.ParticleSystem::get_particleCount",(void*) UnityEngine_ParticleSystem_get_particleCount); + mono_add_internal_call("UnityEngine.ParticleSystem::set_time",(void*) UnityEngine_ParticleSystem_set_time_3); mono_add_internal_call("UnityEngine.ParticleSystem::EmitOld_Internal",(void*) UnityEngine_ParticleSystem_EmitOld_Internal); + mono_add_internal_call("UnityEngine.ParticleSystem::SetParticles",(void*) UnityEngine_ParticleSystem_SetParticles); + mono_add_internal_call("UnityEngine.ParticleSystem::GetParticles",(void*) UnityEngine_ParticleSystem_GetParticles); + mono_add_internal_call("UnityEngine.ParticleSystem::Simulate",(void*) UnityEngine_ParticleSystem_Simulate); + mono_add_internal_call("UnityEngine.ParticleSystem::Play",(void*) UnityEngine_ParticleSystem_Play_4); + mono_add_internal_call("UnityEngine.ParticleSystem::Pause",(void*) UnityEngine_ParticleSystem_Pause_2); + mono_add_internal_call("UnityEngine.ParticleSystem::Clear",(void*) UnityEngine_ParticleSystem_Clear); + mono_add_internal_call("UnityEngine.ParticleSystem::Emit_Internal",(void*) UnityEngine_ParticleSystem_Emit_Internal); mono_add_internal_call("UnityEngine.ParticleSystem::Emit_Injected",(void*) UnityEngine_ParticleSystem_Emit_Injected); + mono_add_internal_call("UnityEngine.ParticleSystemRenderer::get_renderMode",(void*) UnityEngine_ParticleSystemRenderer_get_renderMode); + mono_add_internal_call("UnityEngine.ParticleSystemRenderer::get_lengthScale",(void*) UnityEngine_ParticleSystemRenderer_get_lengthScale); + mono_add_internal_call("UnityEngine.ParticleSystemRenderer::set_lengthScale",(void*) UnityEngine_ParticleSystemRenderer_set_lengthScale); + mono_add_internal_call("UnityEngine.ParticleSystemRenderer::get_velocityScale",(void*) UnityEngine_ParticleSystemRenderer_get_velocityScale); + mono_add_internal_call("UnityEngine.ParticleSystemRenderer::set_velocityScale",(void*) UnityEngine_ParticleSystemRenderer_set_velocityScale); mono_add_internal_call("UnityEngine.ParticleSystemRenderer::GetMeshes",(void*) UnityEngine_ParticleSystemRenderer_GetMeshes); mono_add_internal_call("UnityEngine.PhysicsScene2D::Raycast_Internal_Injected",(void*) UnityEngine_PhysicsScene2D_Raycast_Internal_Injected); mono_add_internal_call("UnityEngine.PhysicsScene2D::RaycastArray_Internal_Injected",(void*) UnityEngine_PhysicsScene2D_RaycastArray_Internal_Injected); mono_add_internal_call("UnityEngine.PhysicsScene2D::RaycastList_Internal_Injected",(void*) UnityEngine_PhysicsScene2D_RaycastList_Internal_Injected); + mono_add_internal_call("UnityEngine.PhysicsScene2D::CircleCast_Internal_Injected",(void*) UnityEngine_PhysicsScene2D_CircleCast_Internal_Injected); mono_add_internal_call("UnityEngine.PhysicsScene2D::GetRayIntersectionArray_Internal_Injected",(void*) UnityEngine_PhysicsScene2D_GetRayIntersectionArray_Internal_Injected); + mono_add_internal_call("UnityEngine.PhysicsScene2D::OverlapPoint_Internal_Injected",(void*) UnityEngine_PhysicsScene2D_OverlapPoint_Internal_Injected); mono_add_internal_call("UnityEngine.Physics2D::get_queriesHitTriggers",(void*) UnityEngine_Physics2D_get_queriesHitTriggers); - mono_add_internal_call("UnityEngine.Physics2D::GetRayIntersectionAll_Internal_Injected",(void*) UnityEngine_Physics2D_GetRayIntersectionAll_Internal_Injected); + mono_add_internal_call("UnityEngine.Physics2D::IgnoreCollision",(void*) UnityEngine_Physics2D_IgnoreCollision); + mono_add_internal_call("UnityEngine.Collider2D::set_isTrigger",(void*) UnityEngine_Collider2D_set_isTrigger); + mono_add_internal_call("UnityEngine.Collider2D::OverlapPoint_Injected",(void*) UnityEngine_Collider2D_OverlapPoint_Injected); mono_add_internal_call("UnityEngine.ContactFilter2D::CheckConsistency_Injected",(void*) UnityEngine_ContactFilter2D_CheckConsistency_Injected); + mono_add_internal_call("UnityEngine.Rigidbody2D::get_mass",(void*) UnityEngine_Rigidbody2D_get_mass); + mono_add_internal_call("UnityEngine.Rigidbody2D::set_mass",(void*) UnityEngine_Rigidbody2D_set_mass); + mono_add_internal_call("UnityEngine.Rigidbody2D::set_gravityScale",(void*) UnityEngine_Rigidbody2D_set_gravityScale); + mono_add_internal_call("UnityEngine.Rigidbody2D::set_bodyType",(void*) UnityEngine_Rigidbody2D_set_bodyType); + mono_add_internal_call("UnityEngine.Rigidbody2D::MovePosition_Injected",(void*) UnityEngine_Rigidbody2D_MovePosition_Injected); + mono_add_internal_call("UnityEngine.Rigidbody2D::MoveRotation_Angle",(void*) UnityEngine_Rigidbody2D_MoveRotation_Angle); + mono_add_internal_call("UnityEngine.CircleCollider2D::set_radius",(void*) UnityEngine_CircleCollider2D_set_radius_1); + mono_add_internal_call("UnityEngine.PolygonCollider2D::get_pathCount",(void*) UnityEngine_PolygonCollider2D_get_pathCount); + mono_add_internal_call("UnityEngine.CompositeCollider2D::get_pathCount",(void*) UnityEngine_CompositeCollider2D_get_pathCount_1); + mono_add_internal_call("UnityEngine.CompositeCollider2D::get_pointCount",(void*) UnityEngine_CompositeCollider2D_get_pointCount); + mono_add_internal_call("UnityEngine.Joint2D::get_connectedBody",(void*) UnityEngine_Joint2D_get_connectedBody); + mono_add_internal_call("UnityEngine.Joint2D::set_connectedBody",(void*) UnityEngine_Joint2D_set_connectedBody); + mono_add_internal_call("UnityEngine.HingeJoint2D::set_useLimits",(void*) UnityEngine_HingeJoint2D_set_useLimits); + mono_add_internal_call("UnityEngine.Rigidbody::get_mass",(void*) UnityEngine_Rigidbody_get_mass_1); + mono_add_internal_call("UnityEngine.Rigidbody::set_mass",(void*) UnityEngine_Rigidbody_set_mass_1); + mono_add_internal_call("UnityEngine.Rigidbody::set_useGravity",(void*) UnityEngine_Rigidbody_set_useGravity); + mono_add_internal_call("UnityEngine.Rigidbody::set_isKinematic",(void*) UnityEngine_Rigidbody_set_isKinematic); + mono_add_internal_call("UnityEngine.Rigidbody::set_constraints",(void*) UnityEngine_Rigidbody_set_constraints); + mono_add_internal_call("UnityEngine.Rigidbody::MovePosition_Injected",(void*) UnityEngine_Rigidbody_MovePosition_Injected_1); + mono_add_internal_call("UnityEngine.Rigidbody::MoveRotation_Injected",(void*) UnityEngine_Rigidbody_MoveRotation_Injected); + mono_add_internal_call("UnityEngine.Collider::get_enabled",(void*) UnityEngine_Collider_get_enabled_3); + mono_add_internal_call("UnityEngine.Collider::set_enabled",(void*) UnityEngine_Collider_set_enabled_3); + mono_add_internal_call("UnityEngine.Collider::set_isTrigger",(void*) UnityEngine_Collider_set_isTrigger_1); + mono_add_internal_call("UnityEngine.Collider::ClosestPoint_Injected",(void*) UnityEngine_Collider_ClosestPoint_Injected); + mono_add_internal_call("UnityEngine.Collider::Raycast_Injected",(void*) UnityEngine_Collider_Raycast_Injected); + mono_add_internal_call("UnityEngine.SphereCollider::set_radius",(void*) UnityEngine_SphereCollider_set_radius_2); + mono_add_internal_call("UnityEngine.Joint::get_connectedBody",(void*) UnityEngine_Joint_get_connectedBody_1); + mono_add_internal_call("UnityEngine.Joint::set_connectedBody",(void*) UnityEngine_Joint_set_connectedBody_1); + mono_add_internal_call("UnityEngine.Joint::set_enableCollision",(void*) UnityEngine_Joint_set_enableCollision); + mono_add_internal_call("UnityEngine.HingeJoint::set_useLimits",(void*) UnityEngine_HingeJoint_set_useLimits_1); mono_add_internal_call("UnityEngine.PhysicsScene::Internal_RaycastTest_Injected",(void*) UnityEngine_PhysicsScene_Internal_RaycastTest_Injected); mono_add_internal_call("UnityEngine.PhysicsScene::Internal_Raycast_Injected",(void*) UnityEngine_PhysicsScene_Internal_Raycast_Injected); mono_add_internal_call("UnityEngine.PhysicsScene::Internal_RaycastNonAlloc_Injected",(void*) UnityEngine_PhysicsScene_Internal_RaycastNonAlloc_Injected); - mono_add_internal_call("UnityEngine.Physics::get_defaultPhysicsScene_Injected",(void*) UnityEngine_Physics_get_defaultPhysicsScene_Injected); - mono_add_internal_call("UnityEngine.Physics::Internal_RaycastAll_Injected",(void*) UnityEngine_Physics_Internal_RaycastAll_Injected); - mono_add_internal_call("UnityEngine.SubsystemManager::ReportSingleSubsystemAnalytics",(void*) UnityEngine_SubsystemManager_ReportSingleSubsystemAnalytics); - mono_add_internal_call("UnityEngine.SubsystemManager::StaticConstructScriptingClassMap",(void*) UnityEngine_SubsystemManager_StaticConstructScriptingClassMap); - mono_add_internal_call("UnityEngine.IntegratedSubsystem::SetHandle",(void*) UnityEngine_IntegratedSubsystem_SetHandle); - mono_add_internal_call("UnityEngine.Terrain::get_terrainData",(void*) UnityEngine_Terrain_get_terrainData); - mono_add_internal_call("UnityEngine.Terrain::get_allowAutoConnect",(void*) UnityEngine_Terrain_get_allowAutoConnect); - mono_add_internal_call("UnityEngine.Terrain::get_groupingID",(void*) UnityEngine_Terrain_get_groupingID); - mono_add_internal_call("UnityEngine.Terrain::SetNeighbors",(void*) UnityEngine_Terrain_SetNeighbors); - mono_add_internal_call("UnityEngine.Terrain::get_activeTerrains",(void*) UnityEngine_Terrain_get_activeTerrains); - mono_add_internal_call("UnityEngine.TerrainData::GetBoundaryValue",(void*) UnityEngine_TerrainData_GetBoundaryValue); - mono_add_internal_call("UnityEngine.TerrainData::Internal_Create",(void*) UnityEngine_TerrainData_Internal_Create_12); - mono_add_internal_call("UnityEngine.TerrainData::GetAlphamapResolutionInternal",(void*) UnityEngine_TerrainData_GetAlphamapResolutionInternal); - mono_add_internal_call("UnityEngine.TerrainData::get_users",(void*) UnityEngine_TerrainData_get_users); - mono_add_internal_call("UnityEngine.TerrainData::get_size_Injected",(void*) UnityEngine_TerrainData_get_size_Injected_3); + mono_add_internal_call("UnityEngine.PhysicsScene::Query_SphereCast_Injected",(void*) UnityEngine_PhysicsScene_Query_SphereCast_Injected); + mono_add_internal_call("UnityEngine.PhysicsScene::Internal_SphereCastNonAlloc_Injected",(void*) UnityEngine_PhysicsScene_Internal_SphereCastNonAlloc_Injected); + mono_add_internal_call("UnityEngine.PhysicsScene::OverlapSphereNonAlloc_Internal_Injected",(void*) UnityEngine_PhysicsScene_OverlapSphereNonAlloc_Internal_Injected); + mono_add_internal_call("UnityEngine.Physics::IgnoreCollision",(void*) UnityEngine_Physics_IgnoreCollision_1); + mono_add_internal_call("UnityEngine.TextGenerator::get_characterCount",(void*) UnityEngine_TextGenerator_get_characterCount); + mono_add_internal_call("UnityEngine.TextGenerator::get_lineCount",(void*) UnityEngine_TextGenerator_get_lineCount); + mono_add_internal_call("UnityEngine.TextGenerator::GetCharactersInternal",(void*) UnityEngine_TextGenerator_GetCharactersInternal); + mono_add_internal_call("UnityEngine.TextGenerator::GetLinesInternal",(void*) UnityEngine_TextGenerator_GetLinesInternal); + mono_add_internal_call("UnityEngine.TextGenerator::GetVerticesInternal",(void*) UnityEngine_TextGenerator_GetVerticesInternal); + mono_add_internal_call("UnityEngine.Font::get_material",(void*) UnityEngine_Font_get_material_1); + mono_add_internal_call("UnityEngine.Font::get_fontNames",(void*) UnityEngine_Font_get_fontNames); + mono_add_internal_call("UnityEngine.Font::get_dynamic",(void*) UnityEngine_Font_get_dynamic); + mono_add_internal_call("UnityEngine.Font::get_fontSize",(void*) UnityEngine_Font_get_fontSize); mono_add_internal_call("UnityEngine.Font::HasCharacter",(void*) UnityEngine_Font_HasCharacter); - mono_add_internal_call("UnityEngine.Font::Internal_CreateFont",(void*) UnityEngine_Font_Internal_CreateFont); + mono_add_internal_call("UnityEngine.Font::GetCharacterInfo",(void*) UnityEngine_Font_GetCharacterInfo); + mono_add_internal_call("UnityEngine.Font::RequestCharactersInTexture",(void*) UnityEngine_Font_RequestCharactersInTexture); mono_add_internal_call("UnityEngine.Tilemaps.Tilemap::RefreshTile_Injected",(void*) UnityEngine_Tilemaps_Tilemap_RefreshTile_Injected); - mono_add_internal_call("UnityEngine.Tilemaps.TilemapRenderer::OnSpriteAtlasRegistered",(void*) UnityEngine_Tilemaps_TilemapRenderer_OnSpriteAtlasRegistered); - mono_add_internal_call("UnityEngine.Yoga.Native::YGNodeLayoutGetLeft",(void*) UnityEngine_Yoga_Native_YGNodeLayoutGetLeft); - mono_add_internal_call("UnityEngine.Yoga.Native::YGNodeLayoutGetTop",(void*) UnityEngine_Yoga_Native_YGNodeLayoutGetTop); - mono_add_internal_call("UnityEngine.Yoga.Native::YGNodeLayoutGetWidth",(void*) UnityEngine_Yoga_Native_YGNodeLayoutGetWidth); - mono_add_internal_call("UnityEngine.Yoga.Native::YGNodeLayoutGetHeight",(void*) UnityEngine_Yoga_Native_YGNodeLayoutGetHeight); mono_add_internal_call("UnityEngine.CanvasGroup::get_alpha",(void*) UnityEngine_CanvasGroup_get_alpha); mono_add_internal_call("UnityEngine.CanvasGroup::set_alpha",(void*) UnityEngine_CanvasGroup_set_alpha); mono_add_internal_call("UnityEngine.CanvasGroup::get_interactable",(void*) UnityEngine_CanvasGroup_get_interactable); - mono_add_internal_call("UnityEngine.CanvasGroup::set_interactable",(void*) UnityEngine_CanvasGroup_set_interactable); mono_add_internal_call("UnityEngine.CanvasGroup::get_blocksRaycasts",(void*) UnityEngine_CanvasGroup_get_blocksRaycasts); - mono_add_internal_call("UnityEngine.CanvasGroup::set_blocksRaycasts",(void*) UnityEngine_CanvasGroup_set_blocksRaycasts); mono_add_internal_call("UnityEngine.CanvasGroup::get_ignoreParentGroups",(void*) UnityEngine_CanvasGroup_get_ignoreParentGroups); - mono_add_internal_call("UnityEngine.CanvasGroup::set_ignoreParentGroups",(void*) UnityEngine_CanvasGroup_set_ignoreParentGroups); - mono_add_internal_call("UnityEngine.CanvasRenderer::get_hasPopInstruction",(void*) UnityEngine_CanvasRenderer_get_hasPopInstruction); mono_add_internal_call("UnityEngine.CanvasRenderer::set_hasPopInstruction",(void*) UnityEngine_CanvasRenderer_set_hasPopInstruction); mono_add_internal_call("UnityEngine.CanvasRenderer::get_materialCount",(void*) UnityEngine_CanvasRenderer_get_materialCount); mono_add_internal_call("UnityEngine.CanvasRenderer::set_materialCount",(void*) UnityEngine_CanvasRenderer_set_materialCount); - mono_add_internal_call("UnityEngine.CanvasRenderer::get_popMaterialCount",(void*) UnityEngine_CanvasRenderer_get_popMaterialCount); mono_add_internal_call("UnityEngine.CanvasRenderer::set_popMaterialCount",(void*) UnityEngine_CanvasRenderer_set_popMaterialCount); mono_add_internal_call("UnityEngine.CanvasRenderer::get_absoluteDepth",(void*) UnityEngine_CanvasRenderer_get_absoluteDepth); mono_add_internal_call("UnityEngine.CanvasRenderer::get_hasMoved",(void*) UnityEngine_CanvasRenderer_get_hasMoved); - mono_add_internal_call("UnityEngine.CanvasRenderer::get_cullTransparentMesh",(void*) UnityEngine_CanvasRenderer_get_cullTransparentMesh); - mono_add_internal_call("UnityEngine.CanvasRenderer::set_cullTransparentMesh",(void*) UnityEngine_CanvasRenderer_set_cullTransparentMesh); - mono_add_internal_call("UnityEngine.CanvasRenderer::get_hasRectClipping",(void*) UnityEngine_CanvasRenderer_get_hasRectClipping); - mono_add_internal_call("UnityEngine.CanvasRenderer::get_relativeDepth",(void*) UnityEngine_CanvasRenderer_get_relativeDepth); mono_add_internal_call("UnityEngine.CanvasRenderer::get_cull",(void*) UnityEngine_CanvasRenderer_get_cull); mono_add_internal_call("UnityEngine.CanvasRenderer::set_cull",(void*) UnityEngine_CanvasRenderer_set_cull); + mono_add_internal_call("UnityEngine.CanvasRenderer::SetColor_Injected",(void*) UnityEngine_CanvasRenderer_SetColor_Injected); + mono_add_internal_call("UnityEngine.CanvasRenderer::GetColor_Injected",(void*) UnityEngine_CanvasRenderer_GetColor_Injected); + mono_add_internal_call("UnityEngine.CanvasRenderer::EnableRectClipping_Injected",(void*) UnityEngine_CanvasRenderer_EnableRectClipping_Injected); mono_add_internal_call("UnityEngine.CanvasRenderer::DisableRectClipping",(void*) UnityEngine_CanvasRenderer_DisableRectClipping); - mono_add_internal_call("UnityEngine.CanvasRenderer::SetMaterial",(void*) UnityEngine_CanvasRenderer_SetMaterial_1); - mono_add_internal_call("UnityEngine.CanvasRenderer::GetMaterial",(void*) UnityEngine_CanvasRenderer_GetMaterial_1); + mono_add_internal_call("UnityEngine.CanvasRenderer::SetMaterial",(void*) UnityEngine_CanvasRenderer_SetMaterial); mono_add_internal_call("UnityEngine.CanvasRenderer::SetPopMaterial",(void*) UnityEngine_CanvasRenderer_SetPopMaterial); - mono_add_internal_call("UnityEngine.CanvasRenderer::GetPopMaterial",(void*) UnityEngine_CanvasRenderer_GetPopMaterial); - mono_add_internal_call("UnityEngine.CanvasRenderer::SetTexture",(void*) UnityEngine_CanvasRenderer_SetTexture_2); + mono_add_internal_call("UnityEngine.CanvasRenderer::SetTexture",(void*) UnityEngine_CanvasRenderer_SetTexture); mono_add_internal_call("UnityEngine.CanvasRenderer::SetAlphaTexture",(void*) UnityEngine_CanvasRenderer_SetAlphaTexture); mono_add_internal_call("UnityEngine.CanvasRenderer::SetMesh",(void*) UnityEngine_CanvasRenderer_SetMesh); - mono_add_internal_call("UnityEngine.CanvasRenderer::Clear",(void*) UnityEngine_CanvasRenderer_Clear_5); - mono_add_internal_call("UnityEngine.CanvasRenderer::GetInheritedAlpha",(void*) UnityEngine_CanvasRenderer_GetInheritedAlpha); - mono_add_internal_call("UnityEngine.CanvasRenderer::SplitIndicesStreamsInternal",(void*) UnityEngine_CanvasRenderer_SplitIndicesStreamsInternal); + mono_add_internal_call("UnityEngine.CanvasRenderer::Clear",(void*) UnityEngine_CanvasRenderer_Clear_1); mono_add_internal_call("UnityEngine.CanvasRenderer::SplitUIVertexStreamsInternal",(void*) UnityEngine_CanvasRenderer_SplitUIVertexStreamsInternal); + mono_add_internal_call("UnityEngine.CanvasRenderer::SplitIndicesStreamsInternal",(void*) UnityEngine_CanvasRenderer_SplitIndicesStreamsInternal); mono_add_internal_call("UnityEngine.CanvasRenderer::CreateUIVertexStreamInternal",(void*) UnityEngine_CanvasRenderer_CreateUIVertexStreamInternal); - mono_add_internal_call("UnityEngine.CanvasRenderer::SetColor_Injected",(void*) UnityEngine_CanvasRenderer_SetColor_Injected); - mono_add_internal_call("UnityEngine.CanvasRenderer::GetColor_Injected",(void*) UnityEngine_CanvasRenderer_GetColor_Injected); - mono_add_internal_call("UnityEngine.CanvasRenderer::EnableRectClipping_Injected",(void*) UnityEngine_CanvasRenderer_EnableRectClipping_Injected); - mono_add_internal_call("UnityEngine.CanvasRenderer::get_clippingSoftness_Injected",(void*) UnityEngine_CanvasRenderer_get_clippingSoftness_Injected); - mono_add_internal_call("UnityEngine.CanvasRenderer::set_clippingSoftness_Injected",(void*) UnityEngine_CanvasRenderer_set_clippingSoftness_Injected); mono_add_internal_call("UnityEngine.RectTransformUtility::PixelAdjustPoint_Injected",(void*) UnityEngine_RectTransformUtility_PixelAdjustPoint_Injected); mono_add_internal_call("UnityEngine.RectTransformUtility::PixelAdjustRect_Injected",(void*) UnityEngine_RectTransformUtility_PixelAdjustRect_Injected); mono_add_internal_call("UnityEngine.RectTransformUtility::PointInRectangle_Injected",(void*) UnityEngine_RectTransformUtility_PointInRectangle_Injected); mono_add_internal_call("UnityEngine.Canvas::get_renderMode",(void*) UnityEngine_Canvas_get_renderMode_1); - mono_add_internal_call("UnityEngine.Canvas::set_renderMode",(void*) UnityEngine_Canvas_set_renderMode_1); mono_add_internal_call("UnityEngine.Canvas::get_isRootCanvas",(void*) UnityEngine_Canvas_get_isRootCanvas); mono_add_internal_call("UnityEngine.Canvas::get_scaleFactor",(void*) UnityEngine_Canvas_get_scaleFactor); mono_add_internal_call("UnityEngine.Canvas::set_scaleFactor",(void*) UnityEngine_Canvas_set_scaleFactor); mono_add_internal_call("UnityEngine.Canvas::get_referencePixelsPerUnit",(void*) UnityEngine_Canvas_get_referencePixelsPerUnit); mono_add_internal_call("UnityEngine.Canvas::set_referencePixelsPerUnit",(void*) UnityEngine_Canvas_set_referencePixelsPerUnit); - mono_add_internal_call("UnityEngine.Canvas::get_overridePixelPerfect",(void*) UnityEngine_Canvas_get_overridePixelPerfect); - mono_add_internal_call("UnityEngine.Canvas::set_overridePixelPerfect",(void*) UnityEngine_Canvas_set_overridePixelPerfect); mono_add_internal_call("UnityEngine.Canvas::get_pixelPerfect",(void*) UnityEngine_Canvas_get_pixelPerfect); - mono_add_internal_call("UnityEngine.Canvas::set_pixelPerfect",(void*) UnityEngine_Canvas_set_pixelPerfect); - mono_add_internal_call("UnityEngine.Canvas::get_planeDistance",(void*) UnityEngine_Canvas_get_planeDistance); - mono_add_internal_call("UnityEngine.Canvas::set_planeDistance",(void*) UnityEngine_Canvas_set_planeDistance); mono_add_internal_call("UnityEngine.Canvas::get_renderOrder",(void*) UnityEngine_Canvas_get_renderOrder); mono_add_internal_call("UnityEngine.Canvas::get_overrideSorting",(void*) UnityEngine_Canvas_get_overrideSorting); mono_add_internal_call("UnityEngine.Canvas::set_overrideSorting",(void*) UnityEngine_Canvas_set_overrideSorting); - mono_add_internal_call("UnityEngine.Canvas::get_sortingOrder",(void*) UnityEngine_Canvas_get_sortingOrder_2); - mono_add_internal_call("UnityEngine.Canvas::set_sortingOrder",(void*) UnityEngine_Canvas_set_sortingOrder_2); + mono_add_internal_call("UnityEngine.Canvas::get_sortingOrder",(void*) UnityEngine_Canvas_get_sortingOrder_1); + mono_add_internal_call("UnityEngine.Canvas::set_sortingOrder",(void*) UnityEngine_Canvas_set_sortingOrder_1); mono_add_internal_call("UnityEngine.Canvas::get_targetDisplay",(void*) UnityEngine_Canvas_get_targetDisplay_1); - mono_add_internal_call("UnityEngine.Canvas::set_targetDisplay",(void*) UnityEngine_Canvas_set_targetDisplay_1); - mono_add_internal_call("UnityEngine.Canvas::get_sortingLayerID",(void*) UnityEngine_Canvas_get_sortingLayerID_2); - mono_add_internal_call("UnityEngine.Canvas::set_sortingLayerID",(void*) UnityEngine_Canvas_set_sortingLayerID_2); - mono_add_internal_call("UnityEngine.Canvas::get_cachedSortingLayerValue",(void*) UnityEngine_Canvas_get_cachedSortingLayerValue); - mono_add_internal_call("UnityEngine.Canvas::get_additionalShaderChannels",(void*) UnityEngine_Canvas_get_additionalShaderChannels); - mono_add_internal_call("UnityEngine.Canvas::set_additionalShaderChannels",(void*) UnityEngine_Canvas_set_additionalShaderChannels); - mono_add_internal_call("UnityEngine.Canvas::get_sortingLayerName",(void*) UnityEngine_Canvas_get_sortingLayerName_2); - mono_add_internal_call("UnityEngine.Canvas::set_sortingLayerName",(void*) UnityEngine_Canvas_set_sortingLayerName_2); + mono_add_internal_call("UnityEngine.Canvas::get_sortingLayerID",(void*) UnityEngine_Canvas_get_sortingLayerID_1); + mono_add_internal_call("UnityEngine.Canvas::set_sortingLayerID",(void*) UnityEngine_Canvas_set_sortingLayerID_1); mono_add_internal_call("UnityEngine.Canvas::get_rootCanvas",(void*) UnityEngine_Canvas_get_rootCanvas); mono_add_internal_call("UnityEngine.Canvas::get_worldCamera",(void*) UnityEngine_Canvas_get_worldCamera); - mono_add_internal_call("UnityEngine.Canvas::set_worldCamera",(void*) UnityEngine_Canvas_set_worldCamera); - mono_add_internal_call("UnityEngine.Canvas::get_normalizedSortingGridSize",(void*) UnityEngine_Canvas_get_normalizedSortingGridSize); - mono_add_internal_call("UnityEngine.Canvas::set_normalizedSortingGridSize",(void*) UnityEngine_Canvas_set_normalizedSortingGridSize); - mono_add_internal_call("UnityEngine.Canvas::get_sortingGridNormalizedSize",(void*) UnityEngine_Canvas_get_sortingGridNormalizedSize); - mono_add_internal_call("UnityEngine.Canvas::set_sortingGridNormalizedSize",(void*) UnityEngine_Canvas_set_sortingGridNormalizedSize); - mono_add_internal_call("UnityEngine.Canvas::GetDefaultCanvasTextMaterial",(void*) UnityEngine_Canvas_GetDefaultCanvasTextMaterial); mono_add_internal_call("UnityEngine.Canvas::GetDefaultCanvasMaterial",(void*) UnityEngine_Canvas_GetDefaultCanvasMaterial); mono_add_internal_call("UnityEngine.Canvas::GetETC1SupportedCanvasMaterial",(void*) UnityEngine_Canvas_GetETC1SupportedCanvasMaterial); - mono_add_internal_call("UnityEngine.Canvas::get_pixelRect_Injected",(void*) UnityEngine_Canvas_get_pixelRect_Injected_1); - mono_add_internal_call("UnityEngine.UISystemProfilerApi::BeginSample",(void*) UnityEngine_UISystemProfilerApi_BeginSample_1); - mono_add_internal_call("UnityEngine.UISystemProfilerApi::EndSample",(void*) UnityEngine_UISystemProfilerApi_EndSample_2); + mono_add_internal_call("UnityEngine.UISystemProfilerApi::BeginSample",(void*) UnityEngine_UISystemProfilerApi_BeginSample); + mono_add_internal_call("UnityEngine.UISystemProfilerApi::EndSample",(void*) UnityEngine_UISystemProfilerApi_EndSample); mono_add_internal_call("UnityEngine.UISystemProfilerApi::AddMarker",(void*) UnityEngine_UISystemProfilerApi_AddMarker); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::GetWebErrorString",(void*) UnityEngine_Networking_UnityWebRequest_GetWebErrorString); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::GetHTTPStatusString",(void*) UnityEngine_Networking_UnityWebRequest_GetHTTPStatusString); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::Create",(void*) UnityEngine_Networking_UnityWebRequest_Create_3); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::Release",(void*) UnityEngine_Networking_UnityWebRequest_Release_1); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::BeginWebRequest",(void*) UnityEngine_Networking_UnityWebRequest_BeginWebRequest); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::Abort",(void*) UnityEngine_Networking_UnityWebRequest_Abort); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::SetMethod",(void*) UnityEngine_Networking_UnityWebRequest_SetMethod); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::SetCustomMethod",(void*) UnityEngine_Networking_UnityWebRequest_SetCustomMethod); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::GetError",(void*) UnityEngine_Networking_UnityWebRequest_GetError); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::SetUrl",(void*) UnityEngine_Networking_UnityWebRequest_SetUrl); mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::get_responseCode",(void*) UnityEngine_Networking_UnityWebRequest_get_responseCode); mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::get_isModifiable",(void*) UnityEngine_Networking_UnityWebRequest_get_isModifiable); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::get_isNetworkError",(void*) UnityEngine_Networking_UnityWebRequest_get_isNetworkError); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::get_isHttpError",(void*) UnityEngine_Networking_UnityWebRequest_get_isHttpError); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::SetUploadHandler",(void*) UnityEngine_Networking_UnityWebRequest_SetUploadHandler); - mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::SetDownloadHandler",(void*) UnityEngine_Networking_UnityWebRequest_SetDownloadHandler); - mono_add_internal_call("UnityEngine.Networking.CertificateHandler::Release",(void*) UnityEngine_Networking_CertificateHandler_Release_2); - mono_add_internal_call("UnityEngine.Networking.DownloadHandler::Release",(void*) UnityEngine_Networking_DownloadHandler_Release_3); - mono_add_internal_call("UnityEngine.Networking.DownloadHandlerBuffer::Create",(void*) UnityEngine_Networking_DownloadHandlerBuffer_Create_4); - mono_add_internal_call("UnityEngine.Networking.DownloadHandlerFile::Create",(void*) UnityEngine_Networking_DownloadHandlerFile_Create_5); - mono_add_internal_call("UnityEngine.Networking.UploadHandler::Release",(void*) UnityEngine_Networking_UploadHandler_Release_4); - mono_add_internal_call("UnityEngine.VFX.VFXSpawnerState::Internal_Destroy",(void*) UnityEngine_VFX_VFXSpawnerState_Internal_Destroy_6); + mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::get_result",(void*) UnityEngine_Networking_UnityWebRequest_get_result); + mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::GetHTTPStatusString",(void*) UnityEngine_Networking_UnityWebRequest_GetHTTPStatusString); + mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::Abort",(void*) UnityEngine_Networking_UnityWebRequest_Abort); + mono_add_internal_call("UnityEngine.Networking.UnityWebRequest::GetResponseHeader",(void*) UnityEngine_Networking_UnityWebRequest_GetResponseHeader); + mono_add_internal_call("UnityEngine.Networking.DownloadHandler::InternalGetByteArray",(void*) UnityEngine_Networking_DownloadHandler_InternalGetByteArray); } diff --git a/ScriptEngine/lib/Android/arm64-v8a/libMonoPosixHelper.a b/ScriptEngine/lib/Android/arm64-v8a/libMonoPosixHelper.a new file mode 100644 index 0000000..7e1a1bb Binary files /dev/null and b/ScriptEngine/lib/Android/arm64-v8a/libMonoPosixHelper.a differ diff --git a/ScriptEngine/lib/Android/arm64-v8a/libmono-native.so b/ScriptEngine/lib/Android/arm64-v8a/libmono-native.so new file mode 100644 index 0000000..20ad6c3 Binary files /dev/null and b/ScriptEngine/lib/Android/arm64-v8a/libmono-native.so differ diff --git a/ScriptEngine/lib/Android/arm64-v8a/libmonosgen-2.0.a b/ScriptEngine/lib/Android/arm64-v8a/libmonosgen-2.0.a new file mode 100644 index 0000000..81bf7f4 Binary files /dev/null and b/ScriptEngine/lib/Android/arm64-v8a/libmonosgen-2.0.a differ diff --git a/ScriptEngine/lib/include/Mediator.h b/ScriptEngine/lib/include/Mediator.h index 68b9646..0caffde 100755 --- a/ScriptEngine/lib/include/Mediator.h +++ b/ScriptEngine/lib/include/Mediator.h @@ -3,11 +3,28 @@ #include "runtime.h" #include "il2cpp_support.h" +#include "wrapper.h" #define CLASS_MASK_UNITY_NATIVE (1<<2) #define CLASS_MASK_WRAPPER (1<<3) #define ENABLE_DEBUG 0 +#define FIELD_ATTRIBUTE_FIELD_ACCESS_MASK 0x0007 +#define FIELD_ATTRIBUTE_COMPILER_CONTROLLED 0x0000 +#define FIELD_ATTRIBUTE_PRIVATE 0x0001 +#define FIELD_ATTRIBUTE_FAM_AND_ASSEM 0x0002 +#define FIELD_ATTRIBUTE_ASSEMBLY 0x0003 +#define FIELD_ATTRIBUTE_FAMILY 0x0004 +#define FIELD_ATTRIBUTE_FAM_OR_ASSEM 0x0005 +#define FIELD_ATTRIBUTE_PUBLIC 0x0006 + +#define FIELD_ATTRIBUTE_STATIC 0x0010 +#define FIELD_ATTRIBUTE_INIT_ONLY 0x0020 +#define FIELD_ATTRIBUTE_LITERAL 0x0040 +#define FIELD_ATTRIBUTE_NOT_SERIALIZED 0x0080 +#define FIELD_ATTRIBUTE_SPECIAL_NAME 0x0200 +#define FIELD_ATTRIBUTE_PINVOKE_IMPL 0x2000 + #if defined(__cplusplus) extern "C" { @@ -26,6 +43,62 @@ extern "C" int32_t handle; }WrapperHead; + typedef struct Il2CppObject + { + union + { + Il2CppClass* klass; + void* vtable; + }; + void* monitor; + } Il2CppObject; + + typedef struct Il2CppReflectionType + { + Il2CppObject object; + const Il2CppType* type; + } Il2CppReflectionType; + + + typedef struct _MonoReflectionType { + MonoObject object; + MonoType* type; + } _MonoReflectionType; + + struct _MonoType { + union { + MonoClass* klass; /* for VALUETYPE and CLASS */ + MonoType* type; /* for PTR */ + MonoArrayType* array; /* for ARRAY */ + MonoMethodSignature* method; + MonoGenericParam* generic_param; /* for VAR and MVAR */ + MonoGenericClass* generic_class; /* for GENERICINST */ + } data; + unsigned int attrs : 16; /* param attributes or field flags */ + MonoTypeEnum type : 8; + unsigned int has_cmods : 1; + unsigned int byref : 1; + unsigned int pinned : 1; /* valid when included in a local var signature */ + }; + + typedef uint32_t mono_array_size_t; + typedef double mono_64bitaligned_t; + typedef int32_t mono_array_lower_bound_t; + + typedef struct { + mono_array_size_t length; + mono_array_lower_bound_t lower_bound; + } MonoArrayBounds; + struct _MonoArray { + MonoObject obj; + /* bounds is NULL for szarrays */ + MonoArrayBounds* bounds; + /* total number of elements of the array */ + mono_array_size_t max_length; + /* we use mono_64bitaligned_t to ensure proper alignment on platforms that need it */ + mono_64bitaligned_t vector[MONO_ZERO_LEN_ARRAY]; + }; + void bind_mono_il2cpp_object(MonoObject* mono, Il2CppObject* il2cpp); MonoObject* get_mono_object_impl(Il2CppObject* il2cpp, MonoClass* m_class,bool decide_class); @@ -36,9 +109,75 @@ extern "C" MonoString* get_mono_string(Il2CppString* str); Il2CppString* get_il2cpp_string(MonoString* str); + MonoArray* get_mono_array_with_type(Il2CppArray* array, MonoType* etype); + MonoArray* get_mono_array_with_serializable(Il2CppArray* array, MonoType* etype); MonoArray* get_mono_array(Il2CppArray * array); + MonoArray* get_mono_array_impl(Il2CppArray* array, MonoType* etype, bool includeSerializable); Il2CppArray* get_il2cpp_array(MonoArray* array); void copy_array_i2_mono(Il2CppArray* i2_array, MonoArray* mono_array); + void copy_il2cpp_struct_to_mono(Il2CppObject* il2cppObj, MonoObject* monoObj); + void copy_il2cpp_struct_to_mono_raw(void* il2cppObj, MonoObject* monoObj); + void copy_il2cpp_proxy_data_to_mono(Il2CppObject* i2obj, MonoObject* mobj); + void copy_il2cpp_data_to_mono_only_current_class(Il2CppClass* i2class, Il2CppObject* i2obj, MonoObject* mobj); + void copy_mono_struct_to_il2cpp(MonoObject* monoObj, Il2CppObject* il2cppObj); + void copy_mono_struct_to_il2cpp_raw(void* monoData, Il2CppObject* il2cppObj); + void get_mono_struct(Il2CppObject* i2struct, MonoObject** monoStruct, Il2CppReflectionType* i2type, int32_t i2size); + void get_mono_struct_raw(void* i2struct, MonoObject** monoStruct, Il2CppReflectionType* i2type, int32_t i2size); + void get_il2cpp_struct(MonoObject* monoStruct, Il2CppObject** i2struct, const Il2CppType* i2type, int32_t msize); + void get_il2cpp_struct_raw(void* monoStruct, Il2CppObject** i2struct, const Il2CppType* i2type, int32_t msize); + + bool inline is_primitive_il2cpp(const Il2CppType* type) + { + if (type == NULL) + { + platform_log("[is_primitive_il2cpp] type is null"); + return false; + } + return !type->byref && ((type->type >= IL2CPP_TYPE_BOOLEAN && type->type <= IL2CPP_TYPE_R8) || (type->type >= IL2CPP_TYPE_I && type->type <= IL2CPP_TYPE_U)); + } + + + bool inline is_struct_type_il2cpp(const Il2CppType* type) + { + if (type == NULL) + { + platform_log("[is_struct_type_il2cpp] type is null"); + return false; + } + return !type->byref && type->type == MONO_TYPE_VALUETYPE && !is_primitive_il2cpp(type); + } + + bool inline is_primitive(MonoType* type) + { + if (type == NULL) + { + platform_log("[is_primitive] type is null"); + return false; + } + return !type->byref && ((type->type >= MONO_TYPE_BOOLEAN && type->type <= MONO_TYPE_R8) || (type->type >= MONO_TYPE_I && type->type <= MONO_TYPE_U)); + } + + int32_t get_primitive_type_size(MonoType* type); + + bool inline is_struct_type(MonoType* type) + { + if (type == NULL) + { + platform_log("[is_struct_type] type is null"); + return false; + } + return !type->byref && type->type == MONO_TYPE_VALUETYPE && !is_primitive(type); + } + + bool inline is_struct(MonoClass* klass) + { + //platform_log("check struct1: %s", mono_class_get_name(klass)); + MonoType* type = mono_class_get_type(klass); + return is_struct_type(type); + } + + bool is_full_value_struct_type(MonoType* type); + bool is_full_value_struct(MonoClass* klass); MonoImage* mono_get_image(const char* assembly); MonoClass* mono_get_class(MonoImage* image, const char* _namespace, const char* name); @@ -54,11 +193,16 @@ extern "C" //wrapper MonoObject* get_mono_wrapper_object(Il2CppObject* il2cpp, MonoClass* m_class); + MonoObject* get_mono_wrapper_object_delay_init(Il2CppObject* il2cpp, MonoClass* m_class, bool delay_init); Il2CppClass* get_monobehaviour_wrapper_class(); Il2CppReflectionType* get_monobehaviour_wrapper_rtype(); void call_wrapper_init(Il2CppObject* il2cpp, MonoObject* mono); bool need_monobehaviour_wrap(const char* asm_name, MonoClass* m_class); + //proxy + Il2CppReflectionType* get_monobehaviour_proxy_rtype(); + Il2CppClass* get_monobehaviour_proxy_class(); + void process_proxy_component(Il2CppObject* gameObj); //Exception MonoException* get_mono_exception(Il2CppException* il2cpp); Il2CppException* get_il2cpp_exception(MonoException* mono); diff --git a/ScriptEngine/lib/include/il2cpp_support.h b/ScriptEngine/lib/include/il2cpp_support.h index 8042ef9..f3d768e 100644 --- a/ScriptEngine/lib/include/il2cpp_support.h +++ b/ScriptEngine/lib/include/il2cpp_support.h @@ -5,6 +5,9 @@ #include "glib.h" +#include "il2cpp-blob.h" +#include "il2cpp-metadata.h" + #ifdef __cplusplus extern "C" { #endif @@ -16,7 +19,8 @@ void init_il2cpp(); #include #else #include "il2cpp-api-types.h" - + +//#include "il2cpp-runtime-metadata.h" #define DO_API(r, n, p) typedef r (*_##n) p; #include "il2cpp-api-functions.h" @@ -28,11 +32,57 @@ void init_il2cpp(); #endif +#define false 0 +#define true 1 + +typedef struct Il2CppArrayType Il2CppArrayType; +typedef struct Il2CppGenericClass Il2CppGenericClass; + +typedef struct FieldInfo +{ + const char* name; + const Il2CppType* type; + Il2CppClass* parent; + int32_t offset; // If offset is -1, then it's thread static + uint32_t token; +} FieldInfo; + +typedef struct Il2CppType +{ + union + { + // We have this dummy field first because pre C99 compilers (MSVC) can only initializer the first value in a union. + void* dummy; + TypeDefinitionIndex __klassIndex; /* for VALUETYPE and CLASS at startup */ + Il2CppMetadataTypeHandle typeHandle; /* for VALUETYPE and CLASS at runtime */ + const Il2CppType* type; /* for PTR and SZARRAY */ + Il2CppArrayType* array; /* for ARRAY */ + //MonoMethodSignature *method; + GenericParameterIndex __genericParameterIndex; /* for VAR and MVAR at startup */ + Il2CppMetadataGenericParameterHandle genericParameterHandle; /* for VAR and MVAR at runtime */ + Il2CppGenericClass* generic_class; /* for GENERICINST */ + } data; + unsigned int attrs : 16; /* param attributes or field flags */ + Il2CppTypeEnum type : 8; + unsigned int num_mods : 5; /* max 64 modifiers follow at the end */ + unsigned int byref : 1; + unsigned int pinned : 1; /* valid when included in a local var signature */ + unsigned int valuetype : 1; + //MonoCustomMod modifiers [MONO_ZERO_LEN_ARRAY]; /* this may grow */ +} Il2CppType; + + +typedef void (*ThreadAttachDetachCallback)(Il2CppThread* thread); +void il2cpp_set_thread_callback(ThreadAttachDetachCallback attach, ThreadAttachDetachCallback detach); +Il2CppThread** il2cpp_get_all_threads(size_t* thread_count); + Il2CppImage* il2cpp_get_image(const char* assembly); Il2CppClass* il2cpp_get_class(Il2CppImage* image, const char* _namespace, const char* name); Il2CppClass* il2cpp_search_class(const char* assembly, const char* _namespace, const char* name); Il2CppMethodPointer hook_method(const char* assembly, const char* _namespace, const char* name, const char* method, int32_t param_count, Il2CppMethodPointer hook); Il2CppMethodPointer hook_method2(Il2CppClass* klass, const char* method, int32_t param_count, Il2CppMethodPointer hook); +Il2CppMethodPointer hook_icall_method(const char* method, Il2CppMethodPointer hook); +Il2CppMethodPointer il2cpp_get_native_method_ptr(Il2CppClass* klass, const char* method, int32_t param_count); Il2CppClass* il2cpp_get_exception_class(); Il2CppObject * il2cpp_exception_property(Il2CppObject *obj, const char *name, char is_virtual); diff --git a/ScriptEngine/lib/include/runtime.h b/ScriptEngine/lib/include/runtime.h index 3023905..d9f5471 100644 --- a/ScriptEngine/lib/include/runtime.h +++ b/ScriptEngine/lib/include/runtime.h @@ -11,6 +11,12 @@ #include //#include +#define DEBUG 1 + +#if __ANDROID__ +#include "runtime_android.h" +#endif + #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR || TARGET_OS_TV || TARGET_TVOS_SIMULATOR #define RUNTIME_IOS 1 @@ -20,6 +26,27 @@ extern "C" { #endif // __cplusplus + +#if __ANDROID__ +#define platform_log(FORMAT, ...) _log(FORMAT, ##__VA_ARGS__) +#else +#define platform_log(FORMAT, ...) _platform_log(FORMAT, ##__VA_ARGS__) +#endif + +#if __ANDROID__ +#define sprintf_s(BUFFER, SIZE, FORMAT, ...) snprintf(BUFFER, SIZE, FORMAT, ##__VA_ARGS__) +#else +#define sprintf_s(BUFFER, SIZE, FORMAT, ...) sprintf_s(BUFFER, SIZE, FORMAT, ##__VA_ARGS__) +#endif + +#if __ANDROID__ +#define wprintf_s(BUFFER, SIZE, FORMAT, ...) swprintf(BUFFER, SIZE, FORMAT, ##__VA_ARGS__) +#else +#define wprintf_s(BUFFER, SIZE, FORMAT, ...) wprintf_s(BUFFER, SIZE, FORMAT, ##__VA_ARGS__) +#endif + + void _platform_log(const char* _format, ...); + extern MonoDomain *g_domain; typedef void(*print_log)(char* data); diff --git a/ScriptEngine/lib/include/runtime_android.h b/ScriptEngine/lib/include/runtime_android.h new file mode 100644 index 0000000..2499cb9 --- /dev/null +++ b/ScriptEngine/lib/include/runtime_android.h @@ -0,0 +1,91 @@ +#ifndef runtime_android_h +#define runtime_android_h + +#if __ANDROID__ +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#define MONO_API __attribute__ ((__visibility__ ("default"))) + +#define INTERNAL_LIB_HANDLE ((void*)(size_t)-1) +#define DEFAULT_DIRECTORY_MODE S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH + +typedef struct { + struct _monodroid_ifaddrs* ifa_next; /* Pointer to the next structure. */ + + char* ifa_name; /* Name of this network interface. */ + unsigned int ifa_flags; /* Flags as from SIOCGIFFLAGS ioctl. */ + + struct sockaddr* ifa_addr; /* Network address of this interface. */ + struct sockaddr* ifa_netmask; /* Netmask of this interface. */ + union { + /* At most one of the following two is valid. If the IFF_BROADCAST + bit is set in `ifa_flags', then `ifa_broadaddr' is valid. If the + IFF_POINTOPOINT bit is set, then `ifa_dstaddr' is valid. + It is never the case that both these bits are set at once. */ + struct sockaddr* ifu_broadaddr; /* Broadcast address of this interface. */ + struct sockaddr* ifu_dstaddr; /* Point-to-point destination address. */ + } ifa_ifu; + void* ifa_data; /* Address-specific data (may be unused). */ +} m_ifaddrs; + +typedef int (*get_ifaddr_fn)(m_ifaddrs** ifap); +typedef void (*freeifaddr_fn)(m_ifaddrs* ifap); + +#ifdef __cplusplus +extern "C" { +#endif + +static jclass AndroidRunner_klass; +static jmethodID AndroidRunner_WriteLineToInstrumentation_method; + +static JavaVM* jvm; +char file_dir[2048], cache_dir[2048], native_library_dir[2048]; + +static void* my_dlsym(void* handle, const char* name, char** err, void* user_data); +static void* my_dlopen(const char* name, int flags, char** err, void* user_data); + +static JNIEnv* mono_jvm_get_jnienv(void); +static void mono_jvm_initialize(JavaVM* vm); +void AndroidInit(JNIEnv* env, jstring j_files_dir, jstring j_cache_dir, + jstring j_native_library_dir, jstring j_assembly_dir, jstring j_assembly_name, jboolean is_debugger, jboolean is_profiler, jboolean wait_for_lldb); +void Java_com_scriptengine_library_ScriptEngine_AndroidJniInit(JNIEnv* env, jobject thiz, jstring j_files_dir, jstring j_cache_dir, + jstring j_native_library_dir, jstring j_assembly_dir, jstring j_assembly_name, jboolean is_debugger, jboolean is_profiler, jboolean wait_for_lldb); + +void _log(const char* format, ...); +void _runtime_log(const char* log_domain, const char* log_level, const char* message, int32_t fatal, void* user_data); +void strncpy_str(JNIEnv* env, char* buff, jstring str, int nbuff); +char* m_strdup_printf(const char* format, ...); +int m_make_directory(const char* path, int mode); +int m_create_directory(const char* pathname, int mode); +void create_and_set(const char* home, const char* relativePath, const char* envvar); + +MONO_API int monodroid_get_system_property(const char* name, char** value); +MONO_API void monodroid_free(void* ptr); +void init_sock_addr(struct sockaddr** res, const char* str_addr); +MONO_API int monodroid_getifaddrs(m_ifaddrs** ifap); +MONO_API void monodroid_freeifaddrs(m_ifaddrs* ifap); +MONO_API int _monodroid_get_android_api_level(void); +MONO_API int _monodroid_get_network_interface_up_state(void* ifname, int* is_up); +MONO_API int _monodroid_get_network_interface_supports_multicast(void* ifname, int* supports_multicast); +MONO_API int _monodroid_get_dns_servers(void** dns_servers_array); +static jobject lref_to_gref(JNIEnv* env, jobject lref); + +#ifdef __cplusplus +} /* extern "C" */ +#endif +#endif +#endif \ No newline at end of file diff --git a/ScriptEngine/custom/wrapper.h b/ScriptEngine/lib/include/wrapper.h similarity index 62% rename from ScriptEngine/custom/wrapper.h rename to ScriptEngine/lib/include/wrapper.h index e0160c5..44756ca 100644 --- a/ScriptEngine/custom/wrapper.h +++ b/ScriptEngine/lib/include/wrapper.h @@ -9,17 +9,18 @@ extern "C" { void init_wrapper(); - Il2CppReflectionType* get_monobehaviour_wrapper_rtype(); - Il2CppClass* get_monobehaviour_wrapper_class(); + //Il2CppReflectionType* get_monobehaviour_wrapper_rtype(); + //Il2CppClass* get_monobehaviour_wrapper_class(); //more efficient "get_mono_object" for wrapper - MonoObject* get_mono_wrapper_object(Il2CppObject* il2cpp, MonoClass* m_class); + //MonoObject* get_mono_wrapper_object(Il2CppObject* il2cpp, MonoClass* m_class); Il2CppObject* create_il2cpp_enumerator_wrapper(MonoObject* mono); Il2CppClass* get_enumerator_wrapper_class(); MonoClass* get_coroutine_class(); - + MonoClass* get_wobject_class(); + MonoClass* get_serializable_attribute_class(); //MonoObject* create_monobehaviour(MonoClass * kclass, Il2CppObject * il2cppObj); diff --git a/ScriptEngine/main/Mediator.cpp b/ScriptEngine/main/Mediator.cpp index f50b3d7..42bab04 100644 --- a/ScriptEngine/main/Mediator.cpp +++ b/ScriptEngine/main/Mediator.cpp @@ -27,11 +27,19 @@ bool is_wrapper_name_space(const char* ns) return strncmp(ns, "PureScriptWrapper", 17) == 0; } +bool is_proxy_name_space(const char* ns) +{ + return strncmp(ns, "PureScriptProxy", 15) == 0; +} bool is_wrapper_class(Il2CppClass* klass) { //return il2cpp_check_flag(klass, CLASS_MASK_WRAPPER); //return klass->initialized & CLASS_MASK_WRAPPER; + if (klass == NULL) + { + return false; + } const char* ns = il2cpp_class_get_namespace(klass); return is_wrapper_name_space(ns); } @@ -56,6 +64,15 @@ static MonoReferenceQueue* gc_queue; typedef std::map Il2cppObjMap; static Il2cppObjMap s_il2cppMap; +typedef std::map ReflectionTypeMap; +static ReflectionTypeMap s_rtypeMap; + +typedef std::map FullValueTypeMap; +static FullValueTypeMap s_fullValueTypeMap; + +typedef std::map Il2CppClassToMonoClassMap; +static Il2CppClassToMonoClassMap s_il2cppClassToMonoClassMap; + void on_mono_object_gc(void* user_data) { if (user_data == NULL) @@ -97,11 +114,15 @@ MonoObject* get_mono_object(Il2CppObject* il2cpp, MonoClass* m_class) { MonoObject* get_mono_object_impl(Il2CppObject* il2cpp, MonoClass* m_class, bool decide_class) { if (il2cpp == NULL) + { return NULL; + } bool isWrapper = is_wrapper_class(il2cpp_object_get_class(il2cpp)); - if(isWrapper) + if (isWrapper) + { return get_mono_wrapper_object(il2cpp, m_class); + } uint32_t monoHandle = 0; MonoObject* monoObj = NULL; @@ -140,8 +161,310 @@ MonoObject* get_mono_object_impl(Il2CppObject* il2cpp, MonoClass* m_class, bool bind_mono_il2cpp_object(monoObj, il2cpp); } } + //platform_log("[get_mono_object_impl] monoobj: %d", monoObj); return monoObj; } +void copy_il2cpp_struct_to_mono(Il2CppObject* il2cppObj, MonoObject* monoObj) +{ + if (il2cppObj == NULL) + { + MonoType* type = mono_class_get_type(mono_object_get_class(monoObj)); + MonoClass* klass = mono_class_from_mono_type(type); + platform_log("il2cpp obj is null when copying struct %d", mono_class_get_name(klass)); + return; + } + void* raw_data = (char*)il2cppObj + sizeof(Il2CppObject); + copy_il2cpp_struct_to_mono_raw(raw_data, monoObj); +} + +void copy_il2cpp_struct_to_mono_raw(void* il2cppData, MonoObject* monoObj) +{ + //note: array element in Il2CppArray is not neccesarily Il2CppObject*, it may be a flat struct type + MonoClass* klass = mono_object_get_class(monoObj); + MonoType* type = mono_class_get_type(klass); + if (il2cppData == NULL) + { + platform_log("il2cpp struct is null when copying struct %d", mono_class_get_name(klass)); + return; + } + platform_log("[copy_il2cpp_struct_to_mono_raw] class: %s", mono_class_get_name(klass)); + gpointer iter = NULL; + MonoClassField* field = NULL; + int align = 0; + int size = 0; + while ((field = mono_class_get_fields(klass, &iter))) { + MonoType* field_type = mono_field_get_type(field); + uint32_t offset = mono_field_get_offset(field); + if (offset < sizeof(MonoObject)) + { + platform_log("copy struct fail, field %s 's offset is %d", mono_class_get_name(mono_class_from_mono_type(field_type)), offset); + return; + } + else + { + offset -= sizeof(MonoObject); + } + if (field_type->type == MONO_TYPE_CLASS) // is_primitive(field_type)) //do a shallow copy + { + //size = mono_type_size(field_type, &align); + Il2CppObject* i2obj = (Il2CppObject*)(void*)((char*)il2cppData + offset); + MonoObject* monoobj = get_mono_object(i2obj, mono_class_from_mono_type(field_type)); + //mono_field_set_value(monoObj, field, monoobj); + mono_gc_wbarrier_set_field(monoObj, (char*)monoObj + offset, monoobj); + } + else if(is_struct_type(field_type)) + { + MonoObject* monoobj = NULL; + get_mono_struct((Il2CppObject*)((char*)il2cppData + offset), &monoobj, get_il2cpp_reflection_type(mono_type_get_object(g_domain, type)), mono_class_value_size(klass, NULL)); + if (monoobj != NULL) + { + mono_gc_wbarrier_set_field(monoObj, (char*)monoObj + offset, monoobj); + } + } + else + { + mono_field_set_value(monoObj, field, (void*)((char*)il2cppData + offset)); + } + } +} + +void copy_il2cpp_proxy_data_to_mono(Il2CppObject* i2obj, MonoObject* mobj) +{ + if (i2obj == NULL) { + + platform_log("[copy_il2cpp_class_data_to_mono] i2obj is null"); + return; + } + if (mobj == NULL) { + + platform_log("[copy_il2cpp_class_data_to_mono] mobj is null"); + return; + } + Il2CppClass* i2class = il2cpp_object_get_class(i2obj); + Il2CppClass* parent = NULL; // il2cpp_class_get_parent(i2class); +#if DEBUG + int total_size = il2cpp_class_instance_size(i2class); + platform_log("[copy_il2cpp_class_data_to_mono] total_size: %d, field count: %d", total_size, il2cpp_class_num_fields(i2class)); +#endif + do + { + copy_il2cpp_data_to_mono_only_current_class(i2class, i2obj, mobj); + parent = il2cpp_class_get_parent(i2class); + i2class = parent; + } while (parent != get_monobehaviour_proxy_class()); +} + +void copy_il2cpp_data_to_mono_only_current_class (Il2CppClass* i2class, Il2CppObject* i2obj, MonoObject* mobj) +{ + + MonoClass* mclass = mono_object_get_class(mobj); + FieldInfo* field = NULL; + void* iter = NULL; + while (field = il2cpp_class_get_fields(i2class, &iter)) + { + const Il2CppType* ftype = il2cpp_field_get_type(field); + const char* fname = il2cpp_field_get_name(field); + MonoClassField* mfield = mono_class_get_field_from_name(mclass, fname); + if (mfield == NULL) { + platform_log("[copy_il2cpp_class_data_to_mono] field not found: %s", fname); + continue; + } +#if DEBUG + else + { + platform_log("[copy_il2cpp_class_data_to_mono] field: %s", fname); + } +#endif + MonoType* mftype = mono_field_get_type(mfield); + MonoClass* mfclass = mono_type_get_class(mftype); + int moffset = mono_field_get_offset(mfield); + int offset = il2cpp_field_get_offset(field); + + if (is_primitive_il2cpp(ftype)) + { + //next_field = il2cpp_class_get_fields(i2class, &iter); + //int next_offset = next_field != NULL ? il2cpp_field_get_offset(next_field) : total_size; + //iter = field; //roll back to current field + //enumil2cppΪint + if (ftype->type == IL2CPP_TYPE_ENUM) + { + int size = 4; +#if DEBUG + platform_log("[copy_il2cpp_class_data_to_mono] enum type memcpy: %d-%d-%d", moffset, offset, size); +#endif + memcpy((char*)mobj + moffset, (char*)i2obj + offset, size); + } + else if (mftype->type == MONO_TYPE_VALUETYPE) //monoenumil2cppint32 + { + memcpy((char*)mobj + moffset, (char*)i2obj + offset, 4); +#if DEBUG + platform_log("[copy_il2cpp_class_data_to_mono] value type memcpy: %d-%d-%d, value1-%d", moffset, offset, 4, *(int*)((char*)mobj + moffset)); +#endif + } + else + { + int size = get_primitive_type_size(mftype); + //il2cpp_gc_wbarrier_set_field(i2obj, *((char*)i2obj + sizeof(Il2CppObject)), (char*)monoObj + sizeof(MonoObject)); +#if DEBUG + platform_log("[copy_il2cpp_class_data_to_mono] primitive type memcpy: %d-%d-%d", moffset, offset, size); +#endif + memcpy((char*)mobj + moffset, (char*)i2obj + offset, size); + } + + } + else if (ftype->type == MONO_TYPE_STRING) //string + { +#if DEBUG + platform_log("[copy_il2cpp_class_data_to_mono] string type: %d-%d", moffset, offset); +#endif + MonoString* mstr = get_mono_string((Il2CppString*)il2cpp_field_get_value_object(field, i2obj)); + mono_gc_wbarrier_set_field(mobj, (char*)mobj + moffset, (MonoObject*)mstr); + } + else if (is_struct_type_il2cpp(ftype)) + { + MonoObject* mmobj = NULL; + //structby valueʽݣԲbind + Il2CppReflectionType* i2rtype = (Il2CppReflectionType*)il2cpp_type_get_object(ftype); + get_mono_struct(il2cpp_field_get_value_object(field, i2obj), &mmobj, i2rtype, mono_class_value_size(mfclass, NULL)); + mono_gc_wbarrier_set_field(mobj, (char*)mobj + moffset, (MonoObject*)mmobj); + } + else if (ftype->type == MONO_TYPE_SZARRAY) // + { + //TODO: to implement + MonoClass* meklass = mono_class_get_element_class(mfclass); + MonoArray* marray = get_mono_array_with_serializable((Il2CppArray*)il2cpp_field_get_value_object(field, i2obj), mono_class_get_type(meklass)); + //arraybindΪbind element㹻 + /*if (i2Array != NULL) + { + bind_mono_il2cpp_object(monoObj, (Il2CppObject*)i2Array); + }*/ +#if DEBUG + platform_log("[copy_il2cpp_class_data_to_mono] array type: %d-%d-%d-%d", moffset, offset, sizeof(MonoArray), sizeof(MonoObject)); +#endif + if (marray == NULL) + { + platform_log("mono array is null"); + } + else + { + //platform_log("mono array length: %d", mono_array_length(marray)); + } + + mono_gchandle_new((MonoObject*)marray, false); + mono_gc_wbarrier_set_field(mobj, (char*)mobj + moffset, (MonoObject*)marray); + //mono_field_set_value(mobj, mfield, marray); + //memcpy((char*)mobj + moffset, (char*)i2obj + offset, size); + MonoArray* value; + mono_field_get_value(mobj, mfield, &value); + platform_log("mono array value: %d, parent obj: %d", value, mobj); + } + else if (ftype->type == MONO_TYPE_CLASS) + { + if (mono_class_is_subclass_of(mfclass, get_wobject_class(), 0)) + { + platform_log("[copy_il2cpp_class_data_to_mono] class: %s", mono_class_get_name(mfclass)); + //Il2CppClass* i2fclass = il2cpp_class_from_type(ftype); + MonoObject* ret = get_mono_object(il2cpp_field_get_value_object(field, i2obj), mfclass); + if (ret == NULL) { + platform_log("[copy_il2cpp_class_data_to_mono] field \"%s\"'s value is NULL", fname); + } + mono_gc_wbarrier_set_field(mobj, (char*)mobj + moffset, ret); + } + else + { + platform_log("[copy_il2cpp_class_data_to_mono] serializable class: %s", mono_class_get_name(mfclass)); + MonoCustomAttrInfo* attr = mono_custom_attrs_from_class(mfclass); + if (mono_custom_attrs_has_attr(attr, get_serializable_attribute_class())) + { + //Il2CppClass* i2fclass = il2cpp_class_from_type(ftype); + MonoObject* retobj = mono_object_new(g_domain, mfclass); + Il2CppObject* fobj = il2cpp_field_get_value_object(field, i2obj); + Il2CppClass* fclass = il2cpp_object_get_class(fobj); + copy_il2cpp_data_to_mono_only_current_class(fclass, fobj, retobj); + mono_gc_wbarrier_set_field(mobj, (char*)mobj + moffset, retobj); + } + else + { + platform_log("[copy_il2cpp_class_data_to_mono] class must be subclass of WObject or has SerializableAttribute: %s", mono_class_get_name(mfclass)); + } + //TODO: + //copy_il2cpp_struct_to_mono(); + + } + } + else + { + platform_log("[copy_il2cpp_class_data_to_mono] type not supported: %s", mono_class_get_name(mfclass)); + } + } +} + +void copy_mono_struct_to_il2cpp(MonoObject* monoObj, Il2CppObject* il2cppObj) +{ + if (monoObj == NULL) + { + MonoType* type = mono_class_get_type(mono_object_get_class(monoObj)); + MonoClass* klass = mono_class_from_mono_type(type); + platform_log("mono obj is null when copying struct %d", mono_class_get_name(klass)); + return; + } + void* raw_data = (char*)monoObj + sizeof(MonoObject); + copy_mono_struct_to_il2cpp_raw(raw_data, il2cppObj); +} + +void copy_mono_struct_to_il2cpp_raw(void* monoData, Il2CppObject* il2cppObj) +{ + //note: array element in Il2CppArray is not neccesarily an Il2CppObject*, it may be a flat struct type + Il2CppClass* i2class = il2cpp_object_get_class(il2cppObj); + const Il2CppType* type = il2cpp_class_get_type(i2class); + if (monoData == NULL) + { + platform_log("mono struct is null when copying struct %d", il2cpp_class_get_name(i2class)); + return; + } + void* iter = NULL; + FieldInfo* field = NULL; + int align = 0; + int size = 0; + while ((field = il2cpp_class_get_fields(i2class, &iter))) { + const Il2CppType* ftype = il2cpp_field_get_type(field); + uint32_t offset = il2cpp_field_get_offset(field); + if (offset < sizeof(Il2CppObject)) + { + platform_log("copy struct fail, field %s 's offset is %d", il2cpp_class_get_name(il2cpp_class_from_il2cpp_type(ftype)), offset); + return; + } + else + { + offset -= sizeof(Il2CppObject); + } + if (ftype->type == IL2CPP_TYPE_CLASS) // is_primitive(field_type)) //do a shallow copy + { + //size = mono_type_size(field_type, &align); + MonoObject* monoobj = (MonoObject*)(void*)((char*)monoData + offset); + Il2CppObject* i2obj = get_il2cpp_object(monoobj, il2cpp_class_from_il2cpp_type(ftype)); + //mono_field_set_value(monoObj, field, monoobj); + void* fieldaddr = (char*)il2cppObj + offset; + il2cpp_gc_wbarrier_set_field(il2cppObj, &fieldaddr, i2obj); + } + else if (is_struct_type_il2cpp(ftype)) + { + Il2CppObject** i2obj = NULL; + get_il2cpp_struct((MonoObject*)((char*)monoData + offset), i2obj, ftype, il2cpp_class_value_size(i2class, NULL)); //get_mono_reflection_type(il2cpp_type_get_object(type)) + if (i2obj != NULL) + { + void* fieldaddr = (char*)il2cppObj + offset; + il2cpp_gc_wbarrier_set_field(il2cppObj, &fieldaddr, *i2obj); + } + } + else + { + void* fieldaddr = (char*)il2cppObj + offset; + il2cpp_gc_wbarrier_set_field(il2cppObj, &fieldaddr, (void*)((char*)monoData + offset)); + } + } +} + Il2CppObject* get_il2cpp_object(MonoObject* mono, Il2CppClass* m_class) { if (mono == NULL) @@ -193,7 +516,7 @@ MonoString* get_mono_string(Il2CppString* str) int32_t len = il2cpp_string_length(str); Il2CppChar* chars = il2cpp_string_chars(str); - return mono_string_new_utf16(g_domain, (mono_unichar2*)chars,len); + return mono_string_new_utf16(g_domain, (mono_unichar2*)chars, len); } Il2CppString* get_il2cpp_string(MonoString* str) { @@ -207,36 +530,202 @@ Il2CppString* get_il2cpp_string(MonoString* str) } -MonoArray* get_mono_array(Il2CppArray * array) +MonoArray* get_mono_array_with_type(Il2CppArray* array, MonoType* etype) +{ + return get_mono_array_impl(array, etype, true); +} + +MonoArray* get_mono_array_with_serializable(Il2CppArray* array, MonoType* etype) +{ + return get_mono_array_impl(array, etype, true); +} + +MonoArray* get_mono_array(Il2CppArray* array) +{ + return get_mono_array_impl(array, NULL, false); +} + +MonoArray* get_mono_array_impl(Il2CppArray * array, MonoType* etype, bool includeSerializable) { MonoArray* monoArray = NULL; if (array == NULL) return monoArray; + uint32_t len = il2cpp_array_length(array); + //if (len == 0) //check the array length first + // return monoArray; + + Il2CppClass* aklass = il2cpp_object_get_class((Il2CppObject*)array); + Il2CppClass* eklass = il2cpp_class_get_element_class(aklass); + + //platform_log("array class element : %s", il2cpp_class_get_name(aklass)); + + if (eklass == NULL) + { + platform_log("array class element is not Il2CppObject: %s", il2cpp_class_get_name(aklass)); + } - Il2CppClass* eklass = il2cpp_class_get_element_class(il2cpp_object_get_class((Il2CppObject*)array)); - MonoClass* monoklass = get_mono_class(eklass); + bool isMonoBehaviourWrapper = eklass == get_monobehaviour_wrapper_class(); + + MonoClass* monoklass = NULL; + if (etype != NULL) + { + monoklass = mono_class_from_mono_type(etype); + } + else + { + monoklass = get_mono_class(eklass); + } if(monoklass == NULL) { - Il2CppObject* il2cppObj = il2cpp_array_get(array, Il2CppObject*, 0); - MonoObject* monoObj = get_mono_object(il2cppObj, NULL); - if(monoObj != NULL) - monoklass = mono_object_get_class(monoObj); + if (len > 0) { + Il2CppObject* il2cppObj = il2cpp_array_get(array, Il2CppObject*, 0); + MonoObject* monoObj = get_mono_object(il2cppObj, NULL); + if (monoObj != NULL) + { + monoklass = mono_object_get_class(monoObj); + } + else + { + platform_log("no match mono class with Il2CppObject: %s[]-%s[], len: %d", il2cpp_class_get_name(eklass), il2cpp_class_get_name(il2cpp_object_get_class(il2cppObj)), len); + return monoArray; + } + } + else + { + return monoArray; + } } - - int32_t len = il2cpp_array_length(array); - if (len == 0) - return NULL; + monoArray = mono_array_new(g_domain, monoklass, len); - //if (len == 0) - // return monoArray; + if (len == 0) + { + return monoArray; + } - for (int i = 0; i < len; i++) + MonoType* monoType = mono_class_get_type(monoklass); + if (is_primitive(monoType)) + { + char* _p = il2cpp_array_addr_with_size(array, il2cpp_class_array_element_size(eklass), 0); + //void** __p = (void**)mono_array_addr((dest), void*, (destidx)); + char* _s = mono_array_addr_with_size((monoArray), mono_class_array_element_size(monoklass), 0); + mono_gc_wbarrier_value_copy(_s, _p, len, monoklass); + } + else if (monoType->type == MONO_TYPE_STRING) + { + for (int i = 0; i < len; i++) + { + Il2CppString* i2str = il2cpp_array_get(array, Il2CppString*, i); + MonoString* str = get_mono_string(i2str); + mono_array_setref(monoArray, i, str); + } + } + else if (is_struct_type(monoType)) + { + int i2size = il2cpp_class_array_element_size(eklass); + int32_t monosize = mono_class_array_element_size(monoklass); + //if (i2size != monosize) + { + platform_log("copy struct: %s, monosize-%d, il2size-%d", mono_class_get_name(monoklass), monosize, i2size); + } + if (is_full_value_struct(monoklass)) + { + //copy sturct from + + char* _p = il2cpp_array_addr_with_size(array, il2cpp_class_array_element_size(eklass), 0); + //void** __p = (void**)mono_array_addr((dest), void*, (destidx)); + char* _s = mono_array_addr_with_size((monoArray), mono_class_array_element_size(monoklass), 0); + mono_gc_wbarrier_value_copy(_s, _p, len, monoklass); + } + else + { + //TODO: this is not gc safe, use marshal + for (int i = 0; i < len; i++) + { + //array's struct element is plain data + char* il2cppObj = il2cpp_array_addr_with_size(array, i2size, i); + MonoObject* monoObj = mono_object_new(g_domain, monoklass);// get_mono_object(il2cppObj, monoklass); + copy_il2cpp_struct_to_mono_raw((void*)il2cppObj, monoObj); + mono_array_setref(monoArray, i, monoObj); + } + } + } + else { - Il2CppObject* il2cppObj = il2cpp_array_get(array, Il2CppObject*, i); - MonoObject* monoObj = get_mono_object(il2cppObj, monoklass); - mono_array_setref(monoArray, i,monoObj); + if (mono_class_is_subclass_of(monoklass, get_wobject_class(), false)) + { + if (!isMonoBehaviourWrapper) + { + for (int i = 0; i < len; i++) + { + Il2CppObject* il2cppObj = il2cpp_array_get(array, Il2CppObject*, i); + //platform_log("array class element15 : %s", il2cpp_class_get_name(il2cpp_object_get_class(il2cppObj))); + MonoObject* monoObj = get_mono_object(il2cppObj, monoklass); + /*if (monoObj == NULL) + { + platform_log("mono object %s is null", mono_class_get_name(monoklass)); + }*/ + mono_array_setref(monoArray, i, monoObj); + } + } + else + { + int realLen = 0; + for (int i = 0; i < len; i++) + { + Il2CppObject* il2cppObj = il2cpp_array_get(array, Il2CppObject*, i); + //platform_log("array class element15 : %s", il2cpp_class_get_name(il2cpp_object_get_class(il2cppObj))); + MonoObject* monoObj = get_mono_object(il2cppObj, monoklass); + if (monoObj != NULL && mono_object_isinst(monoObj, monoklass)) + { + realLen++; + mono_array_setref(monoArray, i, monoObj); + } + } + MonoArray* newarr = mono_array_new(g_domain, monoklass, realLen); + if (realLen > 0) + { + int idx = 0; + for (int i = 0; i < len; i++) + { + MonoObject* o = mono_array_get(monoArray, MonoObject*, i); + if (o != NULL) + { + mono_array_setref(newarr, idx, o); + idx++; + } + } + } + return newarr; + } + } + else + { + bool support = false; + if (includeSerializable) + { + MonoCustomAttrInfo* attr = mono_custom_attrs_from_class(monoklass); + if (mono_custom_attrs_has_attr(attr, get_serializable_attribute_class())) + { + support = true; + for (int i = 0; i < len; i++) + { + Il2CppObject* il2cppObj = il2cpp_array_get(array, Il2CppObject*, i); + Il2CppClass* i2class = il2cpp_object_get_class(il2cppObj); + MonoObject* monoObj = mono_object_new(g_domain, monoklass); + copy_il2cpp_data_to_mono_only_current_class(i2class, il2cppObj, monoObj); + mono_array_setref(monoArray, i, monoObj); + } + } + } + + if(!support) + { + platform_log("(il2cpp to mono)mono array element class must be subclass of WObject:", mono_class_get_name(monoklass)); + } + } } + return monoArray; } @@ -247,19 +736,79 @@ Il2CppArray* get_il2cpp_array(MonoArray* array) return i2Array; MonoClass *klass = mono_object_get_class((MonoObject*)array); - MonoClass *eklass = mono_class_get_element_class(klass); + MonoClass* eklass = mono_class_get_element_class(klass); + MonoType *monoType = mono_class_get_type(eklass); Il2CppClass* i2klass = get_il2cpp_class(eklass); int32_t len = mono_array_length(array); i2Array = il2cpp_array_new(i2klass, len); if (len == 0) return i2Array; - for (int i = 0; i < len; i++) + platform_log("[get_il2cpp_array] size: %d", len); + if (is_primitive(monoType)) + { + char* _p = il2cpp_array_addr_with_size(i2Array, il2cpp_class_array_element_size(i2klass), 0); + //void** __p = (void**)mono_array_addr((dest), void*, (destidx)); + char* _s = mono_array_addr_with_size((array), mono_class_array_element_size(klass), 0); + mono_gc_wbarrier_value_copy(_p, _s, len, eklass); //copy from mono to il2cpp + } + else if (monoType->type == MONO_TYPE_STRING) { - MonoObject* monoObj = mono_array_get(array, MonoObject*, i); - Il2CppObject* i2Obj = get_il2cpp_object(monoObj, NULL); - il2cpp_array_setref(i2Array, i, i2Obj); + for (int i = 0; i < len; i++) + { + MonoString* monoStr = mono_array_get(array, MonoString*, i); + Il2CppString* str = get_il2cpp_string(monoStr); + il2cpp_array_setref(i2Array, i, str); + } } + else if (is_struct_type(monoType)) + { + int i2size = il2cpp_class_array_element_size(i2klass); + int32_t monosize = mono_class_array_element_size(eklass); + //if (i2size != monosize) + { + platform_log("copy struct: %s, monosize-%d, il2size-%d", mono_class_get_name(klass), monosize, i2size); + } + if (is_full_value_struct(eklass)) + { + //copy sturct from + + char* _p = il2cpp_array_addr_with_size(i2Array, il2cpp_class_array_element_size(i2klass), 0); + //void** __p = (void**)mono_array_addr((dest), void*, (destidx)); + char* _s = mono_array_addr_with_size((array), mono_class_array_element_size(eklass), 0); + mono_gc_wbarrier_value_copy(_s, _p, len, eklass); + } + else + { + + //TODO: this is not gc safe, use marshal + for (int i = 0; i < len; i++) + { + //array's struct element is plain data + char* monoObj = mono_array_addr_with_size(array, monosize, i); + Il2CppObject* il2cppObj = il2cpp_object_new(i2klass);// get_mono_object(il2cppObj, monoklass); + copy_mono_struct_to_il2cpp_raw((void*)monoObj, il2cppObj); + il2cpp_array_setref(i2Array, i, monoObj); + } + } + } + else + { + if (mono_class_is_subclass_of(eklass, get_wobject_class(), false)) + { + for (int i = 0; i < len; i++) + { + MonoObject* monoObj = mono_array_get(array, MonoObject*, i); + Il2CppObject* i2Obj = get_il2cpp_object(monoObj, NULL); + il2cpp_array_setref(i2Array, i, i2Obj); + } + } + else + { + platform_log("(mono to il2cpp)array element class must be subclass of WObject:", mono_class_get_name(eklass)); + } + } + return i2Array; } @@ -278,6 +827,199 @@ void copy_array_i2_mono(Il2CppArray* i2_array, MonoArray* mono_array) mono_array_setref(mono_array, i, monoObj); } } +void get_mono_struct(Il2CppObject* i2struct, MonoObject** monoStruct, Il2CppReflectionType* i2type, int32_t i2size) +{ + void* raw_data = (char*)i2struct + sizeof(Il2CppObject); + get_mono_struct_raw(raw_data, monoStruct, i2type, i2size); +} + +void get_mono_struct_raw(void* i2struct, MonoObject** monoStruct, Il2CppReflectionType* i2type, int32_t i2size) +{ + Il2CppClass* i2class = il2cpp_type_get_class_or_element_class(i2type->type); + if (i2class == NULL) + { + char* tname = il2cpp_type_get_name(i2type->type); + platform_log("the type doesn't exists %s", tname); + il2cpp_free(tname); + return; + } + MonoClass* klass = get_mono_class(i2class); + if (klass == NULL || !is_struct(klass)) + { + platform_log("the return value is not a struct: %s", il2cpp_class_get_name(i2class)); + return; + } + bool fullValue = is_full_value_struct(klass); + int32_t size = mono_class_value_size(klass, NULL); + //platform_log("[get_mono_struct_raw] class: %s, size: %d, full value: %d", mono_class_get_name(klass), size, fullValue); + if (size != i2size) + { + platform_log("the mono and il2cpp struct has differnet length: m-%d, i-%d", size, i2size); + return; + } + if (fullValue) + { + MonoObject* tmp = mono_object_new(g_domain, klass); + *monoStruct = tmp; + if (monoStruct != NULL) + { + //platform_log("mono full value struct copy: %s, addr:%d, size:%d", mono_class_get_name(klass), i2struct, size); + mono_gc_wbarrier_value_copy((char*)tmp + sizeof(MonoObject), i2struct, 1, klass); + } + else + { + platform_log("mono struct new failed: %s", mono_class_get_name(klass)); + } + } + else + { + MonoObject* tmp = mono_object_new(g_domain, klass); + *monoStruct = tmp; + copy_il2cpp_struct_to_mono_raw(i2struct, tmp); + return; + } +} + +void get_il2cpp_struct(MonoObject* monoStruct, Il2CppObject** i2struct, const Il2CppType* i2type, int32_t msize) +{ + void* raw_data = (char*)monoStruct + sizeof(MonoObject); + get_il2cpp_struct_raw(raw_data, i2struct, i2type, msize); +} + +void get_il2cpp_struct_raw(void* monoStruct, Il2CppObject** i2struct, const Il2CppType* i2type, int32_t msize) +{ + Il2CppClass* i2class = il2cpp_type_get_class_or_element_class(i2type); + MonoClass* klass = get_mono_class(i2class); + if (klass == NULL) + { + platform_log("the type doesn't exists %s", il2cpp_class_get_name(i2class)); + return; + } + //Il2CppClass* i2class = get_il2cpp_class(klass); + if (klass == NULL || !is_struct(klass)) + { + platform_log("the return value is not a struct: %s", mono_class_get_name(klass)); + return; + } + int32_t size = il2cpp_class_value_size(i2class, NULL); + if (size != msize) + { + platform_log("the mono and il2cpp struct has differnet length: m-%d, i-%d", size, msize); + return; + } + platform_log("[get_il2cpp_struct_raw] class: %s", mono_class_get_name(klass)); + if (is_full_value_struct(klass)) + { + Il2CppObject* tmp = il2cpp_object_new(i2class); + *i2struct = tmp; + if (monoStruct != NULL) + { + //platform_log("mono full value struct copy: %s, addr:%d, size:%d", mono_class_get_name(klass), i2struct, size); + //TODO: to implement + //mono_gc_wbarrier_value_copy((char*)tmp + sizeof(MonoObject), i2struct, 1, klass); + } + else + { + platform_log("mono struct new failed: %s", mono_class_get_name(klass)); + } + } + else + { + Il2CppObject* tmp = il2cpp_object_new(i2class); + *i2struct = tmp; + //TODO: to implement + //copy_il2cpp_struct_to_mono_raw(i2struct, tmp); + return; + } +} + +int32_t get_primitive_type_size(MonoType* type) +{ + if (type == NULL) + { + platform_log("[is_primitive_il2cpp] type is null"); + return false; + } + if (type->byref) + { + return sizeof(void*); + } + if (type->type == MONO_TYPE_BOOLEAN || type->type == MONO_TYPE_CHAR || type->type == MONO_TYPE_U1 || type->type == MONO_TYPE_I1) + { + return 1; + } + if (type->type == MONO_TYPE_U2 || type->type == MONO_TYPE_I2) + { + return 2; + } + if (type->type == MONO_TYPE_U4 || type->type == MONO_TYPE_I4 || type->type == MONO_TYPE_R4) + { + return 4; + } + if (type->type == MONO_TYPE_U8 || type->type == MONO_TYPE_I8 || type->type == MONO_TYPE_R8) + { + return 8; + } + platform_log("unsupported type: %d", type->type); + return 1; //ĬΪ1Խ +} + +bool is_full_value_struct(MonoClass* klass) +{ + if (klass == NULL) { + return false; + } + //cache full struct check + FullValueTypeMap::iterator iter = s_fullValueTypeMap.find(klass); + if (iter != s_fullValueTypeMap.end()) + { + return iter->second; + } + MonoType* type = mono_class_get_type(klass); + //platform_log("check full value struct class: %s", mono_class_get_name(klass)); + bool ret = is_full_value_struct_type(type); + s_fullValueTypeMap[klass] = ret; + return ret; +} + +bool is_full_value_struct_type(MonoType* type) +{ + if (type == NULL) + { + platform_log("[is_full_value_struct_type] type is null"); + return false; + } + if (!is_struct_type(type)) { + return false; + } + gpointer iter = NULL; + MonoClassField* field = NULL; + MonoClass* klass = mono_class_from_mono_type(type); + while ((field = mono_class_get_fields(klass, &iter))) { + if ((mono_field_get_flags(field) & FIELD_ATTRIBUTE_STATIC) != 0) { + continue; + } + MonoType* ftype = mono_field_get_type(field); + MonoClass* fklass = mono_class_from_mono_type(ftype); +#if DEBUG + //platform_log("check type:%s is full value struct, field:%s, type:%d, name: %s", mono_class_get_name(klass), mono_class_get_name(fklass), ftype->type, mono_field_get_name(field)); +#endif + if (ftype == NULL || ftype == type) + { + continue; + } + + //enum type has a enum type field in it, this will cause a dead circle + if (!(is_primitive(ftype) || mono_class_is_enum(fklass) || (is_struct_type(ftype) && is_full_value_struct(fklass)))) + { +#if DEBUG + //platform_log("type:%s is not full value struct, field:%s, type:%d", mono_class_get_name(klass), mono_class_get_name(fklass), ftype->type); +#endif + return false; + } + } + return true; +} Il2CppClass* get_il2cpp_class(MonoClass* mclass) { @@ -290,31 +1032,37 @@ Il2CppClass* get_il2cpp_class(MonoClass* mclass) return il2cppClass; } -MonoClass* get_mono_class(Il2CppClass* mclass) +MonoClass* get_mono_class(Il2CppClass* i2class) { - const char* cname = il2cpp_class_get_name(mclass); + Il2CppClassToMonoClassMap::iterator iter = s_il2cppClassToMonoClassMap.find(i2class); + if (iter != s_il2cppClassToMonoClassMap.end()) + { + return iter->second; + } + + const char* cname = il2cpp_class_get_name(i2class); - Il2CppClass* dc = il2cpp_class_get_declaring_type(mclass); + Il2CppClass* dclass = il2cpp_class_get_declaring_type(i2class); static std::stringstream ss; - if (dc != NULL) + if (dclass != NULL) { ss.str(""); - const char* dtname = il2cpp_class_get_name(dc); + const char* dtname = il2cpp_class_get_name(dclass); ss << dtname << '/' << cname; - mclass = dc; + i2class = dclass; } - const char* ns = il2cpp_class_get_namespace(mclass); + const char* ns = il2cpp_class_get_namespace(i2class); if(is_wrapper_name_space(ns)) return NULL; - const Il2CppImage* mimage = il2cpp_class_get_image(mclass); + const Il2CppImage* mimage = il2cpp_class_get_image(i2class); const char* asmName = il2cpp_image_get_name(mimage); MonoClass* monoClass = NULL; - if (dc != NULL) + if (dclass != NULL) { const std::string& tmp = ss.str(); monoClass = mono_search_class(asmName, ns, tmp.c_str()); @@ -323,12 +1071,24 @@ MonoClass* get_mono_class(Il2CppClass* mclass) { monoClass = mono_search_class(asmName, ns,cname); } + + if (monoClass != NULL) + { + s_il2cppClassToMonoClassMap[i2class] = monoClass; + } return monoClass; } Il2CppReflectionType* get_il2cpp_reflection_type(MonoReflectionType * type) { + //reflectionұȽϺʱ + ReflectionTypeMap::iterator ret = s_rtypeMap.find(type); + if (ret != s_rtypeMap.end()) + { + return ret->second; + } + MonoType* monoType = mono_reflection_type_get_type(type); MonoClass * mclass = mono_class_from_mono_type(monoType); @@ -337,8 +1097,14 @@ Il2CppReflectionType* get_il2cpp_reflection_type(MonoReflectionType * type) MonoImage* mimage = mono_class_get_image(mclass); const char* asmName = mono_image_get_name(mimage); - if (need_monobehaviour_wrap(asmName,mclass)) + if (need_monobehaviour_wrap(asmName, mclass)) + { return get_monobehaviour_wrapper_rtype();// + } + else if (is_reloadable(asmName)) //϶interpretڵmono Type޷ҵӦil2cpp Type + { + return NULL; + } //const char* asmName = "Assembly-CSharp.dll";//TODO:the asmName must be same in mono and il2cpp @@ -348,6 +1114,14 @@ Il2CppReflectionType* get_il2cpp_reflection_type(MonoReflectionType * type) const Il2CppType* ktype = il2cpp_class_get_type(il2cppClass); //Il2CppReflectionType* rtype = il2cpp::vm::Reflection::GetTypeObject(ktype); Il2CppReflectionType* rtype = (Il2CppReflectionType*)il2cpp_type_get_object(ktype); + if (rtype == NULL) + { + platform_log("get reflection type fail: %s", mono_class_get_name(mclass)); + } + else + { + s_rtypeMap[type] = rtype; + } return rtype; } @@ -390,10 +1164,9 @@ MonoClass* mono_search_class(const char* assembly, const char* _namespace, MonoImage* image = mono_get_image(assembly); MonoClass* klass = mono_get_class(image, _namespace, name); - if (klass == 0) + if (klass == NULL) { - int c = 0; - //TODO: exception.. + platform_log("fail to search class %s.%s", _namespace, name); } return klass; @@ -434,7 +1207,35 @@ MonoException* get_mono_exception(Il2CppException* il2cpp) Il2CppString* trace = (Il2CppString*)il2cpp_exception_property((Il2CppObject*)il2cpp, "get_StackTrace", 1); Il2CppString* message = (Il2CppString*)il2cpp_exception_property((Il2CppObject*)il2cpp, "get_Message", 1); - return mono_exception_from_name_two_strings(mono_get_corlib(), "System", "Exception", get_mono_string(message), get_mono_string(trace)); + MonoString* _message = get_mono_string(message); + MonoString* _stack = get_mono_string(trace); + + char* _newmsg = _message != NULL ? mono_string_to_utf8(_message) : NULL; + char* _newstk = _stack != NULL ? mono_string_to_utf8(_stack) : NULL; + platform_log("%s\n%s", _newmsg != NULL ? _newmsg : "", _newstk != NULL ? _newstk : ""); + if (_newmsg != NULL) + { + mono_free(_newmsg); + } + if (_newstk != NULL) + { + mono_free(_newstk); + } + //mono will crash when _message or _stack is NULL + static MonoString* emptyMsg = mono_string_new_len(g_domain, "empty message", 14); + //static MonoString* emptyStack = mono_string_new_len(g_domain, "empty stack", 12); + + //mono_exception_from_name_two_strings receive two string as parameters to constructor + return mono_exception_from_name_two_strings(mono_get_corlib(), "System", "Exception", _message == NULL ? emptyMsg : _message, NULL); + + //MonoString* msg = get_mono_string(trace); + //Il2CppChar* _message = il2cpp_string_chars(message); + //Il2CppChar* _trace = il2cpp_string_chars(trace); + //mono_free(_message); + //mono_free(_trace); + //MonoException* exc = mono_exception_from_name_two_strings(mono_get_corlib(), "System", "Exception", msg, NULL); + //mono_free(msg); + //return exc; } Il2CppException* get_il2cpp_exception(MonoException* mono) { @@ -471,16 +1272,17 @@ void check_mono_exception(MonoException* mono) } } +static const char* emptyMsg = "empty message"; void raise_mono_exception_runtime(const char* msg) { - MonoException* exc = mono_exception_from_name_msg(mono_get_corlib(), "System", "Exception", msg); + MonoException* exc = mono_exception_from_name_msg(mono_get_corlib(), "System", "Exception", msg == NULL ? emptyMsg : msg); mono_raise_exception(exc); //mono_reraise_exception(exc); } void raise_il2cpp_exception_runtime(const char* msg) { - Il2CppException* exc = il2cpp_exception_from_name_msg(il2cpp_get_corlib(), "System", "Exception", msg); + Il2CppException* exc = il2cpp_exception_from_name_msg(il2cpp_get_corlib(), "System", "Exception", msg == NULL ? emptyMsg : msg); il2cpp_raise_exception(exc); } @@ -490,20 +1292,20 @@ void raise_il2cpp_exception_runtime(const char* msg) void call_wrapper_init(Il2CppObject* il2cpp, MonoObject* mono) { Il2CppClass* klass = il2cpp_object_get_class(il2cpp); - - /*if (!is_wrapper_class(klass)) - return;*/ - - WrapperHead* il2cppHead = (WrapperHead*)(il2cpp); - if(il2cppHead->handle != 0) - mono_gchandle_free(il2cppHead->handle); - il2cppHead->handle = mono_gchandle_new(mono, FALSE); - - if (klass == get_monobehaviour_wrapper_class()) - { - WObjectHead* monoHead = (WObjectHead*)(mono); - monoHead->objectPtr = il2cpp; - } + // + ///*if (!is_wrapper_class(klass)) + // return;*/ + // + //WrapperHead* il2cppHead = (WrapperHead*)(il2cpp); + //if(il2cppHead->handle != 0) + // mono_gchandle_free(il2cppHead->handle); + //il2cppHead->handle = mono_gchandle_new(mono, FALSE); + // + //if (klass == get_monobehaviour_wrapper_class()) + //{ + // WObjectHead* monoHead = (WObjectHead*)(mono); + // monoHead->objectPtr = il2cpp; + //} const MethodInfo* method = il2cpp_class_get_method_from_name(klass, "Init", 0); @@ -516,23 +1318,48 @@ void call_wrapper_init(Il2CppObject* il2cpp, MonoObject* mono) //more efficient "get_mono_object" for wrapper MonoObject* get_mono_wrapper_object(Il2CppObject* il2cpp, MonoClass* m_class) { - if (il2cpp == NULL) - return NULL; - WrapperHead* il2cppHead = (WrapperHead*)(il2cpp); - MonoObject* mono = NULL; - - int32_t curHandle = il2cppHead->handle; - - if (curHandle != 0) - mono = mono_gchandle_get_target(curHandle); - - if (mono == NULL && m_class != NULL) - { - mono = mono_object_new(g_domain, m_class); - mono_runtime_object_init (mono); - call_wrapper_init(il2cpp, mono); - } - return mono; + return get_mono_wrapper_object_delay_init(il2cpp, m_class, false); +} + +MonoObject* get_mono_wrapper_object_delay_init(Il2CppObject* il2cpp, MonoClass* m_class, bool delay_init) +{ + if (il2cpp == NULL) + return NULL; + WrapperHead* il2cppHead = (WrapperHead*)(il2cpp); + MonoObject* mono = NULL; + + int32_t curHandle = il2cppHead->handle; + + if (curHandle != 0) + mono = mono_gchandle_get_target(curHandle); + + if (mono == NULL && m_class != NULL) + { + mono = mono_object_new(g_domain, m_class); + mono_runtime_object_init(mono); + + Il2CppClass* klass = il2cpp_object_get_class(il2cpp); + + /*if (!is_wrapper_class(klass)) + return;*/ + + WrapperHead* il2cppHead = (WrapperHead*)(il2cpp); + if (il2cppHead->handle != 0) + mono_gchandle_free(il2cppHead->handle); + il2cppHead->handle = mono_gchandle_new(mono, FALSE); + + if (klass == get_monobehaviour_wrapper_class()) + { + WObjectHead* monoHead = (WObjectHead*)(mono); + monoHead->objectPtr = il2cpp; + } + + if (!delay_init) + { + call_wrapper_init(il2cpp, mono); + } + } + return mono; } Il2CppClass* get_monobehaviour_wrapper_class() @@ -546,6 +1373,7 @@ Il2CppClass* get_monobehaviour_wrapper_class() return monobehaviour_wrapper_class; } + Il2CppReflectionType* get_monobehaviour_wrapper_rtype() { static Il2CppReflectionType* monobehaviour_wrapper_rtype; @@ -559,9 +1387,38 @@ Il2CppReflectionType* get_monobehaviour_wrapper_rtype() return monobehaviour_wrapper_rtype; } +Il2CppClass* get_monobehaviour_proxy_class() +{ + static Il2CppClass* monobehaviour_proxy_class; + if (monobehaviour_proxy_class == NULL) + { + monobehaviour_proxy_class = il2cpp_search_class("PureScript.dll", "PureScriptProxy", "__MonoBehaviourProxy"); + //il2cpp_add_flag(monobehaviour_wrapper_class, CLASS_MASK_WRAPPER); + } + return monobehaviour_proxy_class; +} + + +Il2CppReflectionType* get_monobehaviour_proxy_rtype() +{ + static Il2CppReflectionType* monobehaviour_proxy_rtype; + if (monobehaviour_proxy_rtype == NULL) + { + Il2CppClass* kclass = get_monobehaviour_proxy_class(); + const Il2CppType* ktype = il2cpp_class_get_type(kclass); + monobehaviour_proxy_rtype = (Il2CppReflectionType*)il2cpp_type_get_object(ktype); + } + return monobehaviour_proxy_rtype; +} + bool need_monobehaviour_wrap(const char* asm_name, MonoClass* m_class) { - static MonoClass* monobehaviour = mono_search_class("UnityEngine.CoreModule.dll", "UnityEngine", "MonoBehaviour"); + static MonoClass* monobehaviour; + if (monobehaviour == NULL) + { + monobehaviour = mono_search_class("UnityEngine.CoreModule.dll", "UnityEngine", "MonoBehaviour"); + } + //ֻinterpretڵtypeҪwrapperΪil2cppûд˶ if (is_reloadable(asm_name)) { return mono_class_is_subclass_of(m_class, monobehaviour, FALSE); @@ -570,6 +1427,97 @@ bool need_monobehaviour_wrap(const char* asm_name, MonoClass* m_class) return FALSE; } + +Il2CppObject* UnityEngine_Component_get_gameObject_il2cpp(Il2CppObject* thiz) +{ + typedef Il2CppObject* (*ICallMethod) (Il2CppObject* thiz); + static ICallMethod icall; + if (!icall) + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Component::get_gameObject"); + Il2CppObject* i2res = icall(thiz); + return i2res; +} + +Il2CppString* UnityEngine_Object_GetName_il2cpp(Il2CppObject* thiz) +{ + typedef Il2CppString* (*ICallMethod) (Il2CppObject* thiz); + static ICallMethod icall; + if (!icall) + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.Object::GetName"); + Il2CppString* i2res = icall(thiz); + return i2res; +} + +Il2CppObject* UnityEngine_GameObject_Internal_AddComponentWithType_il2cpp(Il2CppObject* obj, Il2CppReflectionType* type) +{ + typedef Il2CppObject* (*AddComponentWithType) (Il2CppObject*, Il2CppReflectionType*); + static AddComponentWithType icall; + if (!icall) + icall = (AddComponentWithType)il2cpp_resolve_icall("UnityEngine.GameObject::Internal_AddComponentWithType"); + Il2CppObject* res = icall(obj, type); + return res; +} + +void process_proxy_component(Il2CppObject* gameObj) +{ + typedef Il2CppArray* (*ICallMethod) (Il2CppObject* thiz, Il2CppReflectionType* searchType, bool useSearchTypeAsArrayReturnType, bool recursive, bool includeInactive, bool reverse, Il2CppObject* resultList); + static ICallMethod icall; + if (!icall) + icall = (ICallMethod)il2cpp_resolve_icall("UnityEngine.GameObject::GetComponentsInternal"); + + Il2CppReflectionType* i2searchType = get_monobehaviour_proxy_rtype(); + Il2CppArray* retArr = icall(gameObj, i2searchType, 1, 1, 1, 0, NULL); + int len = il2cpp_array_length(retArr); + int processed = 0; + std::map tempMap; + for (int i = 0; i < len; i++) { + Il2CppObject* i2obj = il2cpp_array_get(retArr, Il2CppObject*, i); + WrapperHead* i2head = (WrapperHead*)(i2obj); + Il2CppClass* i2class = il2cpp_object_get_class(i2obj); + if (i2head->handle != 0) { + platform_log("proxy component skip 1 component %s", il2cpp_class_get_name(i2class)); + continue; + } + //Il2CppObject* go = UnityEngine_Component_get_gameObject(i2obj); + platform_log("proxy component class: %s", il2cpp_class_get_name(i2class)); + MonoClass* mclass = get_mono_class(i2class); + if (mclass == NULL) { + platform_log("proxy component class not found: %s", il2cpp_class_get_name(i2class)); + continue; + } + //ȡǰcomponentڵgameObject + Il2CppObject* go = UnityEngine_Component_get_gameObject_il2cpp(i2obj); + +#if DEBUG + Il2CppString* goname = UnityEngine_Object_GetName_il2cpp(go); + char* retname = mono_string_to_utf8(get_mono_string(goname)); + platform_log("proxy component gameobject name : %s", retname); + mono_free(retname); +#endif + //monobehaviour wrapper + Il2CppObject* comp = UnityEngine_GameObject_Internal_AddComponentWithType_il2cpp(go, get_monobehaviour_wrapper_rtype()); + //monomonobehaviour + MonoObject* mobj = get_mono_wrapper_object_delay_init(comp, mclass, true); + // + copy_il2cpp_proxy_data_to_mono(i2obj, mobj); + i2head->handle = 1; + //ʼ + //call_wrapper_init(comp, mobj); + tempMap[comp] = mobj; + processed++; + } + platform_log("proxy component count: %d", processed); + + //TODO:ִгʼ̿ܵijЩgcҪжǷڣ + std::map::iterator iter; + for (iter = tempMap.begin(); iter != tempMap.end(); iter++) + { + //ʼ + call_wrapper_init(iter->first, iter->second); + } +} + + #pragma endregion #pragma region assembly map diff --git a/ScriptEngine/main/il2cpp_support.c b/ScriptEngine/main/il2cpp_support.c index d1bc368..c86e1cd 100644 --- a/ScriptEngine/main/il2cpp_support.c +++ b/ScriptEngine/main/il2cpp_support.c @@ -92,7 +92,9 @@ Il2CppMethodPointer hook_method2(Il2CppClass* klass, const char* method, int32_t { MethodInfo* info = il2cpp_class_get_method_from_name(klass, method, param_count);// if (info == NULL) + { return NULL; + } MethodHead* mh = (MethodHead*)info; Il2CppMethodPointer orign = mh->methodPtr; @@ -100,6 +102,35 @@ Il2CppMethodPointer hook_method2(Il2CppClass* klass, const char* method, int32_t return orign; } +Il2CppMethodPointer hook_icall_method(const char* method, Il2CppMethodPointer hook) +{ + Il2CppMethodPointer orign = il2cpp_resolve_icall(method); + il2cpp_add_internal_call(method, hook); + //MethodInfo* info = il2cpp_class_get_method_from_name(klass, method, param_count);// + //if (info == NULL) + //{ + // return NULL; + //} + + //MethodHead* mh = (MethodHead*)info; + //Il2CppMethodPointer orign = mh->methodPtr; + //mh->methodPtr = hook; + return orign; +} + +Il2CppMethodPointer il2cpp_get_native_method_ptr(Il2CppClass* klass, const char* method, int32_t param_count) +{ + MethodInfo* info = il2cpp_class_get_method_from_name(klass, method, param_count);// + if (info == NULL) + { + return NULL; + } + + MethodHead* mh = (MethodHead*)info; + Il2CppMethodPointer orign = mh->methodPtr; + return orign; +} + Il2CppClass* il2cpp_get_exception_class() { static Il2CppClass* klass = NULL; @@ -130,5 +161,14 @@ Il2CppObject * il2cpp_exception_property(Il2CppObject *obj, const char *name, ch return NULL; } +Il2CppThread** il2cpp_get_all_threads(size_t* thread_count) +{ + return il2cpp_thread_get_all_attached_threads(thread_count); +} + +void il2cpp_set_thread_callback(ThreadAttachDetachCallback attach, ThreadAttachDetachCallback detach) +{ + il2cpp_set_thread_attach_detach_callback(attach, detach); +} diff --git a/ScriptEngine/main/runtime.c b/ScriptEngine/main/runtime.c index 46dfd2a..2ff5b14 100644 --- a/ScriptEngine/main/runtime.c +++ b/ScriptEngine/main/runtime.c @@ -1,6 +1,7 @@ #include "runtime.h" -#if !RUNTIME_IOS + +#ifdef WIN32 #include #include #endif @@ -12,6 +13,11 @@ #include "mono/metadata/assembly.h" #include "mono/metadata/mono-debug.h" #include "mono/metadata/exception.h" +#include "mono/metadata/threads.h" +#include "mono/metadata/appdomain.h" +#include "mono/metadata/sgen-bridge.h" + +#include "il2cpp_support.h" #include #include @@ -19,13 +25,10 @@ #include #include -typedef char bool; -#define false 0 -#define true 1 - - +//typedef char bool; MonoDomain *g_domain; +extern char native_library_dir[2048]; char* mono_runtime_bundle_path; char* mono_runtime_reload_path; @@ -50,6 +53,33 @@ strdup_printf(const char *msg, ...) return formatted; } + +static char formatted[1024]; +void _platform_log(const char* _format, ...) +{ +#if _MSC_VER + va_list args; + va_start(args, _format); + vsnprintf(formatted, 1024, _format, args); + va_end(args); + printf(formatted); +//#elif __ANDROID__ +// va_list args; +// va_start(args, _format); +// vsnprintf(formatted, 1024, _format, args); +// va_end(args); +// __android_log_print(4, //android_LogPriority::ANDROID_LOG_INFO to_android_priority(log_level), +// /* TODO: provide a proper app name */ +// "mono", formatted); +//#else +// va_list args; +// va_start(args, _format); +// vsnprintf(formatted, 1024, _format, args); +// va_end(args); +// printf(formatted); +#endif +} + extern const char *ios_bundle_path(void); const char * runtime_bundle_path(void) @@ -59,6 +89,8 @@ const char * runtime_bundle_path(void) #if RUNTIME_IOS mono_runtime_bundle_path = ios_bundle_path(); +#elif __ANDROID__ + printf("doc_path=%s\n", mono_runtime_bundle_path); #else if ((mono_runtime_bundle_path = _getcwd(NULL, 0)) == NULL) perror("getcwd error"); @@ -162,9 +194,9 @@ assembly_preload_hook(MonoAssemblyName *aname, char **assemblies_path, void* use void log_callback_default(const char *log_domain, const char *log_level, const char *message, mono_bool fatal, void *user_data) { - printf("(%s %s) %s", log_domain, log_level, message); + platform_log("(%s %s) %s", log_domain, log_level, message); if (fatal) { - printf("Exit code: %d.", 1); + platform_log("Exit code: %d.", 1); exit(1); } } @@ -187,7 +219,7 @@ mono_exception_property(MonoObject *obj, const char *name, char is_virtual) return (MonoObject *)mono_runtime_invoke(get, obj, NULL, &exc); } else { - printf("Could not find the property System.Exception.%s", name); + platform_log("Could not find the property System.Exception.%s", name); } return NULL; @@ -210,8 +242,8 @@ unhandled_exception_handler(MonoObject *exc, void *user_data) char *trace = fetch_exception_property_string(exc, "get_StackTrace", true); char *message = fetch_exception_property_string(exc, "get_Message", true); - printf("Unhandled managed exception:\n"); - printf("%s (%s)\n%s\n", message, type_name, trace ? trace : ""); + platform_log("Unhandled managed exception:\n"); + platform_log("%s (%s)\n%s\n", message, type_name, trace ? trace : ""); if (trace != NULL) mono_free(trace); @@ -219,10 +251,20 @@ unhandled_exception_handler(MonoObject *exc, void *user_data) mono_free(message); //os_log_info (OS_LOG_DEFAULT, "%@", msg); - printf("Exit code: %d.", 1); + platform_log("Exit code: %d.", 1); exit(1); } +void il2cpp_thread_attach_callback(Il2CppThread* thread) +{ + mono_thread_attach(g_domain); +} + +void il2cpp_thread_dettach_callback(Il2CppThread* thread) +{ + mono_thread_detach(g_domain); +} + /* static int malloc_count = 0; @@ -239,6 +281,8 @@ void register_assembly_map(); #if RUNTIME_IOS #define __STRDUP strdup void mono_ios_runtime_init(void); +#elif __ANDROID__ +#define __STRDUP strdup #else #define __STRDUP _strdup #endif @@ -263,16 +307,27 @@ mono_setup(char* reloadDir, const char* file) { //MonoAllocatorVTable mem_vtable = {custom_malloc}; //mono_set_allocator_vtable (&mem_vtable); - mono_install_assembly_preload_hook(assembly_preload_hook, NULL); +#if __ANDROID__ + setenv("MONO_LOG_LEVEL", "info", 1); + setenv("MONO_LOG_MASK", "all", 1); +#endif mono_install_unhandled_exception_hook(unhandled_exception_handler, NULL); - mono_trace_set_log_handler(log_callback_default, NULL); + mono_trace_set_log_handler(log_callback_default, NULL); // mono_set_signal_chaining(true); mono_set_crash_chaining(true); - mono_debug(); +#if __ANDROID__ + //char* buff = native_library_dir; + char buff[512];// = "/data/data/com.eeyoo.LZ/libmono-native.so"; + sprintf(buff, "%s/libmono-native.so", native_library_dir); + platform_log("navtive lib path: %s", buff); + mono_dllmap_insert(NULL, "System.Native", NULL, buff, NULL); + mono_dllmap_insert(NULL, "System.Net.Security.Native", NULL, buff, NULL); +#endif + mono_debug(); #if RUNTIME_IOS const char* rootdir = runtime_bundle_path(); @@ -281,6 +336,7 @@ mono_setup(char* reloadDir, const char* file) { #endif mono_set_dirs(rootdir, rootdir); + platform_log("dll load dir: %s", rootdir); /* * Load the default Mono configuration file, this is needed @@ -299,6 +355,7 @@ mono_setup(char* reloadDir, const char* file) { #else g_domain = mono_jit_init (file); mono_domain_set(g_domain, false); + mono_thread_attach(g_domain); #endif register_assembly_map(); @@ -308,6 +365,13 @@ mono_setup(char* reloadDir, const char* file) { */ mono_register_icall(); + size_t thread_cnt = 0; + Il2CppThread** threads = il2cpp_get_all_threads(&thread_cnt); + platform_log("current il2cpp attached thread count: %d", thread_cnt); + //il2cpp_set_thread_callback(il2cpp_thread_attach_callback, il2cpp_thread_dettach_callback); + //gc thread attach to il2cpp + //mono_gc_wait_for_bridge_processing + char *managed_argv[2]; managed_argv[0] = file; managed_argv[1] = file; @@ -318,6 +382,7 @@ mono_setup(char* reloadDir, const char* file) { int mono_exit() { + platform_log("exit mono env"); int retval = mono_environment_exitcode_get (); mono_jit_cleanup (mono_domain_get()); diff --git a/ScriptEngine/main/runtime_android.c b/ScriptEngine/main/runtime_android.c new file mode 100644 index 0000000..a4c0ee4 --- /dev/null +++ b/ScriptEngine/main/runtime_android.c @@ -0,0 +1,471 @@ +#if __ANDROID__ +#include "runtime_android.h" + +static jclass AndroidRunner_klass = NULL; +static jmethodID AndroidRunner_WriteLineToInstrumentation_method = NULL; + +static JavaVM* jvm = NULL; +static JNIEnv* jniEnv = NULL; +char file_dir[2048], cache_dir[2048], native_library_dir[2048]; + +void +_runtime_log(const char* log_domain, const char* log_level, const char* message, int32_t fatal, void* user_data) +{ + //JNIEnv* env; + //jstring j_message; + + //if (jvm == NULL) + // __android_log_assert("", "mono-sdks", "%s: jvm is NULL", __func__); + + //if (AndroidRunner_klass == NULL) + // __android_log_assert("", "mono-sdks", "%s: AndroidRunner_klass is NULL", __func__); + //if (AndroidRunner_WriteLineToInstrumentation_method == NULL) + // __android_log_assert("", "mono-sdks", "%s: AndroidRunner_WriteLineToInstrumentation_method is NULL", __func__); + + //env = jniEnv;// mono_jvm_get_jnienv(); + + //j_message = (*env)->NewStringUTF(env, message); + + //(*env)->CallStaticVoidMethod(env, AndroidRunner_klass, AndroidRunner_WriteLineToInstrumentation_method, j_message); + + //(*env)->DeleteLocalRef(env, j_message); + + /* Still print it on the logcat */ + + android_LogPriority android_log_level; + switch (*log_level) { + case 'e': /* error */ + android_log_level = ANDROID_LOG_FATAL; + break; + case 'c': /* critical */ + android_log_level = ANDROID_LOG_ERROR; + break; + case 'w': /* warning */ + android_log_level = ANDROID_LOG_WARN; + break; + case 'm': /* message */ + android_log_level = ANDROID_LOG_INFO; + break; + case 'i': /* info */ + android_log_level = ANDROID_LOG_DEBUG; + break; + case 'd': /* debug */ + android_log_level = ANDROID_LOG_VERBOSE; + break; + default: + android_log_level = ANDROID_LOG_UNKNOWN; + break; + } + + __android_log_write(android_log_level, log_domain, message); + if (android_log_level == ANDROID_LOG_FATAL) + abort(); +} + +void +_log(const char* format, ...) +{ + va_list args; + char* buf; + int nbuf; + + errno = 0; + + va_start(args, format); + nbuf = vasprintf(&buf, format, args); + va_end(args); + + if (buf == NULL || nbuf == -1) + __android_log_assert("", "mono-sdks", "%s: vasprintf failed, error: \"%s\" (%d), nbuf = %d, buf = \"%s\"", __func__, strerror(errno), errno, nbuf, buf ? buf : "(null)"); + + _runtime_log("mono-sdks", "debug", buf, 0, NULL); + + free(buf); +} + +void +strncpy_str(JNIEnv* env, char* buff, jstring str, int nbuff) +{ + jboolean isCopy = 0; + const char* copy_buff = (*env)->GetStringUTFChars(env, str, &isCopy); + strncpy(buff, copy_buff, nbuff); + if (isCopy) + (*env)->ReleaseStringUTFChars(env, str, copy_buff); +} + +char* +m_strdup_printf(const char* format, ...) +{ + char* ret; + va_list args; + int n; + + va_start(args, format); + n = vasprintf(&ret, format, args); + va_end(args); + if (n == -1) + return NULL; + + return ret; +} + +int +m_make_directory(const char* path, int mode) +{ +#if WINDOWS + return mkdir(path); +#else + return mkdir(path, mode); +#endif +} + +int +m_create_directory(const char* pathname, int mode) +{ + if (mode <= 0) + mode = DEFAULT_DIRECTORY_MODE; + + if (!pathname || *pathname == '\0') { + errno = EINVAL; + return -1; + } + + mode_t oldumask = umask(022); + char* path = strdup(pathname); + int rv, ret = 0; + char* d; + for (d = path; *d; ++d) { + if (*d != '/') + continue; + *d = 0; + if (*path) { + rv = m_make_directory(path, mode); + if (rv == -1 && errno != EEXIST) { + ret = -1; + break; + } + } + *d = '/'; + } + free(path); + if (ret == 0) + ret = m_make_directory(pathname, mode); + umask(oldumask); + + return ret; +} + +void +create_and_set(const char* home, const char* relativePath, const char* envvar) +{ + char* dir = m_strdup_printf("%s/%s", home, relativePath); + int rv = m_create_directory(dir, DEFAULT_DIRECTORY_MODE); + if (rv < 0 && errno != EEXIST) + _log("Failed to create XDG directory %s. %s", dir, strerror(errno)); + if (envvar) + setenv(envvar, dir, 1); + free(dir); +} + +/* +This is the Android specific glue ZZZZOMG + +# Issues with the monodroid BCL profile + This pinvoke should not be on __Internal by libmonodroid.so: System.TimeZoneInfo+AndroidTimeZones:monodroid_get_system_property + This depends on monodroid native code: System.TimeZoneInfo+AndroidTimeZones.GetDefaultTimeZoneName +*/ + + +static void* +my_dlopen(const char* name, int flags, char** err, void* user_data) +{ + if (!name) + return INTERNAL_LIB_HANDLE; + + void* res = dlopen(name, convert_dl_flags(flags)); + + //TODO handle loading AOT modules from assembly_dir + + return res; +} + +static void* +my_dlsym(void* handle, const char* name, char** err, void* user_data) +{ + void* s; + + //if (handle == INTERNAL_LIB_HANDLE) { + // s = dlsym(runtime_bootstrap_dso, name); + // if (!s && mono_posix_helper_dso) + // s = dlsym(mono_posix_helper_dso, name); + //} + //else + { + s = dlsym(handle, name); + } + + if (!s && err) { + *err = m_strdup_printf("Could not find symbol '%s'.", name); + } + + return s; +} + +MONO_API int +monodroid_get_system_property(const char* name, char** value) +{ + char* pvalue; + char sp_value[PROP_VALUE_MAX + 1] = { 0, }; + int len; + + if (value) + *value = NULL; + + pvalue = sp_value; + len = __system_property_get(name, sp_value); + + if (len >= 0 && value) { + *value = malloc(len + 1); + if (!*value) + return -len; + memcpy(*value, pvalue, len); + (*value)[len] = '\0'; + } + + return len; +} + +MONO_API void +monodroid_free(void* ptr) +{ + free(ptr); +} + +void +init_sock_addr(struct sockaddr** res, const char* str_addr) +{ + struct sockaddr_in addr; + addr.sin_family = AF_INET; + inet_pton(AF_INET, str_addr, &addr.sin_addr); + + *res = calloc(1, sizeof(struct sockaddr)); + **(struct sockaddr_in**)res = addr; +} + +MONO_API int +monodroid_getifaddrs(m_ifaddrs** ifap) +{ + char buff[1024]; + FILE* f = fopen("/proc/net/route", "r"); + if (f) { + int i = 0; + fgets(buff, 1023, f); + fgets(buff, 1023, f); + while (!isspace(buff[i]) && i < 1024) + ++i; + buff[i] = 0; + fclose(f); + } + else { + strcpy(buff, "wlan0"); + } + + m_ifaddrs* res = calloc(1, sizeof(m_ifaddrs)); + memset(res, 0, sizeof(*res)); + + res->ifa_next = NULL; + res->ifa_name = m_strdup_printf("%s", buff); + res->ifa_flags = 0; + res->ifa_ifu.ifu_dstaddr = NULL; + init_sock_addr(&res->ifa_addr, "192.168.0.1"); + init_sock_addr(&res->ifa_netmask, "255.255.255.0"); + + *ifap = res; + return 0; +} + +MONO_API void +monodroid_freeifaddrs(m_ifaddrs* ifap) +{ + free(ifap->ifa_name); + if (ifap->ifa_addr) + free(ifap->ifa_addr); + if (ifap->ifa_netmask) + free(ifap->ifa_netmask); + free(ifap); +} + +MONO_API int +_monodroid_get_android_api_level(void) +{ + return 24; +} + +MONO_API int +_monodroid_get_network_interface_up_state(void* ifname, int* is_up) +{ + *is_up = 1; + return 1; +} + +MONO_API int +_monodroid_get_network_interface_supports_multicast(void* ifname, int* supports_multicast) +{ + *supports_multicast = 0; + return 1; +} + +MONO_API int +_monodroid_get_dns_servers(void** dns_servers_array) +{ + *dns_servers_array = NULL; + if (!dns_servers_array) + return -1; + + size_t len; + char* dns; + char* dns_servers[8]; + int count = 0; + char prop_name[] = "net.dnsX"; + int i; + for (i = 0; i < 8; i++) { + prop_name[7] = (char)(i + 0x31); + len = monodroid_get_system_property(prop_name, &dns); + if (len <= 0) { + dns_servers[i] = NULL; + continue; + } + dns_servers[i] = strndup(dns, len); + count++; + } + + if (count <= 0) + return 0; + + char** ret = (char**)malloc(sizeof(char*) * count); + char** p = ret; + for (i = 0; i < 8; i++) { + if (!dns_servers[i]) + continue; + *p++ = dns_servers[i]; + } + + *dns_servers_array = (void*)ret; + return count; +} + +static int initialized = 0; + +static jobject +lref_to_gref(JNIEnv* env, jobject lref) +{ + jobject g; + if (lref == 0) + return 0; + g = (*env)->NewGlobalRef(env, lref); + (*env)->DeleteLocalRef(env, lref); + return g; +} + +void +AndroidInit(JNIEnv* env, jstring j_files_dir, jstring j_cache_dir, + jstring j_native_library_dir, jstring j_assembly_dir, jstring j_assembly_name, jboolean is_debugger, jboolean is_profiler, jboolean wait_for_lldb) +{ + char buff[1024], assembly_dir[2048], assembly_name[2048]; + + _log("IN %s\n", __func__); + strncpy_str(env, file_dir, j_files_dir, sizeof(file_dir)); + strncpy_str(env, cache_dir, j_cache_dir, sizeof(cache_dir)); + strncpy_str(env, native_library_dir, j_native_library_dir, sizeof(native_library_dir)); + strncpy_str(env, assembly_dir, j_assembly_dir, sizeof(assembly_dir)); + strncpy_str(env, assembly_name, j_assembly_name, sizeof(assembly_name)); + + _log("-- file dir %s", file_dir); + _log("-- cache dir %s", cache_dir); + _log("-- native library dir %s", native_library_dir); + _log("-- assembly dir %s", assembly_dir); + _log("-- assembly name %s", assembly_name); + _log("-- is debugger %d", is_debugger); + _log("-- is profiler %d", is_profiler); + prctl(PR_SET_DUMPABLE, 1); +} + +void +Java_com_scriptengine_library_ScriptEngine_AndroidJniInit(JNIEnv* env, jobject thiz, jstring j_files_dir, jstring j_cache_dir, + jstring j_native_library_dir, jstring j_assembly_dir, jstring j_assembly_name, jboolean is_debugger, jboolean is_profiler, jboolean wait_for_lldb) +{ + char buff[1024], assembly_dir[2048], assembly_name[2048]; + + _log("IN %s\n", __func__); + strncpy_str(env, file_dir, j_files_dir, sizeof(file_dir)); + strncpy_str(env, cache_dir, j_cache_dir, sizeof(cache_dir)); + strncpy_str(env, native_library_dir, j_native_library_dir, sizeof(native_library_dir)); + strncpy_str(env, assembly_dir, j_assembly_dir, sizeof(assembly_dir)); + strncpy_str(env, assembly_name, j_assembly_name, sizeof(assembly_name)); + + _log("-- file dir %s", file_dir); + _log("-- cache dir %s", cache_dir); + _log("-- native library dir %s", native_library_dir); + _log("-- assembly dir %s", assembly_dir); + _log("-- assembly name %s", assembly_name); + _log("-- is debugger %d", is_debugger); + _log("-- is profiler %d", is_profiler); + prctl(PR_SET_DUMPABLE, 1); +} + +static void +mono_jvm_initialize(JavaVM* vm) +{ + JNIEnv* env; + + if (initialized) + return; + + jvm = vm; + if (!jvm) + __android_log_assert("", "mono-sdks", "%s: fatal error: Could not get JVM", __func__); + + int res = (*jvm)->GetEnv(jvm, (void**)&env, JNI_VERSION_1_6); + if (!env) + __android_log_assert("", "mono-sdks", "%s: fatal error: Could not create env, res = %d", __func__, res); + + //AndroidRunner_klass = lref_to_gref(env, (*env)->FindClass(env, "org/mono/android/AndroidRunner")); + //if (!AndroidRunner_klass) + // __android_log_assert("", "mono-sdks", "%s: fatal error: Could not find AndroidRunner_klass", __func__); + + //AndroidRunner_WriteLineToInstrumentation_method = (*env)->GetStaticMethodID(env, AndroidRunner_klass, "WriteLineToInstrumentation", "(Ljava/lang/String;)V"); + //if (!AndroidRunner_WriteLineToInstrumentation_method) + // __android_log_assert("", "mono-sdks", "%s: fatal error: Could not find AndroidRunner_WriteLineToInstrumentation_method", __func__); + + initialized = 1; +} + + +JNIEXPORT jint JNICALL +JNI_OnLoad(JavaVM* vm, void* reserved) +{ + mono_jvm_initialize(vm); + return JNI_VERSION_1_6; +} + +static JNIEnv* +mono_jvm_get_jnienv(void) +{ + JNIEnv* env; + + if (!initialized) + __android_log_assert("", "mono-sdks", "%s: Fatal error: jvm not initialized", __func__); + + (*jvm)->GetEnv(jvm, (void**)&env, JNI_VERSION_1_6); + if (env) + return env; + + (*jvm)->AttachCurrentThread(jvm, (void**)&env, NULL); + if (env) + return env; + + __android_log_assert("", "mono-sdks", "%s: Fatal error: Could not create env", __func__); +} + + +#endif \ No newline at end of file