core

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL