com.xmobitea.changx.gn-unity 2.4.9 → 2.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
return answer;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
|
|
373
|
+
public System.Collections.IList castList(System.Collections.IList objectLst, System.Type cls, bool isArray)
|
|
374
374
|
{
|
|
375
375
|
if (isArray)
|
|
376
376
|
{
|
|
@@ -596,7 +596,9 @@
|
|
|
596
596
|
/// <returns>A list of deserialized elements.</returns>
|
|
597
597
|
public static System.Collections.IList deserializeArray(GNArray gnArray, Type cls)
|
|
598
598
|
{
|
|
599
|
-
|
|
599
|
+
var answer = ConverterService.deserializeConverter.deserializeArray(gnArray, cls);
|
|
600
|
+
|
|
601
|
+
return ConverterService.deserializeConverter.castList(answer, cls, false);
|
|
600
602
|
}
|
|
601
603
|
|
|
602
604
|
/// <summary>
|