Files
bl/logic/service/common/playeri.go

21 lines
405 B
Go
Raw Normal View History

package common
import (
"blazing/logic/service/fight/info"
"blazing/modules/player/model"
)
type PlayerI interface {
GetPlayerCaptureContext() *info.PlayerCaptureContext
Roll(int, int) (bool, float64, float64)
2025-11-18 20:52:04 +00:00
//SendPack(b []byte) error
2025-11-18 22:16:55 +00:00
Getfightinfo() info.Fightinfo
2025-11-18 20:52:04 +00:00
GetInfo() *model.PlayerInfo
2025-11-18 23:41:31 +00:00
InvitePlayer(PlayerI)
SetFightC(FightI)
2025-11-18 22:16:55 +00:00
QuitFight()
CanFight() bool
SendPackCmd(uint32, any)
}