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

Commit b6966f8

Browse files
committed
Bump UniverseLib, bump version
1 parent ad8c529 commit b6966f8

File tree

4 files changed

+24
-23
lines changed

4 files changed

+24
-23
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.7";
21+
public const string VERSION = "4.5.8";
2222
public const string AUTHOR = "Sinai";
2323
public const string GUID = "com.sinai.unityexplorer";
2424

src/Tests/TestClass.cs

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,17 @@ private static void Init_Mono()
146146
}
147147

148148
#if CPP
149+
public static Il2CppSystem.Collections.Generic.Dictionary<string, string> IL2CPP_Dict;
150+
public static Il2CppSystem.Collections.Generic.HashSet<string> IL2CPP_HashSet;
149151
public static Il2CppSystem.Collections.Generic.List<string> IL2CPP_ListString;
152+
public static Il2CppSystem.Collections.Hashtable IL2CPP_HashTable;
150153
public static List<Il2CppSystem.Object> IL2CPP_listOfBoxedObjects;
151154
public static Il2CppStructArray<int> IL2CPP_structArray;
152155
public static Il2CppReferenceArray<Il2CppSystem.Object> IL2CPP_ReferenceArray;
153156
public static Il2CppSystem.Collections.IDictionary IL2CPP_IDict;
154157
public static Il2CppSystem.Collections.IList IL2CPP_IList;
155158
public static Dictionary<Il2CppSystem.Object, Il2CppSystem.Object> IL2CPP_BoxedDict;
156-
157-
public static Il2CppSystem.Collections.Generic.HashSet<string> IL2CPP_HashSet;
158-
public static Il2CppSystem.Collections.Generic.Dictionary<string, string> IL2CPP_Dict;
159-
public static Il2CppSystem.Collections.Hashtable IL2CPP_HashTable;
159+
160160
public static Il2CppSystem.Object IL2CPP_BoxedInt;
161161
public static Il2CppSystem.Int32 IL2CPP_Int;
162162
public static Il2CppSystem.Decimal IL2CPP_Decimal;
@@ -175,40 +175,41 @@ private static void Init_IL2CPP()
175175
IL2CPP_Dict.Add("key2", "value2");
176176
IL2CPP_Dict.Add("key3", "value3");
177177

178+
ExplorerCore.Log($"IL2CPP 6: Il2Cpp HashSet of strings");
179+
IL2CPP_HashSet = new Il2CppSystem.Collections.Generic.HashSet<string>();
180+
IL2CPP_HashSet.Add("one");
181+
IL2CPP_HashSet.Add("two");
182+
178183
ExplorerCore.Log($"IL2CPP 2: Il2Cpp Hashtable");
179184
IL2CPP_HashTable = new Il2CppSystem.Collections.Hashtable();
180185
IL2CPP_HashTable.Add("key1", "value1");
181186
IL2CPP_HashTable.Add("key2", "value2");
182187
IL2CPP_HashTable.Add("key3", "value3");
183-
188+
184189
ExplorerCore.Log($"IL2CPP 3: Il2Cpp IDictionary");
185190
var dict2 = new Il2CppSystem.Collections.Generic.Dictionary<string, string>();
186191
dict2.Add("key1", "value1");
187192
IL2CPP_IDict = dict2.TryCast<Il2CppSystem.Collections.IDictionary>();
188-
193+
189194
ExplorerCore.Log($"IL2CPP 4: Il2Cpp List of Il2Cpp Object");
190195
var list = new Il2CppSystem.Collections.Generic.List<Il2CppSystem.Object>(5);
191196
list.Add("one");
192197
list.Add("two");
193198
IL2CPP_IList = list.TryCast<Il2CppSystem.Collections.IList>();
194-
199+
195200
ExplorerCore.Log($"IL2CPP 5: Il2Cpp List of strings");
196201
IL2CPP_ListString = new Il2CppSystem.Collections.Generic.List<string>();
197202
IL2CPP_ListString.Add("hello,");
198203
IL2CPP_ListString.Add("world!");
199-
200-
ExplorerCore.Log($"IL2CPP 6: Il2Cpp HashSet of strings");
201-
IL2CPP_HashSet = new Il2CppSystem.Collections.Generic.HashSet<string>();
202-
IL2CPP_HashSet.Add("one");
203-
IL2CPP_HashSet.Add("two");
204-
204+
205+
205206
ExplorerCore.Log($"IL2CPP 7: Dictionary of Il2Cpp String and Il2Cpp Object");
206207
IL2CPP_BoxedDict = new();
207208
IL2CPP_BoxedDict[(Il2CppSystem.String)"one"] = new Il2CppSystem.Int32 { m_value = 1 }.BoxIl2CppObject();
208209
IL2CPP_BoxedDict[(Il2CppSystem.String)"two"] = new Il2CppSystem.Int32 { m_value = 2 }.BoxIl2CppObject();
209210
IL2CPP_BoxedDict[(Il2CppSystem.String)"three"] = new Il2CppSystem.Int32 { m_value = 3 }.BoxIl2CppObject();
210211
IL2CPP_BoxedDict[(Il2CppSystem.String)"four"] = new Il2CppSystem.Int32 { m_value = 4 }.BoxIl2CppObject();
211-
212+
212213
ExplorerCore.Log($"IL2CPP 8: List of boxed Il2Cpp Objects");
213214
IL2CPP_listOfBoxedObjects = new List<Il2CppSystem.Object>();
214215
IL2CPP_listOfBoxedObjects.Add((Il2CppSystem.String)"boxedString");
@@ -223,30 +224,30 @@ private static void Init_IL2CPP()
223224
var boxedEnum = Il2CppSystem.Enum.Parse(cppType, "Color");
224225
IL2CPP_listOfBoxedObjects.Add(boxedEnum);
225226
}
226-
227+
227228
var structBox = Vector3.one.BoxIl2CppObject();
228229
IL2CPP_listOfBoxedObjects.Add(structBox);
229-
230+
230231
}
231232
catch (Exception ex)
232233
{
233234
ExplorerCore.LogWarning($"Boxed enum test fail: {ex}");
234235
}
235-
236+
236237
ExplorerCore.Log($"IL2CPP 9: Il2Cpp struct array of ints");
237238
IL2CPP_structArray = new UnhollowerBaseLib.Il2CppStructArray<int>(5);
238239
IL2CPP_structArray[0] = 0;
239240
IL2CPP_structArray[1] = 1;
240241
IL2CPP_structArray[2] = 2;
241242
IL2CPP_structArray[3] = 3;
242243
IL2CPP_structArray[4] = 4;
243-
244+
244245
ExplorerCore.Log($"IL2CPP 10: Il2Cpp reference array of boxed objects");
245246
IL2CPP_ReferenceArray = new UnhollowerBaseLib.Il2CppReferenceArray<Il2CppSystem.Object>(3);
246247
IL2CPP_ReferenceArray[0] = new Il2CppSystem.Int32 { m_value = 5 }.BoxIl2CppObject();
247248
IL2CPP_ReferenceArray[1] = null;
248249
IL2CPP_ReferenceArray[2] = (Il2CppSystem.String)"whats up";
249-
250+
250251
ExplorerCore.Log($"IL2CPP 11: Misc il2cpp members");
251252
IL2CPP_BoxedInt = new Il2CppSystem.Int32() { m_value = 5 }.BoxIl2CppObject();
252253
IL2CPP_Int = new Il2CppSystem.Int32 { m_value = 420 };

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.9\lib\net35\UniverseLib.Mono.dll</HintPath>
178+
<HintPath>packages\UniverseLib.1.2.10\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.9\lib\net472\UniverseLib.IL2CPP.dll</HintPath>
184+
<HintPath>packages\UniverseLib.1.2.10\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.9" targetFramework="net35" />
9+
<package id="UniverseLib" version="1.2.10" targetFramework="net35" />
1010
<package id="UniverseLib.Analyzers" version="1.0.3" targetFramework="net35" developmentDependency="true" />
1111
</packages>

0 commit comments

Comments
 (0)