From cba515d9554b18bd7afe25037ba1a970dafd99ac Mon Sep 17 00:00:00 2001 From: Anna Date: Sun, 30 Jan 2022 23:45:07 -0500 Subject: [PATCH] style: run formatter --- ChatTwo/GameFunctions/Types/ChannelSwitchInfo.cs | 2 +- ChatTwo/GameFunctions/Types/RotateMode.cs | 2 +- ChatTwo/GameFunctions/Types/TellHistoryInfo.cs | 4 ++-- ChatTwo/GameFunctions/Types/TellTarget.cs | 4 ++-- ChatTwo/Plugin.cs | 2 +- ChatTwo/Store.cs | 2 +- ChatTwo/Util/DataUtil.cs | 5 ----- ChatTwo/Util/NumUtil.cs | 2 +- 8 files changed, 9 insertions(+), 14 deletions(-) delete mode 100755 ChatTwo/Util/DataUtil.cs diff --git a/ChatTwo/GameFunctions/Types/ChannelSwitchInfo.cs b/ChatTwo/GameFunctions/Types/ChannelSwitchInfo.cs index 0711f14..a9368bd 100755 --- a/ChatTwo/GameFunctions/Types/ChannelSwitchInfo.cs +++ b/ChatTwo/GameFunctions/Types/ChannelSwitchInfo.cs @@ -1,6 +1,6 @@ using ChatTwo.Code; -namespace ChatTwo.GameFunctions.Types; +namespace ChatTwo.GameFunctions.Types; internal class ChannelSwitchInfo { internal InputChannel? Channel { get; } diff --git a/ChatTwo/GameFunctions/Types/RotateMode.cs b/ChatTwo/GameFunctions/Types/RotateMode.cs index 95a94af..41b084a 100755 --- a/ChatTwo/GameFunctions/Types/RotateMode.cs +++ b/ChatTwo/GameFunctions/Types/RotateMode.cs @@ -1,4 +1,4 @@ -namespace ChatTwo.GameFunctions.Types; +namespace ChatTwo.GameFunctions.Types; internal enum RotateMode { None, diff --git a/ChatTwo/GameFunctions/Types/TellHistoryInfo.cs b/ChatTwo/GameFunctions/Types/TellHistoryInfo.cs index d07d86d..b03bd49 100755 --- a/ChatTwo/GameFunctions/Types/TellHistoryInfo.cs +++ b/ChatTwo/GameFunctions/Types/TellHistoryInfo.cs @@ -1,10 +1,10 @@ -namespace ChatTwo.GameFunctions.Types; +namespace ChatTwo.GameFunctions.Types; internal sealed class TellHistoryInfo { internal string Name { get; } internal uint World { get; } internal ulong ContentId { get; } - + internal TellHistoryInfo(string name, uint world, ulong contentId) { this.Name = name; this.World = world; diff --git a/ChatTwo/GameFunctions/Types/TellTarget.cs b/ChatTwo/GameFunctions/Types/TellTarget.cs index 8daa2dc..b17afa5 100755 --- a/ChatTwo/GameFunctions/Types/TellTarget.cs +++ b/ChatTwo/GameFunctions/Types/TellTarget.cs @@ -1,11 +1,11 @@ -namespace ChatTwo.GameFunctions.Types; +namespace ChatTwo.GameFunctions.Types; internal sealed class TellTarget { internal string Name { get; } internal ushort World { get; } internal ulong ContentId { get; } internal TellReason Reason { get; } - + internal TellTarget(string name, ushort world, ulong contentId, TellReason reason) { this.Name = name; this.World = world; diff --git a/ChatTwo/Plugin.cs b/ChatTwo/Plugin.cs index f2fbeb4..27d1220 100755 --- a/ChatTwo/Plugin.cs +++ b/ChatTwo/Plugin.cs @@ -36,7 +36,7 @@ public sealed class Plugin : IDalamudPlugin { [PluginService] internal GameGui GameGui { get; init; } - + [PluginService] internal KeyState KeyState { get; init; } diff --git a/ChatTwo/Store.cs b/ChatTwo/Store.cs index 3368930..0d74d6b 100755 --- a/ChatTwo/Store.cs +++ b/ChatTwo/Store.cs @@ -10,7 +10,7 @@ namespace ChatTwo; internal class Store : IDisposable { internal const int MessagesLimit = 10_000; - + internal sealed class MessagesLock : IDisposable { private Mutex Mutex { get; } internal List Messages { get; } diff --git a/ChatTwo/Util/DataUtil.cs b/ChatTwo/Util/DataUtil.cs deleted file mode 100755 index 3fa8538..0000000 --- a/ChatTwo/Util/DataUtil.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace ChatTwo.Util; - -public class DataUtil { - -} diff --git a/ChatTwo/Util/NumUtil.cs b/ChatTwo/Util/NumUtil.cs index d28bbdc..e2f7c40 100755 --- a/ChatTwo/Util/NumUtil.cs +++ b/ChatTwo/Util/NumUtil.cs @@ -1,4 +1,4 @@ -namespace ChatTwo.Util; +namespace ChatTwo.Util; internal static class NumUtil { internal static uint NumberOfSetBits(uint i) {