ecs/servers/game/logic/player_role_talent.go

19 lines
541 B
Go
Raw Normal View History

2025-06-04 18:17:39 +08:00
package logic
//type PlayerRoleTalent struct {
// Id uint32 `bson:"id" key:"1"`
// LevelId uint32 `bson:"level_id"`
//}
//
//func (this *PlayerRoleTalent) BuildMsgRoleTalent() *proto.RoleTalent {
// return &proto.RoleTalent{Id: this.Id, LevelId: this.LevelId}
//}
//
//func (this *Player) BuildMsgRoleTalentListAck() *proto.MsgRoleTalentListAck {
// var list []*proto.RoleTalent
// for _, talent := range this.RoleTalent {
// list = append(list, talent.BuildMsgRoleTalent())
// }
// return &proto.MsgRoleTalentListAck{List: list}
//}