From f4a702e212d1853735f8dae399da69d23bfa510e Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 26 三月 2026 18:16:16 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into h5version

---
 Main/System/PhantasmPavilion/PhantasmPavilionManager.LoadConfig.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/Main/System/PhantasmPavilion/PhantasmPavilionManager.LoadConfig.cs b/Main/System/PhantasmPavilion/PhantasmPavilionManager.LoadConfig.cs
index 2a2d361..e41cd26 100644
--- a/Main/System/PhantasmPavilion/PhantasmPavilionManager.LoadConfig.cs
+++ b/Main/System/PhantasmPavilion/PhantasmPavilionManager.LoadConfig.cs
@@ -128,4 +128,12 @@
             return string.Empty;
         return handler.GetGetWayString(id);
     }
+    public int GetSortIndex(PhantasmPavilionType type, int id)
+    {
+        if (!TryGetHandlerValue(type, out var handler))
+            return 0;
+        if (!Has(type, id))
+            return 0;
+        return handler.GetSortIndex(id);
+    }
 }
\ No newline at end of file

--
Gitblit v1.8.0