1
This commit is contained in:
parent
e9a0e5b098
commit
8557cf5062
@ -150,6 +150,7 @@ type Player interface {
|
||||
FillMFTeamMember(*cs.MFTeamMember)
|
||||
GetSortIdx() int32
|
||||
SetSortIdx(int32)
|
||||
IsBattling() bool
|
||||
GenNextCopy() Player
|
||||
}
|
||||
|
||||
|
@ -38,6 +38,7 @@ type player struct {
|
||||
totalLucky int64
|
||||
hero hero
|
||||
team common.Team
|
||||
battling bool
|
||||
sortIdx int32
|
||||
}
|
||||
|
||||
@ -541,6 +542,10 @@ func (this *player) CMGrantInvitePermission(hdr *f5.MsgHdr, msg *cs.CMGrantInvit
|
||||
this.GetTeam().SendUpdateNotify()
|
||||
}
|
||||
|
||||
func (this *player) IsBattling() bool {
|
||||
return this.battling
|
||||
}
|
||||
|
||||
func newPlayer() *player {
|
||||
hum := new(player)
|
||||
return hum
|
||||
|
Loading…
x
Reference in New Issue
Block a user