2025-06-26 19:22:06 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/ECUST-XX/xml"
|
|
|
|
|
)
|
|
|
|
|
|
2025-07-04 18:53:05 +08:00
|
|
|
type xmls struct {
|
|
|
|
|
Text string `xml:",chardata"`
|
|
|
|
|
Version string `xml:"comment"`
|
|
|
|
|
|
|
|
|
|
SuperMaps SuperMaps `xml:"superMaps"`
|
|
|
|
|
}
|
2025-06-26 19:22:06 +08:00
|
|
|
type SuperMaps struct {
|
|
|
|
|
XMLName xml.Name `xml:"superMaps"`
|
2025-07-04 18:53:05 +08:00
|
|
|
Text string `xml:",comment"`
|
|
|
|
|
Maps []Maps `xml:"maps"`
|
2025-06-26 19:22:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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"`
|
|
|
|
|
}
|