|
@@ -24,37 +24,28 @@ const (
|
|
|
type PlayerOptType int32
|
|
|
|
|
|
const (
|
|
|
- PlayerOptType_OPT_NONE PlayerOptType = 0 // 无操作
|
|
|
- PlayerOptType_OPT_LOOK_CARD PlayerOptType = 1 // 看牌
|
|
|
- PlayerOptType_OPT_DISCARD PlayerOptType = 2 // 弃牌
|
|
|
- PlayerOptType_OPT_CALL PlayerOptType = 3 // 跟注
|
|
|
- PlayerOptType_OPT_RAISE PlayerOptType = 4 // 加注
|
|
|
- PlayerOptType_OPT_DOUBLE PlayerOptType = 5 // 加倍
|
|
|
- PlayerOptType_OPT_FOLD PlayerOptType = 6 // 放弃
|
|
|
- PlayerOptType_OPT_SELECT PlayerOptType = 7 // 选择操作
|
|
|
+ PlayerOptType_OPT_NONE PlayerOptType = 0 // 无操作
|
|
|
+ PlayerOptType_OPT_SEEN PlayerOptType = 1 // 看牌
|
|
|
+ PlayerOptType_OPT_PACKED PlayerOptType = 2 // 弃牌
|
|
|
+ PlayerOptType_OPT_CHAAL PlayerOptType = 3 // 跟注
|
|
|
+ PlayerOptType_OPT_SELECT PlayerOptType = 4 // 选择操作
|
|
|
)
|
|
|
|
|
|
// Enum value maps for PlayerOptType.
|
|
|
var (
|
|
|
PlayerOptType_name = map[int32]string{
|
|
|
0: "OPT_NONE",
|
|
|
- 1: "OPT_LOOK_CARD",
|
|
|
- 2: "OPT_DISCARD",
|
|
|
- 3: "OPT_CALL",
|
|
|
- 4: "OPT_RAISE",
|
|
|
- 5: "OPT_DOUBLE",
|
|
|
- 6: "OPT_FOLD",
|
|
|
- 7: "OPT_SELECT",
|
|
|
+ 1: "OPT_SEEN",
|
|
|
+ 2: "OPT_PACKED",
|
|
|
+ 3: "OPT_CHAAL",
|
|
|
+ 4: "OPT_SELECT",
|
|
|
}
|
|
|
PlayerOptType_value = map[string]int32{
|
|
|
- "OPT_NONE": 0,
|
|
|
- "OPT_LOOK_CARD": 1,
|
|
|
- "OPT_DISCARD": 2,
|
|
|
- "OPT_CALL": 3,
|
|
|
- "OPT_RAISE": 4,
|
|
|
- "OPT_DOUBLE": 5,
|
|
|
- "OPT_FOLD": 6,
|
|
|
- "OPT_SELECT": 7,
|
|
|
+ "OPT_NONE": 0,
|
|
|
+ "OPT_SEEN": 1,
|
|
|
+ "OPT_PACKED": 2,
|
|
|
+ "OPT_CHAAL": 3,
|
|
|
+ "OPT_SELECT": 4,
|
|
|
}
|
|
|
)
|
|
|
|
|
@@ -1640,16 +1631,13 @@ var file_common_proto_rawDesc = []byte{
|
|
|
0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72,
|
|
|
0x4d, 0x73, 0x67, 0x22, 0x1b, 0x0a, 0x05, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x12, 0x0a, 0x04,
|
|
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
|
- 0x2a, 0x8c, 0x01, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x54, 0x79,
|
|
|
- 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00,
|
|
|
- 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x50, 0x54, 0x5f, 0x4c, 0x4f, 0x4f, 0x4b, 0x5f, 0x43, 0x41, 0x52,
|
|
|
- 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x50, 0x54, 0x5f, 0x44, 0x49, 0x53, 0x43, 0x41,
|
|
|
- 0x52, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x54, 0x5f, 0x43, 0x41, 0x4c, 0x4c,
|
|
|
- 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x50, 0x54, 0x5f, 0x52, 0x41, 0x49, 0x53, 0x45, 0x10,
|
|
|
- 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x54, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10,
|
|
|
- 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x54, 0x5f, 0x46, 0x4f, 0x4c, 0x44, 0x10, 0x06, 0x12,
|
|
|
- 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x54, 0x5f, 0x53, 0x45, 0x4c, 0x45, 0x43, 0x54, 0x10, 0x07, 0x42,
|
|
|
- 0x07, 0x5a, 0x05, 0x2e, 0x2f, 0x6d, 0x73, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x2a, 0x5a, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x54, 0x79, 0x70,
|
|
|
+ 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12,
|
|
|
+ 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x54, 0x5f, 0x53, 0x45, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x0e, 0x0a,
|
|
|
+ 0x0a, 0x4f, 0x50, 0x54, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a,
|
|
|
+ 0x09, 0x4f, 0x50, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a,
|
|
|
+ 0x4f, 0x50, 0x54, 0x5f, 0x53, 0x45, 0x4c, 0x45, 0x43, 0x54, 0x10, 0x04, 0x42, 0x07, 0x5a, 0x05,
|
|
|
+ 0x2e, 0x2f, 0x6d, 0x73, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|