RimWorld

RimWorld

Giver
循环报错
System.TypeInitializationException: The type initializer for 'seekiworks_GiverTheColonyHelper.Patch_RimTunes' threw an exception. ---> System.ArgumentException: method arguments are incompatible
[Ref 73B2C9A3]
at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, System.Boolean throwOnBindFailure, System.Boolean allowClosed) [0x002e3] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method, System.Boolean throwOnBindFailure) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at HarmonyLib.AccessTools.MethodDelegate[DelegateType] (System.Reflection.MethodInfo method, System.Object instance, System.Boolean virtualCall, System.Type[] delegateArgs) [0x00021] in <8124cc12bdf242eab0a5f7e7edecf387>:0
<0x19e3abd2c40 + 0x009da> <unknown method>
--- End of inner exception stack trace ---
[Ref 6A50A0E1]
at MusicManager.MusicManager.Next () [0x0000e] in <ed282140acf040b6b9adf1fd9ce6d7ee>:0
- PREFIX GiverTheColonyHelperForRimTunes_Patch.HarmonyPatch: Boolean seekiworks_GiverTheColonyHelper.Patch_RimTunes:Next_Prefix()
at MusicManager.Utilities.DrawButton (UnityEngine.Rect canvas, UnityEngine.Texture icon, System.Action action, System.Nullable`1[T] iconSize) [0x0000a] in <ed282140acf040b6b9adf1fd9ce6d7ee>:0
at MusicManager.UI.Components.Elements.PlayerControls.Draw (UnityEngine.Rect canvas) [0x0003b] in <ed282140acf040b6b9adf1fd9ce6d7ee>:0
at MusicManager.UI.MusicOverlayWidget.Draw () [0x00168] in <ed282140acf040b6b9adf1fd9ce6d7ee>:0
at MusicManager.UI.MusicOverlay.Draw () [0x00005] in <ed282140acf040b6b9adf1fd9ce6d7ee>:0
at MusicManager.GameComp_MusicManager.GameComponentOnGUI () [0x00000] in <ed282140acf040b6b9adf1fd9ce6d7ee>:0
at Verse.GameComponentUtility.GameComponentOnGUI () [0x00017] in <cb53cd4422904947932d33f561ad8d15>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.GameComponentUtility:GameComponentOnGUI ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.UIRoot.UIRootOnGUI_Patch3 (Verse.UIRoot)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.UIRoot_Play.UIRootOnGUI_Patch1 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch2 (Verse.Root)