feat: 添加技能效果及宠物性别注释
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-03-07 15:15:15 +08:00
committed by cnb
parent de8ce9fc81
commit bf2325e2ef
5 changed files with 114 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ type PetInfo struct {
// 名字默认为全0补齐到16字节固定长度 → [16]byte
Name string `struc:"[16]byte" json:"Name,omitempty"`
Gender int `struc:"uint16" fieldDesc:"性别" `
Gender int `struc:"uint16" fieldDesc:"性别" ` //0无性别1雄性 2雌性
//generation
Generation uint16 `fieldDesc:"世代" `