diff --git a/PHABMX/GUI/InterfaceData.cs b/PHABMX/GUI/InterfaceData.cs index 81a8271..2adcec3 100644 --- a/PHABMX/GUI/InterfaceData.cs +++ b/PHABMX/GUI/InterfaceData.cs @@ -1,8 +1,12 @@ using System.Collections.Generic; using KKAPI.Maker; +#pragma warning disable CS1591 namespace KKABMX.GUI { + /// + /// Data needed for creating yellow sliders and custom maker categories + /// public static class InterfaceData { public static List BoneControls { get; } diff --git a/Shared/GUI/KKABMX_AdvancedGUI.cs b/Shared/GUI/KKABMX_AdvancedGUI.cs index bd343a9..55ea9b3 100644 --- a/Shared/GUI/KKABMX_AdvancedGUI.cs +++ b/Shared/GUI/KKABMX_AdvancedGUI.cs @@ -77,7 +77,9 @@ public WorldValueHoldInfo(string boneName, BoneLocation boneLocation) //private BoneModifierData[] _copiedModifier; private static bool _editSymmetry = true; +#pragma warning disable CS0649 // Field is never assigned to outside of KK and KKS but is still needed private bool _onlyShowCoords; +#pragma warning restore CS0649 private bool _onlyShowModified; private bool _onlyShowNewChanges; private bool _onlyShowFavorites; diff --git a/Shared/GUI/KKABMX_GUI.cs b/Shared/GUI/KKABMX_GUI.cs index 25336d7..2cc004c 100644 --- a/Shared/GUI/KKABMX_GUI.cs +++ b/Shared/GUI/KKABMX_GUI.cs @@ -111,8 +111,10 @@ private void RegisterCustomControls(RegisterCustomControlsEvent callback) _faceLoadToggle = callback.AddLoadToggle(new MakerLoadToggle("Face Bonemod")); _bodyLoadToggle = callback.AddLoadToggle(new MakerLoadToggle("Body Bonemod")); +#pragma warning disable CS0618 // Ignore the obsolete warning in AI/HS2, the toggle might get implemented in the future callback.AddCoordinateLoadToggle(new MakerCoordinateLoadToggle("Bonemod")) .ValueChanged.Subscribe(b => GetRegistration().MaintainCoordinateState = !b); +#pragma warning restore CS0618 if (ShowSliders) { diff --git a/Shared_AIHS2/GUI/InterfaceData.cs b/Shared_AIHS2/GUI/InterfaceData.cs index 5e84755..322c149 100644 --- a/Shared_AIHS2/GUI/InterfaceData.cs +++ b/Shared_AIHS2/GUI/InterfaceData.cs @@ -1,8 +1,12 @@ using System.Collections.Generic; using KKAPI.Maker; +#pragma warning disable CS1591 namespace KKABMX.GUI { + /// + /// Data needed for creating yellow sliders and custom maker categories + /// public static class InterfaceData { public static List BoneControls { get; }