feat: 添加技能效果及宠物性别注释
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -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:"世代" `
|
||||
|
||||
Reference in New Issue
Block a user