AOTGenericReferences.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. using System.Collections.Generic;
  2. public class AOTGenericReferences : UnityEngine.MonoBehaviour
  3. {
  4. // {{ AOT assemblies
  5. public static readonly IReadOnlyList<string> PatchedAOTAssemblyList = new List<string>
  6. {
  7. "System.Core.dll",
  8. "UnityEngine.CoreModule.dll",
  9. "UnityEngine.JSONSerializeModule.dll",
  10. "mscorlib.dll",
  11. };
  12. // }}
  13. // {{ constraint implement type
  14. // }}
  15. // {{ AOT generic types
  16. // System.Action<TowerDevil.BattleEffects.Effect>
  17. // System.Action<TowerDevil.TowerGame.Move>
  18. // System.Action<UnityEngine.Vector2Int>
  19. // System.Action<int,int,object,int,int>
  20. // System.Action<int,int,object,object>
  21. // System.Action<int>
  22. // System.Action<object,object,object>
  23. // System.Action<object,object>
  24. // System.Action<object>
  25. // System.ByReference<ushort>
  26. // System.Collections.Generic.ArraySortHelper<TowerDevil.BattleEffects.Effect>
  27. // System.Collections.Generic.ArraySortHelper<TowerDevil.TowerGame.Move>
  28. // System.Collections.Generic.ArraySortHelper<UnityEngine.Vector2Int>
  29. // System.Collections.Generic.ArraySortHelper<int>
  30. // System.Collections.Generic.ArraySortHelper<object>
  31. // System.Collections.Generic.Comparer<TowerDevil.BattleEffects.Effect>
  32. // System.Collections.Generic.Comparer<TowerDevil.TowerGame.Move>
  33. // System.Collections.Generic.Comparer<UnityEngine.Vector2Int>
  34. // System.Collections.Generic.Comparer<int>
  35. // System.Collections.Generic.Comparer<object>
  36. // System.Collections.Generic.Dictionary.Enumerator<UnityEngine.Vector2Int,UnityEngine.Vector2Int>
  37. // System.Collections.Generic.Dictionary.Enumerator<UnityEngine.Vector2Int,object>
  38. // System.Collections.Generic.Dictionary.Enumerator<object,UnityEngine.Vector2>
  39. // System.Collections.Generic.Dictionary.Enumerator<object,UnityEngine.Vector3>
  40. // System.Collections.Generic.Dictionary.Enumerator<object,object>
  41. // System.Collections.Generic.Dictionary.KeyCollection.Enumerator<UnityEngine.Vector2Int,UnityEngine.Vector2Int>
  42. // System.Collections.Generic.Dictionary.KeyCollection.Enumerator<UnityEngine.Vector2Int,object>
  43. // System.Collections.Generic.Dictionary.KeyCollection.Enumerator<object,UnityEngine.Vector2>
  44. // System.Collections.Generic.Dictionary.KeyCollection.Enumerator<object,UnityEngine.Vector3>
  45. // System.Collections.Generic.Dictionary.KeyCollection.Enumerator<object,object>
  46. // System.Collections.Generic.Dictionary.KeyCollection<UnityEngine.Vector2Int,UnityEngine.Vector2Int>
  47. // System.Collections.Generic.Dictionary.KeyCollection<UnityEngine.Vector2Int,object>
  48. // System.Collections.Generic.Dictionary.KeyCollection<object,UnityEngine.Vector2>
  49. // System.Collections.Generic.Dictionary.KeyCollection<object,UnityEngine.Vector3>
  50. // System.Collections.Generic.Dictionary.KeyCollection<object,object>
  51. // System.Collections.Generic.Dictionary.ValueCollection.Enumerator<UnityEngine.Vector2Int,UnityEngine.Vector2Int>
  52. // System.Collections.Generic.Dictionary.ValueCollection.Enumerator<UnityEngine.Vector2Int,object>
  53. // System.Collections.Generic.Dictionary.ValueCollection.Enumerator<object,UnityEngine.Vector2>
  54. // System.Collections.Generic.Dictionary.ValueCollection.Enumerator<object,UnityEngine.Vector3>
  55. // System.Collections.Generic.Dictionary.ValueCollection.Enumerator<object,object>
  56. // System.Collections.Generic.Dictionary.ValueCollection<UnityEngine.Vector2Int,UnityEngine.Vector2Int>
  57. // System.Collections.Generic.Dictionary.ValueCollection<UnityEngine.Vector2Int,object>
  58. // System.Collections.Generic.Dictionary.ValueCollection<object,UnityEngine.Vector2>
  59. // System.Collections.Generic.Dictionary.ValueCollection<object,UnityEngine.Vector3>
  60. // System.Collections.Generic.Dictionary.ValueCollection<object,object>
  61. // System.Collections.Generic.Dictionary<UnityEngine.Vector2Int,UnityEngine.Vector2Int>
  62. // System.Collections.Generic.Dictionary<UnityEngine.Vector2Int,object>
  63. // System.Collections.Generic.Dictionary<object,UnityEngine.Vector2>
  64. // System.Collections.Generic.Dictionary<object,UnityEngine.Vector3>
  65. // System.Collections.Generic.Dictionary<object,object>
  66. // System.Collections.Generic.EqualityComparer<UnityEngine.Vector2>
  67. // System.Collections.Generic.EqualityComparer<UnityEngine.Vector2Int>
  68. // System.Collections.Generic.EqualityComparer<UnityEngine.Vector3>
  69. // System.Collections.Generic.EqualityComparer<int>
  70. // System.Collections.Generic.EqualityComparer<object>
  71. // System.Collections.Generic.HashSet.Enumerator<UnityEngine.Vector2Int>
  72. // System.Collections.Generic.HashSet.Enumerator<object>
  73. // System.Collections.Generic.HashSet<UnityEngine.Vector2Int>
  74. // System.Collections.Generic.HashSet<object>
  75. // System.Collections.Generic.HashSetEqualityComparer<UnityEngine.Vector2Int>
  76. // System.Collections.Generic.HashSetEqualityComparer<object>
  77. // System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<UnityEngine.Vector2Int,UnityEngine.Vector2Int>>
  78. // System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<UnityEngine.Vector2Int,object>>
  79. // System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<object,UnityEngine.Vector2>>
  80. // System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<object,UnityEngine.Vector3>>
  81. // System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<object,object>>
  82. // System.Collections.Generic.ICollection<TowerDevil.BattleEffects.Effect>
  83. // System.Collections.Generic.ICollection<TowerDevil.TowerGame.Move>
  84. // System.Collections.Generic.ICollection<UnityEngine.Vector2Int>
  85. // System.Collections.Generic.ICollection<int>
  86. // System.Collections.Generic.ICollection<object>
  87. // System.Collections.Generic.IComparer<TowerDevil.BattleEffects.Effect>
  88. // System.Collections.Generic.IComparer<TowerDevil.TowerGame.Move>
  89. // System.Collections.Generic.IComparer<UnityEngine.Vector2Int>
  90. // System.Collections.Generic.IComparer<int>
  91. // System.Collections.Generic.IComparer<object>
  92. // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<UnityEngine.Vector2Int,UnityEngine.Vector2Int>>
  93. // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<UnityEngine.Vector2Int,object>>
  94. // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<object,UnityEngine.Vector2>>
  95. // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<object,UnityEngine.Vector3>>
  96. // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<object,object>>
  97. // System.Collections.Generic.IEnumerable<TowerDevil.BattleEffects.Effect>
  98. // System.Collections.Generic.IEnumerable<TowerDevil.TowerGame.Move>
  99. // System.Collections.Generic.IEnumerable<UnityEngine.Vector2Int>
  100. // System.Collections.Generic.IEnumerable<int>
  101. // System.Collections.Generic.IEnumerable<object>
  102. // System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<UnityEngine.Vector2Int,UnityEngine.Vector2Int>>
  103. // System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<UnityEngine.Vector2Int,object>>
  104. // System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<object,UnityEngine.Vector2>>
  105. // System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<object,UnityEngine.Vector3>>
  106. // System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<object,object>>
  107. // System.Collections.Generic.IEnumerator<TowerDevil.BattleEffects.Effect>
  108. // System.Collections.Generic.IEnumerator<TowerDevil.TowerGame.Move>
  109. // System.Collections.Generic.IEnumerator<UnityEngine.Vector2Int>
  110. // System.Collections.Generic.IEnumerator<int>
  111. // System.Collections.Generic.IEnumerator<object>
  112. // System.Collections.Generic.IEqualityComparer<UnityEngine.Vector2Int>
  113. // System.Collections.Generic.IEqualityComparer<object>
  114. // System.Collections.Generic.IList<TowerDevil.BattleEffects.Effect>
  115. // System.Collections.Generic.IList<TowerDevil.TowerGame.Move>
  116. // System.Collections.Generic.IList<UnityEngine.Vector2Int>
  117. // System.Collections.Generic.IList<int>
  118. // System.Collections.Generic.IList<object>
  119. // System.Collections.Generic.KeyValuePair<UnityEngine.Vector2Int,UnityEngine.Vector2Int>
  120. // System.Collections.Generic.KeyValuePair<UnityEngine.Vector2Int,object>
  121. // System.Collections.Generic.KeyValuePair<object,UnityEngine.Vector2>
  122. // System.Collections.Generic.KeyValuePair<object,UnityEngine.Vector3>
  123. // System.Collections.Generic.KeyValuePair<object,object>
  124. // System.Collections.Generic.List.Enumerator<TowerDevil.BattleEffects.Effect>
  125. // System.Collections.Generic.List.Enumerator<TowerDevil.TowerGame.Move>
  126. // System.Collections.Generic.List.Enumerator<UnityEngine.Vector2Int>
  127. // System.Collections.Generic.List.Enumerator<int>
  128. // System.Collections.Generic.List.Enumerator<object>
  129. // System.Collections.Generic.List<TowerDevil.BattleEffects.Effect>
  130. // System.Collections.Generic.List<TowerDevil.TowerGame.Move>
  131. // System.Collections.Generic.List<UnityEngine.Vector2Int>
  132. // System.Collections.Generic.List<int>
  133. // System.Collections.Generic.List<object>
  134. // System.Collections.Generic.ObjectComparer<TowerDevil.BattleEffects.Effect>
  135. // System.Collections.Generic.ObjectComparer<TowerDevil.TowerGame.Move>
  136. // System.Collections.Generic.ObjectComparer<UnityEngine.Vector2Int>
  137. // System.Collections.Generic.ObjectComparer<int>
  138. // System.Collections.Generic.ObjectComparer<object>
  139. // System.Collections.Generic.ObjectEqualityComparer<UnityEngine.Vector2>
  140. // System.Collections.Generic.ObjectEqualityComparer<UnityEngine.Vector2Int>
  141. // System.Collections.Generic.ObjectEqualityComparer<UnityEngine.Vector3>
  142. // System.Collections.Generic.ObjectEqualityComparer<int>
  143. // System.Collections.Generic.ObjectEqualityComparer<object>
  144. // System.Collections.Generic.Queue.Enumerator<object>
  145. // System.Collections.Generic.Queue<object>
  146. // System.Collections.ObjectModel.ReadOnlyCollection<TowerDevil.BattleEffects.Effect>
  147. // System.Collections.ObjectModel.ReadOnlyCollection<TowerDevil.TowerGame.Move>
  148. // System.Collections.ObjectModel.ReadOnlyCollection<UnityEngine.Vector2Int>
  149. // System.Collections.ObjectModel.ReadOnlyCollection<int>
  150. // System.Collections.ObjectModel.ReadOnlyCollection<object>
  151. // System.Comparison<TowerDevil.BattleEffects.Effect>
  152. // System.Comparison<TowerDevil.TowerGame.Move>
  153. // System.Comparison<UnityEngine.Vector2Int>
  154. // System.Comparison<int>
  155. // System.Comparison<object>
  156. // System.Func<byte>
  157. // System.Nullable<UnityEngine.Vector2Int>
  158. // System.Predicate<TowerDevil.BattleEffects.Effect>
  159. // System.Predicate<TowerDevil.TowerGame.Move>
  160. // System.Predicate<UnityEngine.Vector2Int>
  161. // System.Predicate<int>
  162. // System.Predicate<object>
  163. // System.ReadOnlySpan<ushort>
  164. // }}
  165. public void RefMethods()
  166. {
  167. // int System.Array.IndexOf<int>(int[],int)
  168. // int System.Array.IndexOfImpl<int>(int[],int,int,int)
  169. // System.Void System.Array.Resize<int>(int[]&,int)
  170. // object& System.Runtime.CompilerServices.Unsafe.As<object,object>(object&)
  171. // System.Void* System.Runtime.CompilerServices.Unsafe.AsPointer<object>(object&)
  172. // object UnityEngine.GameObject.AddComponent<object>()
  173. // object UnityEngine.GameObject.GetComponent<object>()
  174. // object UnityEngine.JsonUtility.FromJson<object>(string)
  175. // object UnityEngine.Object.FindFirstObjectByType<object>()
  176. // object[] UnityEngine.Resources.ConvertObjects<object>(UnityEngine.Object[])
  177. // object UnityEngine.Resources.GetBuiltinResource<object>(string)
  178. // object UnityEngine.Resources.Load<object>(string)
  179. // object[] UnityEngine.Resources.LoadAll<object>(string)
  180. }
  181. }