28 lines
829 B
Go
28 lines
829 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
|
|
Getfightinfo() info.PVPinfo
|
|
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)
|
|
SendWalkMapInfo(b maps.WalkOutInfo)
|
|
}
|