Files
bl/logic/service/common/playeri.go
2025-11-15 22:17:43 +00:00

26 lines
763 B
Go

package common
import (
"blazing/logic/service/fight/info"
maps "blazing/logic/service/maps/info"
"blazing/modules/blazing/model"
)
type PlayerI interface {
GetPlayerCaptureContext() *info.PlayerCaptureContext
Roll(int, int) (bool, float64, float64)
SendPack(b []byte) error
SendReadyToFightInfo(info.FightStartOutboundInfo)
SendNoteReadyToFightInfo(info.NoteReadyToFightInfo)
Send_ARENA_GET_INFO(b info.S2C_ARENA_GET_INFO)
SendFightEndInfo(info.FightOverInfo)
GetInfo() *model.PlayerInfo
SendAttackValue(info.AttackValueS)
SendChangePet(info.ChangePetInfo)
SendUsePetItemInfo(info.UsePetIteminfo)
SendLoadPercent(info.LoadPercentOutboundInfo)
SetFightC(FightI)
SendLeaveMapInfo(b maps.LeaveMapOutboundInfo)
SendEnterMapInfo(b maps.OutInfo)
}