Browse Source

Bump version 2.3.0.0 -> 2.4.0.0

habeebweeb 3 years ago
parent
commit
6a0119d7c2
2 changed files with 15 additions and 15 deletions
  1. 10 10
      COM3D2.PropMyItem.Plugin/PluginInfo.cs
  2. 5 5
      COM3D2.PropMyItem.Plugin/PropMyItem.cs

+ 10 - 10
COM3D2.PropMyItem.Plugin/PluginInfo.cs

@@ -2,16 +2,16 @@
 
 namespace COM3D2.PropMyItem.Plugin
 {
-	// Token: 0x02000009 RID: 9
-	public struct PluginInfo
-	{
-		// Token: 0x04000025 RID: 37
-		public const string PluginName = "PropMyItem";
+    // Token: 0x02000009 RID: 9
+    public struct PluginInfo
+    {
+        // Token: 0x04000025 RID: 37
+        public const string PluginName = "PropMyItem";
 
-		// Token: 0x04000026 RID: 38
-		public const string PluginVersion = "2.3.0.0";
+        // Token: 0x04000026 RID: 38
+        public const string PluginVersion = "2.4.0.0";
 
-		// Token: 0x04000027 RID: 39
-		public const int WindowID = 4511;
-	}
+        // Token: 0x04000027 RID: 39
+        public const int WindowID = 4511;
+    }
 }

+ 5 - 5
COM3D2.PropMyItem.Plugin/PropMyItem.cs

@@ -19,8 +19,8 @@ namespace COM3D2.PropMyItem.Plugin
     [PluginFilter("COM3D2OHx86")]
     [PluginFilter("COM3D2OHx64")]
     [PluginFilter("COM3D2OHVRx64")]
-    [PluginName("PropMyItem")]
-    [PluginVersion("2.3.0.0")]
+    [PluginName(PluginInfo.PluginName)]
+    [PluginVersion(PluginInfo.PluginVersion)]
     public class PropMyItem : PluginBase
     {
         // Token: 0x0600002B RID: 43 RVA: 0x000030EC File Offset: 0x000012EC
@@ -258,15 +258,15 @@ namespace COM3D2.PropMyItem.Plugin
             }
             if (this._isShowSetting)
             {
-                this._windowRect = GUI.Window(4511, this._windowRect, new GUI.WindowFunction(this.GuiSettingFunc), "PropMyItem", GuiStyles.WindowStyle);
+                this._windowRect = GUI.Window(PluginInfo.WindowID, this._windowRect, new GUI.WindowFunction(this.GuiSettingFunc), "PropMyItem", GuiStyles.WindowStyle);
                 return;
             }
             if (this._isShowFilterSetting)
             {
-                this._windowRect = GUI.Window(4511, this._windowRect, new GUI.WindowFunction(this.GuiFilterSettingFunc), "PropMyItem", GuiStyles.WindowStyle);
+                this._windowRect = GUI.Window(PluginInfo.WindowID, this._windowRect, new GUI.WindowFunction(this.GuiFilterSettingFunc), "PropMyItem", GuiStyles.WindowStyle);
                 return;
             }
-            this._windowRect = GUI.Window(4511, this._windowRect, new GUI.WindowFunction(this.GuiFunc), "PropMyItem", GuiStyles.WindowStyle);
+            this._windowRect = GUI.Window(PluginInfo.WindowID, this._windowRect, new GUI.WindowFunction(this.GuiFunc), "PropMyItem", GuiStyles.WindowStyle);
         }
 
         // Token: 0x06000030 RID: 48 RVA: 0x00003B40 File Offset: 0x00001D40