Files
bl/logic/service/common/playeri.go
2025-11-18 20:52:04 +00:00

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)
}