This commit is contained in:
aozhiwei 2023-09-12 13:13:34 +08:00
parent 6227d7e41d
commit d2607bec10
2 changed files with 10 additions and 0 deletions

View File

@ -27,6 +27,8 @@ type Player interface {
GetHeroId() int32
GetPing() int32
GetTeamUuid() string
GetZoneId() int32
GetNodeId() int32
SendMsg(proto.Message)
}

View File

@ -66,3 +66,11 @@ func (this *player) GetPing() int32 {
func (this *player) GetTeamUuid() string {
return ""
}
func (this *player) GetZoneId() int32 {
return 0
}
func (this *player) GetNodeId() int32 {
return 0
}