Files
bl/logic/service/common/playeri.go
xinian 87145579e6
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed
refactor: 移除宠物显示提供者接口
2026-04-05 07:41:50 +08:00

26 lines
644 B
Go

package common
import (
"blazing/common/socket/errorcode"
"blazing/logic/service/fight/info"
space "blazing/logic/service/space/info"
"blazing/modules/player/model"
)
type PlayerI interface {
ApplyPetDisplayInfo(*space.SimpleInfo)
GetPlayerCaptureContext() *info.PlayerCaptureContext
Roll(int, int) (bool, float64, float64)
//SendPack(b []byte) error
Getfightinfo() info.Fightinfo
ItemAdd(ItemId, ItemCnt int64) (result bool)
GetInfo() *model.PlayerInfo
InvitePlayer(PlayerI)
SetFightC(FightI)
QuitFight()
MessWin(bool)
CanFight() errorcode.ErrorCode
SendPackCmd(uint32, any)
GetPetInfo(limitlevel uint32) []model.PetInfo
}