Files
wwdpublic/Content.Shared/Movement/Events/UpdateInputCVarsMessage.cs
Mnemotechnican d5fe1a3bb1 User-Friendly Sprinting (#889)
# Description
"Walking by default" is now implemented as a client-side toggle in the
settings. Also, fixed walking alerts being shitcode and not displaying
the correct walking/running state.

One issue still persists: if you press the "toggle walk" button while
typing in the chat, it still resets the walking state to default. I
don't know what causes it, probably the input field leaking button-up
input events instead of marking them as handled.

<details><summary><h1>Media</h1></summary>
<p>

https://github.com/user-attachments/assets/97d5b495-ea9b-4854-a6b0-84815ed5a332

</p>
</details>

# Changelog
🆑
- add: You can now choose whether you want to walk or run by default in
the settings.

---------

Signed-off-by: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com>
Co-authored-by: VMSolidus <evilexecutive@gmail.com>
# Conflicts:
#	Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs
#	Content.Shared/CCVar/CCVars.cs
2024-10-19 12:51:44 +07:00

10 lines
309 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Movement.Events;
/// <summary>
/// Raised from the client to the server to require the server to update the client's input CVars.
/// </summary>
[Serializable, NetSerializable]
public sealed class UpdateInputCVarsMessage : EntityEventArgs { }