1
This commit is contained in:
parent
7c260b04cb
commit
9f10f02d80
@ -149,6 +149,7 @@ type Player interface {
|
|||||||
IsBattling() bool
|
IsBattling() bool
|
||||||
SetBattling(bool)
|
SetBattling(bool)
|
||||||
GenNextCopy() Player
|
GenNextCopy() Player
|
||||||
|
GetBattleItems() []*BattleItem
|
||||||
}
|
}
|
||||||
|
|
||||||
type PlayerMgr interface {
|
type PlayerMgr interface {
|
||||||
|
@ -205,6 +205,10 @@ func (this *player) GenNextCopy() common.Player {
|
|||||||
return nextCopy
|
return nextCopy
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *player) GetBattleItems() []*common.BattleItem {
|
||||||
|
return this.battleItems
|
||||||
|
}
|
||||||
|
|
||||||
func (this *player) FillMFTeamMember(member_pb *cs.MFTeamMember) {
|
func (this *player) FillMFTeamMember(member_pb *cs.MFTeamMember) {
|
||||||
member_pb.AccountId = proto.String(this.accountId)
|
member_pb.AccountId = proto.String(this.accountId)
|
||||||
member_pb.Name = proto.String(this.name)
|
member_pb.Name = proto.String(this.name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user