diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-10-09 14:45:50 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-10-09 14:45:50 -0400 |
commit | d143ab1077d7a3fb8638f0cc494aadf8688a0952 (patch) | |
tree | 8154509d13eea9c4b3ed4220f6c09cdbe45de5a5 | |
parent | d0704ef6f0040d10aa89e9cf1ee8d38098bff5df (diff) | |
download | SMAPI-d143ab1077d7a3fb8638f0cc494aadf8688a0952.tar.gz SMAPI-d143ab1077d7a3fb8638f0cc494aadf8688a0952.tar.bz2 SMAPI-d143ab1077d7a3fb8638f0cc494aadf8688a0952.zip |
update to Harmony 2.2.2
-rw-r--r-- | build/0Harmony.dll | bin | 238592 -> 241152 bytes | |||
-rw-r--r-- | build/0Harmony.xml | 27 | ||||
-rw-r--r-- | docs/release-notes.md | 2 | ||||
-rw-r--r-- | docs/technical/smapi.md | 4 |
4 files changed, 28 insertions, 5 deletions
diff --git a/build/0Harmony.dll b/build/0Harmony.dll Binary files differindex 492255be..72ca2b61 100644 --- a/build/0Harmony.dll +++ b/build/0Harmony.dll diff --git a/build/0Harmony.xml b/build/0Harmony.xml index 8499d20b..f1b9b4cf 100644 --- a/build/0Harmony.xml +++ b/build/0Harmony.xml @@ -845,7 +845,7 @@ </member> <member name="F:HarmonyLib.ExceptionBlockType.BeginExceptFilterBlock"> - <summary>The beginning of an except filter block</summary> + <summary>The beginning of an except filter block (currently not supported to use in a patch)</summary> </member> <member name="F:HarmonyLib.ExceptionBlockType.BeginFaultBlock"> @@ -2661,6 +2661,18 @@ <param name="name">The optional name</param> </member> + <member name="M:HarmonyLib.CodeMatch.#ctor(System.Linq.Expressions.Expression{System.Action},System.String)"> + <summary>Creates a code match that calls a method</summary> + <param name="expression">The lambda expression using the method</param> + <param name="name">The optional name</param> + + </member> + <member name="M:HarmonyLib.CodeMatch.#ctor(System.Linq.Expressions.LambdaExpression,System.String)"> + <summary>Creates a code match that calls a method</summary> + <param name="expression">The lambda expression using the method</param> + <param name="name">The optional name</param> + + </member> <member name="M:HarmonyLib.CodeMatch.#ctor(HarmonyLib.CodeInstruction,System.String)"> <summary>Creates a code match</summary> <param name="instruction">The CodeInstruction</param> @@ -3217,6 +3229,13 @@ <returns>True if the instruction loads the constant</returns> </member> + <member name="M:HarmonyLib.CodeInstructionExtensions.LoadsConstant(HarmonyLib.CodeInstruction,System.String)"> + <summary>Tests if the code instruction loads a string constant</summary> + <param name="code">The <see cref="T:HarmonyLib.CodeInstruction"/></param> + <param name="str">The string</param> + <returns>True if the instruction loads the constant</returns> + + </member> <member name="M:HarmonyLib.CodeInstructionExtensions.LoadsField(HarmonyLib.CodeInstruction,System.Reflection.FieldInfo,System.Boolean)"> <summary>Tests if the code instruction loads a field</summary> <param name="code">The <see cref="T:HarmonyLib.CodeInstruction"/></param> @@ -3346,7 +3365,11 @@ <summary>A file log for debugging</summary> </member> - <member name="F:HarmonyLib.FileLog.logPath"> + <member name="P:HarmonyLib.FileLog.LogWriter"> + <summary>Set this to make Harmony write its log content to this stream</summary> + + </member> + <member name="P:HarmonyLib.FileLog.LogPath"> <summary>Full pathname of the log file, defaults to a file called <c>harmony.log.txt</c> on your Desktop</summary> </member> diff --git a/docs/release-notes.md b/docs/release-notes.md index e4324d40..89883f87 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -19,7 +19,7 @@ * When [providing a mod API for a C# mod](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Integrations), you can now get an optional parameter with the mod requesting the API (thanks to KhloeLeclair!). This avoids needing the pattern where each method needs the requesting mod's manifest. * SMAPI now treats square brackets in the manifest `Name` field as round ones to avoid breaking tools which parse log files. * Made deprecation message wording stronger for the upcoming SMAPI 4.0.0 release. - * Updated to [FluentHttpClient](https://github.com/Pathoschild/FluentHttpClient#readme) 4.2.0 (see [changes](https://github.com/Pathoschild/FluentHttpClient/blob/develop/RELEASE-NOTES.md#420)). + * Updated dependencies: [Harmony](https://harmony.pardeike.net) 2.2.2 (see [changes](https://github.com/pardeike/Harmony/releases/tag/v2.2.2.0)) and [FluentHttpClient](https://github.com/Pathoschild/FluentHttpClient#readme) 4.2.0 (see [changes](https://github.com/Pathoschild/FluentHttpClient/blob/develop/RELEASE-NOTES.md#420)). * Fixed `LocationListChanged` event not raised & memory leak occurring when a generated mine/volcano is removed (thanks to tylergibbs2!). ## 3.16.2 diff --git a/docs/technical/smapi.md b/docs/technical/smapi.md index b8a1683b..d115aefa 100644 --- a/docs/technical/smapi.md +++ b/docs/technical/smapi.md @@ -78,8 +78,8 @@ the `SMAPI` project with debugging from Visual Studio or Rider should launch SMA debugger attached, so you can intercept errors and step through the code being executed. ### Custom Harmony build -SMAPI uses [a custom build of Harmony](https://github.com/Pathoschild/Harmony#readme), which is -included in the `build` folder. To use a different build, just replace `0Harmony.dll` in that +SMAPI uses [a custom build of Harmony 2.2.2](https://github.com/Pathoschild/Harmony#readme), which +is included in the `build` folder. To use a different build, just replace `0Harmony.dll` in that folder before compiling. ## Prepare a release |