From 226536bde4dd2615f8e26d9f4d2783a3c98c7e83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A7=8B=E6=B0=B4?= <1123993881@qq.com>
Date: Wed, 12 Apr 2023 14:05:42 +0800
Subject: [PATCH] fix: add summary for nuget.
So many methods need summary!
---
RotationSolver.Basic/RotationSolver.Basic.csproj | 1 +
RotationSolver.Basic/Service.cs | 7 ++-----
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/RotationSolver.Basic/RotationSolver.Basic.csproj b/RotationSolver.Basic/RotationSolver.Basic.csproj
index b7f67f6f1..0b7fcaa5a 100644
--- a/RotationSolver.Basic/RotationSolver.Basic.csproj
+++ b/RotationSolver.Basic/RotationSolver.Basic.csproj
@@ -11,6 +11,7 @@
FFXIV, FF14, Dalamud, Rotation
True
README.md
+ True
diff --git a/RotationSolver.Basic/Service.cs b/RotationSolver.Basic/Service.cs
index 9a2671ea1..a145b1647 100644
--- a/RotationSolver.Basic/Service.cs
+++ b/RotationSolver.Basic/Service.cs
@@ -46,7 +46,7 @@ public class Service : IDisposable
static float _lastTime = 0;
public static float CountDownTime { get; private set; }
- public static GetChatBoxModuleDelegate GetChatBox { get; private set; }
+ private static GetChatBoxModuleDelegate GetChatBox { get; set; }
public Service()
{
@@ -112,9 +112,6 @@ public unsafe static IEnumerable GetAddons() where T : struct
.Where(ptr => ptr != IntPtr.Zero);
}
- public unsafe static IntPtr GetAddon() where T : struct
- => GetAddons().FirstOrDefault();
-
public static PlayerCharacter Player => ClientState.LocalPlayer;
[PluginService]
public static ClientState ClientState { get; set; }
@@ -166,7 +163,7 @@ public unsafe static IntPtr GetAddon() where T : struct
public static ClientLanguage Language => ClientState.ClientLanguage;
- public delegate void GetChatBoxModuleDelegate(IntPtr uiModule, IntPtr message, IntPtr unused, byte a4);
+ private delegate void GetChatBoxModuleDelegate(IntPtr uiModule, IntPtr message, IntPtr unused, byte a4);
///