forked from Dathuss/VRCFPatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0Harmony.xml
3670 lines (3150 loc) · 223 KB
/
0Harmony.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<doc>
<assembly>
<name>0Harmony</name>
</assembly>
<members>
<member name="T:HarmonyLib.DelegateTypeFactory">
<summary>A factory to create delegate types</summary>
</member>
<member name="M:HarmonyLib.DelegateTypeFactory.#ctor">
<summary>Default constructor</summary>
</member>
<member name="M:HarmonyLib.DelegateTypeFactory.CreateDelegateType(System.Reflection.MethodInfo)">
<summary>Creates a delegate type for a method</summary>
<param name="method">The method</param>
<returns>The new delegate type</returns>
</member>
<member name="T:HarmonyLib.GetterHandler`2">
<summary>A getter delegate type</summary>
<typeparam name="T">Type that getter gets field/property value from</typeparam>
<typeparam name="S">Type of the value that getter gets</typeparam>
<param name="source">The instance get getter uses</param>
<returns>An delegate</returns>
</member>
<member name="T:HarmonyLib.SetterHandler`2">
<summary>A setter delegate type</summary>
<typeparam name="T">Type that setter sets field/property value for</typeparam>
<typeparam name="S">Type of the value that setter sets</typeparam>
<param name="source">The instance the setter uses</param>
<param name="value">The value the setter uses</param>
<returns>An delegate</returns>
</member>
<member name="T:HarmonyLib.InstantiationHandler`1">
<summary>A constructor delegate type</summary>
<typeparam name="T">Type that constructor creates</typeparam>
<returns>An delegate</returns>
</member>
<member name="T:HarmonyLib.FastAccess">
<summary>A helper class for fast access to getters and setters</summary>
</member>
<member name="M:HarmonyLib.FastAccess.CreateInstantiationHandler``1">
<summary>Creates an instantiation delegate</summary>
<typeparam name="T">Type that constructor creates</typeparam>
<returns>The new instantiation delegate</returns>
</member>
<member name="M:HarmonyLib.FastAccess.CreateGetterHandler``2(System.Reflection.PropertyInfo)">
<summary>Creates an getter delegate for a property</summary>
<typeparam name="T">Type that getter reads property from</typeparam>
<typeparam name="S">Type of the property that gets accessed</typeparam>
<param name="propertyInfo">The property</param>
<returns>The new getter delegate</returns>
</member>
<member name="M:HarmonyLib.FastAccess.CreateGetterHandler``2(System.Reflection.FieldInfo)">
<summary>Creates an getter delegate for a field</summary>
<typeparam name="T">Type that getter reads field from</typeparam>
<typeparam name="S">Type of the field that gets accessed</typeparam>
<param name="fieldInfo">The field</param>
<returns>The new getter delegate</returns>
</member>
<member name="M:HarmonyLib.FastAccess.CreateFieldGetter``2(System.String[])">
<summary>Creates an getter delegate for a field (with a list of possible field names)</summary>
<typeparam name="T">Type that getter reads field/property from</typeparam>
<typeparam name="S">Type of the field/property that gets accessed</typeparam>
<param name="names">A list of possible field names</param>
<returns>The new getter delegate</returns>
</member>
<member name="M:HarmonyLib.FastAccess.CreateSetterHandler``2(System.Reflection.PropertyInfo)">
<summary>Creates an setter delegate</summary>
<typeparam name="T">Type that setter assigns property value to</typeparam>
<typeparam name="S">Type of the property that gets assigned</typeparam>
<param name="propertyInfo">The property</param>
<returns>The new setter delegate</returns>
</member>
<member name="M:HarmonyLib.FastAccess.CreateSetterHandler``2(System.Reflection.FieldInfo)">
<summary>Creates an setter delegate for a field</summary>
<typeparam name="T">Type that setter assigns field value to</typeparam>
<typeparam name="S">Type of the field that gets assigned</typeparam>
<param name="fieldInfo">The field</param>
<returns>The new getter delegate</returns>
</member>
<member name="T:HarmonyLib.FastInvokeHandler">
<summary>A delegate to invoke a method</summary>
<param name="target">The instance</param>
<param name="parameters">The method parameters</param>
<returns>The method result</returns>
</member>
<member name="T:HarmonyLib.MethodInvoker">
<summary>A helper class to invoke method with delegates</summary>
</member>
<member name="M:HarmonyLib.MethodInvoker.GetHandler(System.Reflection.MethodInfo,System.Boolean)">
<summary>Creates a fast invocation handler from a method</summary>
<param name="methodInfo">The method to invoke</param>
<param name="directBoxValueAccess">Controls if boxed value object is accessed/updated directly</param>
<returns>The <see cref="T:HarmonyLib.FastInvokeHandler"/></returns>
<remarks>
<para>
The <c>directBoxValueAccess</c> option controls how value types passed by reference (e.g. ref int, out my_struct) are handled in the arguments array
passed to the fast invocation handler.
Since the arguments array is an object array, any value types contained within it are actually references to a boxed value object.
Like any other object, there can be other references to such boxed value objects, other than the reference within the arguments array.
<example>For example,
<code>
var val = 5;
var box = (object)val;
var arr = new object[] { box };
handler(arr); // for a method with parameter signature: ref/out/in int
</code>
</example>
</para>
<para>
If <c>directBoxValueAccess</c> is <c>true</c>, the boxed value object is accessed (and potentially updated) directly when the handler is called,
such that all references to the boxed object reflect the potentially updated value.
In the above example, if the method associated with the handler updates the passed (boxed) value to 10, both <c>box</c> and <c>arr[0]</c>
now reflect the value 10. Note that the original <c>val</c> is not updated, since boxing always copies the value into the new boxed value object.
</para>
<para>
If <c>directBoxValueAccess</c> is <c>false</c> (default), the boxed value object in the arguments array is replaced with a "reboxed" value object,
such that potential updates to the value are reflected only in the arguments array.
In the above example, if the method associated with the handler updates the passed (boxed) value to 10, only <c>arr[0]</c> now reflects the value 10.
</para>
</remarks>
</member>
<member name="T:HarmonyLib.Memory">
<summary>A low level memory helper</summary>
</member>
<member name="M:HarmonyLib.Memory.MarkForNoInlining(System.Reflection.MethodBase)">
<summary>Mark method for no inlining (currently only works on Mono)</summary>
<param name="method">The method/constructor to change</param>
</member>
<member name="M:HarmonyLib.Memory.DetourMethod(System.Reflection.MethodBase,System.Reflection.MethodBase)">
<summary>Detours a method</summary>
<param name="original">The original method/constructor</param>
<param name="replacement">The replacement method/constructor</param>
<returns>An error string</returns>
</member>
<member name="M:HarmonyLib.Memory.WriteJump(System.Int64,System.Int64)">
<summary>Writes a jump to memory</summary>
<param name="memory">The memory address</param>
<param name="destination">Jump destination</param>
<returns>An error string</returns>
</member>
<member name="M:HarmonyLib.Memory.GetMethodStart(System.Reflection.MethodBase,System.Exception@)">
<summary>Gets the start of a method in memory</summary>
<param name="method">The method/constructor</param>
<param name="exception">[out] Details of the exception</param>
<returns>The method start address</returns>
</member>
<member name="F:HarmonyLib.MethodPatcher.INSTANCE_PARAM">
special parameter names that can be used in prefix and postfix methods
</member>
<member name="T:HarmonyLib.PatchFunctions">
<summary>Patch function helpers</summary>
</member>
<member name="M:HarmonyLib.PatchFunctions.GetSortedPatchMethods(System.Reflection.MethodBase,HarmonyLib.Patch[],System.Boolean)">
<summary>Sorts patch methods by their priority rules</summary>
<param name="original">The original method</param>
<param name="patches">Patches to sort</param>
<param name="debug">Use debug mode</param>
<returns>The sorted patch methods</returns>
</member>
<member name="M:HarmonyLib.PatchFunctions.UpdateWrapper(System.Reflection.MethodBase,HarmonyLib.PatchInfo)">
<summary>Creates new replacement method with the latest patches and detours the original method</summary>
<param name="original">The original method</param>
<param name="patchInfo">Information describing the patches</param>
<returns>The newly created replacement method</returns>
</member>
<member name="M:HarmonyLib.PatchSorter.#ctor(HarmonyLib.Patch[],System.Boolean)">
<summary>Creates a patch sorter</summary>
<param name="patches">Array of patches that will be sorted</param>
<param name="debug">Use debugging</param>
</member>
<member name="M:HarmonyLib.PatchSorter.Sort(System.Reflection.MethodBase)">
<summary>Sorts internal PatchSortingWrapper collection and caches the results.
After first run the result is provided from the cache.</summary>
<param name="original">The original method</param>
<returns>The sorted patch methods</returns>
</member>
<member name="M:HarmonyLib.PatchSorter.ComparePatchLists(HarmonyLib.Patch[])">
<summary>Checks if the sorter was created with the same patch list and as a result can be reused to
get the sorted order of the patches.</summary>
<param name="patches">List of patches to check against</param>
<returns>true if equal</returns>
</member>
<member name="M:HarmonyLib.PatchSorter.CullDependency">
<summary>Removes one unresolved dependency from the least important patch.</summary>
</member>
<member name="M:HarmonyLib.PatchSorter.ProcessWaitingList">
<summary>Outputs all unblocked patches from the waiting list to results list</summary>
</member>
<member name="M:HarmonyLib.PatchSorter.AddNodeToResult(HarmonyLib.PatchSorter.PatchSortingWrapper)">
<summary>Adds patch to both results list and handled patches set</summary>
<param name="node">Patch to add</param>
</member>
<member name="T:HarmonyLib.PatchSorter.PatchSortingWrapper">
<summary>Wrapper used over the Patch object to allow faster dependency access and
dependency removal in case of cyclic dependencies</summary>
</member>
<member name="M:HarmonyLib.PatchSorter.PatchSortingWrapper.#ctor(HarmonyLib.Patch)">
<summary>Create patch wrapper object used for sorting</summary>
<param name="patch">Patch to wrap</param>
</member>
<member name="M:HarmonyLib.PatchSorter.PatchSortingWrapper.CompareTo(System.Object)">
<summary>Determines how patches sort</summary>
<param name="obj">The other patch</param>
<returns>integer to define sort order (-1, 0, 1)</returns>
</member>
<member name="M:HarmonyLib.PatchSorter.PatchSortingWrapper.Equals(System.Object)">
<summary>Determines whether patches are equal</summary>
<param name="obj">The other patch</param>
<returns>true if equal</returns>
</member>
<member name="M:HarmonyLib.PatchSorter.PatchSortingWrapper.GetHashCode">
<summary>Hash function</summary>
<returns>A hash code</returns>
</member>
<member name="M:HarmonyLib.PatchSorter.PatchSortingWrapper.AddBeforeDependency(System.Collections.Generic.IEnumerable{HarmonyLib.PatchSorter.PatchSortingWrapper})">
<summary>Bidirectionally registers Patches as after dependencies</summary>
<param name="dependencies">List of dependencies to register</param>
</member>
<member name="M:HarmonyLib.PatchSorter.PatchSortingWrapper.AddAfterDependency(System.Collections.Generic.IEnumerable{HarmonyLib.PatchSorter.PatchSortingWrapper})">
<summary>Bidirectionally registers Patches as before dependencies</summary>
<param name="dependencies">List of dependencies to register</param>
</member>
<member name="M:HarmonyLib.PatchSorter.PatchSortingWrapper.RemoveAfterDependency(HarmonyLib.PatchSorter.PatchSortingWrapper)">
<summary>Bidirectionally removes Patch from after dependencies</summary>
<param name="afterNode">Patch to remove</param>
</member>
<member name="M:HarmonyLib.PatchSorter.PatchSortingWrapper.RemoveBeforeDependency(HarmonyLib.PatchSorter.PatchSortingWrapper)">
<summary>Bidirectionally removes Patch from before dependencies</summary>
<param name="beforeNode">Patch to remove</param>
</member>
<member name="T:HarmonyLib.MethodType">
<summary>Specifies the type of method</summary>
</member>
<member name="F:HarmonyLib.MethodType.Normal">
<summary>This is a normal method</summary>
</member>
<member name="F:HarmonyLib.MethodType.Getter">
<summary>This is a getter</summary>
</member>
<member name="F:HarmonyLib.MethodType.Setter">
<summary>This is a setter</summary>
</member>
<member name="F:HarmonyLib.MethodType.Constructor">
<summary>This is a constructor</summary>
</member>
<member name="F:HarmonyLib.MethodType.StaticConstructor">
<summary>This is a static constructor</summary>
</member>
<member name="F:HarmonyLib.MethodType.Enumerator">
<summary>This targets the MoveNext method of the enumerator result</summary>
</member>
<member name="T:HarmonyLib.ArgumentType">
<summary>Specifies the type of argument</summary>
</member>
<member name="F:HarmonyLib.ArgumentType.Normal">
<summary>This is a normal argument</summary>
</member>
<member name="F:HarmonyLib.ArgumentType.Ref">
<summary>This is a reference argument (ref)</summary>
</member>
<member name="F:HarmonyLib.ArgumentType.Out">
<summary>This is an out argument (out)</summary>
</member>
<member name="F:HarmonyLib.ArgumentType.Pointer">
<summary>This is a pointer argument (&)</summary>
</member>
<member name="T:HarmonyLib.HarmonyPatchType">
<summary>Specifies the type of patch</summary>
</member>
<member name="F:HarmonyLib.HarmonyPatchType.All">
<summary>Any patch</summary>
</member>
<member name="F:HarmonyLib.HarmonyPatchType.Prefix">
<summary>A prefix patch</summary>
</member>
<member name="F:HarmonyLib.HarmonyPatchType.Postfix">
<summary>A postfix patch</summary>
</member>
<member name="F:HarmonyLib.HarmonyPatchType.Transpiler">
<summary>A transpiler</summary>
</member>
<member name="F:HarmonyLib.HarmonyPatchType.Finalizer">
<summary>A finalizer</summary>
</member>
<member name="F:HarmonyLib.HarmonyPatchType.ReversePatch">
<summary>A reverse patch</summary>
</member>
<member name="T:HarmonyLib.HarmonyReversePatchType">
<summary>Specifies the type of reverse patch</summary>
</member>
<member name="F:HarmonyLib.HarmonyReversePatchType.Original">
<summary>Use the unmodified original method (directly from IL)</summary>
</member>
<member name="F:HarmonyLib.HarmonyReversePatchType.Snapshot">
<summary>Use the original as it is right now including previous patches but excluding future ones</summary>
</member>
<member name="T:HarmonyLib.MethodDispatchType">
<summary>Specifies the type of method call dispatching mechanics</summary>
</member>
<member name="F:HarmonyLib.MethodDispatchType.VirtualCall">
<summary>Call the method using dynamic dispatching if method is virtual (including overriden)</summary>
<remarks>
<para>
This is the built-in form of late binding (a.k.a. dynamic binding) and is the default dispatching mechanic in C#.
This directly corresponds with the <see cref="F:System.Reflection.Emit.OpCodes.Callvirt"/> instruction.
</para>
<para>
For virtual (including overriden) methods, the instance type's most-derived/overriden implementation of the method is called.
For non-virtual (including static) methods, same behavior as <see cref="F:HarmonyLib.MethodDispatchType.Call"/>: the exact specified method implementation is called.
</para>
<para>
Note: This is not a fully dynamic dispatch, since non-virtual (including static) methods are still called non-virtually.
A fully dynamic dispatch in C# involves using
the <see href="https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-dynamic-type"><c>dynamic</c> type</see>
(actually a fully dynamic binding, since even the name and overload resolution happens at runtime), which <see cref="T:HarmonyLib.MethodDispatchType"/> does not support.
</para>
</remarks>
</member>
<member name="F:HarmonyLib.MethodDispatchType.Call">
<summary>Call the method using static dispatching, regardless of whether method is virtual (including overriden) or non-virtual (including static)</summary>
<remarks>
<para>
a.k.a. non-virtual dispatching, early binding, or static binding.
This directly corresponds with the <see cref="F:System.Reflection.Emit.OpCodes.Call"/> instruction.
</para>
<para>
For both virtual (including overriden) and non-virtual (including static) methods, the exact specified method implementation is called, without virtual/override mechanics.
</para>
</remarks>
</member>
<member name="T:HarmonyLib.HarmonyAttribute">
<summary>The base class for all Harmony annotations (not meant to be used directly)</summary>
</member>
<member name="F:HarmonyLib.HarmonyAttribute.info">
<summary>The common information for all attributes</summary>
</member>
<member name="T:HarmonyLib.HarmonyPatch">
<summary>Annotation to define your Harmony patch methods</summary>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor">
<summary>An empty annotation can be used together with TargetMethod(s)</summary>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.Type)">
<summary>An annotation that specifies a class to patch</summary>
<param name="declaringType">The declaring class/type</param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.Type,System.Type[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="argumentTypes">The argument types of the method or constructor to patch</param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.Type,System.String)">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodName">The name of the method, property or constructor to patch</param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.Type,System.String,System.Type[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="argumentTypes">An array of argument types to target overloads</param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.Type,System.String,System.Type[],HarmonyLib.ArgumentType[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="argumentTypes">An array of argument types to target overloads</param>
<param name="argumentVariations">Array of <see cref="T:HarmonyLib.ArgumentType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.Type,HarmonyLib.MethodType)">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodType">The <see cref="T:HarmonyLib.MethodType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.Type,HarmonyLib.MethodType,System.Type[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodType">The <see cref="T:HarmonyLib.MethodType"/></param>
<param name="argumentTypes">An array of argument types to target overloads</param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.Type,HarmonyLib.MethodType,System.Type[],HarmonyLib.ArgumentType[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodType">The <see cref="T:HarmonyLib.MethodType"/></param>
<param name="argumentTypes">An array of argument types to target overloads</param>
<param name="argumentVariations">Array of <see cref="T:HarmonyLib.ArgumentType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.Type,System.String,HarmonyLib.MethodType)">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="methodType">The <see cref="T:HarmonyLib.MethodType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.String)">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodName">The name of the method, property or constructor to patch</param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.String,System.Type[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="argumentTypes">An array of argument types to target overloads</param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.String,System.Type[],HarmonyLib.ArgumentType[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="argumentTypes">An array of argument types to target overloads</param>
<param name="argumentVariations">An array of <see cref="T:HarmonyLib.ArgumentType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.String,HarmonyLib.MethodType)">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="methodType">The <see cref="T:HarmonyLib.MethodType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(HarmonyLib.MethodType)">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodType">The <see cref="T:HarmonyLib.MethodType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(HarmonyLib.MethodType,System.Type[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodType">The <see cref="T:HarmonyLib.MethodType"/></param>
<param name="argumentTypes">An array of argument types to target overloads</param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(HarmonyLib.MethodType,System.Type[],HarmonyLib.ArgumentType[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodType">The <see cref="T:HarmonyLib.MethodType"/></param>
<param name="argumentTypes">An array of argument types to target overloads</param>
<param name="argumentVariations">An array of <see cref="T:HarmonyLib.ArgumentType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.Type[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="argumentTypes">An array of argument types to target overloads</param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.Type[],HarmonyLib.ArgumentType[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="argumentTypes">An array of argument types to target overloads</param>
<param name="argumentVariations">An array of <see cref="T:HarmonyLib.ArgumentType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyPatch.#ctor(System.String,System.String,HarmonyLib.MethodType)">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="typeName">The full name of the declaring class/type</param>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="methodType">The <see cref="T:HarmonyLib.MethodType"/></param>
</member>
<member name="T:HarmonyLib.HarmonyDelegate">
<summary>Annotation to define the original method for delegate injection</summary>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.Type)">
<summary>An annotation that specifies a class to patch</summary>
<param name="declaringType">The declaring class/type</param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.Type,System.Type[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="argumentTypes">The argument types of the method or constructor to patch</param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.Type,System.String)">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodName">The name of the method, property or constructor to patch</param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.Type,System.String,System.Type[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="argumentTypes">An array of argument types to target overloads</param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.Type,System.String,System.Type[],HarmonyLib.ArgumentType[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="argumentTypes">An array of argument types to target overloads</param>
<param name="argumentVariations">Array of <see cref="T:HarmonyLib.ArgumentType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.Type,HarmonyLib.MethodDispatchType)">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodDispatchType">The <see cref="T:HarmonyLib.MethodDispatchType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.Type,HarmonyLib.MethodDispatchType,System.Type[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodDispatchType">The <see cref="T:HarmonyLib.MethodDispatchType"/></param>
<param name="argumentTypes">An array of argument types to target overloads</param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.Type,HarmonyLib.MethodDispatchType,System.Type[],HarmonyLib.ArgumentType[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodDispatchType">The <see cref="T:HarmonyLib.MethodDispatchType"/></param>
<param name="argumentTypes">An array of argument types to target overloads</param>
<param name="argumentVariations">Array of <see cref="T:HarmonyLib.ArgumentType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.Type,System.String,HarmonyLib.MethodDispatchType)">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="declaringType">The declaring class/type</param>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="methodDispatchType">The <see cref="T:HarmonyLib.MethodDispatchType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.String)">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodName">The name of the method, property or constructor to patch</param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.String,System.Type[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="argumentTypes">An array of argument types to target overloads</param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.String,System.Type[],HarmonyLib.ArgumentType[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="argumentTypes">An array of argument types to target overloads</param>
<param name="argumentVariations">An array of <see cref="T:HarmonyLib.ArgumentType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.String,HarmonyLib.MethodDispatchType)">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodName">The name of the method, property or constructor to patch</param>
<param name="methodDispatchType">The <see cref="T:HarmonyLib.MethodDispatchType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(HarmonyLib.MethodDispatchType)">
<summary>An annotation that specifies call dispatching mechanics for the delegate</summary>
<param name="methodDispatchType">The <see cref="T:HarmonyLib.MethodDispatchType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(HarmonyLib.MethodDispatchType,System.Type[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodDispatchType">The <see cref="T:HarmonyLib.MethodDispatchType"/></param>
<param name="argumentTypes">An array of argument types to target overloads</param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(HarmonyLib.MethodDispatchType,System.Type[],HarmonyLib.ArgumentType[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="methodDispatchType">The <see cref="T:HarmonyLib.MethodDispatchType"/></param>
<param name="argumentTypes">An array of argument types to target overloads</param>
<param name="argumentVariations">An array of <see cref="T:HarmonyLib.ArgumentType"/></param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.Type[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="argumentTypes">An array of argument types to target overloads</param>
</member>
<member name="M:HarmonyLib.HarmonyDelegate.#ctor(System.Type[],HarmonyLib.ArgumentType[])">
<summary>An annotation that specifies a method, property or constructor to patch</summary>
<param name="argumentTypes">An array of argument types to target overloads</param>
<param name="argumentVariations">An array of <see cref="T:HarmonyLib.ArgumentType"/></param>
</member>
<member name="T:HarmonyLib.HarmonyReversePatch">
<summary>Annotation to define your standin methods for reverse patching</summary>
</member>
<member name="M:HarmonyLib.HarmonyReversePatch.#ctor(HarmonyLib.HarmonyReversePatchType)">
<summary>An annotation that specifies the type of reverse patching</summary>
<param name="type">The <see cref="T:HarmonyLib.HarmonyReversePatchType"/> of the reverse patch</param>
</member>
<member name="T:HarmonyLib.HarmonyPatchAll">
<summary>A Harmony annotation to define that all methods in a class are to be patched</summary>
</member>
<member name="T:HarmonyLib.HarmonyPriority">
<summary>A Harmony annotation</summary>
</member>
<member name="M:HarmonyLib.HarmonyPriority.#ctor(System.Int32)">
<summary>A Harmony annotation to define patch priority</summary>
<param name="priority">The priority</param>
</member>
<member name="T:HarmonyLib.HarmonyBefore">
<summary>A Harmony annotation</summary>
</member>
<member name="M:HarmonyLib.HarmonyBefore.#ctor(System.String[])">
<summary>A Harmony annotation to define that a patch comes before another patch</summary>
<param name="before">The array of harmony IDs of the other patches</param>
</member>
<member name="T:HarmonyLib.HarmonyAfter">
<summary>A Harmony annotation</summary>
</member>
<member name="M:HarmonyLib.HarmonyAfter.#ctor(System.String[])">
<summary>A Harmony annotation to define that a patch comes after another patch</summary>
<param name="after">The array of harmony IDs of the other patches</param>
</member>
<member name="T:HarmonyLib.HarmonyDebug">
<summary>A Harmony annotation</summary>
</member>
<member name="M:HarmonyLib.HarmonyDebug.#ctor">
<summary>A Harmony annotation to debug a patch (output uses <see cref="T:HarmonyLib.FileLog"/> to log to your Desktop)</summary>
</member>
<member name="T:HarmonyLib.HarmonyPrepare">
<summary>Specifies the Prepare function in a patch class</summary>
</member>
<member name="T:HarmonyLib.HarmonyCleanup">
<summary>Specifies the Cleanup function in a patch class</summary>
</member>
<member name="T:HarmonyLib.HarmonyTargetMethod">
<summary>Specifies the TargetMethod function in a patch class</summary>
</member>
<member name="T:HarmonyLib.HarmonyTargetMethods">
<summary>Specifies the TargetMethods function in a patch class</summary>
</member>
<member name="T:HarmonyLib.HarmonyPrefix">
<summary>Specifies the Prefix function in a patch class</summary>
</member>
<member name="T:HarmonyLib.HarmonyPostfix">
<summary>Specifies the Postfix function in a patch class</summary>
</member>
<member name="T:HarmonyLib.HarmonyTranspiler">
<summary>Specifies the Transpiler function in a patch class</summary>
</member>
<member name="T:HarmonyLib.HarmonyFinalizer">
<summary>Specifies the Finalizer function in a patch class</summary>
</member>
<member name="T:HarmonyLib.HarmonyArgument">
<summary>A Harmony annotation</summary>
</member>
<member name="P:HarmonyLib.HarmonyArgument.OriginalName">
<summary>The name of the original argument</summary>
</member>
<member name="P:HarmonyLib.HarmonyArgument.Index">
<summary>The index of the original argument</summary>
</member>
<member name="P:HarmonyLib.HarmonyArgument.NewName">
<summary>The new name of the original argument</summary>
</member>
<member name="M:HarmonyLib.HarmonyArgument.#ctor(System.String)">
<summary>An annotation to declare injected arguments by name</summary>
</member>
<member name="M:HarmonyLib.HarmonyArgument.#ctor(System.Int32)">
<summary>An annotation to declare injected arguments by index</summary>
<param name="index">Zero-based index</param>
</member>
<member name="M:HarmonyLib.HarmonyArgument.#ctor(System.String,System.String)">
<summary>An annotation to declare injected arguments by renaming them</summary>
<param name="originalName">Name of the original argument</param>
<param name="newName">New name</param>
</member>
<member name="M:HarmonyLib.HarmonyArgument.#ctor(System.Int32,System.String)">
<summary>An annotation to declare injected arguments by index and renaming them</summary>
<param name="index">Zero-based index</param>
<param name="name">New name</param>
</member>
<member name="T:HarmonyLib.CodeInstruction">
<summary>An abstract wrapper around OpCode and their operands. Used by transpilers</summary>
</member>
<member name="F:HarmonyLib.CodeInstruction.opcode">
<summary>The opcode</summary>
</member>
<member name="F:HarmonyLib.CodeInstruction.operand">
<summary>The operand</summary>
</member>
<member name="F:HarmonyLib.CodeInstruction.labels">
<summary>All labels defined on this instruction</summary>
</member>
<member name="F:HarmonyLib.CodeInstruction.blocks">
<summary>All exception block boundaries defined on this instruction</summary>
</member>
<member name="M:HarmonyLib.CodeInstruction.#ctor(System.Reflection.Emit.OpCode,System.Object)">
<summary>Creates a new CodeInstruction with a given opcode and optional operand</summary>
<param name="opcode">The opcode</param>
<param name="operand">The operand</param>
</member>
<member name="M:HarmonyLib.CodeInstruction.#ctor(HarmonyLib.CodeInstruction)">
<summary>Create a full copy (including labels and exception blocks) of a CodeInstruction</summary>
<param name="instruction">The <see cref="T:HarmonyLib.CodeInstruction"/> to copy</param>
</member>
<member name="M:HarmonyLib.CodeInstruction.Clone">
<summary>Clones a CodeInstruction and resets its labels and exception blocks</summary>
<returns>A lightweight copy of this code instruction</returns>
</member>
<member name="M:HarmonyLib.CodeInstruction.Clone(System.Reflection.Emit.OpCode)">
<summary>Clones a CodeInstruction, resets labels and exception blocks and sets its opcode</summary>
<param name="opcode">The opcode</param>
<returns>A copy of this CodeInstruction with a new opcode</returns>
</member>
<member name="M:HarmonyLib.CodeInstruction.Clone(System.Object)">
<summary>Clones a CodeInstruction, resets labels and exception blocks and sets its operand</summary>
<param name="operand">The operand</param>
<returns>A copy of this CodeInstruction with a new operand</returns>
</member>
<member name="M:HarmonyLib.CodeInstruction.Call(System.Type,System.String,System.Type[],System.Type[])">
<summary>Creates a CodeInstruction calling a method (CALL)</summary>
<param name="type">The class/type where the method is declared</param>
<param name="name">The name of the method (case sensitive)</param>
<param name="parameters">Optional parameters to target a specific overload of the method</param>
<param name="generics">Optional list of types that define the generic version of the method</param>
<returns>A code instruction that calls the method matching the arguments</returns>
</member>
<member name="M:HarmonyLib.CodeInstruction.Call(System.String,System.Type[],System.Type[])">
<summary>Creates a CodeInstruction calling a method (CALL)</summary>
<param name="typeColonMethodname">The target method in the form <c>TypeFullName:MethodName</c>, where the type name matches a form recognized by <a href="https://docs.microsoft.com/en-us/dotnet/api/system.type.gettype">Type.GetType</a> like <c>Some.Namespace.Type</c>.</param>
<param name="parameters">Optional parameters to target a specific overload of the method</param>
<param name="generics">Optional list of types that define the generic version of the method</param>
<returns>A code instruction that calls the method matching the arguments</returns>
</member>
<member name="M:HarmonyLib.CodeInstruction.Call(System.Linq.Expressions.Expression{System.Action})">
<summary>Creates a CodeInstruction calling a method (CALL)</summary>
<param name="expression">The lambda expression using the method</param>
<returns></returns>
</member>
<member name="M:HarmonyLib.CodeInstruction.Call``1(System.Linq.Expressions.Expression{System.Action{``0}})">
<summary>Creates a CodeInstruction calling a method (CALL)</summary>
<param name="expression">The lambda expression using the method</param>
<returns></returns>
</member>
<member name="M:HarmonyLib.CodeInstruction.Call``2(System.Linq.Expressions.Expression{System.Func{``0,``1}})">
<summary>Creates a CodeInstruction calling a method (CALL)</summary>
<param name="expression">The lambda expression using the method</param>
<returns></returns>
</member>
<member name="M:HarmonyLib.CodeInstruction.Call(System.Linq.Expressions.LambdaExpression)">
<summary>Creates a CodeInstruction calling a method (CALL)</summary>
<param name="expression">The lambda expression using the method</param>
<returns></returns>
</member>
<member name="M:HarmonyLib.CodeInstruction.CallClosure``1(``0)">
<summary>Returns an instruction to call the specified closure</summary>
<typeparam name="T">The delegate type to emit</typeparam>
<param name="closure">The closure that defines the method to call</param>
<returns>A <see cref="T:HarmonyLib.CodeInstruction"/> that calls the closure as a method</returns>
</member>
<member name="M:HarmonyLib.CodeInstruction.LoadField(System.Type,System.String,System.Boolean)">
<summary>Creates a CodeInstruction loading a field (LD[S]FLD[A])</summary>
<param name="type">The class/type where the field is defined</param>
<param name="name">The name of the field (case sensitive)</param>
<param name="useAddress">Use address of field</param>
<returns></returns>
</member>
<member name="M:HarmonyLib.CodeInstruction.StoreField(System.Type,System.String)">
<summary>Creates a CodeInstruction storing to a field (ST[S]FLD)</summary>
<param name="type">The class/type where the field is defined</param>
<param name="name">The name of the field (case sensitive)</param>
<returns></returns>
</member>
<member name="M:HarmonyLib.CodeInstruction.ToString">
<summary>Returns a string representation of the code instruction</summary>
<returns>A string representation of the code instruction</returns>
</member>
<member name="T:HarmonyLib.ExceptionBlockType">
<summary>Exception block types</summary>
</member>
<member name="F:HarmonyLib.ExceptionBlockType.BeginExceptionBlock">
<summary>The beginning of an exception block</summary>
</member>
<member name="F:HarmonyLib.ExceptionBlockType.BeginCatchBlock">
<summary>The beginning of a catch block</summary>
</member>
<member name="F:HarmonyLib.ExceptionBlockType.BeginExceptFilterBlock">
<summary>The beginning of an except filter block</summary>
</member>
<member name="F:HarmonyLib.ExceptionBlockType.BeginFaultBlock">
<summary>The beginning of a fault block</summary>
</member>
<member name="F:HarmonyLib.ExceptionBlockType.BeginFinallyBlock">
<summary>The beginning of a finally block</summary>
</member>
<member name="F:HarmonyLib.ExceptionBlockType.EndExceptionBlock">
<summary>The end of an exception block</summary>
</member>
<member name="T:HarmonyLib.ExceptionBlock">
<summary>An exception block</summary>
</member>
<member name="F:HarmonyLib.ExceptionBlock.blockType">
<summary>Block type</summary>
</member>
<member name="F:HarmonyLib.ExceptionBlock.catchType">
<summary>Catch type</summary>
</member>
<member name="M:HarmonyLib.ExceptionBlock.#ctor(HarmonyLib.ExceptionBlockType,System.Type)">
<summary>Creates an exception block</summary>
<param name="blockType">The <see cref="T:HarmonyLib.ExceptionBlockType"/></param>
<param name="catchType">The catch type</param>
</member>
<member name="T:HarmonyLib.Harmony">
<summary>The Harmony instance is the main entry to Harmony. After creating one with an unique identifier, it is used to patch and query the current application domain</summary>
</member>
<member name="P:HarmonyLib.Harmony.Id">
<summary>The unique identifier</summary>
</member>
<member name="F:HarmonyLib.Harmony.DEBUG">
<summary>Set to true before instantiating Harmony to debug Harmony or use an environment variable to set HARMONY_DEBUG to '1' like this: cmd /C "set HARMONY_DEBUG=1 && game.exe"</summary>
<remarks>This is for full debugging. To debug only specific patches, use the <see cref="T:HarmonyLib.HarmonyDebug"/> attribute</remarks>
</member>
<member name="M:HarmonyLib.Harmony.#ctor(System.String)">
<summary>Creates a new Harmony instance</summary>
<param name="id">A unique identifier (you choose your own)</param>
<returns>A Harmony instance</returns>
</member>
<member name="M:HarmonyLib.Harmony.PatchAll">
<summary>Searches the current assembly for Harmony annotations and uses them to create patches</summary>
<remarks>This method can fail to use the correct assembly when being inlined. It calls StackTrace.GetFrame(1) which can point to the wrong method/assembly. If you are unsure or run into problems, use <code>PatchAll(Assembly.GetExecutingAssembly())</code> instead.</remarks>
</member>
<member name="M:HarmonyLib.Harmony.CreateProcessor(System.Reflection.MethodBase)">
<summary>Creates a empty patch processor for an original method</summary>
<param name="original">The original method/constructor</param>
<returns>A new <see cref="T:HarmonyLib.PatchProcessor"/> instance</returns>
</member>
<member name="M:HarmonyLib.Harmony.CreateClassProcessor(System.Type)">
<summary>Creates a patch class processor from an annotated class</summary>
<param name="type">The class/type</param>
<returns>A new <see cref="T:HarmonyLib.PatchClassProcessor"/> instance</returns>
</member>
<member name="M:HarmonyLib.Harmony.CreateReversePatcher(System.Reflection.MethodBase,HarmonyLib.HarmonyMethod)">
<summary>Creates a reverse patcher for one of your stub methods</summary>
<param name="original">The original method/constructor</param>
<param name="standin">The stand-in stub method as <see cref="T:HarmonyLib.HarmonyMethod"/></param>
<returns>A new <see cref="T:HarmonyLib.ReversePatcher"/> instance</returns>
</member>
<member name="M:HarmonyLib.Harmony.PatchAll(System.Reflection.Assembly)">
<summary>Searches an assembly for Harmony annotations and uses them to create patches</summary>
<param name="assembly">The assembly</param>
</member>
<member name="M:HarmonyLib.Harmony.Patch(System.Reflection.MethodBase,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod)">
<summary>Creates patches by manually specifying the methods</summary>
<param name="original">The original method/constructor</param>
<param name="prefix">An optional prefix method wrapped in a <see cref="T:HarmonyLib.HarmonyMethod"/> object</param>
<param name="postfix">An optional postfix method wrapped in a <see cref="T:HarmonyLib.HarmonyMethod"/> object</param>
<param name="transpiler">An optional transpiler method wrapped in a <see cref="T:HarmonyLib.HarmonyMethod"/> object</param>
<param name="finalizer">An optional finalizer method wrapped in a <see cref="T:HarmonyLib.HarmonyMethod"/> object</param>
<returns>The replacement method that was created to patch the original method</returns>
</member>
<member name="M:HarmonyLib.Harmony.ReversePatch(System.Reflection.MethodBase,HarmonyLib.HarmonyMethod,System.Reflection.MethodInfo)">
<summary>Patches a foreign method onto a stub method of yours and optionally applies transpilers during the process</summary>
<param name="original">The original method/constructor you want to duplicate</param>
<param name="standin">Your stub method as <see cref="T:HarmonyLib.HarmonyMethod"/> that will become the original. Needs to have the correct signature (either original or whatever your transpilers generates)</param>
<param name="transpiler">An optional transpiler as method that will be applied during the process</param>
<returns>The replacement method that was created to patch the stub method</returns>
</member>
<member name="M:HarmonyLib.Harmony.UnpatchAll(System.String)">
<summary>Unpatches methods by patching them with zero patches. Fully unpatching is not supported. Be careful, unpatching is global</summary>
<param name="harmonyID">The optional Harmony ID to restrict unpatching to a specific Harmony instance</param>
<remarks>This method could be static if it wasn't for the fact that unpatching creates a new replacement method that contains your harmony ID</remarks>
</member>
<member name="M:HarmonyLib.Harmony.Unpatch(System.Reflection.MethodBase,HarmonyLib.HarmonyPatchType,System.String)">
<summary>Unpatches a method by patching it with zero patches. Fully unpatching is not supported. Be careful, unpatching is global</summary>
<param name="original">The original method/constructor</param>
<param name="type">The <see cref="T:HarmonyLib.HarmonyPatchType"/></param>
<param name="harmonyID">The optional Harmony ID to restrict unpatching to a specific Harmony instance</param>
</member>
<member name="M:HarmonyLib.Harmony.Unpatch(System.Reflection.MethodBase,System.Reflection.MethodInfo)">
<summary>Unpatches a method by patching it with zero patches. Fully unpatching is not supported. Be careful, unpatching is global</summary>
<param name="original">The original method/constructor</param>
<param name="patch">The patch method as method to remove</param>
</member>
<member name="M:HarmonyLib.Harmony.HasAnyPatches(System.String)">
<summary>Test for patches from a specific Harmony ID</summary>
<param name="harmonyID">The Harmony ID</param>
<returns>True if patches for this ID exist</returns>
</member>
<member name="M:HarmonyLib.Harmony.GetPatchInfo(System.Reflection.MethodBase)">
<summary>Gets patch information for a given original method</summary>
<param name="method">The original method/constructor</param>
<returns>The patch information as <see cref="T:HarmonyLib.Patches"/></returns>
</member>
<member name="M:HarmonyLib.Harmony.GetPatchedMethods">
<summary>Gets the methods this instance has patched</summary>
<returns>An enumeration of original methods/constructors</returns>
</member>
<member name="M:HarmonyLib.Harmony.GetAllPatchedMethods">
<summary>Gets all patched original methods in the appdomain</summary>
<returns>An enumeration of patched original methods/constructors</returns>
</member>
<member name="M:HarmonyLib.Harmony.GetOriginalMethod(System.Reflection.MethodInfo)">
<summary>Gets the original method from a given replacement method</summary>
<param name="replacement">A replacement method, for example from a stacktrace</param>
<returns>The original method/constructor or <c>null</c> if not found</returns>
</member>
<member name="M:HarmonyLib.Harmony.GetMethodFromStackframe(System.Diagnostics.StackFrame)">
<summary>Tries to get the method from a stackframe including dynamic replacement methods</summary>
<param name="frame">The <see cref="T:System.Diagnostics.StackFrame"/></param>
<returns>For normal frames, <c>frame.GetMethod()</c> is returned. For frames containing patched methods, the replacement method is returned or <c>null</c> if no method can be found</returns>
</member>
<member name="M:HarmonyLib.Harmony.GetOriginalMethodFromStackframe(System.Diagnostics.StackFrame)">