build: 更新 go.mod 并添加新依赖
- 在 go.mod 中添加了 github.com/ECUST-XX/xml v1.20.2 依赖 - 更新了 go.sum 文件以包含新依赖的哈希值 - 在 ServerEvent.go
This commit is contained in:
20
common/data/xml/monster_refresh.go
Normal file
20
common/data/xml/monster_refresh.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user