Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit a7165c8

Browse files
committed
Bump UniverseLib, cleanup, bump version
1 parent 79f2514 commit a7165c8

File tree

5 files changed

+20
-21
lines changed

5 files changed

+20
-21
lines changed

src/ExplorerCore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace UnityExplorer
1818
public static class ExplorerCore
1919
{
2020
public const string NAME = "UnityExplorer";
21-
public const string VERSION = "4.5.6";
21+
public const string VERSION = "4.5.7";
2222
public const string AUTHOR = "Sinai";
2323
public const string GUID = "com.sinai.unityexplorer";
2424

src/ObjectExplorer/SceneHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ internal set
2121
return;
2222
selectedScene = value;
2323
OnInspectedSceneChanged?.Invoke((Scene)selectedScene);
24-
ExplorerCore.Log($"Set selected scene to {value?.name}");
2524
}
2625
}
2726
private static Scene? selectedScene;

src/Tests/TestClass.cs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,16 @@ private static void Init_Mono()
152152
public static Il2CppReferenceArray<Il2CppSystem.Object> IL2CPP_ReferenceArray;
153153
public static Il2CppSystem.Collections.IDictionary IL2CPP_IDict;
154154
public static Il2CppSystem.Collections.IList IL2CPP_IList;
155-
public static Dictionary<Il2CppSystem.String, Il2CppSystem.Object> CppBoxedDict;
155+
public static Dictionary<Il2CppSystem.Object, Il2CppSystem.Object> IL2CPP_BoxedDict;
156156

157157
public static Il2CppSystem.Collections.Generic.HashSet<string> IL2CPP_HashSet;
158158
public static Il2CppSystem.Collections.Generic.Dictionary<string, string> IL2CPP_Dict;
159159
public static Il2CppSystem.Collections.Hashtable IL2CPP_HashTable;
160-
public static Il2CppSystem.Object cppBoxedInt;
161-
public static Il2CppSystem.Int32 cppInt;
162-
public static Il2CppSystem.Decimal cppDecimal;
163-
public static Il2CppSystem.Object cppDecimalBoxed;
164-
public static Il2CppSystem.Object cppVector3Boxed;
160+
public static Il2CppSystem.Object IL2CPP_BoxedInt;
161+
public static Il2CppSystem.Int32 IL2CPP_Int;
162+
public static Il2CppSystem.Decimal IL2CPP_Decimal;
163+
public static Il2CppSystem.Object IL2CPP_DecimalBoxed;
164+
public static Il2CppSystem.Object IL2CPP_Vector3Boxed;
165165
public static string IL2CPP_systemString = "Test";
166166
public static Il2CppSystem.Object IL2CPP_objectString = "string boxed as cpp object";
167167
public static Il2CppSystem.String IL2CPP_il2cppString = "string boxed as cpp string";
@@ -203,11 +203,11 @@ private static void Init_IL2CPP()
203203
IL2CPP_HashSet.Add("two");
204204

205205
ExplorerCore.Log($"IL2CPP 7: Dictionary of Il2Cpp String and Il2Cpp Object");
206-
CppBoxedDict = new Dictionary<Il2CppSystem.String, Il2CppSystem.Object>();
207-
CppBoxedDict.Add("1", new Il2CppSystem.Int32 { m_value = 1 }.BoxIl2CppObject());
208-
CppBoxedDict.Add("2", new Il2CppSystem.Int32 { m_value = 2 }.BoxIl2CppObject());
209-
CppBoxedDict.Add("3", new Il2CppSystem.Int32 { m_value = 3 }.BoxIl2CppObject());
210-
CppBoxedDict.Add("4", new Il2CppSystem.Int32 { m_value = 4 }.BoxIl2CppObject());
206+
IL2CPP_BoxedDict = new();
207+
IL2CPP_BoxedDict[(Il2CppSystem.String)"one"] = new Il2CppSystem.Int32 { m_value = 1 }.BoxIl2CppObject();
208+
IL2CPP_BoxedDict[(Il2CppSystem.String)"two"] = new Il2CppSystem.Int32 { m_value = 2 }.BoxIl2CppObject();
209+
IL2CPP_BoxedDict[(Il2CppSystem.String)"three"] = new Il2CppSystem.Int32 { m_value = 3 }.BoxIl2CppObject();
210+
IL2CPP_BoxedDict[(Il2CppSystem.String)"four"] = new Il2CppSystem.Int32 { m_value = 4 }.BoxIl2CppObject();
211211

212212
ExplorerCore.Log($"IL2CPP 8: List of boxed Il2Cpp Objects");
213213
IL2CPP_listOfBoxedObjects = new List<Il2CppSystem.Object>();
@@ -248,11 +248,11 @@ private static void Init_IL2CPP()
248248
IL2CPP_ReferenceArray[2] = (Il2CppSystem.String)"whats up";
249249

250250
ExplorerCore.Log($"IL2CPP 11: Misc il2cpp members");
251-
cppBoxedInt = new Il2CppSystem.Int32() { m_value = 5 }.BoxIl2CppObject();
252-
cppInt = new Il2CppSystem.Int32 { m_value = 420 };
253-
cppDecimal = new Il2CppSystem.Decimal(1f);
254-
cppDecimalBoxed = new Il2CppSystem.Decimal(1f).BoxIl2CppObject();
255-
cppVector3Boxed = Vector3.down.BoxIl2CppObject();
251+
IL2CPP_BoxedInt = new Il2CppSystem.Int32() { m_value = 5 }.BoxIl2CppObject();
252+
IL2CPP_Int = new Il2CppSystem.Int32 { m_value = 420 };
253+
IL2CPP_Decimal = new Il2CppSystem.Decimal(1f);
254+
IL2CPP_DecimalBoxed = new Il2CppSystem.Decimal(1f).BoxIl2CppObject();
255+
IL2CPP_Vector3Boxed = Vector3.down.BoxIl2CppObject();
256256

257257
ExplorerCore.Log($"Finished Init_Il2Cpp");
258258
}

src/UnityExplorer.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@
175175
<Private>False</Private>
176176
</Reference>
177177
<Reference Include="UniverseLib.Mono">
178-
<HintPath>packages\UniverseLib.1.2.8\lib\net35\UniverseLib.Mono.dll</HintPath>
178+
<HintPath>packages\UniverseLib.1.2.9\lib\net35\UniverseLib.Mono.dll</HintPath>
179179
</Reference>
180180
</ItemGroup>
181181
<!-- Il2Cpp refs -->
182182
<ItemGroup Condition="'$(IsCpp)'=='true'">
183183
<Reference Include="UniverseLib.IL2CPP">
184-
<HintPath>packages\UniverseLib.1.2.8\lib\net472\UniverseLib.IL2CPP.dll</HintPath>
184+
<HintPath>packages\UniverseLib.1.2.9\lib\net472\UniverseLib.IL2CPP.dll</HintPath>
185185
</Reference>
186186
<Reference Include="UnhollowerBaseLib, Version=0.4.22.0, Culture=neutral, processorArchitecture=MSIL">
187187
<HintPath>packages\Il2CppAssemblyUnhollower.BaseLib.0.4.22\lib\net472\UnhollowerBaseLib.dll</HintPath>

src/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
<package id="ILRepack.Lib.MSBuild.Task" version="2.0.18.2" targetFramework="net35" />
77
<package id="Mono.Cecil" version="0.10.4" targetFramework="net35" />
88
<package id="Samboy063.Tomlet" version="3.1.3" targetFramework="net472" />
9-
<package id="UniverseLib" version="1.2.8" targetFramework="net35" />
9+
<package id="UniverseLib" version="1.2.9" targetFramework="net35" />
1010
<package id="UniverseLib.Analyzers" version="1.0.3" targetFramework="net35" developmentDependency="true" />
1111
</packages>

0 commit comments

Comments
 (0)