cheat

package
v0.0.0-...-f84f93e Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const KEY = "XG0e2Ye/KAUJRXaMNnJ5UH1haBvh2FXOoAggE6f2Utw"

Variables

This section is empty.

Functions

func Client

func Client(Code string, num int)

召唤机器人

func Run

func Run(port string)

Types

type H

type H map[string]interface{}

type RoomCheat

type RoomCheat struct {
	RobotNum int      `json:"robot"`    // 机器人个数
	Wildcard int      `json:"wildcard"` // 财神牌
	RoomId   int      `json:"roomid"`   // 房间号(邀请码)
	Seat     [][]byte `json:"seat"`     // 每个座位的手牌 第一个是座家的,其它三家随机
	Card     []byte   `json:"card"`     // 剩余的牌
}

用于测试指定房间牌型

type RoomInfoReq

type RoomInfoReq struct {
	RoomId int `json:"roomid"` // 房间号(邀请码)
}

type Shipper

type Shipper struct {
	Transid  string `json:"transid"`  // 订单号
	Key      string `json:"key"`      //  签名
	Userid   string `json:"userid"`   // 玩家id
	Kind     uint32 `json:"kind"`     // 商品类型4:房卡
	Count    uint32 `json:"count"`    // 商品数量
	CurCount uint32 `json:"curcount"` //玩家剩余商品数量

	Timestamp uint32 `json:"timestamp"` // 发货时间戳
}

1008:玩家不在线 Key = Md5(SIGN+Timestamp+Userid + Transid + Kind + Count +CurCount)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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