20 lines
359 B
Go
20 lines
359 B
Go
package common
|
|
|
|
import (
|
|
"blazing/logic/service/fight/info"
|
|
"blazing/modules/blazing/model"
|
|
)
|
|
|
|
type PlayerI interface {
|
|
GetPlayerCaptureContext() *info.PlayerCaptureContext
|
|
Roll(int, int) (bool, float64, float64)
|
|
//SendPack(b []byte) error
|
|
Getfightinfo() info.PVPinfo
|
|
|
|
GetInfo() *model.PlayerInfo
|
|
|
|
SetFightC(FightI)
|
|
|
|
SendPackCmd(cmd uint32, b any)
|
|
}
|