hero对外接口实现

This commit is contained in:
zhaocy 2022-06-28 09:27:44 +08:00
parent 8d0a0a0043
commit c73eb9c9e2

View File

@ -84,3 +84,9 @@ func (this *Hero) GetHeroList(uid string) []*pb.DB_HeroData {
func (this *Hero) AddCard(uId string, cardId int32, add int32) (code pb.ErrorCode) { func (this *Hero) AddCard(uId string, cardId int32, add int32) (code pb.ErrorCode) {
return return
} }
func (this *Hero) QueryCardAmount(uId string, cardId int32) (amount uint32) {
return 0
}