Decompiled source of RM ModPack v1.2.0
BepInEx/plugins/MMHOOK/MMHOOK_assembly_googleanalytics.dll
Decompiled 4 months ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.ComponentModel; using System.Reflection; using System.Runtime.InteropServices; using MonoMod.Cil; using MonoMod.RuntimeDetour.HookGen; using On; using UnityEngine; [assembly: AssemblyVersion("0.0.0.0")] namespace On { public static class AdvertiserOptInAttribute { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(AdvertiserOptInAttribute self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, AdvertiserOptInAttribute self); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class AdvertiserOptInAttribute { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.AdvertiserOptInAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.AdvertiserOptInAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class RangedTooltipAttribute { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(RangedTooltipAttribute self, string text, float min, float max); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, RangedTooltipAttribute self, string text, float min, float max); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class RangedTooltipAttribute { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.RangedTooltipAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.RangedTooltipAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class TooltipAttribute { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(TooltipAttribute self, string text); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, TooltipAttribute self, string text); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class TooltipAttribute { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.TooltipAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.TooltipAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class Field { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Field self, string parameter); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Field self, string parameter); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_ToString(Field self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_ToString(orig_ToString orig, Field self); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public new static event hook_ToString ToString { add { HookEndpointManager.Add<hook_ToString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ToString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class Field { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Field.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Field.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public new static event Manipulator ToString { add { HookEndpointManager.Modify<On.Field.hook_ToString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Field.hook_ToString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class Fields { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Fields self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Fields self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class Fields { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Fields.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Fields.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator cctor { add { HookEndpointManager.Modify<On.Fields.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Fields.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class GAIHandler { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GAIHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GAIHandler self); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class GAIHandler { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.GAIHandler.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GAIHandler.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class GoogleAnalyticsAndroidV4 { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Dispose(GoogleAnalyticsAndroidV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Dispose(orig_Dispose orig, GoogleAnalyticsAndroidV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GoogleAnalyticsAndroidV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GoogleAnalyticsAndroidV4 self); public static event hook_Dispose Dispose { add { HookEndpointManager.Add<hook_Dispose>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Dispose>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class GoogleAnalyticsAndroidV4 { public static event Manipulator Dispose { add { HookEndpointManager.Modify<On.GoogleAnalyticsAndroidV4.hook_Dispose>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsAndroidV4.hook_Dispose>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.GoogleAnalyticsAndroidV4.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsAndroidV4.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class GoogleAnalyticsiOSV3 { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GoogleAnalyticsiOSV3 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GoogleAnalyticsiOSV3 self); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class GoogleAnalyticsiOSV3 { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.GoogleAnalyticsiOSV3.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsiOSV3.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class GoogleAnalyticsMPV3 { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_InitializeTracker(GoogleAnalyticsMPV3 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_InitializeTracker(orig_InitializeTracker orig, GoogleAnalyticsMPV3 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetTrackerVal(GoogleAnalyticsMPV3 self, Field field, object value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetTrackerVal(orig_SetTrackerVal orig, GoogleAnalyticsMPV3 self, Field field, object value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_AddTrackerVals(GoogleAnalyticsMPV3 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_AddTrackerVals(orig_AddTrackerVals orig, GoogleAnalyticsMPV3 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_StartSession(GoogleAnalyticsMPV3 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_StartSession(orig_StartSession orig, GoogleAnalyticsMPV3 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_StopSession(GoogleAnalyticsMPV3 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_StopSession(orig_StopSession orig, GoogleAnalyticsMPV3 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SendGaHitWithMeasurementProtocol(GoogleAnalyticsMPV3 self, string url); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SendGaHitWithMeasurementProtocol(orig_SendGaHitWithMeasurementProtocol orig, GoogleAnalyticsMPV3 self, string url); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IEnumerator orig_HandleWWW(GoogleAnalyticsMPV3 self, WWW request); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IEnumerator hook_HandleWWW(orig_HandleWWW orig, GoogleAnalyticsMPV3 self, WWW request); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_AddRequiredMPParameter_Field_object(GoogleAnalyticsMPV3 self, Field parameter, object value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_AddRequiredMPParameter_Field_object(orig_AddRequiredMPParameter_Field_object orig, GoogleAnalyticsMPV3 self, Field parameter, object value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_AddRequiredMPParameter_Field_string(GoogleAnalyticsMPV3 self, Field parameter, string value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_AddRequiredMPParameter_Field_string(orig_AddRequiredMPParameter_Field_string orig, GoogleAnalyticsMPV3 self, Field parameter, string value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_AddOptionalMPParameter_Field_object(GoogleAnalyticsMPV3 self, Field parameter, object value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_AddOptionalMPParameter_Field_object(orig_AddOptionalMPParameter_Field_object orig, GoogleAnalyticsMPV3 self, Field parameter, object value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_AddOptionalMPParameter_Field_string(GoogleAnalyticsMPV3 self, Field parameter, string value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_AddOptionalMPParameter_Field_string(orig_AddOptionalMPParameter_Field_string orig, GoogleAnalyticsMPV3 self, Field parameter, string value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogScreen(GoogleAnalyticsMPV3 self, AppViewHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogScreen(orig_LogScreen orig, GoogleAnalyticsMPV3 self, AppViewHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogEvent(GoogleAnalyticsMPV3 self, EventHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogEvent(orig_LogEvent orig, GoogleAnalyticsMPV3 self, EventHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogTransaction(GoogleAnalyticsMPV3 self, TransactionHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogTransaction(orig_LogTransaction orig, GoogleAnalyticsMPV3 self, TransactionHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogItem(GoogleAnalyticsMPV3 self, ItemHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogItem(orig_LogItem orig, GoogleAnalyticsMPV3 self, ItemHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogException(GoogleAnalyticsMPV3 self, ExceptionHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogException(orig_LogException orig, GoogleAnalyticsMPV3 self, ExceptionHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogSocial(GoogleAnalyticsMPV3 self, SocialHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogSocial(orig_LogSocial orig, GoogleAnalyticsMPV3 self, SocialHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogTiming(GoogleAnalyticsMPV3 self, TimingHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogTiming(orig_LogTiming orig, GoogleAnalyticsMPV3 self, TimingHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ClearUserIDOverride(GoogleAnalyticsMPV3 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ClearUserIDOverride(orig_ClearUserIDOverride orig, GoogleAnalyticsMPV3 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetTrackingCode(GoogleAnalyticsMPV3 self, string trackingCode); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetTrackingCode(orig_SetTrackingCode orig, GoogleAnalyticsMPV3 self, string trackingCode); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetBundleIdentifier(GoogleAnalyticsMPV3 self, string bundleIdentifier); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetBundleIdentifier(orig_SetBundleIdentifier orig, GoogleAnalyticsMPV3 self, string bundleIdentifier); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetAppName(GoogleAnalyticsMPV3 self, string appName); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetAppName(orig_SetAppName orig, GoogleAnalyticsMPV3 self, string appName); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetAppVersion(GoogleAnalyticsMPV3 self, string appVersion); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetAppVersion(orig_SetAppVersion orig, GoogleAnalyticsMPV3 self, string appVersion); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetLogLevelValue(GoogleAnalyticsMPV3 self, DebugMode logLevel); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetLogLevelValue(orig_SetLogLevelValue orig, GoogleAnalyticsMPV3 self, DebugMode logLevel); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetAnonymizeIP(GoogleAnalyticsMPV3 self, bool anonymizeIP); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetAnonymizeIP(orig_SetAnonymizeIP orig, GoogleAnalyticsMPV3 self, bool anonymizeIP); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetDryRun(GoogleAnalyticsMPV3 self, bool dryRun); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetDryRun(orig_SetDryRun orig, GoogleAnalyticsMPV3 self, bool dryRun); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetOptOut(GoogleAnalyticsMPV3 self, bool optOut); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetOptOut(orig_SetOptOut orig, GoogleAnalyticsMPV3 self, bool optOut); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GoogleAnalyticsMPV3 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GoogleAnalyticsMPV3 self); public static event hook_InitializeTracker InitializeTracker { add { HookEndpointManager.Add<hook_InitializeTracker>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_InitializeTracker>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetTrackerVal SetTrackerVal { add { HookEndpointManager.Add<hook_SetTrackerVal>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetTrackerVal>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_AddTrackerVals AddTrackerVals { add { HookEndpointManager.Add<hook_AddTrackerVals>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_AddTrackerVals>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_StartSession StartSession { add { HookEndpointManager.Add<hook_StartSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_StartSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_StopSession StopSession { add { HookEndpointManager.Add<hook_StopSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_StopSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SendGaHitWithMeasurementProtocol SendGaHitWithMeasurementProtocol { add { HookEndpointManager.Add<hook_SendGaHitWithMeasurementProtocol>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SendGaHitWithMeasurementProtocol>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_HandleWWW HandleWWW { add { HookEndpointManager.Add<hook_HandleWWW>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_HandleWWW>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_AddRequiredMPParameter_Field_object AddRequiredMPParameter_Field_object { add { HookEndpointManager.Add<hook_AddRequiredMPParameter_Field_object>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_AddRequiredMPParameter_Field_object>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_AddRequiredMPParameter_Field_string AddRequiredMPParameter_Field_string { add { HookEndpointManager.Add<hook_AddRequiredMPParameter_Field_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_AddRequiredMPParameter_Field_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_AddOptionalMPParameter_Field_object AddOptionalMPParameter_Field_object { add { HookEndpointManager.Add<hook_AddOptionalMPParameter_Field_object>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_AddOptionalMPParameter_Field_object>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_AddOptionalMPParameter_Field_string AddOptionalMPParameter_Field_string { add { HookEndpointManager.Add<hook_AddOptionalMPParameter_Field_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_AddOptionalMPParameter_Field_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogScreen LogScreen { add { HookEndpointManager.Add<hook_LogScreen>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogScreen>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogEvent LogEvent { add { HookEndpointManager.Add<hook_LogEvent>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogEvent>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogTransaction LogTransaction { add { HookEndpointManager.Add<hook_LogTransaction>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogTransaction>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogItem LogItem { add { HookEndpointManager.Add<hook_LogItem>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogItem>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogException LogException { add { HookEndpointManager.Add<hook_LogException>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogException>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogSocial LogSocial { add { HookEndpointManager.Add<hook_LogSocial>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogSocial>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogTiming LogTiming { add { HookEndpointManager.Add<hook_LogTiming>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogTiming>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ClearUserIDOverride ClearUserIDOverride { add { HookEndpointManager.Add<hook_ClearUserIDOverride>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ClearUserIDOverride>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetTrackingCode SetTrackingCode { add { HookEndpointManager.Add<hook_SetTrackingCode>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetTrackingCode>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetBundleIdentifier SetBundleIdentifier { add { HookEndpointManager.Add<hook_SetBundleIdentifier>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetBundleIdentifier>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetAppName SetAppName { add { HookEndpointManager.Add<hook_SetAppName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetAppName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetAppVersion SetAppVersion { add { HookEndpointManager.Add<hook_SetAppVersion>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetAppVersion>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetLogLevelValue SetLogLevelValue { add { HookEndpointManager.Add<hook_SetLogLevelValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetLogLevelValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetAnonymizeIP SetAnonymizeIP { add { HookEndpointManager.Add<hook_SetAnonymizeIP>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetAnonymizeIP>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetDryRun SetDryRun { add { HookEndpointManager.Add<hook_SetDryRun>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetDryRun>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetOptOut SetOptOut { add { HookEndpointManager.Add<hook_SetOptOut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetOptOut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class GoogleAnalyticsMPV3 { public static event Manipulator InitializeTracker { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_InitializeTracker>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_InitializeTracker>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetTrackerVal { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_SetTrackerVal>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_SetTrackerVal>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator AddTrackerVals { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_AddTrackerVals>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_AddTrackerVals>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator StartSession { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_StartSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_StartSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator StopSession { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_StopSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_StopSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SendGaHitWithMeasurementProtocol { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_SendGaHitWithMeasurementProtocol>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_SendGaHitWithMeasurementProtocol>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator HandleWWW { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_HandleWWW>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_HandleWWW>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator AddRequiredMPParameter_Field_object { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_AddRequiredMPParameter_Field_object>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_AddRequiredMPParameter_Field_object>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator AddRequiredMPParameter_Field_string { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_AddRequiredMPParameter_Field_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_AddRequiredMPParameter_Field_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator AddOptionalMPParameter_Field_object { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_AddOptionalMPParameter_Field_object>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_AddOptionalMPParameter_Field_object>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator AddOptionalMPParameter_Field_string { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_AddOptionalMPParameter_Field_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_AddOptionalMPParameter_Field_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogScreen { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_LogScreen>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_LogScreen>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogEvent { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_LogEvent>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_LogEvent>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogTransaction { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_LogTransaction>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_LogTransaction>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogItem { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_LogItem>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_LogItem>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogException { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_LogException>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_LogException>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogSocial { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_LogSocial>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_LogSocial>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogTiming { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_LogTiming>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_LogTiming>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ClearUserIDOverride { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_ClearUserIDOverride>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_ClearUserIDOverride>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetTrackingCode { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_SetTrackingCode>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_SetTrackingCode>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetBundleIdentifier { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_SetBundleIdentifier>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_SetBundleIdentifier>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetAppName { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_SetAppName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_SetAppName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetAppVersion { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_SetAppVersion>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_SetAppVersion>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetLogLevelValue { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_SetLogLevelValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_SetLogLevelValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetAnonymizeIP { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_SetAnonymizeIP>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_SetAnonymizeIP>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetDryRun { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_SetDryRun>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_SetDryRun>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetOptOut { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_SetOptOut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_SetOptOut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.GoogleAnalyticsMPV3.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsMPV3.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class GoogleAnalyticsV4 { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_HandleException(GoogleAnalyticsV4 self, string condition, string stackTrace, LogType type); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_HandleException(orig_HandleException orig, GoogleAnalyticsV4 self, string condition, string stackTrace, LogType type); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_InitializeTracker(GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_InitializeTracker(orig_InitializeTracker orig, GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetAppLevelOptOut(GoogleAnalyticsV4 self, bool optOut); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetAppLevelOptOut(orig_SetAppLevelOptOut orig, GoogleAnalyticsV4 self, bool optOut); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetUserIDOverride(GoogleAnalyticsV4 self, string userID); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetUserIDOverride(orig_SetUserIDOverride orig, GoogleAnalyticsV4 self, string userID); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ClearUserIDOverride(GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ClearUserIDOverride(orig_ClearUserIDOverride orig, GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_DispatchHits(GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_DispatchHits(orig_DispatchHits orig, GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_StartSession(GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_StartSession(orig_StartSession orig, GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_StopSession(GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_StopSession(orig_StopSession orig, GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetOnTracker(GoogleAnalyticsV4 self, Field fieldName, object value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetOnTracker(orig_SetOnTracker orig, GoogleAnalyticsV4 self, Field fieldName, object value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogScreen_string(GoogleAnalyticsV4 self, string title); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogScreen_string(orig_LogScreen_string orig, GoogleAnalyticsV4 self, string title); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogScreen_AppViewHitBuilder(GoogleAnalyticsV4 self, AppViewHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogScreen_AppViewHitBuilder(orig_LogScreen_AppViewHitBuilder orig, GoogleAnalyticsV4 self, AppViewHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogEvent_string_string_string_long(GoogleAnalyticsV4 self, string eventCategory, string eventAction, string eventLabel, long value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogEvent_string_string_string_long(orig_LogEvent_string_string_string_long orig, GoogleAnalyticsV4 self, string eventCategory, string eventAction, string eventLabel, long value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogEvent_EventHitBuilder(GoogleAnalyticsV4 self, EventHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogEvent_EventHitBuilder(orig_LogEvent_EventHitBuilder orig, GoogleAnalyticsV4 self, EventHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogTransaction_string_string_double_double_double(GoogleAnalyticsV4 self, string transID, string affiliation, double revenue, double tax, double shipping); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogTransaction_string_string_double_double_double(orig_LogTransaction_string_string_double_double_double orig, GoogleAnalyticsV4 self, string transID, string affiliation, double revenue, double tax, double shipping); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogTransaction_string_string_double_double_double_string(GoogleAnalyticsV4 self, string transID, string affiliation, double revenue, double tax, double shipping, string currencyCode); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogTransaction_string_string_double_double_double_string(orig_LogTransaction_string_string_double_double_double_string orig, GoogleAnalyticsV4 self, string transID, string affiliation, double revenue, double tax, double shipping, string currencyCode); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogTransaction_TransactionHitBuilder(GoogleAnalyticsV4 self, TransactionHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogTransaction_TransactionHitBuilder(orig_LogTransaction_TransactionHitBuilder orig, GoogleAnalyticsV4 self, TransactionHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogItem_string_string_string_string_double_long(GoogleAnalyticsV4 self, string transID, string name, string sku, string category, double price, long quantity); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogItem_string_string_string_string_double_long(orig_LogItem_string_string_string_string_double_long orig, GoogleAnalyticsV4 self, string transID, string name, string sku, string category, double price, long quantity); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogItem_string_string_string_string_double_long_string(GoogleAnalyticsV4 self, string transID, string name, string sku, string category, double price, long quantity, string currencyCode); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogItem_string_string_string_string_double_long_string(orig_LogItem_string_string_string_string_double_long_string orig, GoogleAnalyticsV4 self, string transID, string name, string sku, string category, double price, long quantity, string currencyCode); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogItem_ItemHitBuilder(GoogleAnalyticsV4 self, ItemHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogItem_ItemHitBuilder(orig_LogItem_ItemHitBuilder orig, GoogleAnalyticsV4 self, ItemHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogException_string_bool(GoogleAnalyticsV4 self, string exceptionDescription, bool isFatal); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogException_string_bool(orig_LogException_string_bool orig, GoogleAnalyticsV4 self, string exceptionDescription, bool isFatal); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogException_ExceptionHitBuilder(GoogleAnalyticsV4 self, ExceptionHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogException_ExceptionHitBuilder(orig_LogException_ExceptionHitBuilder orig, GoogleAnalyticsV4 self, ExceptionHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogSocial_string_string_string(GoogleAnalyticsV4 self, string socialNetwork, string socialAction, string socialTarget); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogSocial_string_string_string(orig_LogSocial_string_string_string orig, GoogleAnalyticsV4 self, string socialNetwork, string socialAction, string socialTarget); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogSocial_SocialHitBuilder(GoogleAnalyticsV4 self, SocialHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogSocial_SocialHitBuilder(orig_LogSocial_SocialHitBuilder orig, GoogleAnalyticsV4 self, SocialHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogTiming_string_long_string_string(GoogleAnalyticsV4 self, string timingCategory, long timingInterval, string timingName, string timingLabel); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogTiming_string_long_string_string(orig_LogTiming_string_long_string_string orig, GoogleAnalyticsV4 self, string timingCategory, long timingInterval, string timingName, string timingLabel); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LogTiming_TimingHitBuilder(GoogleAnalyticsV4 self, TimingHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LogTiming_TimingHitBuilder(orig_LogTiming_TimingHitBuilder orig, GoogleAnalyticsV4 self, TimingHitBuilder builder); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Dispose(GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Dispose(orig_Dispose orig, GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_belowThreshold(DebugMode userLogLevel, DebugMode comparelogLevel); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_belowThreshold(orig_belowThreshold orig, DebugMode userLogLevel, DebugMode comparelogLevel); [EditorBrowsable(EditorBrowsableState.Never)] public delegate GoogleAnalyticsV4 orig_getInstance(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate GoogleAnalyticsV4 hook_getInstance(orig_getInstance orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GoogleAnalyticsV4 self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_Awake Awake { add { HookEndpointManager.Add<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_HandleException HandleException { add { HookEndpointManager.Add<hook_HandleException>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_HandleException>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_InitializeTracker InitializeTracker { add { HookEndpointManager.Add<hook_InitializeTracker>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_InitializeTracker>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetAppLevelOptOut SetAppLevelOptOut { add { HookEndpointManager.Add<hook_SetAppLevelOptOut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetAppLevelOptOut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetUserIDOverride SetUserIDOverride { add { HookEndpointManager.Add<hook_SetUserIDOverride>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetUserIDOverride>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ClearUserIDOverride ClearUserIDOverride { add { HookEndpointManager.Add<hook_ClearUserIDOverride>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ClearUserIDOverride>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_DispatchHits DispatchHits { add { HookEndpointManager.Add<hook_DispatchHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_DispatchHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_StartSession StartSession { add { HookEndpointManager.Add<hook_StartSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_StartSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_StopSession StopSession { add { HookEndpointManager.Add<hook_StopSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_StopSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetOnTracker SetOnTracker { add { HookEndpointManager.Add<hook_SetOnTracker>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetOnTracker>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogScreen_string LogScreen_string { add { HookEndpointManager.Add<hook_LogScreen_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogScreen_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogScreen_AppViewHitBuilder LogScreen_AppViewHitBuilder { add { HookEndpointManager.Add<hook_LogScreen_AppViewHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogScreen_AppViewHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogEvent_string_string_string_long LogEvent_string_string_string_long { add { HookEndpointManager.Add<hook_LogEvent_string_string_string_long>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogEvent_string_string_string_long>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogEvent_EventHitBuilder LogEvent_EventHitBuilder { add { HookEndpointManager.Add<hook_LogEvent_EventHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogEvent_EventHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogTransaction_string_string_double_double_double LogTransaction_string_string_double_double_double { add { HookEndpointManager.Add<hook_LogTransaction_string_string_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogTransaction_string_string_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogTransaction_string_string_double_double_double_string LogTransaction_string_string_double_double_double_string { add { HookEndpointManager.Add<hook_LogTransaction_string_string_double_double_double_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogTransaction_string_string_double_double_double_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogTransaction_TransactionHitBuilder LogTransaction_TransactionHitBuilder { add { HookEndpointManager.Add<hook_LogTransaction_TransactionHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogTransaction_TransactionHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogItem_string_string_string_string_double_long LogItem_string_string_string_string_double_long { add { HookEndpointManager.Add<hook_LogItem_string_string_string_string_double_long>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogItem_string_string_string_string_double_long>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogItem_string_string_string_string_double_long_string LogItem_string_string_string_string_double_long_string { add { HookEndpointManager.Add<hook_LogItem_string_string_string_string_double_long_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogItem_string_string_string_string_double_long_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogItem_ItemHitBuilder LogItem_ItemHitBuilder { add { HookEndpointManager.Add<hook_LogItem_ItemHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogItem_ItemHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogException_string_bool LogException_string_bool { add { HookEndpointManager.Add<hook_LogException_string_bool>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogException_string_bool>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogException_ExceptionHitBuilder LogException_ExceptionHitBuilder { add { HookEndpointManager.Add<hook_LogException_ExceptionHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogException_ExceptionHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogSocial_string_string_string LogSocial_string_string_string { add { HookEndpointManager.Add<hook_LogSocial_string_string_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogSocial_string_string_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogSocial_SocialHitBuilder LogSocial_SocialHitBuilder { add { HookEndpointManager.Add<hook_LogSocial_SocialHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogSocial_SocialHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogTiming_string_long_string_string LogTiming_string_long_string_string { add { HookEndpointManager.Add<hook_LogTiming_string_long_string_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogTiming_string_long_string_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LogTiming_TimingHitBuilder LogTiming_TimingHitBuilder { add { HookEndpointManager.Add<hook_LogTiming_TimingHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LogTiming_TimingHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Dispose Dispose { add { HookEndpointManager.Add<hook_Dispose>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Dispose>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_belowThreshold belowThreshold { add { HookEndpointManager.Add<hook_belowThreshold>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_belowThreshold>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_getInstance getInstance { add { HookEndpointManager.Add<hook_getInstance>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_getInstance>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class GoogleAnalyticsV4 { public static event Manipulator Awake { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator HandleException { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_HandleException>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_HandleException>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator InitializeTracker { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_InitializeTracker>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_InitializeTracker>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetAppLevelOptOut { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_SetAppLevelOptOut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_SetAppLevelOptOut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetUserIDOverride { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_SetUserIDOverride>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_SetUserIDOverride>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ClearUserIDOverride { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_ClearUserIDOverride>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_ClearUserIDOverride>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator DispatchHits { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_DispatchHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_DispatchHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator StartSession { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_StartSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_StartSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator StopSession { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_StopSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_StopSession>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetOnTracker { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_SetOnTracker>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_SetOnTracker>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogScreen_string { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogScreen_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogScreen_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogScreen_AppViewHitBuilder { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogScreen_AppViewHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogScreen_AppViewHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogEvent_string_string_string_long { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogEvent_string_string_string_long>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogEvent_string_string_string_long>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogEvent_EventHitBuilder { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogEvent_EventHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogEvent_EventHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogTransaction_string_string_double_double_double { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogTransaction_string_string_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogTransaction_string_string_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogTransaction_string_string_double_double_double_string { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogTransaction_string_string_double_double_double_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogTransaction_string_string_double_double_double_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogTransaction_TransactionHitBuilder { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogTransaction_TransactionHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogTransaction_TransactionHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogItem_string_string_string_string_double_long { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogItem_string_string_string_string_double_long>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogItem_string_string_string_string_double_long>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogItem_string_string_string_string_double_long_string { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogItem_string_string_string_string_double_long_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogItem_string_string_string_string_double_long_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogItem_ItemHitBuilder { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogItem_ItemHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogItem_ItemHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogException_string_bool { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogException_string_bool>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogException_string_bool>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogException_ExceptionHitBuilder { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogException_ExceptionHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogException_ExceptionHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogSocial_string_string_string { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogSocial_string_string_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogSocial_string_string_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogSocial_SocialHitBuilder { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogSocial_SocialHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogSocial_SocialHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogTiming_string_long_string_string { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogTiming_string_long_string_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogTiming_string_long_string_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LogTiming_TimingHitBuilder { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_LogTiming_TimingHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_LogTiming_TimingHitBuilder>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Dispose { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_Dispose>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_Dispose>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator belowThreshold { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_belowThreshold>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_belowThreshold>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator getInstance { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_getInstance>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_getInstance>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator cctor { add { HookEndpointManager.Modify<On.GoogleAnalyticsV4.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GoogleAnalyticsV4.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class AppViewHitBuilder { [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetScreenName(AppViewHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetScreenName(orig_GetScreenName orig, AppViewHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate AppViewHitBuilder orig_SetScreenName(AppViewHitBuilder self, string screenName); [EditorBrowsable(EditorBrowsableState.Never)] public delegate AppViewHitBuilder hook_SetScreenName(orig_SetScreenName orig, AppViewHitBuilder self, string screenName); [EditorBrowsable(EditorBrowsableState.Never)] public delegate AppViewHitBuilder orig_GetThis(AppViewHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate AppViewHitBuilder hook_GetThis(orig_GetThis orig, AppViewHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate AppViewHitBuilder orig_Validate(AppViewHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate AppViewHitBuilder hook_Validate(orig_Validate orig, AppViewHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(AppViewHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, AppViewHitBuilder self); public static event hook_GetScreenName GetScreenName { add { HookEndpointManager.Add<hook_GetScreenName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetScreenName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetScreenName SetScreenName { add { HookEndpointManager.Add<hook_SetScreenName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetScreenName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetThis GetThis { add { HookEndpointManager.Add<hook_GetThis>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetThis>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Validate Validate { add { HookEndpointManager.Add<hook_Validate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Validate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class AppViewHitBuilder { public static event Manipulator GetScreenName { add { HookEndpointManager.Modify<On.AppViewHitBuilder.hook_GetScreenName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.AppViewHitBuilder.hook_GetScreenName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetScreenName { add { HookEndpointManager.Modify<On.AppViewHitBuilder.hook_SetScreenName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.AppViewHitBuilder.hook_SetScreenName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetThis { add { HookEndpointManager.Modify<On.AppViewHitBuilder.hook_GetThis>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.AppViewHitBuilder.hook_GetThis>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Validate { add { HookEndpointManager.Modify<On.AppViewHitBuilder.hook_Validate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.AppViewHitBuilder.hook_Validate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.AppViewHitBuilder.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.AppViewHitBuilder.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class EventHitBuilder { [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetEventCategory(EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetEventCategory(orig_GetEventCategory orig, EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate EventHitBuilder orig_SetEventCategory(EventHitBuilder self, string eventCategory); [EditorBrowsable(EditorBrowsableState.Never)] public delegate EventHitBuilder hook_SetEventCategory(orig_SetEventCategory orig, EventHitBuilder self, string eventCategory); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetEventAction(EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetEventAction(orig_GetEventAction orig, EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate EventHitBuilder orig_SetEventAction(EventHitBuilder self, string eventAction); [EditorBrowsable(EditorBrowsableState.Never)] public delegate EventHitBuilder hook_SetEventAction(orig_SetEventAction orig, EventHitBuilder self, string eventAction); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetEventLabel(EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetEventLabel(orig_GetEventLabel orig, EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate EventHitBuilder orig_SetEventLabel(EventHitBuilder self, string eventLabel); [EditorBrowsable(EditorBrowsableState.Never)] public delegate EventHitBuilder hook_SetEventLabel(orig_SetEventLabel orig, EventHitBuilder self, string eventLabel); [EditorBrowsable(EditorBrowsableState.Never)] public delegate long orig_GetEventValue(EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate long hook_GetEventValue(orig_GetEventValue orig, EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate EventHitBuilder orig_SetEventValue(EventHitBuilder self, long eventValue); [EditorBrowsable(EditorBrowsableState.Never)] public delegate EventHitBuilder hook_SetEventValue(orig_SetEventValue orig, EventHitBuilder self, long eventValue); [EditorBrowsable(EditorBrowsableState.Never)] public delegate EventHitBuilder orig_GetThis(EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate EventHitBuilder hook_GetThis(orig_GetThis orig, EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate EventHitBuilder orig_Validate(EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate EventHitBuilder hook_Validate(orig_Validate orig, EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(EventHitBuilder self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, EventHitBuilder self); public static event hook_GetEventCategory GetEventCategory { add { HookEndpointManager.Add<hook_GetEventCategory>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetEventCategory>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetEventCategory SetEventCategory { add { HookEndpointManager.Add<hook_SetEventCategory>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetEventCategory>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetEventAction GetEventAction { add { HookEndpointManager.Add<hook_GetEventAction>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetEventAction>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetEventAction SetEventAction { add { HookEndpointManager.Add<hook_SetEventAction>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetEventAction>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetEventLabel GetEventLabel { add { HookEndpointManager.Add<hook_GetEventLabel>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetEventLabel>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetEventLabel SetEventLabel { add { HookEndpointManager.Add<hook_SetEventLabel>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetEventLabel>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetEventValue GetEventValue { add { HookEndpointManager.Add<hook_GetEventValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetEventValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetEventValue SetEventValue { add { HookEndpointManager.Add<hook_SetEventValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetEventValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value);
BepInEx/plugins/MMHOOK/MMHOOK_assembly_guiutils.dll
Decompiled 4 months ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using MonoMod.Cil; using MonoMod.RuntimeDetour.HookGen; using On; using TMPro; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; [assembly: AssemblyVersion("0.0.0.0")] namespace On { public static class AlphaMotion { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(AlphaMotion self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, AlphaMotion self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(AlphaMotion self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, AlphaMotion self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(AlphaMotion self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, AlphaMotion self); public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class AlphaMotion { public static event Manipulator Start { add { HookEndpointManager.Modify<On.AlphaMotion.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.AlphaMotion.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.AlphaMotion.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.AlphaMotion.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.AlphaMotion.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.AlphaMotion.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class ButtonImageColor { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(ButtonImageColor self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, ButtonImageColor self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(ButtonImageColor self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, ButtonImageColor self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ButtonImageColor self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ButtonImageColor self); public static event hook_Awake Awake { add { HookEndpointManager.Add<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class ButtonImageColor { public static event Manipulator Awake { add { HookEndpointManager.Modify<On.ButtonImageColor.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ButtonImageColor.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.ButtonImageColor.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ButtonImageColor.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.ButtonImageColor.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ButtonImageColor.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class ButtonSfx { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(ButtonSfx self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, ButtonSfx self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnClick(ButtonSfx self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnClick(orig_OnClick orig, ButtonSfx self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnChange(ButtonSfx self, bool v); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnChange(orig_OnChange orig, ButtonSfx self, bool v); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnSelect(ButtonSfx self, BaseEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnSelect(orig_OnSelect orig, ButtonSfx self, BaseEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ButtonSfx self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ButtonSfx self); public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnClick OnClick { add { HookEndpointManager.Add<hook_OnClick>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnClick>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnChange OnChange { add { HookEndpointManager.Add<hook_OnChange>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnChange>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnSelect OnSelect { add { HookEndpointManager.Add<hook_OnSelect>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnSelect>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class ButtonSfx { public static event Manipulator Start { add { HookEndpointManager.Modify<On.ButtonSfx.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ButtonSfx.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnClick { add { HookEndpointManager.Modify<On.ButtonSfx.hook_OnClick>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ButtonSfx.hook_OnClick>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnChange { add { HookEndpointManager.Modify<On.ButtonSfx.hook_OnChange>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ButtonSfx.hook_OnChange>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnSelect { add { HookEndpointManager.Modify<On.ButtonSfx.hook_OnSelect>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ButtonSfx.hook_OnSelect>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.ButtonSfx.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ButtonSfx.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class ButtonTextColor { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(ButtonTextColor self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, ButtonTextColor self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(ButtonTextColor self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, ButtonTextColor self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ButtonTextColor self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ButtonTextColor self); public static event hook_Awake Awake { add { HookEndpointManager.Add<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class ButtonTextColor { public static event Manipulator Awake { add { HookEndpointManager.Modify<On.ButtonTextColor.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ButtonTextColor.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.ButtonTextColor.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ButtonTextColor.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.ButtonTextColor.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ButtonTextColor.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class GuiBar { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnEnable(GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnEnable(orig_OnEnable orig, GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetWidth(GuiBar self, float width); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetWidth(orig_SetWidth orig, GuiBar self, float width); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetValue(GuiBar self, float value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetValue(orig_SetValue orig, GuiBar self, float value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_GetSmoothValue(GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_GetSmoothValue(orig_GetSmoothValue orig, GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetMaxValue(GuiBar self, float value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetMaxValue(orig_SetMaxValue orig, GuiBar self, float value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LateUpdate(GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LateUpdate(orig_LateUpdate orig, GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetBar(GuiBar self, float i); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetBar(orig_SetBar orig, GuiBar self, float i); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetColor(GuiBar self, Color color); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetColor(orig_SetColor orig, GuiBar self, Color color); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Color orig_GetColor(GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Color hook_GetColor(orig_GetColor orig, GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ResetColor(GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ResetColor(orig_ResetColor orig, GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GuiBar self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GuiBar self); public static event hook_Awake Awake { add { HookEndpointManager.Add<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnEnable OnEnable { add { HookEndpointManager.Add<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetWidth SetWidth { add { HookEndpointManager.Add<hook_SetWidth>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetWidth>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetValue SetValue { add { HookEndpointManager.Add<hook_SetValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetSmoothValue GetSmoothValue { add { HookEndpointManager.Add<hook_GetSmoothValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetSmoothValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetMaxValue SetMaxValue { add { HookEndpointManager.Add<hook_SetMaxValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetMaxValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LateUpdate LateUpdate { add { HookEndpointManager.Add<hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetBar SetBar { add { HookEndpointManager.Add<hook_SetBar>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetBar>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetColor SetColor { add { HookEndpointManager.Add<hook_SetColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetColor GetColor { add { HookEndpointManager.Add<hook_GetColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ResetColor ResetColor { add { HookEndpointManager.Add<hook_ResetColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ResetColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class GuiBar { public static event Manipulator Awake { add { HookEndpointManager.Modify<On.GuiBar.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiBar.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnEnable { add { HookEndpointManager.Modify<On.GuiBar.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiBar.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetWidth { add { HookEndpointManager.Modify<On.GuiBar.hook_SetWidth>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiBar.hook_SetWidth>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetValue { add { HookEndpointManager.Modify<On.GuiBar.hook_SetValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiBar.hook_SetValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetSmoothValue { add { HookEndpointManager.Modify<On.GuiBar.hook_GetSmoothValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiBar.hook_GetSmoothValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetMaxValue { add { HookEndpointManager.Modify<On.GuiBar.hook_SetMaxValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiBar.hook_SetMaxValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LateUpdate { add { HookEndpointManager.Modify<On.GuiBar.hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiBar.hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetBar { add { HookEndpointManager.Modify<On.GuiBar.hook_SetBar>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiBar.hook_SetBar>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetColor { add { HookEndpointManager.Modify<On.GuiBar.hook_SetColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiBar.hook_SetColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetColor { add { HookEndpointManager.Modify<On.GuiBar.hook_GetColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiBar.hook_GetColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ResetColor { add { HookEndpointManager.Modify<On.GuiBar.hook_ResetColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiBar.hook_ResetColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.GuiBar.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiBar.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class GuiPixelFix { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LateUpdate(GuiPixelFix self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LateUpdate(orig_LateUpdate orig, GuiPixelFix self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GuiPixelFix self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GuiPixelFix self); public static event hook_LateUpdate LateUpdate { add { HookEndpointManager.Add<hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class GuiPixelFix { public static event Manipulator LateUpdate { add { HookEndpointManager.Modify<On.GuiPixelFix.hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiPixelFix.hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.GuiPixelFix.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiPixelFix.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class GuiScaler { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(GuiScaler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, GuiScaler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDestroy(GuiScaler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDestroy(orig_OnDestroy orig, GuiScaler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(GuiScaler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, GuiScaler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_UpdateScale(GuiScaler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_UpdateScale(orig_UpdateScale orig, GuiScaler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_GetScreenSizeFactor(GuiScaler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_GetScreenSizeFactor(orig_GetScreenSizeFactor orig, GuiScaler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LoadGuiScale(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LoadGuiScale(orig_LoadGuiScale orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetScale(float scale); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetScale(orig_SetScale orig, float scale); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GuiScaler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GuiScaler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_Awake Awake { add { HookEndpointManager.Add<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDestroy OnDestroy { add { HookEndpointManager.Add<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_UpdateScale UpdateScale { add { HookEndpointManager.Add<hook_UpdateScale>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_UpdateScale>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetScreenSizeFactor GetScreenSizeFactor { add { HookEndpointManager.Add<hook_GetScreenSizeFactor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetScreenSizeFactor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LoadGuiScale LoadGuiScale { add { HookEndpointManager.Add<hook_LoadGuiScale>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LoadGuiScale>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetScale SetScale { add { HookEndpointManager.Add<hook_SetScale>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetScale>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class GuiScaler { public static event Manipulator Awake { add { HookEndpointManager.Modify<On.GuiScaler.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiScaler.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDestroy { add { HookEndpointManager.Modify<On.GuiScaler.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiScaler.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.GuiScaler.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiScaler.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator UpdateScale { add { HookEndpointManager.Modify<On.GuiScaler.hook_UpdateScale>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiScaler.hook_UpdateScale>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetScreenSizeFactor { add { HookEndpointManager.Modify<On.GuiScaler.hook_GetScreenSizeFactor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiScaler.hook_GetScreenSizeFactor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LoadGuiScale { add { HookEndpointManager.Modify<On.GuiScaler.hook_LoadGuiScale>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiScaler.hook_LoadGuiScale>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetScale { add { HookEndpointManager.Modify<On.GuiScaler.hook_SetScale>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiScaler.hook_SetScale>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.GuiScaler.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiScaler.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator cctor { add { HookEndpointManager.Modify<On.GuiScaler.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GuiScaler.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class Localization { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Initialize(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Initialize(orig_Initialize orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Localization self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Localization self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetLanguage(Localization self, string language); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetLanguage(orig_SetLanguage orig, Localization self, string language); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetSelectedLanguage(Localization self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetSelectedLanguage(orig_GetSelectedLanguage orig, Localization self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetNextLanguage(Localization self, string lang); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetNextLanguage(orig_GetNextLanguage orig, Localization self, string lang); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetPrevLanguage(Localization self, string lang); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetPrevLanguage(orig_GetPrevLanguage orig, Localization self, string lang); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Localize_Transform(Localization self, Transform root); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Localize_Transform(orig_Localize_Transform orig, Localization self, Transform root); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_RemoveTextFromCache_Text(Localization self, Text text); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_RemoveTextFromCache_Text(orig_RemoveTextFromCache_Text orig, Localization self, Text text); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_RemoveTextFromCache_TMP_Text(Localization self, TMP_Text text); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_RemoveTextFromCache_TMP_Text(orig_RemoveTextFromCache_TMP_Text orig, Localization self, TMP_Text text); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ReLocalizeVisible(Localization self, Transform root); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ReLocalizeVisible(orig_ReLocalizeVisible orig, Localization self, Transform root); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ReLocalizeAll(Localization self, Transform root); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ReLocalizeAll(orig_ReLocalizeAll orig, Localization self, Transform root); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_Localize_string_StringArray(Localization self, string text, string[] words); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_Localize_string_StringArray(orig_Localize_string_StringArray orig, Localization self, string text, string[] words); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_InsertWords(Localization self, string text, string[] words); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_InsertWords(orig_InsertWords orig, Localization self, string text, string[] words); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_Localize_string(Localization self, string text); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_Localize_string(orig_Localize_string orig, Localization self, string text); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_FindNextWord(Localization self, string text, int startIndex, out string word, out int wordStart, out int wordEnd); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_FindNextWord(orig_FindNextWord orig, Localization self, string text, int startIndex, out string word, out int wordStart, out int wordEnd); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_Translate(Localization self, string word); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_Translate(orig_Translate orig, Localization self, string word); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetBoundKeyString(Localization self, string bindingName, bool emptyStringOnMissing); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetBoundKeyString(orig_GetBoundKeyString orig, Localization self, string bindingName, bool emptyStringOnMissing); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_AddWord(Localization self, string key, string text); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_AddWord(orig_AddWord orig, Localization self, string key, string text); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Clear(Localization self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Clear(orig_Clear orig, Localization self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_StripCitations(Localization self, string s); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_StripCitations(orig_StripCitations orig, Localization self, string s); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_SetupLanguage(Localization self, string language); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_SetupLanguage(orig_SetupLanguage orig, Localization self, string language); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_LoadCSV(Localization self, TextAsset file, string language); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_LoadCSV(orig_LoadCSV orig, Localization self, TextAsset file, string language); [EditorBrowsable(EditorBrowsableState.Never)] public delegate List<List<string>> orig_DoQuoteLineSplit(Localization self, StringReader reader); [EditorBrowsable(EditorBrowsableState.Never)] public delegate List<List<string>> hook_DoQuoteLineSplit(orig_DoQuoteLineSplit orig, Localization self, StringReader reader); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_TranslateSingleId(Localization self, string locaId, string language); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_TranslateSingleId(orig_TranslateSingleId orig, Localization self, string locaId, string language); [EditorBrowsable(EditorBrowsableState.Never)] public delegate List<string> orig_GetLanguages(Localization self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate List<string> hook_GetLanguages(orig_GetLanguages orig, Localization self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate List<string> orig_LoadLanguages(Localization self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate List<string> hook_LoadLanguages(orig_LoadLanguages orig, Localization self); public static event hook_Initialize Initialize { add { HookEndpointManager.Add<hook_Initialize>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Initialize>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetLanguage SetLanguage { add { HookEndpointManager.Add<hook_SetLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetSelectedLanguage GetSelectedLanguage { add { HookEndpointManager.Add<hook_GetSelectedLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetSelectedLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetNextLanguage GetNextLanguage { add { HookEndpointManager.Add<hook_GetNextLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetNextLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetPrevLanguage GetPrevLanguage { add { HookEndpointManager.Add<hook_GetPrevLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetPrevLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Localize_Transform Localize_Transform { add { HookEndpointManager.Add<hook_Localize_Transform>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Localize_Transform>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_RemoveTextFromCache_Text RemoveTextFromCache_Text { add { HookEndpointManager.Add<hook_RemoveTextFromCache_Text>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_RemoveTextFromCache_Text>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_RemoveTextFromCache_TMP_Text RemoveTextFromCache_TMP_Text { add { HookEndpointManager.Add<hook_RemoveTextFromCache_TMP_Text>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_RemoveTextFromCache_TMP_Text>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ReLocalizeVisible ReLocalizeVisible { add { HookEndpointManager.Add<hook_ReLocalizeVisible>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ReLocalizeVisible>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ReLocalizeAll ReLocalizeAll { add { HookEndpointManager.Add<hook_ReLocalizeAll>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ReLocalizeAll>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Localize_string_StringArray Localize_string_StringArray { add { HookEndpointManager.Add<hook_Localize_string_StringArray>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Localize_string_StringArray>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_InsertWords InsertWords { add { HookEndpointManager.Add<hook_InsertWords>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_InsertWords>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Localize_string Localize_string { add { HookEndpointManager.Add<hook_Localize_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Localize_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FindNextWord FindNextWord { add { HookEndpointManager.Add<hook_FindNextWord>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FindNextWord>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Translate Translate { add { HookEndpointManager.Add<hook_Translate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Translate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetBoundKeyString GetBoundKeyString { add { HookEndpointManager.Add<hook_GetBoundKeyString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetBoundKeyString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_AddWord AddWord { add { HookEndpointManager.Add<hook_AddWord>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_AddWord>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Clear Clear { add { HookEndpointManager.Add<hook_Clear>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Clear>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_StripCitations StripCitations { add { HookEndpointManager.Add<hook_StripCitations>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_StripCitations>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetupLanguage SetupLanguage { add { HookEndpointManager.Add<hook_SetupLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetupLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LoadCSV LoadCSV { add { HookEndpointManager.Add<hook_LoadCSV>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LoadCSV>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_DoQuoteLineSplit DoQuoteLineSplit { add { HookEndpointManager.Add<hook_DoQuoteLineSplit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_DoQuoteLineSplit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_TranslateSingleId TranslateSingleId { add { HookEndpointManager.Add<hook_TranslateSingleId>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_TranslateSingleId>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetLanguages GetLanguages { add { HookEndpointManager.Add<hook_GetLanguages>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetLanguages>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LoadLanguages LoadLanguages { add { HookEndpointManager.Add<hook_LoadLanguages>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LoadLanguages>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class Localization { public static event Manipulator Initialize { add { HookEndpointManager.Modify<On.Localization.hook_Initialize>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_Initialize>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Localization.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetLanguage { add { HookEndpointManager.Modify<On.Localization.hook_SetLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_SetLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetSelectedLanguage { add { HookEndpointManager.Modify<On.Localization.hook_GetSelectedLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_GetSelectedLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetNextLanguage { add { HookEndpointManager.Modify<On.Localization.hook_GetNextLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_GetNextLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetPrevLanguage { add { HookEndpointManager.Modify<On.Localization.hook_GetPrevLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_GetPrevLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Localize_Transform { add { HookEndpointManager.Modify<On.Localization.hook_Localize_Transform>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_Localize_Transform>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator RemoveTextFromCache_Text { add { HookEndpointManager.Modify<On.Localization.hook_RemoveTextFromCache_Text>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_RemoveTextFromCache_Text>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator RemoveTextFromCache_TMP_Text { add { HookEndpointManager.Modify<On.Localization.hook_RemoveTextFromCache_TMP_Text>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_RemoveTextFromCache_TMP_Text>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ReLocalizeVisible { add { HookEndpointManager.Modify<On.Localization.hook_ReLocalizeVisible>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_ReLocalizeVisible>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ReLocalizeAll { add { HookEndpointManager.Modify<On.Localization.hook_ReLocalizeAll>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_ReLocalizeAll>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Localize_string_StringArray { add { HookEndpointManager.Modify<On.Localization.hook_Localize_string_StringArray>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_Localize_string_StringArray>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator InsertWords { add { HookEndpointManager.Modify<On.Localization.hook_InsertWords>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_InsertWords>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Localize_string { add { HookEndpointManager.Modify<On.Localization.hook_Localize_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_Localize_string>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator FindNextWord { add { HookEndpointManager.Modify<On.Localization.hook_FindNextWord>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_FindNextWord>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Translate { add { HookEndpointManager.Modify<On.Localization.hook_Translate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_Translate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetBoundKeyString { add { HookEndpointManager.Modify<On.Localization.hook_GetBoundKeyString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_GetBoundKeyString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator AddWord { add { HookEndpointManager.Modify<On.Localization.hook_AddWord>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_AddWord>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Clear { add { HookEndpointManager.Modify<On.Localization.hook_Clear>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_Clear>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator StripCitations { add { HookEndpointManager.Modify<On.Localization.hook_StripCitations>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_StripCitations>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetupLanguage { add { HookEndpointManager.Modify<On.Localization.hook_SetupLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_SetupLanguage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LoadCSV { add { HookEndpointManager.Modify<On.Localization.hook_LoadCSV>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_LoadCSV>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator DoQuoteLineSplit { add { HookEndpointManager.Modify<On.Localization.hook_DoQuoteLineSplit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_DoQuoteLineSplit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator TranslateSingleId { add { HookEndpointManager.Modify<On.Localization.hook_TranslateSingleId>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_TranslateSingleId>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetLanguages { add { HookEndpointManager.Modify<On.Localization.hook_GetLanguages>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_GetLanguages>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LoadLanguages { add { HookEndpointManager.Modify<On.Localization.hook_LoadLanguages>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localization.hook_LoadLanguages>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class LocalizationSettings { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(LocalizationSettings self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, LocalizationSettings self); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class LocalizationSettings { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.LocalizationSettings.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LocalizationSettings.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class Localize { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(Localize self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, Localize self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDestroy(Localize self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDestroy(orig_OnDestroy orig, Localize self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_RelocalizeAllUponChange(Localize self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_RelocalizeAllUponChange(orig_RelocalizeAllUponChange orig, Localize self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_RefreshLocalization(Localize self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_RefreshLocalization(orig_RefreshLocalization orig, Localize self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Localize self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Localize self); public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDestroy OnDestroy { add { HookEndpointManager.Add<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_RelocalizeAllUponChange RelocalizeAllUponChange { add { HookEndpointManager.Add<hook_RelocalizeAllUponChange>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_RelocalizeAllUponChange>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_RefreshLocalization RefreshLocalization { add { HookEndpointManager.Add<hook_RefreshLocalization>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_RefreshLocalization>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class Localize { public static event Manipulator Start { add { HookEndpointManager.Modify<On.Localize.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localize.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDestroy { add { HookEndpointManager.Modify<On.Localize.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localize.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator RelocalizeAllUponChange { add { HookEndpointManager.Modify<On.Localize.hook_RelocalizeAllUponChange>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localize.hook_RelocalizeAllUponChange>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator RefreshLocalization { add { HookEndpointManager.Modify<On.Localize.hook_RefreshLocalization>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localize.hook_RefreshLocalization>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Localize.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Localize.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class MouseClick { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnPointerClick(MouseClick self, PointerEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnPointerClick(orig_OnPointerClick orig, MouseClick self, PointerEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(MouseClick self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, MouseClick self); public static event hook_OnPointerClick OnPointerClick { add { HookEndpointManager.Add<hook_OnPointerClick>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnPointerClick>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class MouseClick { public static event Manipulator OnPointerClick { add { HookEndpointManager.Modify<On.MouseClick.hook_OnPointerClick>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.MouseClick.hook_OnPointerClick>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.MouseClick.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.MouseClick.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class UIGroupHandler { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDestroy(UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDestroy(orig_OnDestroy orig, UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnEnable(UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnEnable(orig_OnEnable orig, UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Selectable orig_FindSelectable(UIGroupHandler self, GameObject root); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Selectable hook_FindSelectable(orig_FindSelectable orig, UIGroupHandler self, GameObject root); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_IsHighestPriority(UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_IsHighestPriority(orig_IsHighestPriority orig, UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ResetActiveElement(UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ResetActiveElement(orig_ResetActiveElement orig, UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_HaveSelectedObject(UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_HaveSelectedObject(orig_HaveSelectedObject orig, UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetActive(UIGroupHandler self, bool active); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetActive(orig_SetActive orig, UIGroupHandler self, bool active); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, UIGroupHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_Awake Awake { add { HookEndpointManager.Add<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDestroy OnDestroy { add { HookEndpointManager.Add<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnEnable OnEnable { add { HookEndpointManager.Add<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FindSelectable FindSelectable { add { HookEndpointManager.Add<hook_FindSelectable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FindSelectable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_IsHighestPriority IsHighestPriority { add { HookEndpointManager.Add<hook_IsHighestPriority>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_IsHighestPriority>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ResetActiveElement ResetActiveElement { add { HookEndpointManager.Add<hook_ResetActiveElement>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ResetActiveElement>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_HaveSelectedObject HaveSelectedObject { add { HookEndpointManager.Add<hook_HaveSelectedObject>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_HaveSelectedObject>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetActive SetActive { add { HookEndpointManager.Add<hook_SetActive>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetActive>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class UIGroupHandler { public static event Manipulator Awake { add { HookEndpointManager.Modify<On.UIGroupHandler.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIGroupHandler.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDestroy { add { HookEndpointManager.Modify<On.UIGroupHandler.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIGroupHandler.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnEnable { add { HookEndpointManager.Modify<On.UIGroupHandler.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIGroupHandler.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UIGroupHandler.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIGroupHandler.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator FindSelectable { add { HookEndpointManager.Modify<On.UIGroupHandler.hook_FindSelectable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIGroupHandler.hook_FindSelectable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator IsHighestPriority { add { HookEndpointManager.Modify<On.UIGroupHandler.hook_IsHighestPriority>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIGroupHandler.hook_IsHighestPriority>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ResetActiveElement { add { HookEndpointManager.Modify<On.UIGroupHandler.hook_ResetActiveElement>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIGroupHandler.hook_ResetActiveElement>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.UIGroupHandler.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIGroupHandler.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator HaveSelectedObject { add { HookEndpointManager.Modify<On.UIGroupHandler.hook_HaveSelectedObject>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIGroupHandler.hook_HaveSelectedObject>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetActive { add { HookEndpointManager.Modify<On.UIGroupHandler.hook_SetActive>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIGroupHandler.hook_SetActive>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UIGroupHandler.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIGroupHandler.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator cctor { add { HookEndpointManager.Modify<On.UIGroupHandler.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIGroupHandler.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class UIInputHandler { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnPointerDown(UIInputHandler self, PointerEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnPointerDown(orig_OnPointerDown orig, UIInputHandler self, PointerEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnPointerUp(UIInputHandler self, PointerEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnPointerUp(orig_OnPointerUp orig, UIInputHandler self, PointerEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnPointerClick(UIInputHandler self, PointerEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnPointerClick(orig_OnPointerClick orig, UIInputHandler self, PointerEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnPointerEnter(UIInputHandler self, PointerEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnPointerEnter(orig_OnPointerEnter orig, UIInputHandler self, PointerEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnPointerExit(UIInputHandler self, PointerEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnPointerExit(orig_OnPointerExit orig, UIInputHandler self, PointerEventData eventData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(UIInputHandler self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, UIInputHandler self); public static event hook_OnPointerDown OnPointerDown { add { HookEndpointManager.Add<hook_OnPointerDown>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnPointerDown>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnPointerUp OnPointerUp { add { HookEndpointManager.Add<hook_OnPointerUp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnPointerUp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnPointerClick OnPointerClick { add { HookEndpointManager.Add<hook_OnPointerClick>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnPointerClick>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnPointerEnter OnPointerEnter { add { HookEndpointManager.Add<hook_OnPointerEnter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnPointerEnter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnPointerExit OnPointerExit { add { HookEndpointManager.Add<hook_OnPointerExit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnPointerExit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class UIInputHandler { public static event Manipulator OnPointerDown { add { HookEndpointManager.Modify<On.UIInputHandler.hook_OnPointerDown>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIInputHandler.hook_OnPointerDown>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnPointerUp { add { HookEndpointManager.Modify<On.UIInputHandler.hook_OnPointerUp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIInputHandler.hook_OnPointerUp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnPointerClick { add { HookEndpointManager.Modify<On.UIInputHandler.hook_OnPointerClick>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIInputHandler.hook_OnPointerClick>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnPointerEnter { add { HookEndpointManager.Modify<On.UIInputHandler.hook_OnPointerEnter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIInputHandler.hook_OnPointerEnter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnPointerExit { add { HookEndpointManager.Modify<On.UIInputHandler.hook_OnPointerExit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIInputHandler.hook_OnPointerExit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UIInputHandler.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UIInputHandler.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class UIInputHint { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(UIInputHint self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, UIInputHint self); [EditorBrowsable(EditorBrowsableState.Ne
BepInEx/plugins/MMHOOK/MMHOOK_assembly_lux.dll
Decompiled 4 months agousing System; using System.ComponentModel; using System.Reflection; using System.Runtime.InteropServices; using LuxParticles; using MonoMod.Cil; using MonoMod.RuntimeDetour.HookGen; using On; using On.LuxParticles; using UnityEngine.Rendering; [assembly: AssemblyVersion("0.0.0.0")] namespace On { public static class UnitySourceGeneratedAssemblyMonoScriptTypes_v1 { [EditorBrowsable(EditorBrowsableState.Never)] public delegate ValueType orig_Get(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate ValueType hook_Get(orig_Get orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(object self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, object self); public static event hook_Get Get { add { HookEndpointManager.Add<hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class UnitySourceGeneratedAssemblyMonoScriptTypes_v1 { public static event Manipulator Get { add { HookEndpointManager.Modify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.LuxParticles { public static class LuxParticles_AmbientLighting { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnEnable(LuxParticles_AmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnEnable(orig_OnEnable orig, LuxParticles_AmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LateUpdate(LuxParticles_AmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LateUpdate(orig_LateUpdate orig, LuxParticles_AmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_UpdateAmbientLighting(LuxParticles_AmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_UpdateAmbientLighting(orig_UpdateAmbientLighting orig, LuxParticles_AmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_UpdateAmbientLightingForNewParticleSystems(LuxParticles_AmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_UpdateAmbientLightingForNewParticleSystems(orig_UpdateAmbientLightingForNewParticleSystems orig, LuxParticles_AmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate SphericalHarmonicsL2 orig_PremultiplyCoefficients(SphericalHarmonicsL2 sh); [EditorBrowsable(EditorBrowsableState.Never)] public delegate SphericalHarmonicsL2 hook_PremultiplyCoefficients(orig_PremultiplyCoefficients orig, SphericalHarmonicsL2 sh); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_GetShaderConstantsFromNormalizedSH(LuxParticles_AmbientLighting self, ref SphericalHarmonicsL2 ambientProbe, bool IsSkyLighting); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_GetShaderConstantsFromNormalizedSH(orig_GetShaderConstantsFromNormalizedSH orig, LuxParticles_AmbientLighting self, ref SphericalHarmonicsL2 ambientProbe, bool IsSkyLighting); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetSHLighting(LuxParticles_AmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetSHLighting(orig_SetSHLighting orig, LuxParticles_AmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(LuxParticles_AmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, LuxParticles_AmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_OnEnable OnEnable { add { HookEndpointManager.Add<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LateUpdate LateUpdate { add { HookEndpointManager.Add<hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_UpdateAmbientLighting UpdateAmbientLighting { add { HookEndpointManager.Add<hook_UpdateAmbientLighting>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_UpdateAmbientLighting>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_UpdateAmbientLightingForNewParticleSystems UpdateAmbientLightingForNewParticleSystems { add { HookEndpointManager.Add<hook_UpdateAmbientLightingForNewParticleSystems>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_UpdateAmbientLightingForNewParticleSystems>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_PremultiplyCoefficients PremultiplyCoefficients { add { HookEndpointManager.Add<hook_PremultiplyCoefficients>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_PremultiplyCoefficients>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetShaderConstantsFromNormalizedSH GetShaderConstantsFromNormalizedSH { add { HookEndpointManager.Add<hook_GetShaderConstantsFromNormalizedSH>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetShaderConstantsFromNormalizedSH>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetSHLighting SetSHLighting { add { HookEndpointManager.Add<hook_SetSHLighting>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetSHLighting>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.LuxParticles { public static class LuxParticles_AmbientLighting { public static event Manipulator OnEnable { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_AmbientLighting.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_AmbientLighting.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LateUpdate { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_AmbientLighting.hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_AmbientLighting.hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator UpdateAmbientLighting { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_AmbientLighting.hook_UpdateAmbientLighting>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_AmbientLighting.hook_UpdateAmbientLighting>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator UpdateAmbientLightingForNewParticleSystems { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_AmbientLighting.hook_UpdateAmbientLightingForNewParticleSystems>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_AmbientLighting.hook_UpdateAmbientLightingForNewParticleSystems>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator PremultiplyCoefficients { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_AmbientLighting.hook_PremultiplyCoefficients>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_AmbientLighting.hook_PremultiplyCoefficients>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetShaderConstantsFromNormalizedSH { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_AmbientLighting.hook_GetShaderConstantsFromNormalizedSH>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_AmbientLighting.hook_GetShaderConstantsFromNormalizedSH>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetSHLighting { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_AmbientLighting.hook_SetSHLighting>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_AmbientLighting.hook_SetSHLighting>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_AmbientLighting.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_AmbientLighting.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator cctor { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_AmbientLighting.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_AmbientLighting.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.LuxParticles { public static class LuxParticles_DirectionalLight { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnEnable(LuxParticles_DirectionalLight self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnEnable(orig_OnEnable orig, LuxParticles_DirectionalLight self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(LuxParticles_DirectionalLight self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, LuxParticles_DirectionalLight self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDestroy(LuxParticles_DirectionalLight self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDestroy(orig_OnDestroy orig, LuxParticles_DirectionalLight self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(LuxParticles_DirectionalLight self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, LuxParticles_DirectionalLight self); public static event hook_OnEnable OnEnable { add { HookEndpointManager.Add<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDestroy OnDestroy { add { HookEndpointManager.Add<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.LuxParticles { public static class LuxParticles_DirectionalLight { public static event Manipulator OnEnable { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_DirectionalLight.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_DirectionalLight.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_DirectionalLight.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_DirectionalLight.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDestroy { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_DirectionalLight.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_DirectionalLight.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_DirectionalLight.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_DirectionalLight.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.LuxParticles { public static class LuxParticles_LocalAmbientLighting { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnEnable(LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnEnable(orig_OnEnable orig, LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Register(LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Register(orig_Register orig, LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDestroy(LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDestroy(orig_OnDestroy orig, LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnBecameVisible(LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnBecameVisible(orig_OnBecameVisible orig, LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnBecameInvisible(LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnBecameInvisible(orig_OnBecameInvisible orig, LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, LuxParticles_LocalAmbientLighting self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_OnEnable OnEnable { add { HookEndpointManager.Add<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Register Register { add { HookEndpointManager.Add<hook_Register>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Register>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDestroy OnDestroy { add { HookEndpointManager.Add<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnBecameVisible OnBecameVisible { add { HookEndpointManager.Add<hook_OnBecameVisible>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnBecameVisible>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnBecameInvisible OnBecameInvisible { add { HookEndpointManager.Add<hook_OnBecameInvisible>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnBecameInvisible>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.LuxParticles { public static class LuxParticles_LocalAmbientLighting { public static event Manipulator OnEnable { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Register { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_Register>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_Register>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDestroy { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnBecameVisible { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_OnBecameVisible>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_OnBecameVisible>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnBecameInvisible { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_OnBecameInvisible>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_OnBecameInvisible>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator cctor { add { HookEndpointManager.Modify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.LuxParticles_LocalAmbientLighting.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace BepHookGen { [StructLayout(LayoutKind.Auto, CharSet = CharSet.Auto)] internal class size10752 { } }
BepInEx/plugins/MMHOOK/MMHOOK_assembly_postprocessing.dll
Decompiled 4 months ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.ComponentModel; using System.Reflection; using System.Runtime.InteropServices; using MonoMod.Cil; using MonoMod.RuntimeDetour.HookGen; using On; using On.UnityEngine.PostProcessing; using UnityEngine; using UnityEngine.PostProcessing; using UnityEngine.Rendering; [assembly: AssemblyVersion("0.0.0.0")] namespace On { public static class ExampleWheelController { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(ExampleWheelController self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, ExampleWheelController self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(ExampleWheelController self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, ExampleWheelController self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ExampleWheelController self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ExampleWheelController self); public static class Uniforms { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class ExampleWheelController { public static class Uniforms { public static event Manipulator cctor { add { HookEndpointManager.Modify<On.ExampleWheelController.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ExampleWheelController.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator Start { add { HookEndpointManager.Modify<On.ExampleWheelController.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ExampleWheelController.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.ExampleWheelController.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ExampleWheelController.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.ExampleWheelController.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.ExampleWheelController.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class UnitySourceGeneratedAssemblyMonoScriptTypes_v1 { [EditorBrowsable(EditorBrowsableState.Never)] public delegate ValueType orig_Get(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate ValueType hook_Get(orig_Get orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(object self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, object self); public static event hook_Get Get { add { HookEndpointManager.Add<hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class UnitySourceGeneratedAssemblyMonoScriptTypes_v1 { public static event Manipulator Get { add { HookEndpointManager.Modify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityEngine.PostProcessing { public static class GetSetAttribute { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GetSetAttribute self, string name); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GetSetAttribute self, string name); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityEngine.PostProcessing { public static class GetSetAttribute { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.GetSetAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.GetSetAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityEngine.PostProcessing { public static class MinAttribute { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(MinAttribute self, float min); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, MinAttribute self, float min); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityEngine.PostProcessing { public static class MinAttribute { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.MinAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.MinAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityEngine.PostProcessing { public static class TrackballAttribute { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(TrackballAttribute self, string method); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, TrackballAttribute self, string method); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityEngine.PostProcessing { public static class TrackballAttribute { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.TrackballAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.TrackballAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityEngine.PostProcessing { public static class TrackballGroupAttribute { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(TrackballGroupAttribute self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, TrackballGroupAttribute self); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityEngine.PostProcessing { public static class TrackballGroupAttribute { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.TrackballGroupAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.TrackballGroupAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityEngine.PostProcessing { public static class AmbientOcclusionComponent { [EditorBrowsable(EditorBrowsableState.Never)] public delegate DepthTextureMode orig_GetCameraFlags(AmbientOcclusionComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate DepthTextureMode hook_GetCameraFlags(orig_GetCameraFlags orig, AmbientOcclusionComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetName(AmbientOcclusionComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetName(orig_GetName orig, AmbientOcclusionComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate CameraEvent orig_GetCameraEvent(AmbientOcclusionComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate CameraEvent hook_GetCameraEvent(orig_GetCameraEvent orig, AmbientOcclusionComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_PopulateCommandBuffer(AmbientOcclusionComponent self, CommandBuffer cb); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_PopulateCommandBuffer(orig_PopulateCommandBuffer orig, AmbientOcclusionComponent self, CommandBuffer cb); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(AmbientOcclusionComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, AmbientOcclusionComponent self); public static class Uniforms { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_GetCameraFlags GetCameraFlags { add { HookEndpointManager.Add<hook_GetCameraFlags>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetCameraFlags>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetName GetName { add { HookEndpointManager.Add<hook_GetName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetCameraEvent GetCameraEvent { add { HookEndpointManager.Add<hook_GetCameraEvent>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetCameraEvent>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_PopulateCommandBuffer PopulateCommandBuffer { add { HookEndpointManager.Add<hook_PopulateCommandBuffer>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_PopulateCommandBuffer>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityEngine.PostProcessing { public static class AmbientOcclusionComponent { public static class Uniforms { public static event Manipulator cctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.AmbientOcclusionComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.AmbientOcclusionComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator GetCameraFlags { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.AmbientOcclusionComponent.hook_GetCameraFlags>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.AmbientOcclusionComponent.hook_GetCameraFlags>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetName { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.AmbientOcclusionComponent.hook_GetName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.AmbientOcclusionComponent.hook_GetName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetCameraEvent { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.AmbientOcclusionComponent.hook_GetCameraEvent>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.AmbientOcclusionComponent.hook_GetCameraEvent>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator PopulateCommandBuffer { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.AmbientOcclusionComponent.hook_PopulateCommandBuffer>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.AmbientOcclusionComponent.hook_PopulateCommandBuffer>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.AmbientOcclusionComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.AmbientOcclusionComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityEngine.PostProcessing { public static class BloomComponent { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Prepare(BloomComponent self, RenderTexture source, Material uberMaterial, Texture autoExposure); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Prepare(orig_Prepare orig, BloomComponent self, RenderTexture source, Material uberMaterial, Texture autoExposure); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(BloomComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, BloomComponent self); public static class Uniforms { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_Prepare Prepare { add { HookEndpointManager.Add<hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityEngine.PostProcessing { public static class BloomComponent { public static class Uniforms { public static event Manipulator cctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BloomComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BloomComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator Prepare { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BloomComponent.hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BloomComponent.hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BloomComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BloomComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityEngine.PostProcessing { public static class BuiltinDebugViewsComponent { [EditorBrowsable(EditorBrowsableState.Never)] public delegate DepthTextureMode orig_GetCameraFlags(BuiltinDebugViewsComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate DepthTextureMode hook_GetCameraFlags(orig_GetCameraFlags orig, BuiltinDebugViewsComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate CameraEvent orig_GetCameraEvent(BuiltinDebugViewsComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate CameraEvent hook_GetCameraEvent(orig_GetCameraEvent orig, BuiltinDebugViewsComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetName(BuiltinDebugViewsComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetName(orig_GetName orig, BuiltinDebugViewsComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_PopulateCommandBuffer(BuiltinDebugViewsComponent self, CommandBuffer cb); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_PopulateCommandBuffer(orig_PopulateCommandBuffer orig, BuiltinDebugViewsComponent self, CommandBuffer cb); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_DepthPass(BuiltinDebugViewsComponent self, CommandBuffer cb); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_DepthPass(orig_DepthPass orig, BuiltinDebugViewsComponent self, CommandBuffer cb); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_DepthNormalsPass(BuiltinDebugViewsComponent self, CommandBuffer cb); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_DepthNormalsPass(orig_DepthNormalsPass orig, BuiltinDebugViewsComponent self, CommandBuffer cb); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_MotionVectorsPass(BuiltinDebugViewsComponent self, CommandBuffer cb); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_MotionVectorsPass(orig_MotionVectorsPass orig, BuiltinDebugViewsComponent self, CommandBuffer cb); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_PrepareArrows(BuiltinDebugViewsComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_PrepareArrows(orig_PrepareArrows orig, BuiltinDebugViewsComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(BuiltinDebugViewsComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, BuiltinDebugViewsComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(BuiltinDebugViewsComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, BuiltinDebugViewsComponent self); public static class Uniforms { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static class ArrowArray { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_BuildMesh(object self, int columns, int rows); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_BuildMesh(orig_BuildMesh orig, object self, int columns, int rows); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Release(object self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Release(orig_Release orig, object self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(object self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, object self); public static event hook_BuildMesh BuildMesh { add { HookEndpointManager.Add<hook_BuildMesh>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_BuildMesh>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Release Release { add { HookEndpointManager.Add<hook_Release>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Release>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_GetCameraFlags GetCameraFlags { add { HookEndpointManager.Add<hook_GetCameraFlags>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetCameraFlags>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetCameraEvent GetCameraEvent { add { HookEndpointManager.Add<hook_GetCameraEvent>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetCameraEvent>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetName GetName { add { HookEndpointManager.Add<hook_GetName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_PopulateCommandBuffer PopulateCommandBuffer { add { HookEndpointManager.Add<hook_PopulateCommandBuffer>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_PopulateCommandBuffer>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_DepthPass DepthPass { add { HookEndpointManager.Add<hook_DepthPass>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_DepthPass>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_DepthNormalsPass DepthNormalsPass { add { HookEndpointManager.Add<hook_DepthNormalsPass>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_DepthNormalsPass>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_MotionVectorsPass MotionVectorsPass { add { HookEndpointManager.Add<hook_MotionVectorsPass>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_MotionVectorsPass>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_PrepareArrows PrepareArrows { add { HookEndpointManager.Add<hook_PrepareArrows>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_PrepareArrows>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityEngine.PostProcessing { public static class BuiltinDebugViewsComponent { public static class Uniforms { public static event Manipulator cctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static class ArrowArray { public static event Manipulator BuildMesh { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.ArrowArray.hook_BuildMesh>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.ArrowArray.hook_BuildMesh>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Release { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.ArrowArray.hook_Release>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.ArrowArray.hook_Release>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.ArrowArray.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.ArrowArray.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator GetCameraFlags { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_GetCameraFlags>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_GetCameraFlags>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetCameraEvent { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_GetCameraEvent>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_GetCameraEvent>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetName { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_GetName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_GetName>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator PopulateCommandBuffer { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_PopulateCommandBuffer>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_PopulateCommandBuffer>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator DepthPass { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_DepthPass>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_DepthPass>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator DepthNormalsPass { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_DepthNormalsPass>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_DepthNormalsPass>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator MotionVectorsPass { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_MotionVectorsPass>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_MotionVectorsPass>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator PrepareArrows { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_PrepareArrows>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_PrepareArrows>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.BuiltinDebugViewsComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityEngine.PostProcessing { public static class ChromaticAberrationComponent { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(ChromaticAberrationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, ChromaticAberrationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Prepare(ChromaticAberrationComponent self, Material uberMaterial); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Prepare(orig_Prepare orig, ChromaticAberrationComponent self, Material uberMaterial); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ChromaticAberrationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ChromaticAberrationComponent self); public static class Uniforms { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Prepare Prepare { add { HookEndpointManager.Add<hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityEngine.PostProcessing { public static class ChromaticAberrationComponent { public static class Uniforms { public static event Manipulator cctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ChromaticAberrationComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ChromaticAberrationComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ChromaticAberrationComponent.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ChromaticAberrationComponent.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Prepare { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ChromaticAberrationComponent.hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ChromaticAberrationComponent.hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ChromaticAberrationComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ChromaticAberrationComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityEngine.PostProcessing { public static class ColorGradingComponent { [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_StandardIlluminantY(ColorGradingComponent self, float x); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_StandardIlluminantY(orig_StandardIlluminantY orig, ColorGradingComponent self, float x); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 orig_CIExyToLMS(ColorGradingComponent self, float x, float y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 hook_CIExyToLMS(orig_CIExyToLMS orig, ColorGradingComponent self, float x, float y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 orig_CalculateColorBalance(ColorGradingComponent self, float temperature, float tint); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 hook_CalculateColorBalance(orig_CalculateColorBalance orig, ColorGradingComponent self, float temperature, float tint); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Color orig_NormalizeColor(Color c); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Color hook_NormalizeColor(orig_NormalizeColor orig, Color c); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 orig_ClampVector(Vector3 v, float min, float max); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 hook_ClampVector(orig_ClampVector orig, Vector3 v, float min, float max); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 orig_GetLiftValue(Color lift); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 hook_GetLiftValue(orig_GetLiftValue orig, Color lift); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 orig_GetGammaValue(Color gamma); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 hook_GetGammaValue(orig_GetGammaValue orig, Color gamma); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 orig_GetGainValue(Color gain); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 hook_GetGainValue(orig_GetGainValue orig, Color gain); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_CalculateLiftGammaGain(Color lift, Color gamma, Color gain, out Vector3 outLift, out Vector3 outGamma, out Vector3 outGain); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_CalculateLiftGammaGain(orig_CalculateLiftGammaGain orig, Color lift, Color gamma, Color gain, out Vector3 outLift, out Vector3 outGamma, out Vector3 outGain); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 orig_GetSlopeValue(Color slope); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 hook_GetSlopeValue(orig_GetSlopeValue orig, Color slope); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 orig_GetPowerValue(Color power); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 hook_GetPowerValue(orig_GetPowerValue orig, Color power); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 orig_GetOffsetValue(Color offset); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 hook_GetOffsetValue(orig_GetOffsetValue orig, Color offset); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_CalculateSlopePowerOffset(Color slope, Color power, Color offset, out Vector3 outSlope, out Vector3 outPower, out Vector3 outOffset); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_CalculateSlopePowerOffset(orig_CalculateSlopePowerOffset orig, Color slope, Color power, Color offset, out Vector3 outSlope, out Vector3 outPower, out Vector3 outOffset); [EditorBrowsable(EditorBrowsableState.Never)] public delegate TextureFormat orig_GetCurveFormat(ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate TextureFormat hook_GetCurveFormat(orig_GetCurveFormat orig, ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Texture2D orig_GetCurveTexture(ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Texture2D hook_GetCurveTexture(orig_GetCurveTexture orig, ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_IsLogLutValid(ColorGradingComponent self, RenderTexture lut); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_IsLogLutValid(orig_IsLogLutValid orig, ColorGradingComponent self, RenderTexture lut); [EditorBrowsable(EditorBrowsableState.Never)] public delegate RenderTextureFormat orig_GetLutFormat(ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate RenderTextureFormat hook_GetLutFormat(orig_GetLutFormat orig, ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_GenerateLut(ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_GenerateLut(orig_GenerateLut orig, ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Prepare(ColorGradingComponent self, Material uberMaterial); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Prepare(orig_Prepare orig, ColorGradingComponent self, Material uberMaterial); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnGUI(ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnGUI(orig_OnGUI orig, ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ColorGradingComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ColorGradingComponent self); public static class Uniforms { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_StandardIlluminantY StandardIlluminantY { add { HookEndpointManager.Add<hook_StandardIlluminantY>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_StandardIlluminantY>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CIExyToLMS CIExyToLMS { add { HookEndpointManager.Add<hook_CIExyToLMS>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CIExyToLMS>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CalculateColorBalance CalculateColorBalance { add { HookEndpointManager.Add<hook_CalculateColorBalance>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CalculateColorBalance>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_NormalizeColor NormalizeColor { add { HookEndpointManager.Add<hook_NormalizeColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_NormalizeColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ClampVector ClampVector { add { HookEndpointManager.Add<hook_ClampVector>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ClampVector>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetLiftValue GetLiftValue { add { HookEndpointManager.Add<hook_GetLiftValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetLiftValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetGammaValue GetGammaValue { add { HookEndpointManager.Add<hook_GetGammaValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetGammaValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetGainValue GetGainValue { add { HookEndpointManager.Add<hook_GetGainValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetGainValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CalculateLiftGammaGain CalculateLiftGammaGain { add { HookEndpointManager.Add<hook_CalculateLiftGammaGain>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CalculateLiftGammaGain>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetSlopeValue GetSlopeValue { add { HookEndpointManager.Add<hook_GetSlopeValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetSlopeValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetPowerValue GetPowerValue { add { HookEndpointManager.Add<hook_GetPowerValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetPowerValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetOffsetValue GetOffsetValue { add { HookEndpointManager.Add<hook_GetOffsetValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetOffsetValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CalculateSlopePowerOffset CalculateSlopePowerOffset { add { HookEndpointManager.Add<hook_CalculateSlopePowerOffset>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CalculateSlopePowerOffset>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetCurveFormat GetCurveFormat { add { HookEndpointManager.Add<hook_GetCurveFormat>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetCurveFormat>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetCurveTexture GetCurveTexture { add { HookEndpointManager.Add<hook_GetCurveTexture>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetCurveTexture>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_IsLogLutValid IsLogLutValid { add { HookEndpointManager.Add<hook_IsLogLutValid>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_IsLogLutValid>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetLutFormat GetLutFormat { add { HookEndpointManager.Add<hook_GetLutFormat>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetLutFormat>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GenerateLut GenerateLut { add { HookEndpointManager.Add<hook_GenerateLut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GenerateLut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Prepare Prepare { add { HookEndpointManager.Add<hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnGUI OnGUI { add { HookEndpointManager.Add<hook_OnGUI>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnGUI>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityEngine.PostProcessing { public static class ColorGradingComponent { public static class Uniforms { public static event Manipulator cctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator StandardIlluminantY { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_StandardIlluminantY>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_StandardIlluminantY>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CIExyToLMS { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_CIExyToLMS>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_CIExyToLMS>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CalculateColorBalance { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_CalculateColorBalance>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_CalculateColorBalance>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator NormalizeColor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_NormalizeColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_NormalizeColor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ClampVector { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_ClampVector>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_ClampVector>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetLiftValue { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetLiftValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetLiftValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetGammaValue { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetGammaValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetGammaValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetGainValue { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetGainValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetGainValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CalculateLiftGammaGain { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_CalculateLiftGammaGain>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_CalculateLiftGammaGain>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetSlopeValue { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetSlopeValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetSlopeValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetPowerValue { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetPowerValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetPowerValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetOffsetValue { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetOffsetValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetOffsetValue>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CalculateSlopePowerOffset { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_CalculateSlopePowerOffset>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_CalculateSlopePowerOffset>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetCurveFormat { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetCurveFormat>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetCurveFormat>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetCurveTexture { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetCurveTexture>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetCurveTexture>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator IsLogLutValid { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_IsLogLutValid>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_IsLogLutValid>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetLutFormat { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetLutFormat>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GetLutFormat>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GenerateLut { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GenerateLut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_GenerateLut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Prepare { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnGUI { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_OnGUI>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_OnGUI>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.ColorGradingComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityEngine.PostProcessing { public static class DepthOfFieldComponent { [EditorBrowsable(EditorBrowsableState.Never)] public delegate DepthTextureMode orig_GetCameraFlags(DepthOfFieldComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate DepthTextureMode hook_GetCameraFlags(orig_GetCameraFlags orig, DepthOfFieldComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_CalculateFocalLength(DepthOfFieldComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_CalculateFocalLength(orig_CalculateFocalLength orig, DepthOfFieldComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_CalculateMaxCoCRadius(DepthOfFieldComponent self, int screenHeight); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_CalculateMaxCoCRadius(orig_CalculateMaxCoCRadius orig, DepthOfFieldComponent self, int screenHeight); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CheckHistory(DepthOfFieldComponent self, int width, int height); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CheckHistory(orig_CheckHistory orig, DepthOfFieldComponent self, int width, int height); [EditorBrowsable(EditorBrowsableState.Never)] public delegate RenderTextureFormat orig_SelectFormat(DepthOfFieldComponent self, RenderTextureFormat primary, RenderTextureFormat secondary); [EditorBrowsable(EditorBrowsableState.Never)] public delegate RenderTextureFormat hook_SelectFormat(orig_SelectFormat orig, DepthOfFieldComponent self, RenderTextureFormat primary, RenderTextureFormat secondary); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Prepare(DepthOfFieldComponent self, RenderTexture source, Material uberMaterial, bool antialiasCoC, Vector2 taaJitter, float taaBlending); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Prepare(orig_Prepare orig, DepthOfFieldComponent self, RenderTexture source, Material uberMaterial, bool antialiasCoC, Vector2 taaJitter, float taaBlending); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(DepthOfFieldComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, DepthOfFieldComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(DepthOfFieldComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, DepthOfFieldComponent self); public static class Uniforms { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_GetCameraFlags GetCameraFlags { add { HookEndpointManager.Add<hook_GetCameraFlags>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetCameraFlags>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CalculateFocalLength CalculateFocalLength { add { HookEndpointManager.Add<hook_CalculateFocalLength>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CalculateFocalLength>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CalculateMaxCoCRadius CalculateMaxCoCRadius { add { HookEndpointManager.Add<hook_CalculateMaxCoCRadius>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CalculateMaxCoCRadius>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CheckHistory CheckHistory { add { HookEndpointManager.Add<hook_CheckHistory>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckHistory>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SelectFormat SelectFormat { add { HookEndpointManager.Add<hook_SelectFormat>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SelectFormat>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Prepare Prepare { add { HookEndpointManager.Add<hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityEngine.PostProcessing { public static class DepthOfFieldComponent { public static class Uniforms { public static event Manipulator cctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator GetCameraFlags { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_GetCameraFlags>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_GetCameraFlags>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CalculateFocalLength { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_CalculateFocalLength>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_CalculateFocalLength>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CalculateMaxCoCRadius { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_CalculateMaxCoCRadius>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_CalculateMaxCoCRadius>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CheckHistory { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_CheckHistory>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_CheckHistory>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SelectFormat { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_SelectFormat>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_SelectFormat>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Prepare { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DepthOfFieldComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityEngine.PostProcessing { public static class DitheringComponent { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(DitheringComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, DitheringComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LoadNoiseTextures(DitheringComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LoadNoiseTextures(orig_LoadNoiseTextures orig, DitheringComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Prepare(DitheringComponent self, Material uberMaterial); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Prepare(orig_Prepare orig, DitheringComponent self, Material uberMaterial); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(DitheringComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, DitheringComponent self); public static class Uniforms { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LoadNoiseTextures LoadNoiseTextures { add { HookEndpointManager.Add<hook_LoadNoiseTextures>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LoadNoiseTextures>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Prepare Prepare { add { HookEndpointManager.Add<hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityEngine.PostProcessing { public static class DitheringComponent { public static class Uniforms { public static event Manipulator cctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DitheringComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DitheringComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DitheringComponent.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DitheringComponent.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LoadNoiseTextures { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DitheringComponent.hook_LoadNoiseTextures>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DitheringComponent.hook_LoadNoiseTextures>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Prepare { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DitheringComponent.hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DitheringComponent.hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.DitheringComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.DitheringComponent.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityEngine.PostProcessing { public static class EyeAdaptationComponent { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ResetHistory(EyeAdaptationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ResetHistory(orig_ResetHistory orig, EyeAdaptationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnEnable(EyeAdaptationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnEnable(orig_OnEnable orig, EyeAdaptationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(EyeAdaptationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, EyeAdaptationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector4 orig_GetHistogramScaleOffsetRes(EyeAdaptationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector4 hook_GetHistogramScaleOffsetRes(orig_GetHistogramScaleOffsetRes orig, EyeAdaptationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Texture orig_Prepare(EyeAdaptationComponent self, RenderTexture source, Material uberMaterial); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Texture hook_Prepare(orig_Prepare orig, EyeAdaptationComponent self, RenderTexture source, Material uberMaterial); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnGUI(EyeAdaptationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnGUI(orig_OnGUI orig, EyeAdaptationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(EyeAdaptationComponent self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, EyeAdaptationComponent self); public static class Uniforms { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_ResetHistory ResetHistory { add { HookEndpointManager.Add<hook_ResetHistory>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ResetHistory>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnEnable OnEnable { add { HookEndpointManager.Add<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetHistogramScaleOffsetRes GetHistogramScaleOffsetRes { add { HookEndpointManager.Add<hook_GetHistogramScaleOffsetRes>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetHistogramScaleOffsetRes>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Prepare Prepare { add { HookEndpointManager.Add<hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnGUI OnGUI { add { HookEndpointManager.Add<hook_OnGUI>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnGUI>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityEngine.PostProcessing { public static class EyeAdaptationComponent { public static class Uniforms { public static event Manipulator cctor { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.EyeAdaptationComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.EyeAdaptationComponent.Uniforms.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator ResetHistory { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.EyeAdaptationComponent.hook_ResetHistory>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.EyeAdaptationComponent.hook_ResetHistory>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnEnable { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.EyeAdaptationComponent.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.EyeAdaptationComponent.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.EyeAdaptationComponent.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.EyeAdaptationComponent.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetHistogramScaleOffsetRes { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.EyeAdaptationComponent.hook_GetHistogramScaleOffsetRes>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.EyeAdaptationComponent.hook_GetHistogramScaleOffsetRes>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Prepare { add { HookEndpointManager.Modify<On.UnityEngine.PostProcessing.EyeAdaptationComponent.hook_Prepare>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityEngine.PostProcessing.EyeAdaptationComponent.hook_Pre
BepInEx/plugins/MMHOOK/MMHOOK_assembly_simplemeshcombine.dll
Decompiled 4 months agousing System; using System.Collections; using System.ComponentModel; using System.Reflection; using System.Runtime.InteropServices; using MonoMod.Cil; using MonoMod.RuntimeDetour.HookGen; using On; using UnityEngine; [assembly: AssemblyVersion("0.0.0.0")] namespace On { public static class RunTimeCombineAndRelease { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(RunTimeCombineAndRelease self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, RunTimeCombineAndRelease self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(RunTimeCombineAndRelease self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, RunTimeCombineAndRelease self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Combine(RunTimeCombineAndRelease self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Combine(orig_Combine orig, RunTimeCombineAndRelease self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Release(RunTimeCombineAndRelease self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Release(orig_Release orig, RunTimeCombineAndRelease self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(RunTimeCombineAndRelease self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, RunTimeCombineAndRelease self); public static event hook_Awake Awake { add { HookEndpointManager.Add<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Combine Combine { add { HookEndpointManager.Add<hook_Combine>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Combine>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Release Release { add { HookEndpointManager.Add<hook_Release>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Release>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class RunTimeCombineAndRelease { public static event Manipulator Awake { add { HookEndpointManager.Modify<On.RunTimeCombineAndRelease.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.RunTimeCombineAndRelease.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Start { add { HookEndpointManager.Modify<On.RunTimeCombineAndRelease.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.RunTimeCombineAndRelease.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Combine { add { HookEndpointManager.Modify<On.RunTimeCombineAndRelease.hook_Combine>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.RunTimeCombineAndRelease.hook_Combine>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Release { add { HookEndpointManager.Modify<On.RunTimeCombineAndRelease.hook_Release>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.RunTimeCombineAndRelease.hook_Release>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.RunTimeCombineAndRelease.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.RunTimeCombineAndRelease.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class SimpleMeshCombine { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_EnableRenderers(SimpleMeshCombine self, bool e); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_EnableRenderers(orig_EnableRenderers orig, SimpleMeshCombine self, bool e); [EditorBrowsable(EditorBrowsableState.Never)] public delegate MeshFilter[] orig_FindEnabledMeshes(SimpleMeshCombine self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate MeshFilter[] hook_FindEnabledMeshes(orig_FindEnabledMeshes orig, SimpleMeshCombine self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_CombineMeshes(SimpleMeshCombine self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_CombineMeshes(orig_CombineMeshes orig, SimpleMeshCombine self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int orig_Contains(SimpleMeshCombine self, ArrayList l, Material n); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int hook_Contains(orig_Contains orig, SimpleMeshCombine self, ArrayList l, Material n); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(SimpleMeshCombine self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, SimpleMeshCombine self); public static event hook_EnableRenderers EnableRenderers { add { HookEndpointManager.Add<hook_EnableRenderers>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_EnableRenderers>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FindEnabledMeshes FindEnabledMeshes { add { HookEndpointManager.Add<hook_FindEnabledMeshes>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FindEnabledMeshes>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CombineMeshes CombineMeshes { add { HookEndpointManager.Add<hook_CombineMeshes>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CombineMeshes>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Contains Contains { add { HookEndpointManager.Add<hook_Contains>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Contains>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class SimpleMeshCombine { public static event Manipulator EnableRenderers { add { HookEndpointManager.Modify<On.SimpleMeshCombine.hook_EnableRenderers>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.SimpleMeshCombine.hook_EnableRenderers>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator FindEnabledMeshes { add { HookEndpointManager.Modify<On.SimpleMeshCombine.hook_FindEnabledMeshes>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.SimpleMeshCombine.hook_FindEnabledMeshes>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CombineMeshes { add { HookEndpointManager.Modify<On.SimpleMeshCombine.hook_CombineMeshes>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.SimpleMeshCombine.hook_CombineMeshes>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Contains { add { HookEndpointManager.Modify<On.SimpleMeshCombine.hook_Contains>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.SimpleMeshCombine.hook_Contains>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.SimpleMeshCombine.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.SimpleMeshCombine.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class SimpleMeshCombineMaster { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(SimpleMeshCombineMaster self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, SimpleMeshCombineMaster self); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class SimpleMeshCombineMaster { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.SimpleMeshCombineMaster.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.SimpleMeshCombineMaster.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class UnitySourceGeneratedAssemblyMonoScriptTypes_v1 { [EditorBrowsable(EditorBrowsableState.Never)] public delegate ValueType orig_Get(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate ValueType hook_Get(orig_Get orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(object self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, object self); public static event hook_Get Get { add { HookEndpointManager.Add<hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class UnitySourceGeneratedAssemblyMonoScriptTypes_v1 { public static event Manipulator Get { add { HookEndpointManager.Modify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace BepHookGen { [StructLayout(LayoutKind.Auto, CharSet = CharSet.Auto)] internal class size8704 { } }
BepInEx/plugins/MMHOOK/MMHOOK_assembly_sunshafts.dll
Decompiled 4 months ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.ComponentModel; using System.Reflection; using System.Runtime.InteropServices; using MonoMod.Cil; using MonoMod.RuntimeDetour.HookGen; using On; using On.UnityStandardAssets.ImageEffects; using UnityEngine; using UnityStandardAssets.ImageEffects; [assembly: AssemblyVersion("0.0.0.0")] namespace On { public static class UnitySourceGeneratedAssemblyMonoScriptTypes_v1 { [EditorBrowsable(EditorBrowsableState.Never)] public delegate ValueType orig_Get(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate ValueType hook_Get(orig_Get orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(object self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, object self); public static event hook_Get Get { add { HookEndpointManager.Add<hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class UnitySourceGeneratedAssemblyMonoScriptTypes_v1 { public static event Manipulator Get { add { HookEndpointManager.Modify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class Antialiasing { [EditorBrowsable(EditorBrowsableState.Never)] public delegate Material orig_CurrentAAMaterial(Antialiasing self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Material hook_CurrentAAMaterial(orig_CurrentAAMaterial orig, Antialiasing self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CheckResources(Antialiasing self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CheckResources(orig_CheckResources orig, Antialiasing self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(Antialiasing self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, Antialiasing self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Antialiasing self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Antialiasing self); public static event hook_CurrentAAMaterial CurrentAAMaterial { add { HookEndpointManager.Add<hook_CurrentAAMaterial>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CurrentAAMaterial>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CheckResources CheckResources { add { HookEndpointManager.Add<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class Antialiasing { public static event Manipulator CurrentAAMaterial { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Antialiasing.hook_CurrentAAMaterial>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Antialiasing.hook_CurrentAAMaterial>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CheckResources { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Antialiasing.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Antialiasing.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Antialiasing.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Antialiasing.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Antialiasing.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Antialiasing.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class Bloom { [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CheckResources(Bloom self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CheckResources(orig_CheckResources orig, Bloom self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(Bloom self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, Bloom self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_AddTo(Bloom self, float intensity_, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_AddTo(orig_AddTo orig, Bloom self, float intensity_, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_BlendFlares(Bloom self, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_BlendFlares(orig_BlendFlares orig, Bloom self, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_BrightFilter_float_RenderTexture_RenderTexture(Bloom self, float thresh, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_BrightFilter_float_RenderTexture_RenderTexture(orig_BrightFilter_float_RenderTexture_RenderTexture orig, Bloom self, float thresh, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_BrightFilter_Color_RenderTexture_RenderTexture(Bloom self, Color threshColor, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_BrightFilter_Color_RenderTexture_RenderTexture(orig_BrightFilter_Color_RenderTexture_RenderTexture orig, Bloom self, Color threshColor, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Vignette(Bloom self, float amount, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Vignette(orig_Vignette orig, Bloom self, float amount, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Bloom self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Bloom self); public static event hook_CheckResources CheckResources { add { HookEndpointManager.Add<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_AddTo AddTo { add { HookEndpointManager.Add<hook_AddTo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_AddTo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_BlendFlares BlendFlares { add { HookEndpointManager.Add<hook_BlendFlares>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_BlendFlares>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_BrightFilter_float_RenderTexture_RenderTexture BrightFilter_float_RenderTexture_RenderTexture { add { HookEndpointManager.Add<hook_BrightFilter_float_RenderTexture_RenderTexture>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_BrightFilter_float_RenderTexture_RenderTexture>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_BrightFilter_Color_RenderTexture_RenderTexture BrightFilter_Color_RenderTexture_RenderTexture { add { HookEndpointManager.Add<hook_BrightFilter_Color_RenderTexture_RenderTexture>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_BrightFilter_Color_RenderTexture_RenderTexture>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Vignette Vignette { add { HookEndpointManager.Add<hook_Vignette>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Vignette>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class Bloom { public static event Manipulator CheckResources { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Bloom.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Bloom.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Bloom.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Bloom.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator AddTo { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Bloom.hook_AddTo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Bloom.hook_AddTo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator BlendFlares { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Bloom.hook_BlendFlares>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Bloom.hook_BlendFlares>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator BrightFilter_float_RenderTexture_RenderTexture { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Bloom.hook_BrightFilter_float_RenderTexture_RenderTexture>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Bloom.hook_BrightFilter_float_RenderTexture_RenderTexture>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator BrightFilter_Color_RenderTexture_RenderTexture { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Bloom.hook_BrightFilter_Color_RenderTexture_RenderTexture>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Bloom.hook_BrightFilter_Color_RenderTexture_RenderTexture>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Vignette { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Bloom.hook_Vignette>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Bloom.hook_Vignette>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Bloom.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Bloom.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class BloomAndFlares { [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CheckResources(BloomAndFlares self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CheckResources(orig_CheckResources orig, BloomAndFlares self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(BloomAndFlares self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, BloomAndFlares self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_AddTo(BloomAndFlares self, float intensity_, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_AddTo(orig_AddTo orig, BloomAndFlares self, float intensity_, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_BlendFlares(BloomAndFlares self, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_BlendFlares(orig_BlendFlares orig, BloomAndFlares self, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_BrightFilter(BloomAndFlares self, float thresh, float useAlphaAsMask, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_BrightFilter(orig_BrightFilter orig, BloomAndFlares self, float thresh, float useAlphaAsMask, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Vignette(BloomAndFlares self, float amount, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Vignette(orig_Vignette orig, BloomAndFlares self, float amount, RenderTexture from, RenderTexture to); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(BloomAndFlares self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, BloomAndFlares self); public static event hook_CheckResources CheckResources { add { HookEndpointManager.Add<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_AddTo AddTo { add { HookEndpointManager.Add<hook_AddTo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_AddTo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_BlendFlares BlendFlares { add { HookEndpointManager.Add<hook_BlendFlares>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_BlendFlares>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_BrightFilter BrightFilter { add { HookEndpointManager.Add<hook_BrightFilter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_BrightFilter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Vignette Vignette { add { HookEndpointManager.Add<hook_Vignette>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Vignette>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class BloomAndFlares { public static event Manipulator CheckResources { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator AddTo { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_AddTo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_AddTo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator BlendFlares { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_BlendFlares>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_BlendFlares>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator BrightFilter { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_BrightFilter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_BrightFilter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Vignette { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_Vignette>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_Vignette>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BloomAndFlares.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class BloomOptimized { [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CheckResources(BloomOptimized self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CheckResources(orig_CheckResources orig, BloomOptimized self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(BloomOptimized self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, BloomOptimized self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(BloomOptimized self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, BloomOptimized self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(BloomOptimized self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, BloomOptimized self); public static event hook_CheckResources CheckResources { add { HookEndpointManager.Add<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class BloomOptimized { public static event Manipulator CheckResources { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BloomOptimized.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BloomOptimized.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BloomOptimized.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BloomOptimized.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BloomOptimized.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BloomOptimized.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BloomOptimized.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BloomOptimized.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class Blur { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(Blur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, Blur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(Blur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, Blur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_FourTapCone(Blur self, RenderTexture source, RenderTexture dest, int iteration); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_FourTapCone(orig_FourTapCone orig, Blur self, RenderTexture source, RenderTexture dest, int iteration); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_DownSample4x(Blur self, RenderTexture source, RenderTexture dest); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_DownSample4x(orig_DownSample4x orig, Blur self, RenderTexture source, RenderTexture dest); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(Blur self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, Blur self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Blur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Blur self); public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FourTapCone FourTapCone { add { HookEndpointManager.Add<hook_FourTapCone>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FourTapCone>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_DownSample4x DownSample4x { add { HookEndpointManager.Add<hook_DownSample4x>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_DownSample4x>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class Blur { public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Blur.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Blur.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Start { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Blur.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Blur.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator FourTapCone { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Blur.hook_FourTapCone>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Blur.hook_FourTapCone>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator DownSample4x { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Blur.hook_DownSample4x>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Blur.hook_DownSample4x>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Blur.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Blur.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.Blur.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.Blur.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class BlurOptimized { [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CheckResources(BlurOptimized self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CheckResources(orig_CheckResources orig, BlurOptimized self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(BlurOptimized self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, BlurOptimized self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(BlurOptimized self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, BlurOptimized self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(BlurOptimized self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, BlurOptimized self); public static event hook_CheckResources CheckResources { add { HookEndpointManager.Add<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class BlurOptimized { public static event Manipulator CheckResources { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BlurOptimized.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BlurOptimized.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BlurOptimized.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BlurOptimized.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BlurOptimized.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BlurOptimized.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.BlurOptimized.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.BlurOptimized.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class CameraMotionBlur { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_CalculateViewProjection(CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_CalculateViewProjection(orig_CalculateViewProjection orig, CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnEnable(CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnEnable(orig_OnEnable orig, CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CheckResources(CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CheckResources(orig_CheckResources orig, CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(CameraMotionBlur self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, CameraMotionBlur self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Remember(CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Remember(orig_Remember orig, CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Camera orig_GetTmpCam(CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Camera hook_GetTmpCam(orig_GetTmpCam orig, CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_StartFrame(CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_StartFrame(orig_StartFrame orig, CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int orig_divRoundUp(int x, int d); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int hook_divRoundUp(orig_divRoundUp orig, int x, int d); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, CameraMotionBlur self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_CalculateViewProjection CalculateViewProjection { add { HookEndpointManager.Add<hook_CalculateViewProjection>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CalculateViewProjection>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnEnable OnEnable { add { HookEndpointManager.Add<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CheckResources CheckResources { add { HookEndpointManager.Add<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Remember Remember { add { HookEndpointManager.Add<hook_Remember>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Remember>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetTmpCam GetTmpCam { add { HookEndpointManager.Add<hook_GetTmpCam>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetTmpCam>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_StartFrame StartFrame { add { HookEndpointManager.Add<hook_StartFrame>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_StartFrame>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_divRoundUp divRoundUp { add { HookEndpointManager.Add<hook_divRoundUp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_divRoundUp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class CameraMotionBlur { public static event Manipulator CalculateViewProjection { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_CalculateViewProjection>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_CalculateViewProjection>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Start { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnEnable { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CheckResources { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Remember { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_Remember>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_Remember>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetTmpCam { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_GetTmpCam>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_GetTmpCam>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator StartFrame { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_StartFrame>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_StartFrame>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator divRoundUp { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_divRoundUp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_divRoundUp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator cctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CameraMotionBlur.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class ColorCorrectionCurves { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(ColorCorrectionCurves self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, ColorCorrectionCurves self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(ColorCorrectionCurves self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, ColorCorrectionCurves self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CheckResources(ColorCorrectionCurves self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CheckResources(orig_CheckResources orig, ColorCorrectionCurves self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_UpdateParameters(ColorCorrectionCurves self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_UpdateParameters(orig_UpdateParameters orig, ColorCorrectionCurves self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_UpdateTextures(ColorCorrectionCurves self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_UpdateTextures(orig_UpdateTextures orig, ColorCorrectionCurves self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(ColorCorrectionCurves self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, ColorCorrectionCurves self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ColorCorrectionCurves self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ColorCorrectionCurves self); public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Awake Awake { add { HookEndpointManager.Add<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CheckResources CheckResources { add { HookEndpointManager.Add<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_UpdateParameters UpdateParameters { add { HookEndpointManager.Add<hook_UpdateParameters>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_UpdateParameters>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_UpdateTextures UpdateTextures { add { HookEndpointManager.Add<hook_UpdateTextures>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_UpdateTextures>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class ColorCorrectionCurves { public static event Manipulator Start { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Awake { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CheckResources { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator UpdateParameters { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_UpdateParameters>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_UpdateParameters>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator UpdateTextures { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_UpdateTextures>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_UpdateTextures>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionCurves.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class ColorCorrectionLookup { [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CheckResources(ColorCorrectionLookup self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CheckResources(orig_CheckResources orig, ColorCorrectionLookup self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(ColorCorrectionLookup self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, ColorCorrectionLookup self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDestroy(ColorCorrectionLookup self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDestroy(orig_OnDestroy orig, ColorCorrectionLookup self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetIdentityLut(ColorCorrectionLookup self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetIdentityLut(orig_SetIdentityLut orig, ColorCorrectionLookup self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_ValidDimensions(ColorCorrectionLookup self, Texture2D tex2d); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_ValidDimensions(orig_ValidDimensions orig, ColorCorrectionLookup self, Texture2D tex2d); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Convert(ColorCorrectionLookup self, Texture2D temp2DTex, string path); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Convert(orig_Convert orig, ColorCorrectionLookup self, Texture2D temp2DTex, string path); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(ColorCorrectionLookup self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, ColorCorrectionLookup self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ColorCorrectionLookup self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ColorCorrectionLookup self); public static event hook_CheckResources CheckResources { add { HookEndpointManager.Add<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDestroy OnDestroy { add { HookEndpointManager.Add<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetIdentityLut SetIdentityLut { add { HookEndpointManager.Add<hook_SetIdentityLut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetIdentityLut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ValidDimensions ValidDimensions { add { HookEndpointManager.Add<hook_ValidDimensions>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ValidDimensions>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Convert Convert { add { HookEndpointManager.Add<hook_Convert>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Convert>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class ColorCorrectionLookup { public static event Manipulator CheckResources { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDestroy { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SetIdentityLut { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_SetIdentityLut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_SetIdentityLut>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ValidDimensions { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_ValidDimensions>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_ValidDimensions>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Convert { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_Convert>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_Convert>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionLookup.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class ColorCorrectionRamp { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(ColorCorrectionRamp self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, ColorCorrectionRamp self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ColorCorrectionRamp self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ColorCorrectionRamp self); public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class ColorCorrectionRamp { public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionRamp.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionRamp.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ColorCorrectionRamp.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ColorCorrectionRamp.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class ContrastEnhance { [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CheckResources(ContrastEnhance self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CheckResources(orig_CheckResources orig, ContrastEnhance self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(ContrastEnhance self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, ContrastEnhance self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ContrastEnhance self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ContrastEnhance self); public static event hook_CheckResources CheckResources { add { HookEndpointManager.Add<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class ContrastEnhance { public static event Manipulator CheckResources { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ContrastEnhance.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ContrastEnhance.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ContrastEnhance.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ContrastEnhance.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ContrastEnhance.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ContrastEnhance.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class ContrastStretch { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(ContrastStretch self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, ContrastStretch self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnEnable(ContrastStretch self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnEnable(orig_OnEnable orig, ContrastStretch self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(ContrastStretch self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, ContrastStretch self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(ContrastStretch self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, ContrastStretch self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_CalculateAdaptation(ContrastStretch self, Texture curTexture); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_CalculateAdaptation(orig_CalculateAdaptation orig, ContrastStretch self, Texture curTexture); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ContrastStretch self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ContrastStretch self); public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnEnable OnEnable { add { HookEndpointManager.Add<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CalculateAdaptation CalculateAdaptation { add { HookEndpointManager.Add<hook_CalculateAdaptation>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CalculateAdaptation>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class ContrastStretch { public static event Manipulator Start { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ContrastStretch.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ContrastStretch.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnEnable { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ContrastStretch.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ContrastStretch.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ContrastStretch.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ContrastStretch.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ContrastStretch.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ContrastStretch.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CalculateAdaptation { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ContrastStretch.hook_CalculateAdaptation>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ContrastStretch.hook_CalculateAdaptation>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.ContrastStretch.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.ContrastStretch.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class CreaseShading { [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CheckResources(CreaseShading self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CheckResources(orig_CheckResources orig, CreaseShading self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(CreaseShading self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, CreaseShading self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(CreaseShading self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, CreaseShading self); public static event hook_CheckResources CheckResources { add { HookEndpointManager.Add<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.UnityStandardAssets.ImageEffects { public static class CreaseShading { public static event Manipulator CheckResources { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CreaseShading.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CreaseShading.hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnRenderImage { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CreaseShading.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CreaseShading.hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnityStandardAssets.ImageEffects.CreaseShading.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnityStandardAssets.ImageEffects.CreaseShading.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.UnityStandardAssets.ImageEffects { public static class DepthOfField { [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CheckResources(DepthOfField self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CheckResources(orig_CheckResources orig, DepthOfField self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnEnable(DepthOfField self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnEnable(orig_OnEnable orig, DepthOfField self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(DepthOfField self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, DepthOfField self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ReleaseComputeResources(DepthOfField self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ReleaseComputeResources(orig_ReleaseComputeResources orig, DepthOfField self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_CreateComputeResources(DepthOfField self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_CreateComputeResources(orig_CreateComputeResources orig, DepthOfField self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_FocalDistance01(DepthOfField self, float worldDist); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_FocalDistance01(orig_FocalDistance01 orig, DepthOfField self, float worldDist); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_WriteCoc(DepthOfField self, RenderTexture fromTo, bool fgDilate); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_WriteCoc(orig_WriteCoc orig, DepthOfField self, RenderTexture fromTo, bool fgDilate); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRenderImage(DepthOfField self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRenderImage(orig_OnRenderImage orig, DepthOfField self, RenderTexture source, RenderTexture destination); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(DepthOfField self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, DepthOfField self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_CheckResources CheckResources { add { HookEndpointManager.Add<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnEnable OnEnable { add { HookEndpointManager.Add<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ReleaseComputeResources ReleaseComputeResources { add { HookEndpointManager.Add<hook_ReleaseComputeResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ReleaseComputeResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CreateComputeResources CreateComputeResources { add { HookEndpointManager.Add<hook_CreateComputeResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CreateComputeResources>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FocalDistance01 FocalDistance01 { add { HookEndpointManager.Add<hook_FocalDistance01>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FocalDistance01>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_WriteCoc WriteCoc { add { HookEndpointManager.Add<hook_WriteCoc>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_WriteCoc>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnRenderImage OnRenderImage { add { HookEndpointManager.Add<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRenderImage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMember
BepInEx/plugins/MMHOOK/MMHOOK_assembly_utils.dll
Decompiled 4 months ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using Dynamics; using LlamAcademy.Spring; using MonoMod.Cil; using MonoMod.RuntimeDetour.HookGen; using On; using On.Dynamics; using On.LlamAcademy.Spring; using UnityEngine; using UnityEngine.InputSystem; using UnityEngine.InputSystem.LowLevel; [assembly: AssemblyVersion("0.0.0.0")] namespace On { public static class BitMaskAttribute { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(BitMaskAttribute self, Type aType); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, BitMaskAttribute self, Type aType); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class BitMaskAttribute { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.BitMaskAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.BitMaskAttribute.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class Cover { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_GetCoverForPoint(Vector3 startPos, out float coverPercentage, out bool underRoof, float minDistance); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_GetCoverForPoint(orig_GetCoverForPoint orig, Vector3 startPos, out float coverPercentage, out bool underRoof, float minDistance); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_IsUnderRoof(Vector3 startPos); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_IsUnderRoof(orig_IsUnderRoof orig, Vector3 startPos); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Setup(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Setup(orig_Setup orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_CreateCoverRays(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_CreateCoverRays(orig_CreateCoverRays orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Cover self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Cover self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_GetCoverForPoint GetCoverForPoint { add { HookEndpointManager.Add<hook_GetCoverForPoint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetCoverForPoint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_IsUnderRoof IsUnderRoof { add { HookEndpointManager.Add<hook_IsUnderRoof>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_IsUnderRoof>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Setup Setup { add { HookEndpointManager.Add<hook_Setup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Setup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CreateCoverRays CreateCoverRays { add { HookEndpointManager.Add<hook_CreateCoverRays>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CreateCoverRays>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class Cover { public static event Manipulator GetCoverForPoint { add { HookEndpointManager.Modify<On.Cover.hook_GetCoverForPoint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Cover.hook_GetCoverForPoint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator IsUnderRoof { add { HookEndpointManager.Modify<On.Cover.hook_IsUnderRoof>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Cover.hook_IsUnderRoof>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Setup { add { HookEndpointManager.Modify<On.Cover.hook_Setup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Cover.hook_Setup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CreateCoverRays { add { HookEndpointManager.Modify<On.Cover.hook_CreateCoverRays>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Cover.hook_CreateCoverRays>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Cover.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Cover.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator cctor { add { HookEndpointManager.Modify<On.Cover.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Cover.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class DrawBounds { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDrawGizmosSelected(DrawBounds self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDrawGizmosSelected(orig_OnDrawGizmosSelected orig, DrawBounds self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(DrawBounds self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, DrawBounds self); public static event hook_OnDrawGizmosSelected OnDrawGizmosSelected { add { HookEndpointManager.Add<hook_OnDrawGizmosSelected>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDrawGizmosSelected>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class DrawBounds { public static event Manipulator OnDrawGizmosSelected { add { HookEndpointManager.Modify<On.DrawBounds.hook_OnDrawGizmosSelected>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DrawBounds.hook_OnDrawGizmosSelected>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.DrawBounds.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DrawBounds.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class DUtils { [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_Length_float_float(float x, float y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_Length_float_float(orig_Length_float_float orig, float x, float y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_Length_double_double(double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_Length_double_double(orig_Length_double_double orig, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_BlendOverlay(double a, double b); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_BlendOverlay(orig_BlendOverlay orig, double a, double b); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_Lerp_float_float_float(float a, float b, float t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_Lerp_float_float_float(orig_Lerp_float_float_float orig, float a, float b, float t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_Lerp_double_double_double(double a, double b, double t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_Lerp_double_double_double(orig_Lerp_double_double_double orig, double a, double b, double t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_LerpStep_float_float_float(float l, float h, float v); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_LerpStep_float_float_float(orig_LerpStep_float_float_float orig, float l, float h, float v); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_LerpStep_double_double_double(double l, double h, double v); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_LerpStep_double_double_double(orig_LerpStep_double_double_double orig, double l, double h, double v); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_SmoothStep(float p_Min, float p_Max, float p_X); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_SmoothStep(orig_SmoothStep orig, float p_Min, float p_Max, float p_X); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_MathfLikeSmoothStep(double from, double to, double t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_MathfLikeSmoothStep(orig_MathfLikeSmoothStep orig, double from, double to, double t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_Clamp01(double v); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_Clamp01(orig_Clamp01 orig, double v); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_Fbm_Vector3_int_float_float(Vector3 p, int octaves, float lacunarity, float gain); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_Fbm_Vector3_int_float_float(orig_Fbm_Vector3_int_float_float orig, Vector3 p, int octaves, float lacunarity, float gain); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_Fbm_Vector2_int_float_float(Vector2 p, int octaves, float lacunarity, float gain); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_Fbm_Vector2_int_float_float(orig_Fbm_Vector2_int_float_float orig, Vector2 p, int octaves, float lacunarity, float gain); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_Fbm_Vector2_int_double_double(Vector2 p, int octaves, double lacunarity, double gain); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_Fbm_Vector2_int_double_double(orig_Fbm_Vector2_int_double_double orig, Vector2 p, int octaves, double lacunarity, double gain); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_Remap(double value, double inLow, double inHigh, double outLow, double outHigh); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_Remap(orig_Remap orig, double value, double inLow, double inHigh, double outLow, double outHigh); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_InverseLerp(double a, double b, double value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_InverseLerp(orig_InverseLerp orig, double a, double b, double value); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_PerlinNoise(double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_PerlinNoise(orig_PerlinNoise orig, double x, double y); public static event hook_Length_float_float Length_float_float { add { HookEndpointManager.Add<hook_Length_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Length_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Length_double_double Length_double_double { add { HookEndpointManager.Add<hook_Length_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Length_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_BlendOverlay BlendOverlay { add { HookEndpointManager.Add<hook_BlendOverlay>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_BlendOverlay>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Lerp_float_float_float Lerp_float_float_float { add { HookEndpointManager.Add<hook_Lerp_float_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Lerp_float_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Lerp_double_double_double Lerp_double_double_double { add { HookEndpointManager.Add<hook_Lerp_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Lerp_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LerpStep_float_float_float LerpStep_float_float_float { add { HookEndpointManager.Add<hook_LerpStep_float_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LerpStep_float_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LerpStep_double_double_double LerpStep_double_double_double { add { HookEndpointManager.Add<hook_LerpStep_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LerpStep_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SmoothStep SmoothStep { add { HookEndpointManager.Add<hook_SmoothStep>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SmoothStep>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_MathfLikeSmoothStep MathfLikeSmoothStep { add { HookEndpointManager.Add<hook_MathfLikeSmoothStep>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_MathfLikeSmoothStep>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Clamp01 Clamp01 { add { HookEndpointManager.Add<hook_Clamp01>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Clamp01>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Fbm_Vector3_int_float_float Fbm_Vector3_int_float_float { add { HookEndpointManager.Add<hook_Fbm_Vector3_int_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Fbm_Vector3_int_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Fbm_Vector2_int_float_float Fbm_Vector2_int_float_float { add { HookEndpointManager.Add<hook_Fbm_Vector2_int_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Fbm_Vector2_int_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Fbm_Vector2_int_double_double Fbm_Vector2_int_double_double { add { HookEndpointManager.Add<hook_Fbm_Vector2_int_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Fbm_Vector2_int_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Remap Remap { add { HookEndpointManager.Add<hook_Remap>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Remap>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_InverseLerp InverseLerp { add { HookEndpointManager.Add<hook_InverseLerp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_InverseLerp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_PerlinNoise PerlinNoise { add { HookEndpointManager.Add<hook_PerlinNoise>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_PerlinNoise>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class DUtils { public static event Manipulator Length_float_float { add { HookEndpointManager.Modify<On.DUtils.hook_Length_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_Length_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Length_double_double { add { HookEndpointManager.Modify<On.DUtils.hook_Length_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_Length_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator BlendOverlay { add { HookEndpointManager.Modify<On.DUtils.hook_BlendOverlay>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_BlendOverlay>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Lerp_float_float_float { add { HookEndpointManager.Modify<On.DUtils.hook_Lerp_float_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_Lerp_float_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Lerp_double_double_double { add { HookEndpointManager.Modify<On.DUtils.hook_Lerp_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_Lerp_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LerpStep_float_float_float { add { HookEndpointManager.Modify<On.DUtils.hook_LerpStep_float_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_LerpStep_float_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LerpStep_double_double_double { add { HookEndpointManager.Modify<On.DUtils.hook_LerpStep_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_LerpStep_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SmoothStep { add { HookEndpointManager.Modify<On.DUtils.hook_SmoothStep>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_SmoothStep>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator MathfLikeSmoothStep { add { HookEndpointManager.Modify<On.DUtils.hook_MathfLikeSmoothStep>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_MathfLikeSmoothStep>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Clamp01 { add { HookEndpointManager.Modify<On.DUtils.hook_Clamp01>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_Clamp01>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Fbm_Vector3_int_float_float { add { HookEndpointManager.Modify<On.DUtils.hook_Fbm_Vector3_int_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_Fbm_Vector3_int_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Fbm_Vector2_int_float_float { add { HookEndpointManager.Modify<On.DUtils.hook_Fbm_Vector2_int_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_Fbm_Vector2_int_float_float>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Fbm_Vector2_int_double_double { add { HookEndpointManager.Modify<On.DUtils.hook_Fbm_Vector2_int_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_Fbm_Vector2_int_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Remap { add { HookEndpointManager.Modify<On.DUtils.hook_Remap>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_Remap>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator InverseLerp { add { HookEndpointManager.Modify<On.DUtils.hook_InverseLerp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_InverseLerp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator PerlinNoise { add { HookEndpointManager.Modify<On.DUtils.hook_PerlinNoise>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DUtils.hook_PerlinNoise>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class FastNoise { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(FastNoise self, int seed); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, FastNoise self, int seed); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetDecimalType(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetDecimalType(orig_GetDecimalType orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int orig_GetSeed(FastNoise self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int hook_GetSeed(orig_GetSeed orig, FastNoise self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetSeed(FastNoise self, int seed); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetSeed(orig_SetSeed orig, FastNoise self, int seed); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetFrequency(FastNoise self, double frequency); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetFrequency(orig_SetFrequency orig, FastNoise self, double frequency); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetInterp(FastNoise self, Interp interp); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetInterp(orig_SetInterp orig, FastNoise self, Interp interp); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetNoiseType(FastNoise self, NoiseType noiseType); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetNoiseType(orig_SetNoiseType orig, FastNoise self, NoiseType noiseType); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetFractalOctaves(FastNoise self, int octaves); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetFractalOctaves(orig_SetFractalOctaves orig, FastNoise self, int octaves); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetFractalLacunarity(FastNoise self, double lacunarity); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetFractalLacunarity(orig_SetFractalLacunarity orig, FastNoise self, double lacunarity); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetFractalGain(FastNoise self, double gain); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetFractalGain(orig_SetFractalGain orig, FastNoise self, double gain); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetFractalType(FastNoise self, FractalType fractalType); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetFractalType(orig_SetFractalType orig, FastNoise self, FractalType fractalType); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetCellularDistanceFunction(FastNoise self, CellularDistanceFunction cellularDistanceFunction); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetCellularDistanceFunction(orig_SetCellularDistanceFunction orig, FastNoise self, CellularDistanceFunction cellularDistanceFunction); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetCellularReturnType(FastNoise self, CellularReturnType cellularReturnType); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetCellularReturnType(orig_SetCellularReturnType orig, FastNoise self, CellularReturnType cellularReturnType); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetCellularDistance2Indicies(FastNoise self, int cellularDistanceIndex0, int cellularDistanceIndex1); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetCellularDistance2Indicies(orig_SetCellularDistance2Indicies orig, FastNoise self, int cellularDistanceIndex0, int cellularDistanceIndex1); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetCellularJitter(FastNoise self, float cellularJitter); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetCellularJitter(orig_SetCellularJitter orig, FastNoise self, float cellularJitter); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetCellularNoiseLookup(FastNoise self, FastNoise noise); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetCellularNoiseLookup(orig_SetCellularNoiseLookup orig, FastNoise self, FastNoise noise); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetGradientPerturbAmp(FastNoise self, double gradientPerturbAmp); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetGradientPerturbAmp(orig_SetGradientPerturbAmp orig, FastNoise self, double gradientPerturbAmp); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int orig_FastFloor(double f); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int hook_FastFloor(orig_FastFloor orig, double f); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int orig_FastRound(double f); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int hook_FastRound(orig_FastRound orig, double f); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_Lerp(double a, double b, double t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_Lerp(orig_Lerp orig, double a, double b, double t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_InterpHermiteFunc(double t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_InterpHermiteFunc(orig_InterpHermiteFunc orig, double t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_InterpQuinticFunc(double t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_InterpQuinticFunc(orig_InterpQuinticFunc orig, double t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_CubicLerp(double a, double b, double c, double d, double t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_CubicLerp(orig_CubicLerp orig, double a, double b, double c, double d, double t); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_CalculateFractalBounding(FastNoise self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_CalculateFractalBounding(orig_CalculateFractalBounding orig, FastNoise self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int orig_Hash2D(int seed, int x, int y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int hook_Hash2D(orig_Hash2D orig, int seed, int x, int y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int orig_Hash3D(int seed, int x, int y, int z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int hook_Hash3D(orig_Hash3D orig, int seed, int x, int y, int z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int orig_Hash4D(int seed, int x, int y, int z, int w); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int hook_Hash4D(orig_Hash4D orig, int seed, int x, int y, int z, int w); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_ValCoord2D(int seed, int x, int y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_ValCoord2D(orig_ValCoord2D orig, int seed, int x, int y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_ValCoord3D(int seed, int x, int y, int z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_ValCoord3D(orig_ValCoord3D orig, int seed, int x, int y, int z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_ValCoord4D(int seed, int x, int y, int z, int w); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_ValCoord4D(orig_ValCoord4D orig, int seed, int x, int y, int z, int w); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GradCoord2D(int seed, int x, int y, double xd, double yd); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GradCoord2D(orig_GradCoord2D orig, int seed, int x, int y, double xd, double yd); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GradCoord3D(int seed, int x, int y, int z, double xd, double yd, double zd); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GradCoord3D(orig_GradCoord3D orig, int seed, int x, int y, int z, double xd, double yd, double zd); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GradCoord4D(int seed, int x, int y, int z, int w, double xd, double yd, double zd, double wd); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GradCoord4D(orig_GradCoord4D orig, int seed, int x, int y, int z, int w, double xd, double yd, double zd, double wd); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetNoise_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetNoise_double_double_double(orig_GetNoise_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetNoise_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetNoise_double_double(orig_GetNoise_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int orig_FloatCast2Int(FastNoise self, double f); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int hook_FloatCast2Int(orig_FloatCast2Int orig, FastNoise self, double f); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetWhiteNoise_double_double_double_double(FastNoise self, double x, double y, double z, double w); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetWhiteNoise_double_double_double_double(orig_GetWhiteNoise_double_double_double_double orig, FastNoise self, double x, double y, double z, double w); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetWhiteNoise_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetWhiteNoise_double_double_double(orig_GetWhiteNoise_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetWhiteNoise_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetWhiteNoise_double_double(orig_GetWhiteNoise_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetWhiteNoiseInt_int_int_int_int(FastNoise self, int x, int y, int z, int w); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetWhiteNoiseInt_int_int_int_int(orig_GetWhiteNoiseInt_int_int_int_int orig, FastNoise self, int x, int y, int z, int w); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetWhiteNoiseInt_int_int_int(FastNoise self, int x, int y, int z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetWhiteNoiseInt_int_int_int(orig_GetWhiteNoiseInt_int_int_int orig, FastNoise self, int x, int y, int z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetWhiteNoiseInt_int_int(FastNoise self, int x, int y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetWhiteNoiseInt_int_int(orig_GetWhiteNoiseInt_int_int orig, FastNoise self, int x, int y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetValueFractal_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetValueFractal_double_double_double(orig_GetValueFractal_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleValueFractalFBM_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleValueFractalFBM_double_double_double(orig_SingleValueFractalFBM_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleValueFractalBillow_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleValueFractalBillow_double_double_double(orig_SingleValueFractalBillow_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleValueFractalRigidMulti_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleValueFractalRigidMulti_double_double_double(orig_SingleValueFractalRigidMulti_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetValue_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetValue_double_double_double(orig_GetValue_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleValue_int_double_double_double(FastNoise self, int seed, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleValue_int_double_double_double(orig_SingleValue_int_double_double_double orig, FastNoise self, int seed, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetValueFractal_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetValueFractal_double_double(orig_GetValueFractal_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleValueFractalFBM_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleValueFractalFBM_double_double(orig_SingleValueFractalFBM_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleValueFractalBillow_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleValueFractalBillow_double_double(orig_SingleValueFractalBillow_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleValueFractalRigidMulti_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleValueFractalRigidMulti_double_double(orig_SingleValueFractalRigidMulti_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetValue_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetValue_double_double(orig_GetValue_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleValue_int_double_double(FastNoise self, int seed, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleValue_int_double_double(orig_SingleValue_int_double_double orig, FastNoise self, int seed, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetPerlinFractal_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetPerlinFractal_double_double_double(orig_GetPerlinFractal_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SinglePerlinFractalFBM_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SinglePerlinFractalFBM_double_double_double(orig_SinglePerlinFractalFBM_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SinglePerlinFractalBillow_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SinglePerlinFractalBillow_double_double_double(orig_SinglePerlinFractalBillow_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SinglePerlinFractalRigidMulti_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SinglePerlinFractalRigidMulti_double_double_double(orig_SinglePerlinFractalRigidMulti_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetPerlin_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetPerlin_double_double_double(orig_GetPerlin_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SinglePerlin_int_double_double_double(FastNoise self, int seed, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SinglePerlin_int_double_double_double(orig_SinglePerlin_int_double_double_double orig, FastNoise self, int seed, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetPerlinFractal_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetPerlinFractal_double_double(orig_GetPerlinFractal_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SinglePerlinFractalFBM_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SinglePerlinFractalFBM_double_double(orig_SinglePerlinFractalFBM_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SinglePerlinFractalBillow_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SinglePerlinFractalBillow_double_double(orig_SinglePerlinFractalBillow_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SinglePerlinFractalRigidMulti_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SinglePerlinFractalRigidMulti_double_double(orig_SinglePerlinFractalRigidMulti_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetPerlin_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetPerlin_double_double(orig_GetPerlin_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SinglePerlin_int_double_double(FastNoise self, int seed, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SinglePerlin_int_double_double(orig_SinglePerlin_int_double_double orig, FastNoise self, int seed, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetSimplexFractal_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetSimplexFractal_double_double_double(orig_GetSimplexFractal_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleSimplexFractalFBM_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleSimplexFractalFBM_double_double_double(orig_SingleSimplexFractalFBM_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleSimplexFractalBillow_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleSimplexFractalBillow_double_double_double(orig_SingleSimplexFractalBillow_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleSimplexFractalRigidMulti_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleSimplexFractalRigidMulti_double_double_double(orig_SingleSimplexFractalRigidMulti_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetSimplex_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetSimplex_double_double_double(orig_GetSimplex_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleSimplex_int_double_double_double(FastNoise self, int seed, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleSimplex_int_double_double_double(orig_SingleSimplex_int_double_double_double orig, FastNoise self, int seed, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetSimplexFractal_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetSimplexFractal_double_double(orig_GetSimplexFractal_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleSimplexFractalFBM_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleSimplexFractalFBM_double_double(orig_SingleSimplexFractalFBM_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleSimplexFractalBillow_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleSimplexFractalBillow_double_double(orig_SingleSimplexFractalBillow_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleSimplexFractalRigidMulti_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleSimplexFractalRigidMulti_double_double(orig_SingleSimplexFractalRigidMulti_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetSimplex_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetSimplex_double_double(orig_GetSimplex_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleSimplex_int_double_double(FastNoise self, int seed, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleSimplex_int_double_double(orig_SingleSimplex_int_double_double orig, FastNoise self, int seed, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetSimplex_double_double_double_double(FastNoise self, double x, double y, double z, double w); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetSimplex_double_double_double_double(orig_GetSimplex_double_double_double_double orig, FastNoise self, double x, double y, double z, double w); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleSimplex_int_double_double_double_double(FastNoise self, int seed, double x, double y, double z, double w); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleSimplex_int_double_double_double_double(orig_SingleSimplex_int_double_double_double_double orig, FastNoise self, int seed, double x, double y, double z, double w); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetCubicFractal_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetCubicFractal_double_double_double(orig_GetCubicFractal_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleCubicFractalFBM_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleCubicFractalFBM_double_double_double(orig_SingleCubicFractalFBM_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleCubicFractalBillow_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleCubicFractalBillow_double_double_double(orig_SingleCubicFractalBillow_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleCubicFractalRigidMulti_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleCubicFractalRigidMulti_double_double_double(orig_SingleCubicFractalRigidMulti_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetCubic_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetCubic_double_double_double(orig_GetCubic_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleCubic_int_double_double_double(FastNoise self, int seed, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleCubic_int_double_double_double(orig_SingleCubic_int_double_double_double orig, FastNoise self, int seed, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetCubicFractal_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetCubicFractal_double_double(orig_GetCubicFractal_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleCubicFractalFBM_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleCubicFractalFBM_double_double(orig_SingleCubicFractalFBM_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleCubicFractalBillow_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleCubicFractalBillow_double_double(orig_SingleCubicFractalBillow_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleCubicFractalRigidMulti_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleCubicFractalRigidMulti_double_double(orig_SingleCubicFractalRigidMulti_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetCubic_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetCubic_double_double(orig_GetCubic_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleCubic_int_double_double(FastNoise self, int seed, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleCubic_int_double_double(orig_SingleCubic_int_double_double orig, FastNoise self, int seed, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetCellular_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetCellular_double_double_double(orig_GetCellular_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleCellular_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleCellular_double_double_double(orig_SingleCellular_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleCellular2Edge_double_double_double(FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleCellular2Edge_double_double_double(orig_SingleCellular2Edge_double_double_double orig, FastNoise self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_GetCellular_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_GetCellular_double_double(orig_GetCellular_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleCellular_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleCellular_double_double(orig_SingleCellular_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double orig_SingleCellular2Edge_double_double(FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate double hook_SingleCellular2Edge_double_double(orig_SingleCellular2Edge_double_double orig, FastNoise self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_GradientPerturb_refDouble_refDouble_refDouble(FastNoise self, ref double x, ref double y, ref double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_GradientPerturb_refDouble_refDouble_refDouble(orig_GradientPerturb_refDouble_refDouble_refDouble orig, FastNoise self, ref double x, ref double y, ref double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_GradientPerturbFractal_refDouble_refDouble_refDouble(FastNoise self, ref double x, ref double y, ref double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_GradientPerturbFractal_refDouble_refDouble_refDouble(orig_GradientPerturbFractal_refDouble_refDouble_refDouble orig, FastNoise self, ref double x, ref double y, ref double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SingleGradientPerturb_int_double_double_refDouble_refDouble_refDouble(FastNoise self, int seed, double perturbAmp, double frequency, ref double x, ref double y, ref double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SingleGradientPerturb_int_double_double_refDouble_refDouble_refDouble(orig_SingleGradientPerturb_int_double_double_refDouble_refDouble_refDouble orig, FastNoise self, int seed, double perturbAmp, double frequency, ref double x, ref double y, ref double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_GradientPerturb_refDouble_refDouble(FastNoise self, ref double x, ref double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_GradientPerturb_refDouble_refDouble(orig_GradientPerturb_refDouble_refDouble orig, FastNoise self, ref double x, ref double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_GradientPerturbFractal_refDouble_refDouble(FastNoise self, ref double x, ref double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_GradientPerturbFractal_refDouble_refDouble(orig_GradientPerturbFractal_refDouble_refDouble orig, FastNoise self, ref double x, ref double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SingleGradientPerturb_int_double_double_refDouble_refDouble(FastNoise self, int seed, double perturbAmp, double frequency, ref double x, ref double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SingleGradientPerturb_int_double_double_refDouble_refDouble(orig_SingleGradientPerturb_int_double_double_refDouble_refDouble orig, FastNoise self, int seed, double perturbAmp, double frequency, ref double x, ref double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static class Float2 { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ref ValueType self, double x, double y); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ref ValueType self, double x, double y); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static class Float3 { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ref ValueType self, double x, double y, double z); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ref ValueType self, double x, double y, double z); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetDecimalType GetDecimalType { add { HookEndpointManager.Add<hook_GetDecimalType>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetDecimalType>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetSeed GetSeed { add { HookEndpointManager.Add<hook_GetSeed>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetSeed>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetSeed SetSeed { add { HookEndpointManager.Add<hook_SetSeed>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetSeed>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetFrequency SetFrequency { add { HookEndpointManager.Add<hook_SetFrequency>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetFrequency>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetInterp SetInterp { add { HookEndpointManager.Add<hook_SetInterp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetInterp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetNoiseType SetNoiseType { add { HookEndpointManager.Add<hook_SetNoiseType>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetNoiseType>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetFractalOctaves SetFractalOctaves { add { HookEndpointManager.Add<hook_SetFractalOctaves>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetFractalOctaves>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetFractalLacunarity SetFractalLacunarity { add { HookEndpointManager.Add<hook_SetFractalLacunarity>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetFractalLacunarity>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetFractalGain SetFractalGain { add { HookEndpointManager.Add<hook_SetFractalGain>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetFractalGain>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetFractalType SetFractalType { add { HookEndpointManager.Add<hook_SetFractalType>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetFractalType>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetCellularDistanceFunction SetCellularDistanceFunction { add { HookEndpointManager.Add<hook_SetCellularDistanceFunction>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetCellularDistanceFunction>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetCellularReturnType SetCellularReturnType { add { HookEndpointManager.Add<hook_SetCellularReturnType>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetCellularReturnType>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetCellularDistance2Indicies SetCellularDistance2Indicies { add { HookEndpointManager.Add<hook_SetCellularDistance2Indicies>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetCellularDistance2Indicies>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetCellularJitter SetCellularJitter { add { HookEndpointManager.Add<hook_SetCellularJitter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetCellularJitter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetCellularNoiseLookup SetCellularNoiseLookup { add { HookEndpointManager.Add<hook_SetCellularNoiseLookup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetCellularNoiseLookup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SetGradientPerturbAmp SetGradientPerturbAmp { add { HookEndpointManager.Add<hook_SetGradientPerturbAmp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SetGradientPerturbAmp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FastFloor FastFloor { add { HookEndpointManager.Add<hook_FastFloor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FastFloor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FastRound FastRound { add { HookEndpointManager.Add<hook_FastRound>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FastRound>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Lerp Lerp { add { HookEndpointManager.Add<hook_Lerp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Lerp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_InterpHermiteFunc InterpHermiteFunc { add { HookEndpointManager.Add<hook_InterpHermiteFunc>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_InterpHermiteFunc>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_InterpQuinticFunc InterpQuinticFunc { add { HookEndpointManager.Add<hook_InterpQuinticFunc>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_InterpQuinticFunc>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CubicLerp CubicLerp { add { HookEndpointManager.Add<hook_CubicLerp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CubicLerp>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CalculateFractalBounding CalculateFractalBounding { add { HookEndpointManager.Add<hook_CalculateFractalBounding>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CalculateFractalBounding>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Hash2D Hash2D { add { HookEndpointManager.Add<hook_Hash2D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Hash2D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Hash3D Hash3D { add { HookEndpointManager.Add<hook_Hash3D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Hash3D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Hash4D Hash4D { add { HookEndpointManager.Add<hook_Hash4D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Hash4D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ValCoord2D ValCoord2D { add { HookEndpointManager.Add<hook_ValCoord2D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ValCoord2D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ValCoord3D ValCoord3D { add { HookEndpointManager.Add<hook_ValCoord3D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ValCoord3D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ValCoord4D ValCoord4D { add { HookEndpointManager.Add<hook_ValCoord4D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ValCoord4D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GradCoord2D GradCoord2D { add { HookEndpointManager.Add<hook_GradCoord2D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GradCoord2D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GradCoord3D GradCoord3D { add { HookEndpointManager.Add<hook_GradCoord3D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GradCoord3D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GradCoord4D GradCoord4D { add { HookEndpointManager.Add<hook_GradCoord4D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GradCoord4D>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetNoise_double_double_double GetNoise_double_double_double { add { HookEndpointManager.Add<hook_GetNoise_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetNoise_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetNoise_double_double GetNoise_double_double { add { HookEndpointManager.Add<hook_GetNoise_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetNoise_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FloatCast2Int FloatCast2Int { add { HookEndpointManager.Add<hook_FloatCast2Int>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FloatCast2Int>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetWhiteNoise_double_double_double_double GetWhiteNoise_double_double_double_double { add { HookEndpointManager.Add<hook_GetWhiteNoise_double_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetWhiteNoise_double_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetWhiteNoise_double_double_double GetWhiteNoise_double_double_double { add { HookEndpointManager.Add<hook_GetWhiteNoise_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetWhiteNoise_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetWhiteNoise_double_double GetWhiteNoise_double_double { add { HookEndpointManager.Add<hook_GetWhiteNoise_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetWhiteNoise_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetWhiteNoiseInt_int_int_int_int GetWhiteNoiseInt_int_int_int_int { add { HookEndpointManager.Add<hook_GetWhiteNoiseInt_int_int_int_int>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetWhiteNoiseInt_int_int_int_int>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetWhiteNoiseInt_int_int_int GetWhiteNoiseInt_int_int_int { add { HookEndpointManager.Add<hook_GetWhiteNoiseInt_int_int_int>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetWhiteNoiseInt_int_int_int>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetWhiteNoiseInt_int_int GetWhiteNoiseInt_int_int { add { HookEndpointManager.Add<hook_GetWhiteNoiseInt_int_int>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetWhiteNoiseInt_int_int>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetValueFractal_double_double_double GetValueFractal_double_double_double { add { HookEndpointManager.Add<hook_GetValueFractal_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetValueFractal_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleValueFractalFBM_double_double_double SingleValueFractalFBM_double_double_double { add { HookEndpointManager.Add<hook_SingleValueFractalFBM_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SingleValueFractalFBM_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleValueFractalBillow_double_double_double SingleValueFractalBillow_double_double_double { add { HookEndpointManager.Add<hook_SingleValueFractalBillow_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SingleValueFractalBillow_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleValueFractalRigidMulti_double_double_double SingleValueFractalRigidMulti_double_double_double { add { HookEndpointManager.Add<hook_SingleValueFractalRigidMulti_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SingleValueFractalRigidMulti_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetValue_double_double_double GetValue_double_double_double { add { HookEndpointManager.Add<hook_GetValue_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetValue_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleValue_int_double_double_double SingleValue_int_double_double_double { add { HookEndpointManager.Add<hook_SingleValue_int_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SingleValue_int_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetValueFractal_double_double GetValueFractal_double_double { add { HookEndpointManager.Add<hook_GetValueFractal_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetValueFractal_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleValueFractalFBM_double_double SingleValueFractalFBM_double_double { add { HookEndpointManager.Add<hook_SingleValueFractalFBM_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SingleValueFractalFBM_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleValueFractalBillow_double_double SingleValueFractalBillow_double_double { add { HookEndpointManager.Add<hook_SingleValueFractalBillow_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SingleValueFractalBillow_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleValueFractalRigidMulti_double_double SingleValueFractalRigidMulti_double_double { add { HookEndpointManager.Add<hook_SingleValueFractalRigidMulti_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SingleValueFractalRigidMulti_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetValue_double_double GetValue_double_double { add { HookEndpointManager.Add<hook_GetValue_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetValue_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleValue_int_double_double SingleValue_int_double_double { add { HookEndpointManager.Add<hook_SingleValue_int_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SingleValue_int_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetPerlinFractal_double_double_double GetPerlinFractal_double_double_double { add { HookEndpointManager.Add<hook_GetPerlinFractal_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetPerlinFractal_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SinglePerlinFractalFBM_double_double_double SinglePerlinFractalFBM_double_double_double { add { HookEndpointManager.Add<hook_SinglePerlinFractalFBM_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SinglePerlinFractalFBM_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SinglePerlinFractalBillow_double_double_double SinglePerlinFractalBillow_double_double_double { add { HookEndpointManager.Add<hook_SinglePerlinFractalBillow_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SinglePerlinFractalBillow_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SinglePerlinFractalRigidMulti_double_double_double SinglePerlinFractalRigidMulti_double_double_double { add { HookEndpointManager.Add<hook_SinglePerlinFractalRigidMulti_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SinglePerlinFractalRigidMulti_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetPerlin_double_double_double GetPerlin_double_double_double { add { HookEndpointManager.Add<hook_GetPerlin_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetPerlin_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SinglePerlin_int_double_double_double SinglePerlin_int_double_double_double { add { HookEndpointManager.Add<hook_SinglePerlin_int_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SinglePerlin_int_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetPerlinFractal_double_double GetPerlinFractal_double_double { add { HookEndpointManager.Add<hook_GetPerlinFractal_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetPerlinFractal_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SinglePerlinFractalFBM_double_double SinglePerlinFractalFBM_double_double { add { HookEndpointManager.Add<hook_SinglePerlinFractalFBM_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SinglePerlinFractalFBM_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SinglePerlinFractalBillow_double_double SinglePerlinFractalBillow_double_double { add { HookEndpointManager.Add<hook_SinglePerlinFractalBillow_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SinglePerlinFractalBillow_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SinglePerlinFractalRigidMulti_double_double SinglePerlinFractalRigidMulti_double_double { add { HookEndpointManager.Add<hook_SinglePerlinFractalRigidMulti_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SinglePerlinFractalRigidMulti_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetPerlin_double_double GetPerlin_double_double { add { HookEndpointManager.Add<hook_GetPerlin_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetPerlin_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SinglePerlin_int_double_double SinglePerlin_int_double_double { add { HookEndpointManager.Add<hook_SinglePerlin_int_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SinglePerlin_int_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetSimplexFractal_double_double_double GetSimplexFractal_double_double_double { add { HookEndpointManager.Add<hook_GetSimplexFractal_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetSimplexFractal_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleSimplexFractalFBM_double_double_double SingleSimplexFractalFBM_double_double_double { add { HookEndpointManager.Add<hook_SingleSimplexFractalFBM_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SingleSimplexFractalFBM_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleSimplexFractalBillow_double_double_double SingleSimplexFractalBillow_double_double_double { add { HookEndpointManager.Add<hook_SingleSimplexFractalBillow_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SingleSimplexFractalBillow_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleSimplexFractalRigidMulti_double_double_double SingleSimplexFractalRigidMulti_double_double_double { add { HookEndpointManager.Add<hook_SingleSimplexFractalRigidMulti_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SingleSimplexFractalRigidMulti_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetSimplex_double_double_double GetSimplex_double_double_double { add { HookEndpointManager.Add<hook_GetSimplex_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetSimplex_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleSimplex_int_double_double_double SingleSimplex_int_double_double_double { add { HookEndpointManager.Add<hook_SingleSimplex_int_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SingleSimplex_int_double_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetSimplexFractal_double_double GetSimplexFractal_double_double { add { HookEndpointManager.Add<hook_GetSimplexFractal_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetSimplexFractal_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SingleSimplexFractalFBM_double_double SingleSimplexFractalFBM_double_double { add { HookEndpointManager.Add<hook_SingleSimplexFractalFBM_double_double>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remov
BepInEx/plugins/MMHOOK/MMHOOK_assembly_valheim.dll
Decompiled 4 months ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Net; using System.Net.Sockets; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using GUIFramework; using MonoMod.Cil; using MonoMod.RuntimeDetour.HookGen; using On; using On.UserManagement; using On.Valheim.SettingsGui; using On.Valheim.UI; using PlatformTools.Core; using PlayFab; using PlayFab.ClientModels; using PlayFab.MultiplayerModels; using PlayFab.Party; using SoftReferenceableAssets; using Steamworks; using TMPro; using UnityEngine; using UnityEngine.AI; using UnityEngine.EventSystems; using UnityEngine.ParticleSystemJobs; using UnityEngine.UI; using Valheim.SettingsGui; using Valheim.UI; [assembly: AssemblyVersion("0.0.0.0")] namespace On { public static class Aoe { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnEnable(Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnEnable(orig_OnEnable orig, Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate DamageTypes orig_GetDamage(Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate DamageTypes hook_GetDamage(orig_GetDamage orig, Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate DamageTypes orig_GetDamage_int(Aoe self, int itemQuality); [EditorBrowsable(EditorBrowsableState.Never)] public delegate DamageTypes hook_GetDamage_int(orig_GetDamage_int orig, Aoe self, int itemQuality); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetTooltipString(Aoe self, int itemQuality); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetTooltipString(orig_GetTooltipString orig, Aoe self, int itemQuality); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_CustomFixedUpdate(Aoe self, float fixedDeltaTime); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_CustomFixedUpdate(orig_CustomFixedUpdate orig, Aoe self, float fixedDeltaTime); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Initiate(Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Initiate(orig_Initiate orig, Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_CheckHits(Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_CheckHits(orig_CheckHits orig, Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_FindHits(Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_FindHits(orig_FindHits orig, Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_ShouldHit(Aoe self, Collider collider); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_ShouldHit(orig_ShouldHit orig, Aoe self, Collider collider); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SortHits(Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SortHits(orig_SortHits orig, Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Setup(Aoe self, Character owner, Vector3 velocity, float hitNoise, HitData hitData, ItemData item, ItemData ammo); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Setup(orig_Setup orig, Aoe self, Character owner, Vector3 velocity, float hitNoise, HitData hitData, ItemData item, ItemData ammo); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnCollisionEnter(Aoe self, Collision collision); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnCollisionEnter(orig_OnCollisionEnter orig, Aoe self, Collision collision); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnCollisionStay(Aoe self, Collision collision); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnCollisionStay(orig_OnCollisionStay orig, Aoe self, Collision collision); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnTriggerEnter(Aoe self, Collider collider); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnTriggerEnter(orig_OnTriggerEnter orig, Aoe self, Collider collider); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnTriggerStay(Aoe self, Collider collider); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnTriggerStay(orig_OnTriggerStay orig, Aoe self, Collider collider); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_CauseTriggerDamage(Aoe self, Collider collider, bool onTriggerEnter); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_CauseTriggerDamage(orig_CauseTriggerDamage orig, Aoe self, Collider collider, bool onTriggerEnter); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_OnHit(Aoe self, Collider collider, Vector3 hitPoint); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_OnHit(orig_OnHit orig, Aoe self, Collider collider, Vector3 hitPoint); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int orig_GetStatusEffect(Aoe self, Character character); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int hook_GetStatusEffect(orig_GetStatusEffect orig, Aoe self, Character character); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDrawGizmos(Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDrawGizmos(orig_OnDrawGizmos orig, Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Aoe self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int orig_<SortHits>b__12_0(Aoe self, Collider a, Collider b); [EditorBrowsable(EditorBrowsableState.Never)] public delegate int hook_<SortHits>b__12_0(orig_<SortHits>b__12_0 orig, Aoe self, Collider a, Collider b); public static event hook_Awake Awake { add { HookEndpointManager.Add<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnEnable OnEnable { add { HookEndpointManager.Add<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetDamage GetDamage { add { HookEndpointManager.Add<hook_GetDamage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetDamage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetDamage_int GetDamage_int { add { HookEndpointManager.Add<hook_GetDamage_int>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetDamage_int>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetTooltipString GetTooltipString { add { HookEndpointManager.Add<hook_GetTooltipString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetTooltipString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CustomFixedUpdate CustomFixedUpdate { add { HookEndpointManager.Add<hook_CustomFixedUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CustomFixedUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Initiate Initiate { add { HookEndpointManager.Add<hook_Initiate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Initiate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CheckHits CheckHits { add { HookEndpointManager.Add<hook_CheckHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CheckHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FindHits FindHits { add { HookEndpointManager.Add<hook_FindHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FindHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ShouldHit ShouldHit { add { HookEndpointManager.Add<hook_ShouldHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ShouldHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SortHits SortHits { add { HookEndpointManager.Add<hook_SortHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SortHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Setup Setup { add { HookEndpointManager.Add<hook_Setup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Setup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnCollisionEnter OnCollisionEnter { add { HookEndpointManager.Add<hook_OnCollisionEnter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnCollisionEnter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnCollisionStay OnCollisionStay { add { HookEndpointManager.Add<hook_OnCollisionStay>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnCollisionStay>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnTriggerEnter OnTriggerEnter { add { HookEndpointManager.Add<hook_OnTriggerEnter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnTriggerEnter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnTriggerStay OnTriggerStay { add { HookEndpointManager.Add<hook_OnTriggerStay>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnTriggerStay>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CauseTriggerDamage CauseTriggerDamage { add { HookEndpointManager.Add<hook_CauseTriggerDamage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CauseTriggerDamage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnHit OnHit { add { HookEndpointManager.Add<hook_OnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetStatusEffect GetStatusEffect { add { HookEndpointManager.Add<hook_GetStatusEffect>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetStatusEffect>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDrawGizmos OnDrawGizmos { add { HookEndpointManager.Add<hook_OnDrawGizmos>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDrawGizmos>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_<SortHits>b__12_0 <SortHits>b__12_0 { add { HookEndpointManager.Add<hook_<SortHits>b__12_0>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_<SortHits>b__12_0>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class Aoe { public static event Manipulator Awake { add { HookEndpointManager.Modify<On.Aoe.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnEnable { add { HookEndpointManager.Modify<On.Aoe.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_OnEnable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.Aoe.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetDamage { add { HookEndpointManager.Modify<On.Aoe.hook_GetDamage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_GetDamage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetDamage_int { add { HookEndpointManager.Modify<On.Aoe.hook_GetDamage_int>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_GetDamage_int>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetTooltipString { add { HookEndpointManager.Modify<On.Aoe.hook_GetTooltipString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_GetTooltipString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.Aoe.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CustomFixedUpdate { add { HookEndpointManager.Modify<On.Aoe.hook_CustomFixedUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_CustomFixedUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Initiate { add { HookEndpointManager.Modify<On.Aoe.hook_Initiate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_Initiate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CheckHits { add { HookEndpointManager.Modify<On.Aoe.hook_CheckHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_CheckHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator FindHits { add { HookEndpointManager.Modify<On.Aoe.hook_FindHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_FindHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ShouldHit { add { HookEndpointManager.Modify<On.Aoe.hook_ShouldHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_ShouldHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SortHits { add { HookEndpointManager.Modify<On.Aoe.hook_SortHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_SortHits>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Setup { add { HookEndpointManager.Modify<On.Aoe.hook_Setup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_Setup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnCollisionEnter { add { HookEndpointManager.Modify<On.Aoe.hook_OnCollisionEnter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_OnCollisionEnter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnCollisionStay { add { HookEndpointManager.Modify<On.Aoe.hook_OnCollisionStay>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_OnCollisionStay>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnTriggerEnter { add { HookEndpointManager.Modify<On.Aoe.hook_OnTriggerEnter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_OnTriggerEnter>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnTriggerStay { add { HookEndpointManager.Modify<On.Aoe.hook_OnTriggerStay>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_OnTriggerStay>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CauseTriggerDamage { add { HookEndpointManager.Modify<On.Aoe.hook_CauseTriggerDamage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_CauseTriggerDamage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnHit { add { HookEndpointManager.Modify<On.Aoe.hook_OnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_OnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetStatusEffect { add { HookEndpointManager.Modify<On.Aoe.hook_GetStatusEffect>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_GetStatusEffect>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDrawGizmos { add { HookEndpointManager.Modify<On.Aoe.hook_OnDrawGizmos>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_OnDrawGizmos>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Aoe.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator cctor { add { HookEndpointManager.Modify<On.Aoe.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator <SortHits>b__12_0 { add { HookEndpointManager.Modify<On.Aoe.hook_<SortHits>b__12_0>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Aoe.hook_<SortHits>b__12_0>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class Attack { [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_StartDraw(Attack self, Humanoid character, ItemData weapon); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_StartDraw(orig_StartDraw orig, Attack self, Humanoid character, ItemData weapon); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_Start(Attack self, Humanoid character, Rigidbody body, ZSyncAnimation zanim, CharacterAnimEvent animEvent, VisEquipment visEquipment, ItemData weapon, Attack previousAttack, float timeSinceLastAttack, float attackDrawPercentage); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_Start(orig_Start orig, Attack self, Humanoid character, Rigidbody body, ZSyncAnimation zanim, CharacterAnimEvent animEvent, VisEquipment visEquipment, ItemData weapon, Attack previousAttack, float timeSinceLastAttack, float attackDrawPercentage); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_GetAttackStamina(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_GetAttackStamina(orig_GetAttackStamina orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_GetAttackEitr(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_GetAttackEitr(orig_GetAttackEitr orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_GetAttackHealth(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_GetAttackHealth(orig_GetAttackHealth orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(Attack self, float dt); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, Attack self, float dt); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_IsDone(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_IsDone(orig_IsDone orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Stop(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Stop(orig_Stop orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Abort(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Abort(orig_Abort orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnAttackTrigger(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnAttackTrigger(orig_OnAttackTrigger orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ConsumeItem(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ConsumeItem(orig_ConsumeItem orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate ItemData orig_FindAmmo(Humanoid character, ItemData weapon); [EditorBrowsable(EditorBrowsableState.Never)] public delegate ItemData hook_FindAmmo(orig_FindAmmo orig, Humanoid character, ItemData weapon); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_EquipAmmoItem(Humanoid character, ItemData weapon); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_EquipAmmoItem(orig_EquipAmmoItem orig, Humanoid character, ItemData weapon); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_HaveAmmo(Humanoid character, ItemData weapon); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_HaveAmmo(orig_HaveAmmo orig, Humanoid character, ItemData weapon); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_UseAmmo(Attack self, out ItemData ammoItem); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_UseAmmo(orig_UseAmmo orig, Attack self, out ItemData ammoItem); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ProjectileAttackTriggered(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ProjectileAttackTriggered(orig_ProjectileAttackTriggered orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_UpdateProjectile(Attack self, float dt); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_UpdateProjectile(orig_UpdateProjectile orig, Attack self, float dt); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Transform orig_GetAttackOrigin(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Transform hook_GetAttackOrigin(orig_GetAttackOrigin orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_GetProjectileSpawnPoint(Attack self, out Vector3 spawnPoint, out Vector3 aimDir); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_GetProjectileSpawnPoint(orig_GetProjectileSpawnPoint orig, Attack self, out Vector3 spawnPoint, out Vector3 aimDir); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_FireProjectileBurst(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_FireProjectileBurst(orig_FireProjectileBurst orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ModifyDamage(Attack self, HitData hitData, float damageFactor); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ModifyDamage(orig_ModifyDamage orig, Attack self, HitData hitData, float damageFactor); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_DoNonAttack(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_DoNonAttack(orig_DoNonAttack orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float orig_GetLevelDamageFactor(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate float hook_GetLevelDamageFactor(orig_GetLevelDamageFactor orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_DoAreaAttack(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_DoAreaAttack(orig_DoAreaAttack orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_GetMeleeAttackDir(Attack self, out Transform originJoint, out Vector3 attackDir); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_GetMeleeAttackDir(orig_GetMeleeAttackDir orig, Attack self, out Transform originJoint, out Vector3 attackDir); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_AddHitPoint(Attack self, object list, GameObject go, Collider collider, Vector3 point, float distance, bool multiCollider); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_AddHitPoint(orig_AddHitPoint orig, Attack self, object list, GameObject go, Collider collider, Vector3 point, float distance, bool multiCollider); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_DoMeleeAttack(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_DoMeleeAttack(orig_DoMeleeAttack orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SpawnOnHit(Attack self, GameObject target); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SpawnOnHit(orig_SpawnOnHit orig, Attack self, GameObject target); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_TryAttach(Attack self, Character hitCharacter, Vector3 hitPoint); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_TryAttach(orig_TryAttach orig, Attack self, Character hitCharacter, Vector3 hitPoint); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_UpdateAttach(Attack self, float dt); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_UpdateAttach(orig_UpdateAttach orig, Attack self, float dt); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_IsAttached(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_IsAttached(orig_IsAttached orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_GetAttachData(Attack self, out ZDOID parent, out string attachJoint, out Vector3 relativePos, out Quaternion relativeRot, out Vector3 relativeVel); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_GetAttachData(orig_GetAttachData orig, Attack self, out ZDOID parent, out string attachJoint, out Vector3 relativePos, out Quaternion relativeRot, out Vector3 relativeVel); [EditorBrowsable(EditorBrowsableState.Never)] public delegate GameObject orig_SpawnOnHitTerrain(Vector3 hitPoint, GameObject prefab, Character character, float attackHitNoise, ItemData weapon, ItemData ammo, bool randomRotation); [EditorBrowsable(EditorBrowsableState.Never)] public delegate GameObject hook_SpawnOnHitTerrain(orig_SpawnOnHitTerrain orig, Vector3 hitPoint, GameObject prefab, Character character, float attackHitNoise, ItemData weapon, ItemData ammo, bool randomRotation); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Attack orig_Clone(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Attack hook_Clone(orig_Clone orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate ItemData orig_GetWeapon(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate ItemData hook_GetWeapon(orig_GetWeapon orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_CanStartChainAttack(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_CanStartChainAttack(orig_CanStartChainAttack orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnTrailStart(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnTrailStart(orig_OnTrailStart orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_ToString(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_ToString(orig_ToString orig, Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Attack self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Attack self); public static class HitPoint { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(object self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, object self); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_StartDraw StartDraw { add { HookEndpointManager.Add<hook_StartDraw>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_StartDraw>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetAttackStamina GetAttackStamina { add { HookEndpointManager.Add<hook_GetAttackStamina>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetAttackStamina>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetAttackEitr GetAttackEitr { add { HookEndpointManager.Add<hook_GetAttackEitr>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetAttackEitr>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetAttackHealth GetAttackHealth { add { HookEndpointManager.Add<hook_GetAttackHealth>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetAttackHealth>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_IsDone IsDone { add { HookEndpointManager.Add<hook_IsDone>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_IsDone>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Stop Stop { add { HookEndpointManager.Add<hook_Stop>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Stop>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Abort Abort { add { HookEndpointManager.Add<hook_Abort>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Abort>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnAttackTrigger OnAttackTrigger { add { HookEndpointManager.Add<hook_OnAttackTrigger>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnAttackTrigger>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ConsumeItem ConsumeItem { add { HookEndpointManager.Add<hook_ConsumeItem>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ConsumeItem>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FindAmmo FindAmmo { add { HookEndpointManager.Add<hook_FindAmmo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FindAmmo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_EquipAmmoItem EquipAmmoItem { add { HookEndpointManager.Add<hook_EquipAmmoItem>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_EquipAmmoItem>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_HaveAmmo HaveAmmo { add { HookEndpointManager.Add<hook_HaveAmmo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_HaveAmmo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_UseAmmo UseAmmo { add { HookEndpointManager.Add<hook_UseAmmo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_UseAmmo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ProjectileAttackTriggered ProjectileAttackTriggered { add { HookEndpointManager.Add<hook_ProjectileAttackTriggered>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ProjectileAttackTriggered>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_UpdateProjectile UpdateProjectile { add { HookEndpointManager.Add<hook_UpdateProjectile>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_UpdateProjectile>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetAttackOrigin GetAttackOrigin { add { HookEndpointManager.Add<hook_GetAttackOrigin>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetAttackOrigin>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetProjectileSpawnPoint GetProjectileSpawnPoint { add { HookEndpointManager.Add<hook_GetProjectileSpawnPoint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetProjectileSpawnPoint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FireProjectileBurst FireProjectileBurst { add { HookEndpointManager.Add<hook_FireProjectileBurst>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FireProjectileBurst>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ModifyDamage ModifyDamage { add { HookEndpointManager.Add<hook_ModifyDamage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ModifyDamage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_DoNonAttack DoNonAttack { add { HookEndpointManager.Add<hook_DoNonAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_DoNonAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetLevelDamageFactor GetLevelDamageFactor { add { HookEndpointManager.Add<hook_GetLevelDamageFactor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetLevelDamageFactor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_DoAreaAttack DoAreaAttack { add { HookEndpointManager.Add<hook_DoAreaAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_DoAreaAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetMeleeAttackDir GetMeleeAttackDir { add { HookEndpointManager.Add<hook_GetMeleeAttackDir>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetMeleeAttackDir>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_AddHitPoint AddHitPoint { add { HookEndpointManager.Add<hook_AddHitPoint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_AddHitPoint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_DoMeleeAttack DoMeleeAttack { add { HookEndpointManager.Add<hook_DoMeleeAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_DoMeleeAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SpawnOnHit SpawnOnHit { add { HookEndpointManager.Add<hook_SpawnOnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SpawnOnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_TryAttach TryAttach { add { HookEndpointManager.Add<hook_TryAttach>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_TryAttach>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_UpdateAttach UpdateAttach { add { HookEndpointManager.Add<hook_UpdateAttach>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_UpdateAttach>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_IsAttached IsAttached { add { HookEndpointManager.Add<hook_IsAttached>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_IsAttached>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetAttachData GetAttachData { add { HookEndpointManager.Add<hook_GetAttachData>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetAttachData>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SpawnOnHitTerrain SpawnOnHitTerrain { add { HookEndpointManager.Add<hook_SpawnOnHitTerrain>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SpawnOnHitTerrain>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Clone Clone { add { HookEndpointManager.Add<hook_Clone>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Clone>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetWeapon GetWeapon { add { HookEndpointManager.Add<hook_GetWeapon>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetWeapon>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CanStartChainAttack CanStartChainAttack { add { HookEndpointManager.Add<hook_CanStartChainAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CanStartChainAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnTrailStart OnTrailStart { add { HookEndpointManager.Add<hook_OnTrailStart>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnTrailStart>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public new static event hook_ToString ToString { add { HookEndpointManager.Add<hook_ToString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ToString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class Attack { public static class HitPoint { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Attack.HitPoint.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.HitPoint.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator StartDraw { add { HookEndpointManager.Modify<On.Attack.hook_StartDraw>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_StartDraw>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Start { add { HookEndpointManager.Modify<On.Attack.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetAttackStamina { add { HookEndpointManager.Modify<On.Attack.hook_GetAttackStamina>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_GetAttackStamina>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetAttackEitr { add { HookEndpointManager.Modify<On.Attack.hook_GetAttackEitr>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_GetAttackEitr>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetAttackHealth { add { HookEndpointManager.Modify<On.Attack.hook_GetAttackHealth>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_GetAttackHealth>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.Attack.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator IsDone { add { HookEndpointManager.Modify<On.Attack.hook_IsDone>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_IsDone>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Stop { add { HookEndpointManager.Modify<On.Attack.hook_Stop>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_Stop>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Abort { add { HookEndpointManager.Modify<On.Attack.hook_Abort>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_Abort>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnAttackTrigger { add { HookEndpointManager.Modify<On.Attack.hook_OnAttackTrigger>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_OnAttackTrigger>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ConsumeItem { add { HookEndpointManager.Modify<On.Attack.hook_ConsumeItem>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_ConsumeItem>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator FindAmmo { add { HookEndpointManager.Modify<On.Attack.hook_FindAmmo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_FindAmmo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator EquipAmmoItem { add { HookEndpointManager.Modify<On.Attack.hook_EquipAmmoItem>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_EquipAmmoItem>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator HaveAmmo { add { HookEndpointManager.Modify<On.Attack.hook_HaveAmmo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_HaveAmmo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator UseAmmo { add { HookEndpointManager.Modify<On.Attack.hook_UseAmmo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_UseAmmo>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ProjectileAttackTriggered { add { HookEndpointManager.Modify<On.Attack.hook_ProjectileAttackTriggered>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_ProjectileAttackTriggered>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator UpdateProjectile { add { HookEndpointManager.Modify<On.Attack.hook_UpdateProjectile>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_UpdateProjectile>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetAttackOrigin { add { HookEndpointManager.Modify<On.Attack.hook_GetAttackOrigin>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_GetAttackOrigin>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetProjectileSpawnPoint { add { HookEndpointManager.Modify<On.Attack.hook_GetProjectileSpawnPoint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_GetProjectileSpawnPoint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator FireProjectileBurst { add { HookEndpointManager.Modify<On.Attack.hook_FireProjectileBurst>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_FireProjectileBurst>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ModifyDamage { add { HookEndpointManager.Modify<On.Attack.hook_ModifyDamage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_ModifyDamage>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator DoNonAttack { add { HookEndpointManager.Modify<On.Attack.hook_DoNonAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_DoNonAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetLevelDamageFactor { add { HookEndpointManager.Modify<On.Attack.hook_GetLevelDamageFactor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_GetLevelDamageFactor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator DoAreaAttack { add { HookEndpointManager.Modify<On.Attack.hook_DoAreaAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_DoAreaAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetMeleeAttackDir { add { HookEndpointManager.Modify<On.Attack.hook_GetMeleeAttackDir>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_GetMeleeAttackDir>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator AddHitPoint { add { HookEndpointManager.Modify<On.Attack.hook_AddHitPoint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_AddHitPoint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator DoMeleeAttack { add { HookEndpointManager.Modify<On.Attack.hook_DoMeleeAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_DoMeleeAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SpawnOnHit { add { HookEndpointManager.Modify<On.Attack.hook_SpawnOnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_SpawnOnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator TryAttach { add { HookEndpointManager.Modify<On.Attack.hook_TryAttach>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_TryAttach>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator UpdateAttach { add { HookEndpointManager.Modify<On.Attack.hook_UpdateAttach>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_UpdateAttach>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator IsAttached { add { HookEndpointManager.Modify<On.Attack.hook_IsAttached>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_IsAttached>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetAttachData { add { HookEndpointManager.Modify<On.Attack.hook_GetAttachData>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_GetAttachData>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SpawnOnHitTerrain { add { HookEndpointManager.Modify<On.Attack.hook_SpawnOnHitTerrain>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_SpawnOnHitTerrain>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Clone { add { HookEndpointManager.Modify<On.Attack.hook_Clone>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_Clone>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetWeapon { add { HookEndpointManager.Modify<On.Attack.hook_GetWeapon>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_GetWeapon>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CanStartChainAttack { add { HookEndpointManager.Modify<On.Attack.hook_CanStartChainAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_CanStartChainAttack>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnTrailStart { add { HookEndpointManager.Modify<On.Attack.hook_OnTrailStart>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_OnTrailStart>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public new static event Manipulator ToString { add { HookEndpointManager.Modify<On.Attack.hook_ToString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_ToString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Attack.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Attack.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class Projectile { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetTooltipString(Projectile self, int itemQuality); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetTooltipString(orig_GetTooltipString orig, Projectile self, int itemQuality); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_FixedUpdate(Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_FixedUpdate(orig_FixedUpdate orig, Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LateUpdate(Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LateUpdate(orig_LateUpdate orig, Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_UpdateVisual(Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_UpdateVisual(orig_UpdateVisual orig, Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 orig_GetVelocity(Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 hook_GetVelocity(orig_GetVelocity orig, Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_UpdateRotation(Projectile self, float dt); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_UpdateRotation(orig_UpdateRotation orig, Projectile self, float dt); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Setup(Projectile self, Character owner, Vector3 velocity, float hitNoise, HitData hitData, ItemData item, ItemData ammo); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Setup(orig_Setup orig, Projectile self, Character owner, Vector3 velocity, float hitNoise, HitData hitData, ItemData item, ItemData ammo); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_DoAOE(Projectile self, Vector3 hitPoint, ref bool hitCharacter, ref bool didDamage); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_DoAOE(orig_DoAOE orig, Projectile self, Vector3 hitPoint, ref bool hitCharacter, ref bool didDamage); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_IsValidTarget(Projectile self, IDestructible destr); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_IsValidTarget(orig_IsValidTarget orig, Projectile self, IDestructible destr); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnHit(Projectile self, Collider collider, Vector3 hitPoint, bool water, Vector3 normal); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnHit(orig_OnHit orig, Projectile self, Collider collider, Vector3 hitPoint, bool water, Vector3 normal); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_RPC_OnHit(Projectile self, long sender); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_RPC_OnHit(orig_RPC_OnHit orig, Projectile self, long sender); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_RPC_Attach(Projectile self, long sender, ZDOID parent); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_RPC_Attach(orig_RPC_Attach orig, Projectile self, long sender, ZDOID parent); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SpawnOnHit(Projectile self, GameObject go, Collider collider, Vector3 normal); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SpawnOnHit(orig_SpawnOnHit orig, Projectile self, GameObject go, Collider collider, Vector3 normal); [EditorBrowsable(EditorBrowsableState.Never)] public delegate GameObject orig_FindHitObject(Collider collider); [EditorBrowsable(EditorBrowsableState.Never)] public delegate GameObject hook_FindHitObject(orig_FindHitObject orig, Collider collider); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_TriggerShieldsLeftFlag(Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_TriggerShieldsLeftFlag(orig_TriggerShieldsLeftFlag orig, Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Projectile self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Projectile self); public static event hook_Awake Awake { add { HookEndpointManager.Add<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetTooltipString GetTooltipString { add { HookEndpointManager.Add<hook_GetTooltipString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetTooltipString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FixedUpdate FixedUpdate { add { HookEndpointManager.Add<hook_FixedUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FixedUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LateUpdate LateUpdate { add { HookEndpointManager.Add<hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_UpdateVisual UpdateVisual { add { HookEndpointManager.Add<hook_UpdateVisual>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_UpdateVisual>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_GetVelocity GetVelocity { add { HookEndpointManager.Add<hook_GetVelocity>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetVelocity>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_UpdateRotation UpdateRotation { add { HookEndpointManager.Add<hook_UpdateRotation>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_UpdateRotation>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Setup Setup { add { HookEndpointManager.Add<hook_Setup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Setup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_DoAOE DoAOE { add { HookEndpointManager.Add<hook_DoAOE>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_DoAOE>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_IsValidTarget IsValidTarget { add { HookEndpointManager.Add<hook_IsValidTarget>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_IsValidTarget>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnHit OnHit { add { HookEndpointManager.Add<hook_OnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_RPC_OnHit RPC_OnHit { add { HookEndpointManager.Add<hook_RPC_OnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_RPC_OnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_RPC_Attach RPC_Attach { add { HookEndpointManager.Add<hook_RPC_Attach>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_RPC_Attach>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SpawnOnHit SpawnOnHit { add { HookEndpointManager.Add<hook_SpawnOnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SpawnOnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FindHitObject FindHitObject { add { HookEndpointManager.Add<hook_FindHitObject>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FindHitObject>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_TriggerShieldsLeftFlag TriggerShieldsLeftFlag { add { HookEndpointManager.Add<hook_TriggerShieldsLeftFlag>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_TriggerShieldsLeftFlag>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class Projectile { public static event Manipulator Awake { add { HookEndpointManager.Modify<On.Projectile.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetTooltipString { add { HookEndpointManager.Modify<On.Projectile.hook_GetTooltipString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_GetTooltipString>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator FixedUpdate { add { HookEndpointManager.Modify<On.Projectile.hook_FixedUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_FixedUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.Projectile.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LateUpdate { add { HookEndpointManager.Modify<On.Projectile.hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_LateUpdate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator UpdateVisual { add { HookEndpointManager.Modify<On.Projectile.hook_UpdateVisual>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_UpdateVisual>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator GetVelocity { add { HookEndpointManager.Modify<On.Projectile.hook_GetVelocity>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_GetVelocity>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator UpdateRotation { add { HookEndpointManager.Modify<On.Projectile.hook_UpdateRotation>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_UpdateRotation>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Setup { add { HookEndpointManager.Modify<On.Projectile.hook_Setup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_Setup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator DoAOE { add { HookEndpointManager.Modify<On.Projectile.hook_DoAOE>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_DoAOE>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator IsValidTarget { add { HookEndpointManager.Modify<On.Projectile.hook_IsValidTarget>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_IsValidTarget>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnHit { add { HookEndpointManager.Modify<On.Projectile.hook_OnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_OnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator RPC_OnHit { add { HookEndpointManager.Modify<On.Projectile.hook_RPC_OnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_RPC_OnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator RPC_Attach { add { HookEndpointManager.Modify<On.Projectile.hook_RPC_Attach>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_RPC_Attach>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SpawnOnHit { add { HookEndpointManager.Modify<On.Projectile.hook_SpawnOnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_SpawnOnHit>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator FindHitObject { add { HookEndpointManager.Modify<On.Projectile.hook_FindHitObject>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_FindHitObject>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator TriggerShieldsLeftFlag { add { HookEndpointManager.Modify<On.Projectile.hook_TriggerShieldsLeftFlag>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_TriggerShieldsLeftFlag>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Projectile.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Projectile.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class OnProjectileHit { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(OnProjectileHit self, object @object, IntPtr method); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, OnProjectileHit self, object @object, IntPtr method); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Invoke(OnProjectileHit self, Collider collider, Vector3 hitPoint, bool water); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Invoke(orig_Invoke orig, OnProjectileHit self, Collider collider, Vector3 hitPoint, bool water); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IAsyncResult orig_BeginInvoke(OnProjectileHit self, Collider collider, Vector3 hitPoint, bool water, AsyncCallback callback, object @object); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IAsyncResult hook_BeginInvoke(orig_BeginInvoke orig, OnProjectileHit self, Collider collider, Vector3 hitPoint, bool water, AsyncCallback callback, object @object); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_EndInvoke(OnProjectileHit self, IAsyncResult result); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_EndInvoke(orig_EndInvoke orig, OnProjectileHit self, IAsyncResult result); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Invoke Invoke { add { HookEndpointManager.Add<hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_BeginInvoke BeginInvoke { add { HookEndpointManager.Add<hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_EndInvoke EndInvoke { add { HookEndpointManager.Add<hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class OnProjectileHit { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.OnProjectileHit.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.OnProjectileHit.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Invoke { add { HookEndpointManager.Modify<On.OnProjectileHit.hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.OnProjectileHit.hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator BeginInvoke { add { HookEndpointManager.Modify<On.OnProjectileHit.hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.OnProjectileHit.hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator EndInvoke { add { HookEndpointManager.Modify<On.OnProjectileHit.hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.OnProjectileHit.hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class SpawnAbility { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(SpawnAbility self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, SpawnAbility self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Setup(SpawnAbility self, Character owner, Vector3 velocity, float hitNoise, HitData hitData, ItemData item, ItemData ammo); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Setup(orig_Setup orig, SpawnAbility self, Character owner, Vector3 velocity, float hitNoise, HitData hitData, ItemData item, ItemData ammo); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetTooltipString(SpawnAbility self, int itemQuality); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetTooltipString(orig_GetTooltipString orig, SpawnAbility self, int itemQuality); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IEnumerator orig_Spawn(SpawnAbility self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IEnumerator hook_Spawn(orig_Spawn orig, SpawnAbility self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 orig_GetRandomConeDirection(SpawnAbility self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate Vector3 hook_GetRandomConeDirection(orig_GetRandomConeDirection orig, SpawnAbility self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SetupProjectile(SpawnAbility self, Projectile projectile, Vector3 targetPoint); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SetupProjectile(orig_SetupProjectile orig, SpawnAbility self, Projectile projectile, Vector3 targetPoint); [Edito
BepInEx/plugins/MMHOOK/MMHOOK_Assembly-CSharp.dll
Decompiled 4 months ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections.Generic; using System.ComponentModel; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using LuxParticles.Demo; using Microsoft.GameCore.Utilities; using Microsoft.Xbox; using MonoMod.Cil; using MonoMod.RuntimeDetour.HookGen; using On; using On.LuxParticles.Demo; using On.Microsoft.GameCore.Utilities; using On.Microsoft.Xbox; using On.PlatformTools; using PlayFab; using PlayFab.ClientModels; using PlayFab.Party; using SoftReferenceableAssets; using UnityEngine.UI; [assembly: AssemblyVersion("0.0.0.0")] namespace On { public static class FG_GameObjectGUIDs { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(FG_GameObjectGUIDs self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, FG_GameObjectGUIDs self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(FG_GameObjectGUIDs self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, FG_GameObjectGUIDs self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDisable(FG_GameObjectGUIDs self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDisable(orig_OnDisable orig, FG_GameObjectGUIDs self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDestroy(FG_GameObjectGUIDs self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDestroy(orig_OnDestroy orig, FG_GameObjectGUIDs self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_cctor(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_cctor(orig_cctor orig); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Awake Awake { add { HookEndpointManager.Add<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDisable OnDisable { add { HookEndpointManager.Add<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDestroy OnDestroy { add { HookEndpointManager.Add<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_cctor cctor { add { HookEndpointManager.Add<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class FG_GameObjectGUIDs { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.FG_GameObjectGUIDs.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.FG_GameObjectGUIDs.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Awake { add { HookEndpointManager.Modify<On.FG_GameObjectGUIDs.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.FG_GameObjectGUIDs.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDisable { add { HookEndpointManager.Modify<On.FG_GameObjectGUIDs.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.FG_GameObjectGUIDs.hook_OnDisable>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDestroy { add { HookEndpointManager.Modify<On.FG_GameObjectGUIDs.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.FG_GameObjectGUIDs.hook_OnDestroy>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator cctor { add { HookEndpointManager.Modify<On.FG_GameObjectGUIDs.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.FG_GameObjectGUIDs.hook_cctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class UnlockAchievementSampleLogic { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_UnlockAchievement(UnlockAchievementSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_UnlockAchievement(orig_UnlockAchievement orig, UnlockAchievementSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(UnlockAchievementSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, UnlockAchievementSampleLogic self); public static event hook_UnlockAchievement UnlockAchievement { add { HookEndpointManager.Add<hook_UnlockAchievement>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_UnlockAchievement>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class UnlockAchievementSampleLogic { public static event Manipulator UnlockAchievement { add { HookEndpointManager.Modify<On.UnlockAchievementSampleLogic.hook_UnlockAchievement>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnlockAchievementSampleLogic.hook_UnlockAchievement>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnlockAchievementSampleLogic.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnlockAchievementSampleLogic.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class GameSaveSampleLogic { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(GameSaveSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, GameSaveSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Save(GameSaveSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Save(orig_Save orig, GameSaveSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Load(GameSaveSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Load(orig_Load orig, GameSaveSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnGameSaveLoaded(GameSaveSampleLogic self, object sender, GameSaveLoadedArgs saveData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnGameSaveLoaded(orig_OnGameSaveLoaded orig, GameSaveSampleLogic self, object sender, GameSaveLoadedArgs saveData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GameSaveSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GameSaveSampleLogic self); public static class PlayerSaveData { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(object self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, object self); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Save Save { add { HookEndpointManager.Add<hook_Save>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Save>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Load Load { add { HookEndpointManager.Add<hook_Load>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Load>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnGameSaveLoaded OnGameSaveLoaded { add { HookEndpointManager.Add<hook_OnGameSaveLoaded>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnGameSaveLoaded>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class GameSaveSampleLogic { public static class PlayerSaveData { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.GameSaveSampleLogic.PlayerSaveData.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GameSaveSampleLogic.PlayerSaveData.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator Start { add { HookEndpointManager.Modify<On.GameSaveSampleLogic.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GameSaveSampleLogic.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Save { add { HookEndpointManager.Modify<On.GameSaveSampleLogic.hook_Save>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GameSaveSampleLogic.hook_Save>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Load { add { HookEndpointManager.Modify<On.GameSaveSampleLogic.hook_Load>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GameSaveSampleLogic.hook_Load>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnGameSaveLoaded { add { HookEndpointManager.Modify<On.GameSaveSampleLogic.hook_OnGameSaveLoaded>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GameSaveSampleLogic.hook_OnGameSaveLoaded>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.GameSaveSampleLogic.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.GameSaveSampleLogic.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class SampleInGamePurchasableItem { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Purchase(SampleInGamePurchasableItem self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Purchase(orig_Purchase orig, SampleInGamePurchasableItem self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(SampleInGamePurchasableItem self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, SampleInGamePurchasableItem self); public static event hook_Purchase Purchase { add { HookEndpointManager.Add<hook_Purchase>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Purchase>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class SampleInGamePurchasableItem { public static event Manipulator Purchase { add { HookEndpointManager.Modify<On.SampleInGamePurchasableItem.hook_Purchase>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.SampleInGamePurchasableItem.hook_Purchase>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.SampleInGamePurchasableItem.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.SampleInGamePurchasableItem.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class StoreSampleLogic { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(StoreSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, StoreSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ShowDLC(StoreSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ShowDLC(orig_ShowDLC orig, StoreSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(StoreSampleLogic self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, StoreSampleLogic self); public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ShowDLC ShowDLC { add { HookEndpointManager.Add<hook_ShowDLC>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ShowDLC>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class StoreSampleLogic { public static event Manipulator Start { add { HookEndpointManager.Modify<On.StoreSampleLogic.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.StoreSampleLogic.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ShowDLC { add { HookEndpointManager.Modify<On.StoreSampleLogic.hook_ShowDLC>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.StoreSampleLogic.hook_ShowDLC>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.StoreSampleLogic.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.StoreSampleLogic.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class DemoScript { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(DemoScript self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, DemoScript self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_CreateAndJoinToNetwork(DemoScript self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_CreateAndJoinToNetwork(orig_CreateAndJoinToNetwork orig, DemoScript self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_JoinNetwork(DemoScript self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_JoinNetwork(orig_JoinNetwork orig, DemoScript self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDataMessageReceived(DemoScript self, object sender, PlayFabPlayer from, byte[] buffer); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDataMessageReceived(orig_OnDataMessageReceived orig, DemoScript self, object sender, PlayFabPlayer from, byte[] buffer); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnDataMessageNoCopyReceived(DemoScript self, object sender, PlayFabPlayer from, IntPtr buffer, uint bufferSize); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnDataMessageNoCopyReceived(orig_OnDataMessageNoCopyReceived orig, DemoScript self, object sender, PlayFabPlayer from, IntPtr buffer, uint bufferSize); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnNetworkJoined(DemoScript self, object sender, string networkId); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnNetworkJoined(orig_OnNetworkJoined orig, DemoScript self, object sender, string networkId); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnLoginSuccess(DemoScript self, LoginResult result); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnLoginSuccess(orig_OnLoginSuccess orig, DemoScript self, LoginResult result); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnLoginFailure(DemoScript self, PlayFabError error); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnLoginFailure(orig_OnLoginFailure orig, DemoScript self, PlayFabError error); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(DemoScript self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, DemoScript self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(DemoScript self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, DemoScript self); public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_CreateAndJoinToNetwork CreateAndJoinToNetwork { add { HookEndpointManager.Add<hook_CreateAndJoinToNetwork>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_CreateAndJoinToNetwork>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_JoinNetwork JoinNetwork { add { HookEndpointManager.Add<hook_JoinNetwork>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_JoinNetwork>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDataMessageReceived OnDataMessageReceived { add { HookEndpointManager.Add<hook_OnDataMessageReceived>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDataMessageReceived>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnDataMessageNoCopyReceived OnDataMessageNoCopyReceived { add { HookEndpointManager.Add<hook_OnDataMessageNoCopyReceived>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnDataMessageNoCopyReceived>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnNetworkJoined OnNetworkJoined { add { HookEndpointManager.Add<hook_OnNetworkJoined>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnNetworkJoined>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnLoginSuccess OnLoginSuccess { add { HookEndpointManager.Add<hook_OnLoginSuccess>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnLoginSuccess>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnLoginFailure OnLoginFailure { add { HookEndpointManager.Add<hook_OnLoginFailure>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnLoginFailure>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class DemoScript { public static event Manipulator Start { add { HookEndpointManager.Modify<On.DemoScript.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DemoScript.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator CreateAndJoinToNetwork { add { HookEndpointManager.Modify<On.DemoScript.hook_CreateAndJoinToNetwork>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DemoScript.hook_CreateAndJoinToNetwork>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator JoinNetwork { add { HookEndpointManager.Modify<On.DemoScript.hook_JoinNetwork>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DemoScript.hook_JoinNetwork>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDataMessageReceived { add { HookEndpointManager.Modify<On.DemoScript.hook_OnDataMessageReceived>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DemoScript.hook_OnDataMessageReceived>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnDataMessageNoCopyReceived { add { HookEndpointManager.Modify<On.DemoScript.hook_OnDataMessageNoCopyReceived>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DemoScript.hook_OnDataMessageNoCopyReceived>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnNetworkJoined { add { HookEndpointManager.Modify<On.DemoScript.hook_OnNetworkJoined>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DemoScript.hook_OnNetworkJoined>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnLoginSuccess { add { HookEndpointManager.Modify<On.DemoScript.hook_OnLoginSuccess>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DemoScript.hook_OnLoginSuccess>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnLoginFailure { add { HookEndpointManager.Modify<On.DemoScript.hook_OnLoginFailure>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DemoScript.hook_OnLoginFailure>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.DemoScript.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DemoScript.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.DemoScript.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.DemoScript.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class Line { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Line self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Line self); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class Line { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Line.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Line.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class UILineRenderer { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnPopulateMesh(UILineRenderer self, VertexHelper vh); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnPopulateMesh(orig_OnPopulateMesh orig, UILineRenderer self, VertexHelper vh); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_DrawLine(UILineRenderer self, int index, Line line, VertexHelper vh); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_DrawLine(orig_DrawLine orig, UILineRenderer self, int index, Line line, VertexHelper vh); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(UILineRenderer self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, UILineRenderer self); public static event hook_OnPopulateMesh OnPopulateMesh { add { HookEndpointManager.Add<hook_OnPopulateMesh>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnPopulateMesh>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_DrawLine DrawLine { add { HookEndpointManager.Add<hook_DrawLine>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_DrawLine>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class UILineRenderer { public static event Manipulator OnPopulateMesh { add { HookEndpointManager.Modify<On.UILineRenderer.hook_OnPopulateMesh>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UILineRenderer.hook_OnPopulateMesh>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator DrawLine { add { HookEndpointManager.Modify<On.UILineRenderer.hook_DrawLine>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UILineRenderer.hook_DrawLine>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UILineRenderer.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UILineRenderer.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class SoftReferencePrefabSpawner { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Awake(SoftReferencePrefabSpawner self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Awake(orig_Awake orig, SoftReferencePrefabSpawner self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SpawnPrefab(SoftReferencePrefabSpawner self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SpawnPrefab(orig_SpawnPrefab orig, SoftReferencePrefabSpawner self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(SoftReferencePrefabSpawner self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, SoftReferencePrefabSpawner self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_<Awake>b__2_0(SoftReferencePrefabSpawner self, LoadResult result); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_<Awake>b__2_0(orig_<Awake>b__2_0 orig, SoftReferencePrefabSpawner self, LoadResult result); public static event hook_Awake Awake { add { HookEndpointManager.Add<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SpawnPrefab SpawnPrefab { add { HookEndpointManager.Add<hook_SpawnPrefab>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SpawnPrefab>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_<Awake>b__2_0 <Awake>b__2_0 { add { HookEndpointManager.Add<hook_<Awake>b__2_0>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_<Awake>b__2_0>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class SoftReferencePrefabSpawner { public static event Manipulator Awake { add { HookEndpointManager.Modify<On.SoftReferencePrefabSpawner.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.SoftReferencePrefabSpawner.hook_Awake>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SpawnPrefab { add { HookEndpointManager.Modify<On.SoftReferencePrefabSpawner.hook_SpawnPrefab>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.SoftReferencePrefabSpawner.hook_SpawnPrefab>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.SoftReferencePrefabSpawner.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.SoftReferencePrefabSpawner.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator <Awake>b__2_0 { add { HookEndpointManager.Modify<On.SoftReferencePrefabSpawner.hook_<Awake>b__2_0>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.SoftReferencePrefabSpawner.hook_<Awake>b__2_0>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On { public static class UnitySourceGeneratedAssemblyMonoScriptTypes_v1 { [EditorBrowsable(EditorBrowsableState.Never)] public delegate ValueType orig_Get(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate ValueType hook_Get(orig_Get orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(object self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, object self); public static event hook_Get Get { add { HookEndpointManager.Add<hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL { public static class UnitySourceGeneratedAssemblyMonoScriptTypes_v1 { public static event Manipulator Get { add { HookEndpointManager.Modify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_Get>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.UnitySourceGeneratedAssemblyMonoScriptTypes_v1.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.PlatformTools { public static class PlatformManagerInitializer { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnRuntimeMethodLoad(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnRuntimeMethodLoad(orig_OnRuntimeMethodLoad orig); public static event hook_OnRuntimeMethodLoad OnRuntimeMethodLoad { add { HookEndpointManager.Add<hook_OnRuntimeMethodLoad>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnRuntimeMethodLoad>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.PlatformTools { public static class PlatformManagerInitializer { public static event Manipulator OnRuntimeMethodLoad { add { HookEndpointManager.Modify<On.PlatformTools.PlatformManagerInitializer.hook_OnRuntimeMethodLoad>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.PlatformTools.PlatformManagerInitializer.hook_OnRuntimeMethodLoad>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.LuxParticles.Demo { public static class LuxParticles_ExtendedFlycam { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(LuxParticles_ExtendedFlycam self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, LuxParticles_ExtendedFlycam self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(LuxParticles_ExtendedFlycam self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, LuxParticles_ExtendedFlycam self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(LuxParticles_ExtendedFlycam self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, LuxParticles_ExtendedFlycam self); public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.LuxParticles.Demo { public static class LuxParticles_ExtendedFlycam { public static event Manipulator Start { add { HookEndpointManager.Modify<On.LuxParticles.Demo.LuxParticles_ExtendedFlycam.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.Demo.LuxParticles_ExtendedFlycam.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.LuxParticles.Demo.LuxParticles_ExtendedFlycam.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.Demo.LuxParticles_ExtendedFlycam.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.LuxParticles.Demo.LuxParticles_ExtendedFlycam.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.LuxParticles.Demo.LuxParticles_ExtendedFlycam.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.Microsoft.GameCore.Utilities { public static class GdkUtilities { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_PullGdkDlls(); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_PullGdkDlls(orig_PullGdkDlls orig); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GdkUtilities self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GdkUtilities self); public static class RegUtil { [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_GetRegKey(uint inHive, string inKeyName, string inPropertyName); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_GetRegKey(orig_GetRegKey orig, uint inHive, string inKeyName, string inPropertyName); [EditorBrowsable(EditorBrowsableState.Never)] public delegate uint orig_RegCreateKeyEx(uint hKey, string lpSubKey, uint reserved, string lpClass, uint dwOptions, uint samDesired, uint lpSecurityAttributes, out uint phkResult, out uint lpdwDisposition); [EditorBrowsable(EditorBrowsableState.Never)] public delegate uint hook_RegCreateKeyEx(orig_RegCreateKeyEx orig, uint hKey, string lpSubKey, uint reserved, string lpClass, uint dwOptions, uint samDesired, uint lpSecurityAttributes, out uint phkResult, out uint lpdwDisposition); [EditorBrowsable(EditorBrowsableState.Never)] public delegate uint orig_RegCloseKey(uint hKey); [EditorBrowsable(EditorBrowsableState.Never)] public delegate uint hook_RegCloseKey(orig_RegCloseKey orig, uint hKey); [EditorBrowsable(EditorBrowsableState.Never)] public delegate uint orig_RegQueryValueEx(uint hKey, string lpValueName, uint lpReserved, ref uint lpType, StringBuilder lpData, ref uint lpcbData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate uint hook_RegQueryValueEx(orig_RegQueryValueEx orig, uint hKey, string lpValueName, uint lpReserved, ref uint lpType, StringBuilder lpData, ref uint lpcbData); [EditorBrowsable(EditorBrowsableState.Never)] public delegate uint orig_FormatMessage_uint_uint_uint_uint_StringBuilder_uint_uint(uint dwFlags, uint lpSource, uint dwMessageId, uint dwLanguageId, StringBuilder lpBuffer, uint nSize, uint arguments); [EditorBrowsable(EditorBrowsableState.Never)] public delegate uint hook_FormatMessage_uint_uint_uint_uint_StringBuilder_uint_uint(orig_FormatMessage_uint_uint_uint_uint_StringBuilder_uint_uint orig, uint dwFlags, uint lpSource, uint dwMessageId, uint dwLanguageId, StringBuilder lpBuffer, uint nSize, uint arguments); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string orig_FormatMessage_uint(uint dwMessageId); [EditorBrowsable(EditorBrowsableState.Never)] public delegate string hook_FormatMessage_uint(orig_FormatMessage_uint orig, uint dwMessageId); public static event hook_GetRegKey GetRegKey { add { HookEndpointManager.Add<hook_GetRegKey>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_GetRegKey>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_RegCreateKeyEx RegCreateKeyEx { add { HookEndpointManager.Add<hook_RegCreateKeyEx>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_RegCreateKeyEx>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_RegCloseKey RegCloseKey { add { HookEndpointManager.Add<hook_RegCloseKey>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_RegCloseKey>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_RegQueryValueEx RegQueryValueEx { add { HookEndpointManager.Add<hook_RegQueryValueEx>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_RegQueryValueEx>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FormatMessage_uint_uint_uint_uint_StringBuilder_uint_uint FormatMessage_uint_uint_uint_uint_StringBuilder_uint_uint { add { HookEndpointManager.Add<hook_FormatMessage_uint_uint_uint_uint_StringBuilder_uint_uint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FormatMessage_uint_uint_uint_uint_StringBuilder_uint_uint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FormatMessage_uint FormatMessage_uint { add { HookEndpointManager.Add<hook_FormatMessage_uint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FormatMessage_uint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_PullGdkDlls PullGdkDlls { add { HookEndpointManager.Add<hook_PullGdkDlls>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_PullGdkDlls>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.Microsoft.GameCore.Utilities { public static class GdkUtilities { public static class RegUtil { public static event Manipulator GetRegKey { add { HookEndpointManager.Modify<On.Microsoft.GameCore.Utilities.GdkUtilities.RegUtil.hook_GetRegKey>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.GameCore.Utilities.GdkUtilities.RegUtil.hook_GetRegKey>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator RegCreateKeyEx { add { HookEndpointManager.Modify<On.Microsoft.GameCore.Utilities.GdkUtilities.RegUtil.hook_RegCreateKeyEx>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.GameCore.Utilities.GdkUtilities.RegUtil.hook_RegCreateKeyEx>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator RegCloseKey { add { HookEndpointManager.Modify<On.Microsoft.GameCore.Utilities.GdkUtilities.RegUtil.hook_RegCloseKey>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.GameCore.Utilities.GdkUtilities.RegUtil.hook_RegCloseKey>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator RegQueryValueEx { add { HookEndpointManager.Modify<On.Microsoft.GameCore.Utilities.GdkUtilities.RegUtil.hook_RegQueryValueEx>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.GameCore.Utilities.GdkUtilities.RegUtil.hook_RegQueryValueEx>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator FormatMessage_uint_uint_uint_uint_StringBuilder_uint_uint { add { HookEndpointManager.Modify<On.Microsoft.GameCore.Utilities.GdkUtilities.RegUtil.hook_FormatMessage_uint_uint_uint_uint_StringBuilder_uint_uint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.GameCore.Utilities.GdkUtilities.RegUtil.hook_FormatMessage_uint_uint_uint_uint_StringBuilder_uint_uint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator FormatMessage_uint { add { HookEndpointManager.Modify<On.Microsoft.GameCore.Utilities.GdkUtilities.RegUtil.hook_FormatMessage_uint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.GameCore.Utilities.GdkUtilities.RegUtil.hook_FormatMessage_uint>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator PullGdkDlls { add { HookEndpointManager.Modify<On.Microsoft.GameCore.Utilities.GdkUtilities.hook_PullGdkDlls>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.GameCore.Utilities.GdkUtilities.hook_PullGdkDlls>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Microsoft.GameCore.Utilities.GdkUtilities.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.GameCore.Utilities.GdkUtilities.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.Microsoft.Xbox { public static class ErrorEventArgs { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(ErrorEventArgs self, string errorCode, string errorMessage); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, ErrorEventArgs self, string errorCode, string errorMessage); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.Microsoft.Xbox { public static class ErrorEventArgs { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Microsoft.Xbox.ErrorEventArgs.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.ErrorEventArgs.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.Microsoft.Xbox { public static class GameSaveLoadedArgs { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GameSaveLoadedArgs self, byte[] data); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GameSaveLoadedArgs self, byte[] data); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.Microsoft.Xbox { public static class GameSaveLoadedArgs { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Microsoft.Xbox.GameSaveLoadedArgs.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.GameSaveLoadedArgs.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.Microsoft.Xbox { public static class Gdk { [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_ValidateGuid(Gdk self, string guid); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_ValidateGuid(orig_ValidateGuid orig, Gdk self, string guid); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_OnValidate(Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_OnValidate(orig_OnValidate orig, Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Start(Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Start(orig_Start orig, Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig__Initialize(Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook__Initialize(orig__Initialize orig, Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_InitializeHresultToFriendlyErrorLookup(Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_InitializeHresultToFriendlyErrorLookup(orig_InitializeHresultToFriendlyErrorLookup orig, Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_SignIn(Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_SignIn(orig_SignIn orig, Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Save(Gdk self, byte[] data); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Save(orig_Save orig, Gdk self, byte[] data); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_LoadSaveData(Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_LoadSaveData(orig_LoadSaveData orig, Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_UnlockAchievement(Gdk self, string achievementId); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_UnlockAchievement(orig_UnlockAchievement orig, Gdk self, string achievementId); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_Succeeded(int hresult, string operationFriendlyName); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_Succeeded(orig_Succeeded orig, int hresult, string operationFriendlyName); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig__LogError(string message); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook__LogError(orig__LogError orig, string message); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(Gdk self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, Gdk self); public static class OnGameSaveLoadedHandler { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(OnGameSaveLoadedHandler self, object @object, IntPtr method); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, OnGameSaveLoadedHandler self, object @object, IntPtr method); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Invoke(OnGameSaveLoadedHandler self, object sender, GameSaveLoadedArgs e); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Invoke(orig_Invoke orig, OnGameSaveLoadedHandler self, object sender, GameSaveLoadedArgs e); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IAsyncResult orig_BeginInvoke(OnGameSaveLoadedHandler self, object sender, GameSaveLoadedArgs e, AsyncCallback callback, object @object); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IAsyncResult hook_BeginInvoke(orig_BeginInvoke orig, OnGameSaveLoadedHandler self, object sender, GameSaveLoadedArgs e, AsyncCallback callback, object @object); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_EndInvoke(OnGameSaveLoadedHandler self, IAsyncResult result); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_EndInvoke(orig_EndInvoke orig, OnGameSaveLoadedHandler self, IAsyncResult result); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Invoke Invoke { add { HookEndpointManager.Add<hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_BeginInvoke BeginInvoke { add { HookEndpointManager.Add<hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_EndInvoke EndInvoke { add { HookEndpointManager.Add<hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static class OnErrorHandler { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(OnErrorHandler self, object @object, IntPtr method); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, OnErrorHandler self, object @object, IntPtr method); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Invoke(OnErrorHandler self, object sender, ErrorEventArgs e); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Invoke(orig_Invoke orig, OnErrorHandler self, object sender, ErrorEventArgs e); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IAsyncResult orig_BeginInvoke(OnErrorHandler self, object sender, ErrorEventArgs e, AsyncCallback callback, object @object); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IAsyncResult hook_BeginInvoke(orig_BeginInvoke orig, OnErrorHandler self, object sender, ErrorEventArgs e, AsyncCallback callback, object @object); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_EndInvoke(OnErrorHandler self, IAsyncResult result); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_EndInvoke(orig_EndInvoke orig, OnErrorHandler self, IAsyncResult result); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Invoke Invoke { add { HookEndpointManager.Add<hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_BeginInvoke BeginInvoke { add { HookEndpointManager.Add<hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_EndInvoke EndInvoke { add { HookEndpointManager.Add<hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static event hook_ValidateGuid ValidateGuid { add { HookEndpointManager.Add<hook_ValidateGuid>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ValidateGuid>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_OnValidate OnValidate { add { HookEndpointManager.Add<hook_OnValidate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_OnValidate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Start Start { add { HookEndpointManager.Add<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook__Initialize _Initialize { add { HookEndpointManager.Add<hook__Initialize>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook__Initialize>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_InitializeHresultToFriendlyErrorLookup InitializeHresultToFriendlyErrorLookup { add { HookEndpointManager.Add<hook_InitializeHresultToFriendlyErrorLookup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_InitializeHresultToFriendlyErrorLookup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_SignIn SignIn { add { HookEndpointManager.Add<hook_SignIn>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SignIn>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Save Save { add { HookEndpointManager.Add<hook_Save>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Save>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_LoadSaveData LoadSaveData { add { HookEndpointManager.Add<hook_LoadSaveData>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_LoadSaveData>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_UnlockAchievement UnlockAchievement { add { HookEndpointManager.Add<hook_UnlockAchievement>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_UnlockAchievement>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Update Update { add { HookEndpointManager.Add<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Succeeded Succeeded { add { HookEndpointManager.Add<hook_Succeeded>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Succeeded>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook__LogError _LogError { add { HookEndpointManager.Add<hook__LogError>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook__LogError>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.Microsoft.Xbox { public static class Gdk { public static class OnGameSaveLoadedHandler { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.OnGameSaveLoadedHandler.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.OnGameSaveLoadedHandler.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Invoke { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.OnGameSaveLoadedHandler.hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.OnGameSaveLoadedHandler.hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator BeginInvoke { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.OnGameSaveLoadedHandler.hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.OnGameSaveLoadedHandler.hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator EndInvoke { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.OnGameSaveLoadedHandler.hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.OnGameSaveLoadedHandler.hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static class OnErrorHandler { public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.OnErrorHandler.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.OnErrorHandler.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Invoke { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.OnErrorHandler.hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.OnErrorHandler.hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator BeginInvoke { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.OnErrorHandler.hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.OnErrorHandler.hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator EndInvoke { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.OnErrorHandler.hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.OnErrorHandler.hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } public static event Manipulator ValidateGuid { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook_ValidateGuid>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook_ValidateGuid>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator OnValidate { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook_OnValidate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook_OnValidate>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Start { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook_Start>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator _Initialize { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook__Initialize>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook__Initialize>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator InitializeHresultToFriendlyErrorLookup { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook_InitializeHresultToFriendlyErrorLookup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook_InitializeHresultToFriendlyErrorLookup>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator SignIn { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook_SignIn>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook_SignIn>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Save { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook_Save>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook_Save>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator LoadSaveData { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook_LoadSaveData>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook_LoadSaveData>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator UnlockAchievement { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook_UnlockAchievement>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook_UnlockAchievement>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Update { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook_Update>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator Succeeded { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook_Succeeded>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook_Succeeded>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator _LogError { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook__LogError>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook__LogError>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Microsoft.Xbox.Gdk.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.Gdk.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.Microsoft.Xbox { public static class HR { [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_SUCCEEDED(int hr); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_SUCCEEDED(orig_SUCCEEDED orig, int hr); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool orig_FAILED(int hr); [EditorBrowsable(EditorBrowsableState.Never)] public delegate bool hook_FAILED(orig_FAILED orig, int hr); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(object self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, object self); public static event hook_SUCCEEDED SUCCEEDED { add { HookEndpointManager.Add<hook_SUCCEEDED>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_SUCCEEDED>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_FAILED FAILED { add { HookEndpointManager.Add<hook_FAILED>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_FAILED>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } } namespace IL.Microsoft.Xbox { public static class HR { public static event Manipulator SUCCEEDED { add { HookEndpointManager.Modify<On.Microsoft.Xbox.HR.hook_SUCCEEDED>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.HR.hook_SUCCEEDED>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator FAILED { add { HookEndpointManager.Modify<On.Microsoft.Xbox.HR.hook_FAILED>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.HR.hook_FAILED>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } public static event Manipulator ctor { add { HookEndpointManager.Modify<On.Microsoft.Xbox.HR.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } remove { HookEndpointManager.Unmodify<On.Microsoft.Xbox.HR.hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)(object)value); } } } } namespace On.Microsoft.Xbox { public static class XGameSaveWrapper { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Finalize(XGameSaveWrapper self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Finalize(orig_Finalize orig, XGameSaveWrapper self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_InitializeAsync(XGameSaveWrapper self, XUserHandle userHandle, string scid, InitializeCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_InitializeAsync(orig_InitializeAsync orig, XGameSaveWrapper self, XUserHandle userHandle, string scid, InitializeCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_GetQuotaAsync(XGameSaveWrapper self, GetQuotaCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_GetQuotaAsync(orig_GetQuotaAsync orig, XGameSaveWrapper self, GetQuotaCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_QueryContainers(XGameSaveWrapper self, string containerNamePrefix, QueryContainersCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_QueryContainers(orig_QueryContainers orig, XGameSaveWrapper self, string containerNamePrefix, QueryContainersCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_QueryContainerBlobs(XGameSaveWrapper self, string containerName, QueryBlobsCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_QueryContainerBlobs(orig_QueryContainerBlobs orig, XGameSaveWrapper self, string containerName, QueryBlobsCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Load(XGameSaveWrapper self, string containerName, string blobName, LoadCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Load(orig_Load orig, XGameSaveWrapper self, string containerName, string blobName, LoadCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Save(XGameSaveWrapper self, string containerName, string blobName, byte[] blobData, SaveCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Save(orig_Save orig, XGameSaveWrapper self, string containerName, string blobName, byte[] blobData, SaveCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Delete_string_DeleteCallback(XGameSaveWrapper self, string containerName, DeleteCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Delete_string_DeleteCallback(orig_Delete_string_DeleteCallback orig, XGameSaveWrapper self, string containerName, DeleteCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Delete_string_string_DeleteCallback(XGameSaveWrapper self, string containerName, string blobName, DeleteCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Delete_string_string_DeleteCallback(orig_Delete_string_string_DeleteCallback orig, XGameSaveWrapper self, string containerName, string blobName, DeleteCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Delete_string_StringArray_DeleteCallback(XGameSaveWrapper self, string containerName, string[] blobNames, DeleteCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Delete_string_StringArray_DeleteCallback(orig_Delete_string_StringArray_DeleteCallback orig, XGameSaveWrapper self, string containerName, string[] blobNames, DeleteCallback callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Update(XGameSaveWrapper self, string containerName, IDictionary<string, byte[]> blobsToSave, IList<string> blobsToDelete, MulticastDelegate callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Update(orig_Update orig, XGameSaveWrapper self, string containerName, IDictionary<string, byte[]> blobsToSave, IList<string> blobsToDelete, MulticastDelegate callback); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(XGameSaveWrapper self); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, XGameSaveWrapper self); public static class InitializeCallback { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(InitializeCallback self, object @object, IntPtr method); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, InitializeCallback self, object @object, IntPtr method); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Invoke(InitializeCallback self, int hresult); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Invoke(orig_Invoke orig, InitializeCallback self, int hresult); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IAsyncResult orig_BeginInvoke(InitializeCallback self, int hresult, AsyncCallback callback, object @object); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IAsyncResult hook_BeginInvoke(orig_BeginInvoke orig, InitializeCallback self, int hresult, AsyncCallback callback, object @object); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_EndInvoke(InitializeCallback self, IAsyncResult result); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_EndInvoke(orig_EndInvoke orig, InitializeCallback self, IAsyncResult result); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Invoke Invoke { add { HookEndpointManager.Add<hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_BeginInvoke BeginInvoke { add { HookEndpointManager.Add<hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_EndInvoke EndInvoke { add { HookEndpointManager.Add<hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_EndInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } } public static class GetQuotaCallback { [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_ctor(GetQuotaCallback self, object @object, IntPtr method); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_ctor(orig_ctor orig, GetQuotaCallback self, object @object, IntPtr method); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_Invoke(GetQuotaCallback self, int hresult, long remainingQuota); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_Invoke(orig_Invoke orig, GetQuotaCallback self, int hresult, long remainingQuota); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IAsyncResult orig_BeginInvoke(GetQuotaCallback self, int hresult, long remainingQuota, AsyncCallback callback, object @object); [EditorBrowsable(EditorBrowsableState.Never)] public delegate IAsyncResult hook_BeginInvoke(orig_BeginInvoke orig, GetQuotaCallback self, int hresult, long remainingQuota, AsyncCallback callback, object @object); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void orig_EndInvoke(GetQuotaCallback self, IAsyncResult result); [EditorBrowsable(EditorBrowsableState.Never)] public delegate void hook_EndInvoke(orig_EndInvoke orig, GetQuotaCallback self, IAsyncResult result); public static event hook_ctor ctor { add { HookEndpointManager.Add<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_ctor>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_Invoke Invoke { add { HookEndpointManager.Add<hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_Invoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_BeginInvoke BeginInvoke { add { HookEndpointManager.Add<hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } remove { HookEndpointManager.Remove<hook_BeginInvoke>(MethodBase.GetMethodFromHandle((RuntimeMethodHandle)/*OpCode not supported: LdMemberToken*/), (Delegate)value); } } public static event hook_EndInvoke EndInvoke { add { HookEndpointManager.Add<hook_EndInvoke>(Method