build: 更新 go.mod 并添加新依赖

- 在 go.mod 中添加了 github.com/ECUST-XX/xml v1.20.2 依赖
- 更新了 go.sum 文件以包含新依赖的哈希值
- 在 ServerEvent.go
This commit is contained in:
2025-06-26 19:22:06 +08:00
parent fdac99f11c
commit ba46330056
6 changed files with 153 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
package main
import (
"github.com/ECUST-XX/xml"
)
type SuperMaps struct {
XMLName xml.Name `xml:"superMaps"`
Text string `xml:",chardata"`
Maps []Maps `xml:"maps"`
}
type Maps struct {
Text string `xml:",chardata"`
ID string `xml:"id,attr"`
Name string `xml:"name,attr"`
X string `xml:"x,attr"`
Y string `xml:"y,attr"`
// Galaxy string `xml:"galaxy,attr"`
}