Files
bl/common/core/info/pet/PetInfo.go
昔念 cc9f1fb45a refactor(info): 删除多余的信息结构体文件
- 移除了多个未使用的 Java 和 Go 信息结构体文件
- 优化了项目结构,减少了冗余代码
- 这些文件可能是早期开发阶段的遗留代码,现在已不再需要
2025-06-23 10:15:22 +08:00

74 lines
1.5 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package pet
import (
"blazing/common/core/info/pet/skill"
)
// PetInfo 宠物基本信息
type PetInfo struct {
// Id 精灵编号
Id uint64
// Name 名字长度为16字节
Name [16]byte
// Dv 个体值
Dv uint64
// Nature 性格
Nature uint64
// Level 等级
Level uint64
// Exp 当前等级已获得的经验
Exp uint64
// LvExp 当前等级所需的经验
LvExp uint64
// NextLvExp 升到下一级的经验
NextLvExp uint64
// Hp 当前生命
Hp uint64
// MaxHp 最大生命
MaxHp uint64
// Attack 攻击
Attack uint64
// Defence 防御
Defence uint64
// SpecialAttack 特攻
SpecialAttack uint64
// SpecialDefence 特防
SpecialDefence uint64
// Speed 速度
Speed uint64
// EvHp 生命学习力
EvHp uint64
// EvAttack 攻击学习力
EvAttack uint64
// EvDefence 防御学习力
EvDefence uint64
// EvSpecialAttack 特攻学习力
EvSpecialAttack uint64
// EvSpecialDefense 特防学习力
EvSpecialDefense uint64
// EvSpeed 速度学习力
EvSpeed uint64
// SkillSize 技能个数
SkillSize uint64
// SkillList 技能信息列表
SkillList []skill.SkillInfo
// CatchTime 捕捉时间
CatchTime uint64
// CatchMap 捕捉地图
CatchMap uint64
// CatchRect 未知默认为0
CatchRect uint64
// CatchLevel 捕获等级默认为0
CatchLevel uint64
// EffectInfo 特性列表
EffectInfo []PetEffectInfo
// SkinID 皮肤id默认为0
SkinID uint64
// Shiny 是否为闪
Shiny uint64
}
func NewPetInfo() *PetInfo {
return &PetInfo{}
}