Documentation ¶ Overview ¶ 功能:动作类型 说明: 功能:动作类型map 说明: 功能:map查询 说明: Index ¶ func Is_valid(t TYPE) bool type Item type TYPE func (t TYPE) String() string func (t TYPE) String_eng() string func (t TYPE) String_short() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Is_valid ¶ func Is_valid(t TYPE) bool 是否有效 Types ¶ type Item ¶ type Item struct { // contains filtered or unexported fields } type TYPE ¶ type TYPE int const ( ERROR TYPE = 0 HIT TYPE = 0x0001 //要牌 DOUBLE_DOWN TYPE = 0x0002 //加倍叫停 STAND TYPE = 0x0004 //停牌 SPLIT TYPE = 0x0008 //分牌 INSURANCE TYPE = 0x0010 //保险 SURRENDER TYPE = 0x0020 //投降 MIN TYPE = HIT MAX TYPE = SURRENDER ) func (TYPE) String ¶ func (t TYPE) String() string 文字描述 func (TYPE) String_eng ¶ func (t TYPE) String_eng() string func (TYPE) String_short ¶ func (t TYPE) String_short() string Source Files ¶ View all Source files define.go map.go query.go Click to show internal directories. Click to hide internal directories.