Skip to content

Commit

Permalink
Update documentation [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pardeike-bot committed Feb 19, 2024
1 parent 2c2de77 commit 9615407
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion docs/api/HarmonyLib.Code.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@

<h1 id="HarmonyLib_Code" data-uid="HarmonyLib.Code" class="text-break">Class Code
</h1>
<div class="markdown level0 summary"><p>By adding the following using statement to your source code:</p>
<div class="markdown level0 summary"><p>By adding the following using statement to your source code: <code>using static HarmonyLib.Code;</code>
you can for example start using <code>Ldarg_1</code> in you code instead of <code>new CodeMatch(OpCodes.Ldarg_1)</code>
and then you can use array notation to add an operand and/or a name: <code>Call[myMethodInfo]</code> instead of <code>new CodeMatch(OpCodes.Call, myMethodInfo)</code></p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
Expand Down
4 changes: 3 additions & 1 deletion docs/api/HarmonyLib.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ <h4><a class="xref" href="HarmonyLib.AccessToolsExtensions.html">AccessToolsExte
<section><p>Adds extensions to Type for a lot of AccessTools methods</p>
</section>
<h4><a class="xref" href="HarmonyLib.Code.html">Code</a></h4>
<section><p>By adding the following using statement to your source code:</p>
<section><p>By adding the following using statement to your source code: <code>using static HarmonyLib.Code;</code>
you can for example start using <code>Ldarg_1</code> in you code instead of <code>new CodeMatch(OpCodes.Ldarg_1)</code>
and then you can use array notation to add an operand and/or a name: <code>Call[myMethodInfo]</code> instead of <code>new CodeMatch(OpCodes.Call, myMethodInfo)</code></p>
</section>
<h4><a class="xref" href="HarmonyLib.CodeInstruction.html">CodeInstruction</a></h4>
<section><p>An abstract wrapper around OpCode and their operands. Used by transpilers</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"output": {
".html": {
"relative_path": "api/HarmonyLib.Code.html",
"hash": "jHINphZrXUllkdoD0uW84YoH/BfF5ERkmS43Ax/ucU4="
"hash": "YIxhbnt0A5qQQY/dHS4H5FGvAZF1hHL03QTNMJxYkCo="
}
},
"is_incremental": false,
Expand Down Expand Up @@ -765,7 +765,7 @@
"output": {
".html": {
"relative_path": "api/HarmonyLib.html",
"hash": "+AYX/ITLpdMzYBM4ta3s7jbvK4RjutK/r/PfeOxZIhI="
"hash": "chEAxFUBf4O50TWb0MOiGTez7+bqCTkdJS7cYQenL/8="
}
},
"is_incremental": false,
Expand Down

0 comments on commit 9615407

Please sign in to comment.