Browse Source

Change public -> internal

habeebweeb 4 years ago
parent
commit
ea99146dde
51 changed files with 65 additions and 66 deletions
  1. 2 2
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Constants.cs
  2. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/CustomGizmo.cs
  3. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/DragDogu.cs
  4. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/BaseControl.cs
  5. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/Button.cs
  6. 2 2
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/DropDown.cs
  7. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/Slider.cs
  8. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/TextArea.cs
  9. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/TextField.cs
  10. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/Toggle.cs
  11. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/BackgroundWindowPanes/BackgroundSelectorPane.cs
  12. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/BackgroundWindowPanes/PropsPane.cs
  13. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/BasePane.cs
  14. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/CallWindowPanes/MaidSelectorPane.cs
  15. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/FaceWindowPanes/MaidFaceSliderPane.cs
  16. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/MainWindowPanes/BG2WindowPane.cs
  17. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/MainWindowPanes/BGWindowPane.cs
  18. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/MainWindowPanes/CallWindowPane.cs
  19. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/MainWindowPanes/FaceWindowPane.cs
  20. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/MainWindowPanes/PoseWindowPane.cs
  21. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/OtherPanes/MaidSwitcherPane.cs
  22. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/PoseWindowPanes/MaidDressingPane.cs
  23. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/PoseWindowPanes/MaidFreeLookPane.cs
  24. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/PoseWindowPanes/MaidIKPane.cs
  25. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/PoseWindowPanes/MaidPoseSelectorPane.cs
  26. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Windows/BaseWindow.cs
  27. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Windows/BaseWindowPane.cs
  28. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Windows/MainWindow.cs
  29. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Windows/MessageWindow.cs
  30. 2 2
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/MPSLight.cs
  31. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/DragPointManager.cs
  32. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/EnvironmentManager.cs
  33. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/LightManager.cs
  34. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/MeidoManager.cs
  35. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/MessageWindowManager.cs
  36. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/PropManager.cs
  37. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/WindowManager.cs
  38. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/BaseDrag.cs
  39. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragBody.cs
  40. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragHead.cs
  41. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragJointFinger.cs
  42. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragJointForearm.cs
  43. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragJointHand.cs
  44. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragMune.cs
  45. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragPelvis.cs
  46. 1 2
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragSpine.cs
  47. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragTorso.cs
  48. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/Meido.cs
  49. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/MiscGUI.cs
  50. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Translation.cs
  51. 12 12
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Utility.cs

+ 2 - 2
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Constants.cs

@@ -9,7 +9,7 @@ using wf;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class Constants
+    internal class Constants
     {
         public static readonly string customPosePath;
         public static readonly string scenesPath;
@@ -422,7 +422,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
             File.WriteAllLines(Path.Combine(configPath, name), list.ToArray());
         }
 
-        public class SerializePoseList
+        private class SerializePoseList
         {
             public string UIName { get; set; }
             public List<string> PoseList { get; set; }

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/CustomGizmo.cs

@@ -4,7 +4,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class CustomGizmo : GizmoRender
+    internal class CustomGizmo : GizmoRender
     {
         private Transform target;
         private FieldInfo beSelectedType = Utility.GetFieldInfo<GizmoRender>("beSelectedType");

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/DragDogu.cs

@@ -4,7 +4,7 @@ using UnityEngine;
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
     using static CustomGizmo;
-    public class DragDogu : BaseDrag
+    internal class DragDogu : BaseDrag
     {
         private GameObject dogu;
         private Vector3 off;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/BaseControl.cs

@@ -4,7 +4,7 @@ using UnityEngine.SceneManagement;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public abstract class BaseControl
+    internal abstract class BaseControl
     {
         public event EventHandler ControlEvent;
         public bool Enabled { get; set; } = true;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/Button.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class Button : BaseControl
+    internal class Button : BaseControl
     {
         public string Label { get; set; }
         public Button(string label)

+ 2 - 2
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/DropDown.cs

@@ -4,7 +4,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
 {
     using DropdownSelectArgs = DropdownHelper.DropdownSelectArgs;
     using DropdownCloseArgs = DropdownHelper.DropdownCloseArgs;
-    public class Dropdown : BaseControl
+    internal class Dropdown : BaseControl
     {
         public event EventHandler SelectionChange;
         public event EventHandler DropdownOpen;
@@ -160,7 +160,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
         }
     }
 
-    public static class DropdownHelper
+    internal static class DropdownHelper
     {
         public static event EventHandler<DropdownSelectArgs> SelectionChange;
         public static event EventHandler<DropdownCloseArgs> DropdownClose;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/Slider.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class Slider : BaseControl
+    internal class Slider : BaseControl
     {
         private bool hasLabel;
         private string label;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/TextArea.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class TextArea : BaseControl
+    internal class TextArea : BaseControl
     {
         public string Value { get; set; } = string.Empty;
         public void Draw(GUIStyle textAreaStyle, params GUILayoutOption[] layoutOptions)

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/TextField.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class TextField : BaseControl
+    internal class TextField : BaseControl
     {
         public string Value { get; set; } = string.Empty;
         public void Draw(GUIStyle textFieldStyle, params GUILayoutOption[] layoutOptions)

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Controls/Toggle.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class Toggle : BaseControl
+    internal class Toggle : BaseControl
     {
         private bool value;
         public bool Value

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/BackgroundWindowPanes/BackgroundSelectorPane.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    class BackgroundSelectorPane : BasePane
+    internal class BackgroundSelectorPane : BasePane
     {
         private EnvironmentManager environmentManager;
         private Dropdown bgDropdown;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/BackgroundWindowPanes/PropsPane.cs

@@ -2,7 +2,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    class PropsPane : BasePane
+    internal class PropsPane : BasePane
     {
         private PropManager propManager;
         private Dropdown otherDoguDropdown;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/BasePane.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public abstract class BasePane
+    internal abstract class BasePane
     {
         protected List<BaseControl> Controls { get; set; }
         protected bool updating = false;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/CallWindowPanes/MaidSelectorPane.cs

@@ -4,7 +4,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class MaidSelectorPane : BasePane
+    internal class MaidSelectorPane : BasePane
     {
         private MeidoManager meidoManager;
         public List<int> selectedMaidList { get; private set; }

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/FaceWindowPanes/MaidFaceSliderPane.cs

@@ -4,7 +4,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class MaidFaceSliderPane : BasePane
+    internal class MaidFaceSliderPane : BasePane
     {
         private MeidoManager meidoManager;
 

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/MainWindowPanes/BG2WindowPane.cs

@@ -4,7 +4,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class BG2WindowPane : BaseWindowPane
+    internal class BG2WindowPane : BaseWindowPane
     {
         EnvironmentManager environmentManager;
         public BG2WindowPane(EnvironmentManager environmentManager)

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/MainWindowPanes/BGWindowPane.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class BGWindowPane : BaseWindowPane
+    internal class BGWindowPane : BaseWindowPane
     {
         private BackgroundSelectorPane backgroundSelectorPane;
         private PropsPane propsPane;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/MainWindowPanes/CallWindowPane.cs

@@ -2,7 +2,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class CallWindowPane : BaseWindowPane
+    internal class CallWindowPane : BaseWindowPane
     {
         private MeidoManager meidoManager;
         private MaidSelectorPane maidSelectorPane;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/MainWindowPanes/FaceWindowPane.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class FaceWindowPane : BaseWindowPane
+    internal class FaceWindowPane : BaseWindowPane
     {
         private MeidoManager meidoManager;
         private MaidFaceSliderPane maidFaceSliderPane;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/MainWindowPanes/PoseWindowPane.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class PoseWindowPane : BaseWindowPane
+    internal class PoseWindowPane : BaseWindowPane
     {
         private MeidoManager meidoManager;
         private MaidPoseSelectorPane maidPosePane;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/OtherPanes/MaidSwitcherPane.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class MaidSwitcherPane : BasePane
+    internal class MaidSwitcherPane : BasePane
     {
         private MeidoManager meidoManager;
         private Button PreviousButton;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/PoseWindowPanes/MaidDressingPane.cs

@@ -7,7 +7,7 @@ using static TBody;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class MaidDressingPane : BasePane
+    internal class MaidDressingPane : BasePane
     {
         private MeidoManager meidoManager;
         private Dictionary<SlotID, Toggle> ClothingToggles;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/PoseWindowPanes/MaidFreeLookPane.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class MaidFaceLookPane : BasePane
+    internal class MaidFaceLookPane : BasePane
     {
         private MeidoManager meidoManager;
         private Slider lookXSlider;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/PoseWindowPanes/MaidIKPane.cs

@@ -2,7 +2,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class MaidIKPane : BasePane
+    internal class MaidIKPane : BasePane
     {
         private MeidoManager meidoManager;
         private Toggle ikToggle;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Panes/PoseWindowPanes/MaidPoseSelectorPane.cs

@@ -5,7 +5,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class MaidPoseSelectorPane : BasePane
+    internal class MaidPoseSelectorPane : BasePane
     {
         private MeidoManager meidoManager;
         private Button poseLeftButton;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Windows/BaseWindow.cs

@@ -4,7 +4,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public abstract class BaseWindow : BaseWindowPane
+    internal abstract class BaseWindow : BaseWindowPane
     {
         private static int id = 765;
         private static int ID { get => id++; }

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Windows/BaseWindowPane.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public abstract class BaseWindowPane : BasePane
+    internal abstract class BaseWindowPane : BasePane
     {
         protected List<BasePane> Panes = new List<BasePane>();
         protected Vector2 scrollPos;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Windows/MainWindow.cs

@@ -4,7 +4,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class MainWindow : BaseWindow
+    internal class MainWindow : BaseWindow
     {
         private MeidoManager meidoManager;
         private Dictionary<Constants.Window, BaseWindowPane> windowPanes;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Windows/MessageWindow.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class MessageWindow : BaseWindow
+    internal class MessageWindow : BaseWindow
     {
         private MessageWindowManager messageWindowManager;
         private TextField nameTextField;

+ 2 - 2
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/MPSLight.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class MPSLight
+    internal class MPSLight
     {
         private static Camera camera = GameMain.Instance.MainCamera.GetComponent<Camera>();
         private Light light;
@@ -287,7 +287,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
         }
     }
 
-    public class LightProperty
+    internal class LightProperty
     {
         public static readonly Vector3 DefaultPosition = new Vector3(0f, 1.5f, 0.4f);
         public static readonly Quaternion DefaultRotation = Quaternion.Euler(40f, 180f, 0f);

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/DragPointManager.cs

@@ -6,7 +6,7 @@ using UnityEngine;
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
     using ModKey = Utility.ModKey;
-    public class DragPointManager
+    internal class DragPointManager
     {
         enum IKMode
         {

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/EnvironmentManager.cs

@@ -2,7 +2,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class EnvironmentManager
+    internal class EnvironmentManager
     {
         private GameObject cameraObject;
         private Camera subCamera;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/LightManager.cs

@@ -7,7 +7,7 @@ using UnityEngine.Rendering;
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
     using static MPSLight;
-    public class LightManager
+    internal class LightManager
     {
         private List<MPSLight> LightList { get; set; } = new List<MPSLight>();
         private int selectedLightIndex = 0;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/MeidoManager.cs

@@ -5,7 +5,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class MeidoManager
+    internal class MeidoManager
     {
         private static CharacterMgr characterMgr = GameMain.Instance.CharacterMgr;
         private int undress = 0;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/MessageWindowManager.cs

@@ -2,7 +2,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class MessageWindowManager
+    internal class MessageWindowManager
     {
         private static GameObject sysRoot;
         private MessageClass msgClass;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/PropManager.cs

@@ -7,7 +7,7 @@ using UnityEngine.Rendering;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class PropManager
+    internal class PropManager
     {
         private List<DragDogu> doguList = new List<DragDogu>();
         private DragType dragTypeOld = DragType.None;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Managers/WindowManager.cs

@@ -5,7 +5,7 @@ using UnityEngine;
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
     using static Constants;
-    public class WindowManager
+    internal class WindowManager
     {
         private Dictionary<Window, BaseWindow> Windows = new Dictionary<Window, BaseWindow>();
         private List<BaseWindow> WindowList = new List<BaseWindow>();

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/BaseDrag.cs

@@ -5,7 +5,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
 {
     using static CustomGizmo;
     // TODO: Finalize dragpopint scaling
-    public abstract class BaseDrag : MonoBehaviour
+    internal abstract class BaseDrag : MonoBehaviour
     {
         private const float doubleClickSensitivity = 0.3f;
         protected const int upperArm = 0;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragBody.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class DragBody : BaseDrag
+    internal class DragBody : BaseDrag
     {
         private Vector3 off;
         private Vector3 off2;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragHead.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class DragHead : BaseDrag
+    internal class DragHead : BaseDrag
     {
         private Transform head;
         private Vector3 rotate;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragJointFinger.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class DragJointFinger : BaseDrag
+    internal class DragJointFinger : BaseDrag
     {
         private readonly TBody.IKCMO IK = new TBody.IKCMO();
         private readonly GameObject[] otherIK = new GameObject[3];

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragJointForearm.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class DragJointForearm : BaseDrag
+    internal class DragJointForearm : BaseDrag
     {
         private readonly TBody.IKCMO IK = new TBody.IKCMO();
         private readonly GameObject[] otherIK = new GameObject[3];

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragJointHand.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class DragJointHand : BaseDrag
+    internal class DragJointHand : BaseDrag
     {
         private readonly TBody.IKCMO IK = new TBody.IKCMO();
         private readonly GameObject[] otherIK = new GameObject[3];

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragMune.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class DragMune : BaseDrag
+    internal class DragMune : BaseDrag
     {
         private readonly TBody.IKCMO IK = new TBody.IKCMO();
         private readonly GameObject[] things = new GameObject[3];

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragPelvis.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class DragPelvis : BaseDrag
+    internal class DragPelvis : BaseDrag
     {
         private Transform pelvis;
         private Vector3 pelvisRotation;

+ 1 - 2
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragSpine.cs

@@ -3,8 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    using static CustomGizmo;
-    public class DragSpine : BaseDrag
+    internal class DragSpine : BaseDrag
     {
         private Transform spine;
         private Vector3 rotate;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragTorso.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class DragTorso : BaseDrag
+    internal class DragTorso : BaseDrag
     {
         private Transform[] spine;
         private Vector3[] spineRotation = new Vector3[4];

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/Meido.cs

@@ -6,7 +6,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public class Meido
+    internal class Meido
     {
         private const int MAX_MAIDS = 12;
         private static CharacterMgr characterMgr = GameMain.Instance.CharacterMgr;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/MiscGUI.cs

@@ -5,7 +5,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
 {
     internal static class MiscGUI
     {
-        public static readonly GUILayoutOption HalfSlider = GUILayout.Width(94);
+        public static readonly GUILayoutOption HalfSlider = GUILayout.Width(98);
         private static GUIStyle lineStyleWhite;
         private static GUIStyle lineStyleBlack;
         private static GUIStyle textureBoxStyle;

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Translation.cs

@@ -7,7 +7,7 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public static class Translation
+    internal static class Translation
     {
         public static Dictionary<string, Dictionary<string, string>> Translations;
         public static string CurrentLanguage { get; private set; }

+ 12 - 12
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Utility.cs

@@ -5,31 +5,31 @@ using UnityEngine;
 
 namespace COM3D2.MeidoPhotoStudio.Plugin
 {
-    public static class Utility
+    internal static class Utility
     {
         public enum ModKey
         {
             Control, Shift, Alt
         }
 
-        internal static int Wrap(int value, int min, int max)
+        public static int Wrap(int value, int min, int max)
         {
             max -= 1;
             return value < min ? max : value > max ? min : value;
         }
 
-        internal static int GetPix(int num)
+        public static int GetPix(int num)
         {
             return (int)((1f + (Screen.width / 1280f - 1f) * 0.6f) * num);
         }
 
-        internal static float Bound(float value, float left, float right)
+        public static float Bound(float value, float left, float right)
         {
             if ((double)left > (double)right) return Mathf.Clamp(value, right, left);
             else return Mathf.Clamp(value, left, right);
         }
 
-        internal static Texture2D MakeTex(int width, int height, Color color)
+        public static Texture2D MakeTex(int width, int height, Color color)
         {
             Color[] colors = new Color[width * height];
             for (int i = 0; i < colors.Length; i++)
@@ -42,26 +42,26 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
             return texture2D;
         }
 
-        internal static FieldInfo GetFieldInfo<T>(string field)
+        public static FieldInfo GetFieldInfo<T>(string field)
         {
             BindingFlags bindingFlags = BindingFlags.Instance
                 | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static;
             return typeof(T).GetField(field, bindingFlags);
         }
 
-        internal static TValue GetFieldValue<TType, TValue>(TType instance, string field)
+        public static TValue GetFieldValue<TType, TValue>(TType instance, string field)
         {
             FieldInfo fieldInfo = GetFieldInfo<TType>(field);
             if (fieldInfo == null || !fieldInfo.IsStatic && instance == null) return default(TValue);
             return (TValue)fieldInfo.GetValue(instance);
         }
 
-        internal static void SetFieldValue<TType, TValue>(TType instance, string name, TValue value)
+        public static void SetFieldValue<TType, TValue>(TType instance, string name, TValue value)
         {
             GetFieldInfo<TType>(name).SetValue(instance, value);
         }
 
-        internal static bool GetModKey(ModKey key)
+        public static bool GetModKey(ModKey key)
         {
             switch (key)
             {
@@ -72,12 +72,12 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
             }
         }
 
-        internal static bool AnyMouseDown()
+        public static bool AnyMouseDown()
         {
             return Input.GetMouseButtonDown(0) || Input.GetMouseButtonDown(1) || Input.GetMouseButtonDown(2);
         }
 
-        internal static string ScreenshotFilename()
+        public static string ScreenshotFilename()
         {
             string screenShotDir = Path.Combine(
                 GameMain.Instance.SerializeStorageManager.StoreDirectoryPath, "ScreenShot"
@@ -89,7 +89,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
             return Path.Combine(screenShotDir, $"img{DateTime.Now:yyyyMMddHHmmss}.png");
         }
 
-        internal static void ShowMouseExposition(string text, float time = 2f)
+        public static void ShowMouseExposition(string text, float time = 2f)
         {
             MouseExposition mouseExposition = MouseExposition.GetObject();
             mouseExposition.SetText(text, time);