package common import ( "blazing/logic/service/fight/info" "blazing/modules/player/model" ) type PlayerI interface { GetPlayerCaptureContext() *info.PlayerCaptureContext Roll(int, int) (bool, float64, float64) //SendPack(b []byte) error Getfightinfo() info.Fightinfo GetInfo() *model.PlayerInfo InvitePlayer(PlayerI) SetFightC(FightI) QuitFight() CanFight() bool SendPackCmd(uint32, any) }