@@ -152,16 +152,16 @@ private static void Init_Mono()
152
152
public static Il2CppReferenceArray < Il2CppSystem . Object > IL2CPP_ReferenceArray ;
153
153
public static Il2CppSystem . Collections . IDictionary IL2CPP_IDict ;
154
154
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 ;
156
156
157
157
public static Il2CppSystem . Collections . Generic . HashSet < string > IL2CPP_HashSet ;
158
158
public static Il2CppSystem . Collections . Generic . Dictionary < string , string > IL2CPP_Dict ;
159
159
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 ;
165
165
public static string IL2CPP_systemString = "Test" ;
166
166
public static Il2CppSystem . Object IL2CPP_objectString = "string boxed as cpp object" ;
167
167
public static Il2CppSystem . String IL2CPP_il2cppString = "string boxed as cpp string" ;
@@ -203,11 +203,11 @@ private static void Init_IL2CPP()
203
203
IL2CPP_HashSet . Add ( "two" ) ;
204
204
205
205
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 ( ) ;
211
211
212
212
ExplorerCore . Log ( $ "IL2CPP 8: List of boxed Il2Cpp Objects") ;
213
213
IL2CPP_listOfBoxedObjects = new List < Il2CppSystem . Object > ( ) ;
@@ -248,11 +248,11 @@ private static void Init_IL2CPP()
248
248
IL2CPP_ReferenceArray [ 2 ] = ( Il2CppSystem . String ) "whats up" ;
249
249
250
250
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 ( ) ;
256
256
257
257
ExplorerCore . Log ( $ "Finished Init_Il2Cpp") ;
258
258
}
0 commit comments