Documentation ¶
Index ¶
Constants ¶
View Source
const KEY = "XG0e2Ye/KAUJRXaMNnJ5UH1haBvh2FXOoAggE6f2Utw"
Variables ¶
This section is empty.
Functions ¶
Types ¶
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)
Click to show internal directories.
Click to hide internal directories.