19 lines
541 B
Go
19 lines
541 B
Go
![]() |
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}
|
||
|
//}
|