mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
Fixed documentation typo lol
This commit is contained in:
1 parent
638db81335
commit
6ca0b25674
2 files changed
+5
-5
No files matched your search
@@ -97,7 +97,7 @@ public abstract class CustomMultiSelectMenu<TEntry>(IntPtr il2CppPtr)
|
||||
/// <param name="entries">All entries to give the custom menu.</param>
|
||||
/// <param name="onClick">Function called when all selections are made/confirmed.</param>
|
||||
/// <param name="totalSelections">The number of selections required.</param>
|
||||
/// <param name="shouldConfirm">Wheter the entire selection should be confirmed manually.</param>
|
||||
/// <param name="shouldConfirm">Whether the entire selection should be confirmed manually.</param>
|
||||
/// <param name="canRepeat">If the same entry can be selected multiple times, else unselect entry on click.</param>
|
||||
[HideFromIl2Cpp]
|
||||
protected void Begin(IEnumerable<TEntry> entries, Action<List<TEntry>?> onClick, int totalSelections, bool shouldConfirm, bool canRepeat = false)
|
||||
@@ -137,7 +137,7 @@ public abstract class CustomMultiSelectMenu<TEntry>(IntPtr il2CppPtr)
|
||||
/// </summary>
|
||||
/// <param name="entries">All entries to give the custom menu.</param>
|
||||
/// <param name="onClick">Function called when the selection is made.</param>
|
||||
/// <param name="shouldConfirm">Wheter the set of both selections should be confirmed manually.</param>
|
||||
/// <param name="shouldConfirm">Whether the set of both selections should be confirmed manually.</param>
|
||||
[HideFromIl2Cpp]
|
||||
protected void Begin(IEnumerable<TEntry> entries, Action<TEntry?> onClick, bool shouldConfirm)
|
||||
{
|
||||
@@ -149,7 +149,7 @@ public abstract class CustomMultiSelectMenu<TEntry>(IntPtr il2CppPtr)
|
||||
/// </summary>
|
||||
/// <param name="entries">All entries to give the custom menu.</param>
|
||||
/// <param name="onClick">Function called when both selections are made.</param>
|
||||
/// <param name="shouldConfirm">Wheter the set of both selections should be confirmed manually.</param>
|
||||
/// <param name="shouldConfirm">Whether the set of both selections should be confirmed manually.</param>
|
||||
/// <param name="canRepeat">If the same entry can be selected both times, else unselect entry on click.</param>
|
||||
[HideFromIl2Cpp]
|
||||
protected void Begin(IEnumerable<TEntry> entries, Action<TEntry?, TEntry?> onClick, bool shouldConfirm, bool canRepeat = false)
|
||||
|
||||
@@ -36,7 +36,7 @@ public class CustomPlayerMenu(IntPtr il2CppPtr) : CustomMultiSelectMenu<PlayerCo
|
||||
/// </summary>
|
||||
/// <param name="playerMatch">Function to determine if player should show in the custom menu.</param>
|
||||
/// <param name="onClick"><see cref="PassiveButton.OnClick"/> action for player.</param>
|
||||
/// <param name="shouldConfirm">Wheter the set of both selections should be confirmed manually.</param>
|
||||
/// <param name="shouldConfirm">Whether the set of both selections should be confirmed manually.</param>
|
||||
[HideFromIl2Cpp]
|
||||
public void Begin(Func<PlayerControl, bool> playerMatch, Action<PlayerControl?> onClick, bool shouldConfirm = false)
|
||||
{
|
||||
@@ -49,7 +49,7 @@ public class CustomPlayerMenu(IntPtr il2CppPtr) : CustomMultiSelectMenu<PlayerCo
|
||||
/// </summary>
|
||||
/// <param name="playerMatch">Function to determine if player should show in the custom menu.</param>
|
||||
/// <param name="onClick"><see cref="PassiveButton.OnClick"/> action for the two-player selection.</param>
|
||||
/// <param name="shouldConfirm">Wheter the set of both selections should be confirmed manually.</param>
|
||||
/// <param name="shouldConfirm">Whether the set of both selections should be confirmed manually.</param>
|
||||
/// <param name="canRepeat">If the same entry can be selected both times, else unselect entry on click.</param>
|
||||
[HideFromIl2Cpp]
|
||||
public void Begin(Func<PlayerControl, bool> playerMatch, Action<PlayerControl?, PlayerControl?> onClick, bool shouldConfirm = false, bool canRepeat = false)
|
||||
|
||||
Reference in new issue
Block a user