package common import ( "blazing/common/socket/errorcode" "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 ItemAdd(ItemId, ItemCnt int64) (result bool) GetInfo() *model.PlayerInfo InvitePlayer(PlayerI) SetFightC(FightI) QuitFight() MessWin(bool) CanFight() errorcode.ErrorCode SendPackCmd(uint32, any) }