Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsGBFBattle ¶
Types ¶
type BattleInfo ¶
type BattleInfo struct { Id int64 `json:"id"` Level string `json:"level"` RoomId string `json:"roomId"` MobName string `json:"mobName"` Creator string `json:"creator"` CreateAt string `json:"createAt"` }
func ConvertGBFBattleInfo ¶
func ConvertGBFBattleInfo(msg string) (*BattleInfo, error)
type BattleInfoReceiver ¶
type BattleInfoReceiver interface {
NewBattleInfo(battleInfo *BattleInfo) error
}
type GbfBike ¶
type GbfBike struct {
// contains filtered or unexported fields
}
func NewGbfBike ¶
func (*GbfBike) AddBattleReceiver ¶
func (gb *GbfBike) AddBattleReceiver(r BattleInfoReceiver)
Click to show internal directories.
Click to hide internal directories.