Documentation ¶ Index ¶ type Data type Engine func New(token string) *Engine func (e *Engine) Send() error type GameOverData type Item Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Data ¶ added in v0.0.5 type Data struct { GameType int `json:"gameType"` StepInfoList []Item `json:"stepInfoList"` } type Engine ¶ added in v0.0.5 type Engine struct { // contains filtered or unexported fields } func New ¶ added in v0.0.5 func New(token string) *Engine func (*Engine) Send ¶ added in v0.0.5 func (e *Engine) Send() error type GameOverData ¶ added in v0.0.5 type GameOverData struct { RankTime int64 `json:"rank_time"` RankRole int `json:"rank_role"` RankScore int `json:"rank_score"` RankState int `json:"rank_state"` Skin int `json:"skin"` MatchPlayInfo string `json:"MatchPlayInfo"` } type Item ¶ added in v0.0.5 type Item struct { ChessIndex int `json:"chessIndex"` TimeTag int `json:"timeTag"` } Source Files ¶ View all Source files core.go Click to show internal directories. Click to hide internal directories.