From e684fdff473427fa585504fa4a76b30587cae2ce Mon Sep 17 00:00:00 2001 From: Luttje <2738114+luttje@users.noreply.github.com> Date: Wed, 29 Jun 2022 18:57:51 +0200 Subject: [PATCH] update docs --- BuildMarkdownDocs/Member.cs | 2 +- Docs/Api/Input/Keyboard.Simulate.md | 4 ++-- Docs/Api/Logic/Wait.md | 1 + Docs/Index.md | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/BuildMarkdownDocs/Member.cs b/BuildMarkdownDocs/Member.cs index b6aa391a..8b0fab16 100644 --- a/BuildMarkdownDocs/Member.cs +++ b/BuildMarkdownDocs/Member.cs @@ -23,7 +23,7 @@ public string GetParametersSignature() return string.Empty; return string.Join(", ", Parameters? - .Select(p => $"`{p.Type.Name}`")); + .Select(p => $"`{p.Type?.Name}`")); } internal static Member FromXml(XElement element) diff --git a/Docs/Api/Input/Keyboard.Simulate.md b/Docs/Api/Input/Keyboard.Simulate.md index 9dea0489..135dd2ed 100644 --- a/Docs/Api/Input/Keyboard.Simulate.md +++ b/Docs/Api/Input/Keyboard.Simulate.md @@ -1,4 +1,4 @@ -# `Keyboard.Simulate` (`Keys`, `PressState`) +# `Keyboard.Simulate` (`KeyboardKey`, `PressState`) Simulate pressing or releasing (or both) keyboard keys. @@ -6,7 +6,7 @@ Simulate pressing or releasing (or both) keyboard keys. ## Parameters -* **key (`Keys`)** +* **key (`KeyboardKey`)** Key to simulate diff --git a/Docs/Api/Logic/Wait.md b/Docs/Api/Logic/Wait.md index df6b364e..77eb71e4 100644 --- a/Docs/Api/Logic/Wait.md +++ b/Docs/Api/Logic/Wait.md @@ -3,6 +3,7 @@ Wait for the specified duration in milliseconds, then execute the callback +Note: There are issues with this function I have yet to fix. It may not work as expected sometimes! ## Parameters diff --git a/Docs/Index.md b/Docs/Index.md index 0fa77e54..8ddeb36d 100644 --- a/Docs/Index.md +++ b/Docs/Index.md @@ -3,7 +3,7 @@ ## Input * [`GamePad.Simulate` (`GamePadControl`, `PressState`)](Api/Input/GamePad.Simulate.md) -* [`Keyboard.Simulate` (`Keys`, `PressState`)](Api/Input/Keyboard.Simulate.md) +* [`Keyboard.Simulate` (`KeyboardKey`, `PressState`)](Api/Input/Keyboard.Simulate.md) ## Logic