protos

package
v0.0.0-...-28fda05 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Role_name = map[int32]string{
		0:  "unknown",
		4:  "mao_bu_ba",
		7:  "fei_yuan_long_chuan",
		12: "wang_kui",
		14: "han_mei",
		15: "zheng_wen_xian",
		17: "gui_jiao",
		18: "shao_xiu",
		19: "jin_sheng_huo",
		21: "bai_fei_fei",
		22: "duan_mu_jing",
		24: "lao_han",
		25: "bai_xiao_nian",
		26: "lao_bie",
	}
	Role_value = map[string]int32{
		"unknown":             0,
		"mao_bu_ba":           4,
		"fei_yuan_long_chuan": 7,
		"wang_kui":            12,
		"han_mei":             14,
		"zheng_wen_xian":      15,
		"gui_jiao":            17,
		"shao_xiu":            18,
		"jin_sheng_huo":       19,
		"bai_fei_fei":         21,
		"duan_mu_jing":        22,
		"lao_han":             24,
		"bai_xiao_nian":       25,
		"lao_bie":             26,
	}
)

Enum value maps for Role.

View Source
var (
	Phase_name = map[int32]string{
		0: "Draw_Phase",
		1: "Main_Phase",
		2: "Send_Start_Phase",
		3: "Send_Phase",
		4: "Fight_Phase",
		5: "Receive_Phase",
	}
	Phase_value = map[string]int32{
		"Draw_Phase":       0,
		"Main_Phase":       1,
		"Send_Start_Phase": 2,
		"Send_Phase":       3,
		"Fight_Phase":      4,
		"Receive_Phase":    5,
	}
)

Enum value maps for Phase.

View Source
var (
	CardType_name = map[int32]string{
		0: "Cheng_Qing",
		1: "Shi_Tan",
		2: "Wei_Bi",
		3: "Li_You",
		4: "Ping_Heng",
		5: "Po_Yi",
		6: "Jie_Huo",
		7: "Diao_Bao",
		8: "Wu_Dao",
	}
	CardType_value = map[string]int32{
		"Cheng_Qing": 0,
		"Shi_Tan":    1,
		"Wei_Bi":     2,
		"Li_You":     3,
		"Ping_Heng":  4,
		"Po_Yi":      5,
		"Jie_Huo":    6,
		"Diao_Bao":   7,
		"Wu_Dao":     8,
	}
)

Enum value maps for CardType.

View Source
var (
	Color_name = map[int32]string{
		0: "Black",
		1: "Red",
		2: "Blue",
	}
	Color_value = map[string]int32{
		"Black": 0,
		"Red":   1,
		"Blue":  2,
	}
)

Enum value maps for Color.

View Source
var (
	SecretTask_name = map[int32]string{
		0: "Killer",
		1: "Stealer",
		2: "Collector",
	}
	SecretTask_value = map[string]int32{
		"Killer":    0,
		"Stealer":   1,
		"Collector": 2,
	}
)

Enum value maps for SecretTask.

View Source
var (
	Direction_name = map[int32]string{
		0: "Up",
		1: "Left",
		2: "Right",
	}
	Direction_value = map[string]int32{
		"Up":    0,
		"Left":  1,
		"Right": 2,
	}
)

Enum value maps for Direction.

View Source
var (
	ErrorCode_name = map[int32]string{
		0: "client_version_not_match",
		1: "no_more_room",
	}
	ErrorCode_value = map[string]int32{
		"client_version_not_match": 0,
		"no_more_room":             1,
	}
)

Enum value maps for ErrorCode.

View Source
var File_common_proto protoreflect.FileDescriptor
View Source
var File_errcode_proto protoreflect.FileDescriptor
View Source
var File_fengsheng_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddCardToc

type AddCardToc struct {
	PlayerId         uint32  `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`                           // 自己是0,右手方第一名玩家是1,以此类推
	UnknownCardCount uint32  `protobuf:"varint,2,opt,name=unknown_card_count,json=unknownCardCount,proto3" json:"unknown_card_count,omitempty"` // 背面朝上的牌的数量(用于其它人摸牌,你看不到)
	Cards            []*Card `protobuf:"bytes,3,rep,name=cards,proto3" json:"cards,omitempty"`                                                  // 摸到的卡牌
	// contains filtered or unexported fields
}

通知客户端:某个玩家摸了一张卡

func (*AddCardToc) Descriptor deprecated

func (*AddCardToc) Descriptor() ([]byte, []int)

Deprecated: Use AddCardToc.ProtoReflect.Descriptor instead.

func (*AddCardToc) GetCards

func (x *AddCardToc) GetCards() []*Card

func (*AddCardToc) GetPlayerId

func (x *AddCardToc) GetPlayerId() uint32

func (*AddCardToc) GetUnknownCardCount

func (x *AddCardToc) GetUnknownCardCount() uint32

func (*AddCardToc) ProtoMessage

func (*AddCardToc) ProtoMessage()

func (*AddCardToc) ProtoReflect

func (x *AddCardToc) ProtoReflect() protoreflect.Message

func (*AddCardToc) Reset

func (x *AddCardToc) Reset()

func (*AddCardToc) String

func (x *AddCardToc) String() string

type AddRobotTos

type AddRobotTos struct {
	// contains filtered or unexported fields
}

请求加一个机器人

func (*AddRobotTos) Descriptor deprecated

func (*AddRobotTos) Descriptor() ([]byte, []int)

Deprecated: Use AddRobotTos.ProtoReflect.Descriptor instead.

func (*AddRobotTos) ProtoMessage

func (*AddRobotTos) ProtoMessage()

func (*AddRobotTos) ProtoReflect

func (x *AddRobotTos) ProtoReflect() protoreflect.Message

func (*AddRobotTos) Reset

func (x *AddRobotTos) Reset()

func (*AddRobotTos) String

func (x *AddRobotTos) String() string

type Card

type Card struct {
	CardId      uint32    `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`                                    // 卡牌ID
	CardColor   []Color   `protobuf:"varint,2,rep,packed,name=card_color,json=cardColor,proto3,enum=Color" json:"card_color,omitempty"`         // 卡牌颜色(因为可能有双色卡,所以用了repeated)
	CardDir     Direction `protobuf:"varint,3,opt,name=card_dir,json=cardDir,proto3,enum=Direction" json:"card_dir,omitempty"`                  // 卡牌上的箭头方向
	CardType    CardType  `protobuf:"varint,4,opt,name=card_type,json=cardType,proto3,enum=CardType" json:"card_type,omitempty"`                // 卡牌类型
	WhoDrawCard []Color   `protobuf:"varint,5,rep,packed,name=who_draw_card,json=whoDrawCard,proto3,enum=Color" json:"who_draw_card,omitempty"` // (试探卡)哪个身份的人摸1张牌(那么另外的身份一定是弃1张牌)
	CanLock     bool      `protobuf:"varint,6,opt,name=can_lock,json=canLock,proto3" json:"can_lock,omitempty"`                                 // 是否有锁定标记
	// contains filtered or unexported fields
}

卡牌的结构体

func (*Card) Descriptor deprecated

func (*Card) Descriptor() ([]byte, []int)

Deprecated: Use Card.ProtoReflect.Descriptor instead.

func (*Card) GetCanLock

func (x *Card) GetCanLock() bool

func (*Card) GetCardColor

func (x *Card) GetCardColor() []Color

func (*Card) GetCardDir

func (x *Card) GetCardDir() Direction

func (*Card) GetCardId

func (x *Card) GetCardId() uint32

func (*Card) GetCardType

func (x *Card) GetCardType() CardType

func (*Card) GetWhoDrawCard

func (x *Card) GetWhoDrawCard() []Color

func (*Card) ProtoMessage

func (*Card) ProtoMessage()

func (*Card) ProtoReflect

func (x *Card) ProtoReflect() protoreflect.Message

func (*Card) Reset

func (x *Card) Reset()

func (*Card) String

func (x *Card) String() string

type CardType

type CardType int32
const (
	CardType_Cheng_Qing CardType = 0 // 澄清
	CardType_Shi_Tan    CardType = 1 // 试探
	CardType_Wei_Bi     CardType = 2 // 威逼
	CardType_Li_You     CardType = 3 // 利诱
	CardType_Ping_Heng  CardType = 4 // 平衡
	CardType_Po_Yi      CardType = 5 // 破译
	CardType_Jie_Huo    CardType = 6 // 截获
	CardType_Diao_Bao   CardType = 7 // 调包
	CardType_Wu_Dao     CardType = 8 // 误导
)

func (CardType) Descriptor

func (CardType) Descriptor() protoreflect.EnumDescriptor

func (CardType) Enum

func (x CardType) Enum() *CardType

func (CardType) EnumDescriptor deprecated

func (CardType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CardType.Descriptor instead.

func (CardType) Number

func (x CardType) Number() protoreflect.EnumNumber

func (CardType) String

func (x CardType) String() string

func (CardType) Type

type ChengQingSaveDieTos

type ChengQingSaveDieTos struct {
	Use          bool   `protobuf:"varint,1,opt,name=use,proto3" json:"use,omitempty"`                                         // 是否使用澄清
	CardId       uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`                     // 使用的澄清卡牌ID
	TargetCardId uint32 `protobuf:"varint,3,opt,name=target_card_id,json=targetCardId,proto3" json:"target_card_id,omitempty"` // 目标卡牌ID
	Seq          uint32 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

是否使用澄清

func (*ChengQingSaveDieTos) Descriptor deprecated

func (*ChengQingSaveDieTos) Descriptor() ([]byte, []int)

Deprecated: Use ChengQingSaveDieTos.ProtoReflect.Descriptor instead.

func (*ChengQingSaveDieTos) GetCardId

func (x *ChengQingSaveDieTos) GetCardId() uint32

func (*ChengQingSaveDieTos) GetSeq

func (x *ChengQingSaveDieTos) GetSeq() uint32

func (*ChengQingSaveDieTos) GetTargetCardId

func (x *ChengQingSaveDieTos) GetTargetCardId() uint32

func (*ChengQingSaveDieTos) GetUse

func (x *ChengQingSaveDieTos) GetUse() bool

func (*ChengQingSaveDieTos) ProtoMessage

func (*ChengQingSaveDieTos) ProtoMessage()

func (*ChengQingSaveDieTos) ProtoReflect

func (x *ChengQingSaveDieTos) ProtoReflect() protoreflect.Message

func (*ChengQingSaveDieTos) Reset

func (x *ChengQingSaveDieTos) Reset()

func (*ChengQingSaveDieTos) String

func (x *ChengQingSaveDieTos) String() string

type ChooseReceiveToc

type ChooseReceiveToc struct {
	PlayerId uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` // 接收者
	// contains filtered or unexported fields
}

通知所有人选择要接收情报(只有选择要收时有这条协议)

func (*ChooseReceiveToc) Descriptor deprecated

func (*ChooseReceiveToc) Descriptor() ([]byte, []int)

Deprecated: Use ChooseReceiveToc.ProtoReflect.Descriptor instead.

func (*ChooseReceiveToc) GetPlayerId

func (x *ChooseReceiveToc) GetPlayerId() uint32

func (*ChooseReceiveToc) ProtoMessage

func (*ChooseReceiveToc) ProtoMessage()

func (*ChooseReceiveToc) ProtoReflect

func (x *ChooseReceiveToc) ProtoReflect() protoreflect.Message

func (*ChooseReceiveToc) Reset

func (x *ChooseReceiveToc) Reset()

func (*ChooseReceiveToc) String

func (x *ChooseReceiveToc) String() string

type ChooseWhetherReceiveTos

type ChooseWhetherReceiveTos struct {
	Receive bool   `protobuf:"varint,1,opt,name=receive,proto3" json:"receive,omitempty"`
	Seq     uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

选择是否接收情报

func (*ChooseWhetherReceiveTos) Descriptor deprecated

func (*ChooseWhetherReceiveTos) Descriptor() ([]byte, []int)

Deprecated: Use ChooseWhetherReceiveTos.ProtoReflect.Descriptor instead.

func (*ChooseWhetherReceiveTos) GetReceive

func (x *ChooseWhetherReceiveTos) GetReceive() bool

func (*ChooseWhetherReceiveTos) GetSeq

func (x *ChooseWhetherReceiveTos) GetSeq() uint32

func (*ChooseWhetherReceiveTos) ProtoMessage

func (*ChooseWhetherReceiveTos) ProtoMessage()

func (*ChooseWhetherReceiveTos) ProtoReflect

func (x *ChooseWhetherReceiveTos) ProtoReflect() protoreflect.Message

func (*ChooseWhetherReceiveTos) Reset

func (x *ChooseWhetherReceiveTos) Reset()

func (*ChooseWhetherReceiveTos) String

func (x *ChooseWhetherReceiveTos) String() string

type Color

type Color int32
const (
	Color_Black Color = 0 // 对于身份,则是绿色(神秘人);对于卡牌,则是黑色
	Color_Red   Color = 1 // 红色
	Color_Blue  Color = 2 // 蓝色
)

func (Color) Descriptor

func (Color) Descriptor() protoreflect.EnumDescriptor

func (Color) Enum

func (x Color) Enum() *Color

func (Color) EnumDescriptor deprecated

func (Color) EnumDescriptor() ([]byte, []int)

Deprecated: Use Color.Descriptor instead.

func (Color) Number

func (x Color) Number() protoreflect.EnumNumber

func (Color) String

func (x Color) String() string

func (Color) Type

func (Color) Type() protoreflect.EnumType

type DieGiveCardTos

type DieGiveCardTos struct {
	TargetPlayerId uint32   `protobuf:"varint,1,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"` // 不给就填0
	CardId         []uint32 `protobuf:"varint,2,rep,packed,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`                    // 不给就填空数组
	Seq            uint32   `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

func (*DieGiveCardTos) Descriptor deprecated

func (*DieGiveCardTos) Descriptor() ([]byte, []int)

Deprecated: Use DieGiveCardTos.ProtoReflect.Descriptor instead.

func (*DieGiveCardTos) GetCardId

func (x *DieGiveCardTos) GetCardId() []uint32

func (*DieGiveCardTos) GetSeq

func (x *DieGiveCardTos) GetSeq() uint32

func (*DieGiveCardTos) GetTargetPlayerId

func (x *DieGiveCardTos) GetTargetPlayerId() uint32

func (*DieGiveCardTos) ProtoMessage

func (*DieGiveCardTos) ProtoMessage()

func (*DieGiveCardTos) ProtoReflect

func (x *DieGiveCardTos) ProtoReflect() protoreflect.Message

func (*DieGiveCardTos) Reset

func (x *DieGiveCardTos) Reset()

func (*DieGiveCardTos) String

func (x *DieGiveCardTos) String() string

type Direction

type Direction int32
const (
	Direction_Up    Direction = 0 // 向上
	Direction_Left  Direction = 1 // 向左
	Direction_Right Direction = 2 // 向右
)

func (Direction) Descriptor

func (Direction) Descriptor() protoreflect.EnumDescriptor

func (Direction) Enum

func (x Direction) Enum() *Direction

func (Direction) EnumDescriptor deprecated

func (Direction) EnumDescriptor() ([]byte, []int)

Deprecated: Use Direction.Descriptor instead.

func (Direction) Number

func (x Direction) Number() protoreflect.EnumNumber

func (Direction) String

func (x Direction) String() string

func (Direction) Type

type DiscardCardToc

type DiscardCardToc struct {
	PlayerId uint32  `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	Cards    []*Card `protobuf:"bytes,2,rep,name=cards,proto3" json:"cards,omitempty"`
	// contains filtered or unexported fields
}

通知客户端,牌从谁的手牌被弃掉

func (*DiscardCardToc) Descriptor deprecated

func (*DiscardCardToc) Descriptor() ([]byte, []int)

Deprecated: Use DiscardCardToc.ProtoReflect.Descriptor instead.

func (*DiscardCardToc) GetCards

func (x *DiscardCardToc) GetCards() []*Card

func (*DiscardCardToc) GetPlayerId

func (x *DiscardCardToc) GetPlayerId() uint32

func (*DiscardCardToc) ProtoMessage

func (*DiscardCardToc) ProtoMessage()

func (*DiscardCardToc) ProtoReflect

func (x *DiscardCardToc) ProtoReflect() protoreflect.Message

func (*DiscardCardToc) Reset

func (x *DiscardCardToc) Reset()

func (*DiscardCardToc) String

func (x *DiscardCardToc) String() string

type EndFightPhaseTos

type EndFightPhaseTos struct {
	Seq uint32 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

争夺阶段,轮到自己,选择什么都不出

func (*EndFightPhaseTos) Descriptor deprecated

func (*EndFightPhaseTos) Descriptor() ([]byte, []int)

Deprecated: Use EndFightPhaseTos.ProtoReflect.Descriptor instead.

func (*EndFightPhaseTos) GetSeq

func (x *EndFightPhaseTos) GetSeq() uint32

func (*EndFightPhaseTos) ProtoMessage

func (*EndFightPhaseTos) ProtoMessage()

func (*EndFightPhaseTos) ProtoReflect

func (x *EndFightPhaseTos) ProtoReflect() protoreflect.Message

func (*EndFightPhaseTos) Reset

func (x *EndFightPhaseTos) Reset()

func (*EndFightPhaseTos) String

func (x *EndFightPhaseTos) String() string

type EndMainPhaseTos

type EndMainPhaseTos struct {
	Seq uint32 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

请求结束出牌阶段,进入情报传递阶段

func (*EndMainPhaseTos) Descriptor deprecated

func (*EndMainPhaseTos) Descriptor() ([]byte, []int)

Deprecated: Use EndMainPhaseTos.ProtoReflect.Descriptor instead.

func (*EndMainPhaseTos) GetSeq

func (x *EndMainPhaseTos) GetSeq() uint32

func (*EndMainPhaseTos) ProtoMessage

func (*EndMainPhaseTos) ProtoMessage()

func (*EndMainPhaseTos) ProtoReflect

func (x *EndMainPhaseTos) ProtoReflect() protoreflect.Message

func (*EndMainPhaseTos) Reset

func (x *EndMainPhaseTos) Reset()

func (*EndMainPhaseTos) String

func (x *EndMainPhaseTos) String() string

type EndReceivePhaseTos

type EndReceivePhaseTos struct {
	Seq uint32 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

接收阶段,轮到自己,选择什么都不做

func (*EndReceivePhaseTos) Descriptor deprecated

func (*EndReceivePhaseTos) Descriptor() ([]byte, []int)

Deprecated: Use EndReceivePhaseTos.ProtoReflect.Descriptor instead.

func (*EndReceivePhaseTos) GetSeq

func (x *EndReceivePhaseTos) GetSeq() uint32

func (*EndReceivePhaseTos) ProtoMessage

func (*EndReceivePhaseTos) ProtoMessage()

func (*EndReceivePhaseTos) ProtoReflect

func (x *EndReceivePhaseTos) ProtoReflect() protoreflect.Message

func (*EndReceivePhaseTos) Reset

func (x *EndReceivePhaseTos) Reset()

func (*EndReceivePhaseTos) String

func (x *EndReceivePhaseTos) String() string

type ErrorCode

type ErrorCode int32
const (
	ErrorCode_client_version_not_match ErrorCode = 0 // 客户端版本号不匹配,int_params[0]为服务器版本号
	ErrorCode_no_more_room             ErrorCode = 1 // 没有更多的房间了
)

func (ErrorCode) Descriptor

func (ErrorCode) Descriptor() protoreflect.EnumDescriptor

func (ErrorCode) Enum

func (x ErrorCode) Enum() *ErrorCode

func (ErrorCode) EnumDescriptor deprecated

func (ErrorCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorCode.Descriptor instead.

func (ErrorCode) Number

func (x ErrorCode) Number() protoreflect.EnumNumber

func (ErrorCode) String

func (x ErrorCode) String() string

func (ErrorCode) Type

type ErrorCodeToc

type ErrorCodeToc struct {
	Code      ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code,omitempty"`
	IntParams []int64   `protobuf:"varint,2,rep,packed,name=int_params,json=intParams,proto3" json:"int_params,omitempty"`
	StrParams []string  `protobuf:"bytes,3,rep,name=str_params,json=strParams,proto3" json:"str_params,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorCodeToc) Descriptor deprecated

func (*ErrorCodeToc) Descriptor() ([]byte, []int)

Deprecated: Use ErrorCodeToc.ProtoReflect.Descriptor instead.

func (*ErrorCodeToc) GetCode

func (x *ErrorCodeToc) GetCode() ErrorCode

func (*ErrorCodeToc) GetIntParams

func (x *ErrorCodeToc) GetIntParams() []int64

func (*ErrorCodeToc) GetStrParams

func (x *ErrorCodeToc) GetStrParams() []string

func (*ErrorCodeToc) ProtoMessage

func (*ErrorCodeToc) ProtoMessage()

func (*ErrorCodeToc) ProtoReflect

func (x *ErrorCodeToc) ProtoReflect() protoreflect.Message

func (*ErrorCodeToc) Reset

func (x *ErrorCodeToc) Reset()

func (*ErrorCodeToc) String

func (x *ErrorCodeToc) String() string

type ExecuteShiTanToc

type ExecuteShiTanToc struct {
	PlayerId   uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`         // 被试探者
	IsDrawCard bool   `protobuf:"varint,2,opt,name=is_draw_card,json=isDrawCard,proto3" json:"is_draw_card,omitempty"` // 若他选择了摸牌,则为true。(摸了牌和弃了牌是另外的协议)
	// contains filtered or unexported fields
}

func (*ExecuteShiTanToc) Descriptor deprecated

func (*ExecuteShiTanToc) Descriptor() ([]byte, []int)

Deprecated: Use ExecuteShiTanToc.ProtoReflect.Descriptor instead.

func (*ExecuteShiTanToc) GetIsDrawCard

func (x *ExecuteShiTanToc) GetIsDrawCard() bool

func (*ExecuteShiTanToc) GetPlayerId

func (x *ExecuteShiTanToc) GetPlayerId() uint32

func (*ExecuteShiTanToc) ProtoMessage

func (*ExecuteShiTanToc) ProtoMessage()

func (*ExecuteShiTanToc) ProtoReflect

func (x *ExecuteShiTanToc) ProtoReflect() protoreflect.Message

func (*ExecuteShiTanToc) Reset

func (x *ExecuteShiTanToc) Reset()

func (*ExecuteShiTanToc) String

func (x *ExecuteShiTanToc) String() string

type ExecuteShiTanTos

type ExecuteShiTanTos struct {
	CardId []uint32 `protobuf:"varint,1,rep,packed,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` // 摸牌或者弃牌但是没牌,就发送空数组。有牌弃就发送弃的牌的id。
	Seq    uint32   `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

被试探者执行试探

func (*ExecuteShiTanTos) Descriptor deprecated

func (*ExecuteShiTanTos) Descriptor() ([]byte, []int)

Deprecated: Use ExecuteShiTanTos.ProtoReflect.Descriptor instead.

func (*ExecuteShiTanTos) GetCardId

func (x *ExecuteShiTanTos) GetCardId() []uint32

func (*ExecuteShiTanTos) GetSeq

func (x *ExecuteShiTanTos) GetSeq() uint32

func (*ExecuteShiTanTos) ProtoMessage

func (*ExecuteShiTanTos) ProtoMessage()

func (*ExecuteShiTanTos) ProtoReflect

func (x *ExecuteShiTanTos) ProtoReflect() protoreflect.Message

func (*ExecuteShiTanTos) Reset

func (x *ExecuteShiTanTos) Reset()

func (*ExecuteShiTanTos) String

func (x *ExecuteShiTanTos) String() string

type GetRoomInfoToc

type GetRoomInfoToc struct {
	Names      []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // 其它所有人的名字
	MyPosition uint32   `protobuf:"varint,2,opt,name=my_position,json=myPosition,proto3" json:"my_position,omitempty"`
	// contains filtered or unexported fields
}

返回房间所有人的信息

func (*GetRoomInfoToc) Descriptor deprecated

func (*GetRoomInfoToc) Descriptor() ([]byte, []int)

Deprecated: Use GetRoomInfoToc.ProtoReflect.Descriptor instead.

func (*GetRoomInfoToc) GetMyPosition

func (x *GetRoomInfoToc) GetMyPosition() uint32

func (*GetRoomInfoToc) GetNames

func (x *GetRoomInfoToc) GetNames() []string

func (*GetRoomInfoToc) ProtoMessage

func (*GetRoomInfoToc) ProtoMessage()

func (*GetRoomInfoToc) ProtoReflect

func (x *GetRoomInfoToc) ProtoReflect() protoreflect.Message

func (*GetRoomInfoToc) Reset

func (x *GetRoomInfoToc) Reset()

func (*GetRoomInfoToc) String

func (x *GetRoomInfoToc) String() string

type InitToc

type InitToc struct {
	PlayerCount uint32     `protobuf:"varint,1,opt,name=player_count,json=playerCount,proto3" json:"player_count,omitempty"`              // 玩家总人数(包括你)
	Identity    Color      `protobuf:"varint,2,opt,name=identity,proto3,enum=Color" json:"identity,omitempty"`                            // 你的身份
	SecretTask  SecretTask `protobuf:"varint,3,opt,name=secret_task,json=secretTask,proto3,enum=SecretTask" json:"secret_task,omitempty"` // (你的身份是神秘人时)你的机密任务
	Roles       []Role     `protobuf:"varint,4,rep,packed,name=roles,proto3,enum=Role" json:"roles,omitempty"`                            // 从自己开始,依次每个人的角色
	// contains filtered or unexported fields
}

通知客户端:初始化游戏

func (*InitToc) Descriptor deprecated

func (*InitToc) Descriptor() ([]byte, []int)

Deprecated: Use InitToc.ProtoReflect.Descriptor instead.

func (*InitToc) GetIdentity

func (x *InitToc) GetIdentity() Color

func (*InitToc) GetPlayerCount

func (x *InitToc) GetPlayerCount() uint32

func (*InitToc) GetRoles

func (x *InitToc) GetRoles() []Role

func (*InitToc) GetSecretTask

func (x *InitToc) GetSecretTask() SecretTask

func (*InitToc) ProtoMessage

func (*InitToc) ProtoMessage()

func (*InitToc) ProtoReflect

func (x *InitToc) ProtoReflect() protoreflect.Message

func (*InitToc) Reset

func (x *InitToc) Reset()

func (*InitToc) String

func (x *InitToc) String() string

type JoinRoomToc

type JoinRoomToc struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Position uint32 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

通知谁加入了房间

func (*JoinRoomToc) Descriptor deprecated

func (*JoinRoomToc) Descriptor() ([]byte, []int)

Deprecated: Use JoinRoomToc.ProtoReflect.Descriptor instead.

func (*JoinRoomToc) GetName

func (x *JoinRoomToc) GetName() string

func (*JoinRoomToc) GetPosition

func (x *JoinRoomToc) GetPosition() uint32

func (*JoinRoomToc) ProtoMessage

func (*JoinRoomToc) ProtoMessage()

func (*JoinRoomToc) ProtoReflect

func (x *JoinRoomToc) ProtoReflect() protoreflect.Message

func (*JoinRoomToc) Reset

func (x *JoinRoomToc) Reset()

func (*JoinRoomToc) String

func (x *JoinRoomToc) String() string

type JoinRoomTos

type JoinRoomTos struct {
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // 客户端版本号
	// contains filtered or unexported fields
}

申请加入房间

func (*JoinRoomTos) Descriptor deprecated

func (*JoinRoomTos) Descriptor() ([]byte, []int)

Deprecated: Use JoinRoomTos.ProtoReflect.Descriptor instead.

func (*JoinRoomTos) GetVersion

func (x *JoinRoomTos) GetVersion() uint32

func (*JoinRoomTos) ProtoMessage

func (*JoinRoomTos) ProtoMessage()

func (*JoinRoomTos) ProtoReflect

func (x *JoinRoomTos) ProtoReflect() protoreflect.Message

func (*JoinRoomTos) Reset

func (x *JoinRoomTos) Reset()

func (*JoinRoomTos) String

func (x *JoinRoomTos) String() string

type LeaveRoomToc

type LeaveRoomToc struct {
	Position uint32 `protobuf:"varint,1,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

通知谁离开的房间

func (*LeaveRoomToc) Descriptor deprecated

func (*LeaveRoomToc) Descriptor() ([]byte, []int)

Deprecated: Use LeaveRoomToc.ProtoReflect.Descriptor instead.

func (*LeaveRoomToc) GetPosition

func (x *LeaveRoomToc) GetPosition() uint32

func (*LeaveRoomToc) ProtoMessage

func (*LeaveRoomToc) ProtoMessage()

func (*LeaveRoomToc) ProtoReflect

func (x *LeaveRoomToc) ProtoReflect() protoreflect.Message

func (*LeaveRoomToc) Reset

func (x *LeaveRoomToc) Reset()

func (*LeaveRoomToc) String

func (x *LeaveRoomToc) String() string

type NotifyDieGiveCardToc

type NotifyDieGiveCardToc struct {
	PlayerId       uint32  `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	TargetPlayerId uint32  `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"` // 不给就填0
	Card           []*Card `protobuf:"bytes,3,rep,name=card,proto3" json:"card,omitempty"`                                              // 不给就填空数组
	CardCount      uint32  `protobuf:"varint,4,opt,name=card_count,json=cardCount,proto3" json:"card_count,omitempty"`                  // 其它人看不到牌就填这个
	// contains filtered or unexported fields
}

func (*NotifyDieGiveCardToc) Descriptor deprecated

func (*NotifyDieGiveCardToc) Descriptor() ([]byte, []int)

Deprecated: Use NotifyDieGiveCardToc.ProtoReflect.Descriptor instead.

func (*NotifyDieGiveCardToc) GetCard

func (x *NotifyDieGiveCardToc) GetCard() []*Card

func (*NotifyDieGiveCardToc) GetCardCount

func (x *NotifyDieGiveCardToc) GetCardCount() uint32

func (*NotifyDieGiveCardToc) GetPlayerId

func (x *NotifyDieGiveCardToc) GetPlayerId() uint32

func (*NotifyDieGiveCardToc) GetTargetPlayerId

func (x *NotifyDieGiveCardToc) GetTargetPlayerId() uint32

func (*NotifyDieGiveCardToc) ProtoMessage

func (*NotifyDieGiveCardToc) ProtoMessage()

func (*NotifyDieGiveCardToc) ProtoReflect

func (x *NotifyDieGiveCardToc) ProtoReflect() protoreflect.Message

func (*NotifyDieGiveCardToc) Reset

func (x *NotifyDieGiveCardToc) Reset()

func (*NotifyDieGiveCardToc) String

func (x *NotifyDieGiveCardToc) String() string

type NotifyDieToc

type NotifyDieToc struct {
	PlayerId uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	LoseGame bool   `protobuf:"varint,2,opt,name=lose_game,json=loseGame,proto3" json:"lose_game,omitempty"` // true表示因为轮到传递情报时没情报传了导致输掉游戏
	// contains filtered or unexported fields
}

通知客户端谁死亡了

func (*NotifyDieToc) Descriptor deprecated

func (*NotifyDieToc) Descriptor() ([]byte, []int)

Deprecated: Use NotifyDieToc.ProtoReflect.Descriptor instead.

func (*NotifyDieToc) GetLoseGame

func (x *NotifyDieToc) GetLoseGame() bool

func (*NotifyDieToc) GetPlayerId

func (x *NotifyDieToc) GetPlayerId() uint32

func (*NotifyDieToc) ProtoMessage

func (*NotifyDieToc) ProtoMessage()

func (*NotifyDieToc) ProtoReflect

func (x *NotifyDieToc) ProtoReflect() protoreflect.Message

func (*NotifyDieToc) Reset

func (x *NotifyDieToc) Reset()

func (*NotifyDieToc) String

func (x *NotifyDieToc) String() string

type NotifyPhaseToc

type NotifyPhaseToc struct {
	CurrentPlayerId uint32    `protobuf:"varint,1,opt,name=current_player_id,json=currentPlayerId,proto3" json:"current_player_id,omitempty"`             // 当前回合玩家
	CurrentPhase    Phase     `protobuf:"varint,2,opt,name=current_phase,json=currentPhase,proto3,enum=Phase" json:"current_phase,omitempty"`             // 当前阶段
	MessagePlayerId uint32    `protobuf:"varint,3,opt,name=message_player_id,json=messagePlayerId,proto3" json:"message_player_id,omitempty"`             // 情报在谁面前(只有传递、争夺、接收阶段有效)
	MessageCardDir  Direction `protobuf:"varint,4,opt,name=message_card_dir,json=messageCardDir,proto3,enum=Direction" json:"message_card_dir,omitempty"` // 情报传递方向(只有传递、争夺、接收阶段有效)
	MessageCard     *Card     `protobuf:"bytes,5,opt,name=message_card,json=messageCard,proto3" json:"message_card,omitempty"`                            // 在某些情况下,正在传递的情报应该正面向上,这时候就应该有这个字段
	WaitingPlayerId uint32    `protobuf:"varint,6,opt,name=waiting_player_id,json=waitingPlayerId,proto3" json:"waiting_player_id,omitempty"`             // 读秒的玩家ID
	WaitingSecond   uint32    `protobuf:"varint,7,opt,name=waiting_second,json=waitingSecond,proto3" json:"waiting_second,omitempty"`                     // 读多少秒
	Seq             uint32    `protobuf:"varint,8,opt,name=seq,proto3" json:"seq,omitempty"`                                                              // 只有当自己需要读秒时,这个字段才有值
	// contains filtered or unexported fields
}

通知客户端,到谁的哪个阶段了

func (*NotifyPhaseToc) Descriptor deprecated

func (*NotifyPhaseToc) Descriptor() ([]byte, []int)

Deprecated: Use NotifyPhaseToc.ProtoReflect.Descriptor instead.

func (*NotifyPhaseToc) GetCurrentPhase

func (x *NotifyPhaseToc) GetCurrentPhase() Phase

func (*NotifyPhaseToc) GetCurrentPlayerId

func (x *NotifyPhaseToc) GetCurrentPlayerId() uint32

func (*NotifyPhaseToc) GetMessageCard

func (x *NotifyPhaseToc) GetMessageCard() *Card

func (*NotifyPhaseToc) GetMessageCardDir

func (x *NotifyPhaseToc) GetMessageCardDir() Direction

func (*NotifyPhaseToc) GetMessagePlayerId

func (x *NotifyPhaseToc) GetMessagePlayerId() uint32

func (*NotifyPhaseToc) GetSeq

func (x *NotifyPhaseToc) GetSeq() uint32

func (*NotifyPhaseToc) GetWaitingPlayerId

func (x *NotifyPhaseToc) GetWaitingPlayerId() uint32

func (*NotifyPhaseToc) GetWaitingSecond

func (x *NotifyPhaseToc) GetWaitingSecond() uint32

func (*NotifyPhaseToc) ProtoMessage

func (*NotifyPhaseToc) ProtoMessage()

func (*NotifyPhaseToc) ProtoReflect

func (x *NotifyPhaseToc) ProtoReflect() protoreflect.Message

func (*NotifyPhaseToc) Reset

func (x *NotifyPhaseToc) Reset()

func (*NotifyPhaseToc) String

func (x *NotifyPhaseToc) String() string

type NotifyRoleUpdateToc

type NotifyRoleUpdateToc struct {
	PlayerId uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	Role     Role   `protobuf:"varint,2,opt,name=role,proto3,enum=Role" json:"role,omitempty"` // 值为unknown=0时表示盖上角色
	// contains filtered or unexported fields
}

通知客户端角色变化

func (*NotifyRoleUpdateToc) Descriptor deprecated

func (*NotifyRoleUpdateToc) Descriptor() ([]byte, []int)

Deprecated: Use NotifyRoleUpdateToc.ProtoReflect.Descriptor instead.

func (*NotifyRoleUpdateToc) GetPlayerId

func (x *NotifyRoleUpdateToc) GetPlayerId() uint32

func (*NotifyRoleUpdateToc) GetRole

func (x *NotifyRoleUpdateToc) GetRole() Role

func (*NotifyRoleUpdateToc) ProtoMessage

func (*NotifyRoleUpdateToc) ProtoMessage()

func (*NotifyRoleUpdateToc) ProtoReflect

func (x *NotifyRoleUpdateToc) ProtoReflect() protoreflect.Message

func (*NotifyRoleUpdateToc) Reset

func (x *NotifyRoleUpdateToc) Reset()

func (*NotifyRoleUpdateToc) String

func (x *NotifyRoleUpdateToc) String() string

type NotifyWinnerToc

type NotifyWinnerToc struct {
	DeclarePlayerIds []uint32     `protobuf:"varint,1,rep,packed,name=declare_player_ids,json=declarePlayerIds,proto3" json:"declare_player_ids,omitempty"`
	WinnerIds        []uint32     `protobuf:"varint,2,rep,packed,name=winner_ids,json=winnerIds,proto3" json:"winner_ids,omitempty"`
	Identity         []Color      `protobuf:"varint,3,rep,packed,name=identity,proto3,enum=Color" json:"identity,omitempty"`                               // 所有人的身份,自己的下标为0,右手第一个人的下标为1
	SecretTasks      []SecretTask `protobuf:"varint,4,rep,packed,name=secret_tasks,json=secretTasks,proto3,enum=SecretTask" json:"secret_tasks,omitempty"` // 神秘人任务,下标同上一一对应,不是神秘人的那个位置会空出来
	// contains filtered or unexported fields
}

通知谁获胜了

func (*NotifyWinnerToc) Descriptor deprecated

func (*NotifyWinnerToc) Descriptor() ([]byte, []int)

Deprecated: Use NotifyWinnerToc.ProtoReflect.Descriptor instead.

func (*NotifyWinnerToc) GetDeclarePlayerIds

func (x *NotifyWinnerToc) GetDeclarePlayerIds() []uint32

func (*NotifyWinnerToc) GetIdentity

func (x *NotifyWinnerToc) GetIdentity() []Color

func (*NotifyWinnerToc) GetSecretTasks

func (x *NotifyWinnerToc) GetSecretTasks() []SecretTask

func (*NotifyWinnerToc) GetWinnerIds

func (x *NotifyWinnerToc) GetWinnerIds() []uint32

func (*NotifyWinnerToc) ProtoMessage

func (*NotifyWinnerToc) ProtoMessage()

func (*NotifyWinnerToc) ProtoReflect

func (x *NotifyWinnerToc) ProtoReflect() protoreflect.Message

func (*NotifyWinnerToc) Reset

func (x *NotifyWinnerToc) Reset()

func (*NotifyWinnerToc) String

func (x *NotifyWinnerToc) String() string

type Phase

type Phase int32
const (
	Phase_Draw_Phase       Phase = 0 // 摸牌阶段
	Phase_Main_Phase       Phase = 1 // 出牌阶段
	Phase_Send_Start_Phase Phase = 2 // 情报传递阶段开始时
	Phase_Send_Phase       Phase = 3 // 传递阶段
	Phase_Fight_Phase      Phase = 4 // 争夺阶段
	Phase_Receive_Phase    Phase = 5 // 接收阶段
)

func (Phase) Descriptor

func (Phase) Descriptor() protoreflect.EnumDescriptor

func (Phase) Enum

func (x Phase) Enum() *Phase

func (Phase) EnumDescriptor deprecated

func (Phase) EnumDescriptor() ([]byte, []int)

Deprecated: Use Phase.Descriptor instead.

func (Phase) Number

func (x Phase) Number() protoreflect.EnumNumber

func (Phase) String

func (x Phase) String() string

func (Phase) Type

func (Phase) Type() protoreflect.EnumType

type PoYiShowToc

type PoYiShowToc struct {
	PlayerId    uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`         // 使用者
	Show        bool   `protobuf:"varint,2,opt,name=show,proto3" json:"show,omitempty"`                                 // 是否翻开并摸一张牌(只有黑情报才能翻开)(摸牌直接走摸牌协议)
	MessageCard *Card  `protobuf:"bytes,3,opt,name=message_card,json=messageCard,proto3" json:"message_card,omitempty"` // 只有选择翻开时,才会显示这个情报
	// contains filtered or unexported fields
}

func (*PoYiShowToc) Descriptor deprecated

func (*PoYiShowToc) Descriptor() ([]byte, []int)

Deprecated: Use PoYiShowToc.ProtoReflect.Descriptor instead.

func (*PoYiShowToc) GetMessageCard

func (x *PoYiShowToc) GetMessageCard() *Card

func (*PoYiShowToc) GetPlayerId

func (x *PoYiShowToc) GetPlayerId() uint32

func (*PoYiShowToc) GetShow

func (x *PoYiShowToc) GetShow() bool

func (*PoYiShowToc) ProtoMessage

func (*PoYiShowToc) ProtoMessage()

func (*PoYiShowToc) ProtoReflect

func (x *PoYiShowToc) ProtoReflect() protoreflect.Message

func (*PoYiShowToc) Reset

func (x *PoYiShowToc) Reset()

func (*PoYiShowToc) String

func (x *PoYiShowToc) String() string

type PoYiShowTos

type PoYiShowTos struct {
	Show bool   `protobuf:"varint,1,opt,name=show,proto3" json:"show,omitempty"` // 是否翻开并摸一张牌(只有黑情报才能翻开)
	Seq  uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

func (*PoYiShowTos) Descriptor deprecated

func (*PoYiShowTos) Descriptor() ([]byte, []int)

Deprecated: Use PoYiShowTos.ProtoReflect.Descriptor instead.

func (*PoYiShowTos) GetSeq

func (x *PoYiShowTos) GetSeq() uint32

func (*PoYiShowTos) GetShow

func (x *PoYiShowTos) GetShow() bool

func (*PoYiShowTos) ProtoMessage

func (*PoYiShowTos) ProtoMessage()

func (*PoYiShowTos) ProtoReflect

func (x *PoYiShowTos) ProtoReflect() protoreflect.Message

func (*PoYiShowTos) Reset

func (x *PoYiShowTos) Reset()

func (*PoYiShowTos) String

func (x *PoYiShowTos) String() string

type Role

type Role int32
const (
	Role_unknown             Role = 0  // 未知角色
	Role_mao_bu_ba           Role = 4  // 毛不拔
	Role_fei_yuan_long_chuan Role = 7  // 肥圆龙川
	Role_wang_kui            Role = 12 // 王魁
	Role_han_mei             Role = 14 // 韩梅
	Role_zheng_wen_xian      Role = 15 // 鄭文先
	Role_gui_jiao            Role = 17 // 鬼脚
	Role_shao_xiu            Role = 18 // 邵秀
	Role_jin_sheng_huo       Role = 19 // 金生火
	Role_bai_fei_fei         Role = 21 // 白菲菲
	Role_duan_mu_jing        Role = 22 // 端木静
	Role_lao_han             Role = 24 // 老汉
	Role_bai_xiao_nian       Role = 25 // 白小年
	Role_lao_bie             Role = 26 // 老鳖
)

func (Role) Descriptor

func (Role) Descriptor() protoreflect.EnumDescriptor

func (Role) Enum

func (x Role) Enum() *Role

func (Role) EnumDescriptor deprecated

func (Role) EnumDescriptor() ([]byte, []int)

Deprecated: Use Role.Descriptor instead.

func (Role) Number

func (x Role) Number() protoreflect.EnumNumber

func (Role) String

func (x Role) String() string

func (Role) Type

func (Role) Type() protoreflect.EnumType

type SecretTask

type SecretTask int32

神秘人任务

const (
	SecretTask_Killer    SecretTask = 0 // 你的回合中,一名红色和蓝色情报合计不少于2张的人死亡
	SecretTask_Stealer   SecretTask = 1 // 你的回合中,有人宣胜,则你代替他胜利
	SecretTask_Collector SecretTask = 2 // 你获得3张红色情报或者3张蓝色情报
)

func (SecretTask) Descriptor

func (SecretTask) Descriptor() protoreflect.EnumDescriptor

func (SecretTask) Enum

func (x SecretTask) Enum() *SecretTask

func (SecretTask) EnumDescriptor deprecated

func (SecretTask) EnumDescriptor() ([]byte, []int)

Deprecated: Use SecretTask.Descriptor instead.

func (SecretTask) Number

func (x SecretTask) Number() protoreflect.EnumNumber

func (SecretTask) String

func (x SecretTask) String() string

func (SecretTask) Type

type SendMessageCardToc

type SendMessageCardToc struct {
	CardId         uint32    `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`                               // 只有传出者能看到这个字段
	PlayerId       uint32    `protobuf:"varint,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`                         // 传出者
	TargetPlayerId uint32    `protobuf:"varint,3,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`     // 目标
	LockPlayerIds  []uint32  `protobuf:"varint,4,rep,packed,name=lock_player_ids,json=lockPlayerIds,proto3" json:"lock_player_ids,omitempty"` // 被锁定的玩家ID
	CardDir        Direction `protobuf:"varint,5,opt,name=card_dir,json=cardDir,proto3,enum=Direction" json:"card_dir,omitempty"`             // 传递的方向
	// contains filtered or unexported fields
}

通知所有人传情报

func (*SendMessageCardToc) Descriptor deprecated

func (*SendMessageCardToc) Descriptor() ([]byte, []int)

Deprecated: Use SendMessageCardToc.ProtoReflect.Descriptor instead.

func (*SendMessageCardToc) GetCardDir

func (x *SendMessageCardToc) GetCardDir() Direction

func (*SendMessageCardToc) GetCardId

func (x *SendMessageCardToc) GetCardId() uint32

func (*SendMessageCardToc) GetLockPlayerIds

func (x *SendMessageCardToc) GetLockPlayerIds() []uint32

func (*SendMessageCardToc) GetPlayerId

func (x *SendMessageCardToc) GetPlayerId() uint32

func (*SendMessageCardToc) GetTargetPlayerId

func (x *SendMessageCardToc) GetTargetPlayerId() uint32

func (*SendMessageCardToc) ProtoMessage

func (*SendMessageCardToc) ProtoMessage()

func (*SendMessageCardToc) ProtoReflect

func (x *SendMessageCardToc) ProtoReflect() protoreflect.Message

func (*SendMessageCardToc) Reset

func (x *SendMessageCardToc) Reset()

func (*SendMessageCardToc) String

func (x *SendMessageCardToc) String() string

type SendMessageCardTos

type SendMessageCardTos struct {
	CardId         uint32    `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	TargetPlayerId uint32    `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	LockPlayerId   []uint32  `protobuf:"varint,3,rep,packed,name=lock_player_id,json=lockPlayerId,proto3" json:"lock_player_id,omitempty"`
	CardDir        Direction `protobuf:"varint,4,opt,name=card_dir,json=cardDir,proto3,enum=Direction" json:"card_dir,omitempty"`
	Seq            uint32    `protobuf:"varint,5,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

请求传情报

func (*SendMessageCardTos) Descriptor deprecated

func (*SendMessageCardTos) Descriptor() ([]byte, []int)

Deprecated: Use SendMessageCardTos.ProtoReflect.Descriptor instead.

func (*SendMessageCardTos) GetCardDir

func (x *SendMessageCardTos) GetCardDir() Direction

func (*SendMessageCardTos) GetCardId

func (x *SendMessageCardTos) GetCardId() uint32

func (*SendMessageCardTos) GetLockPlayerId

func (x *SendMessageCardTos) GetLockPlayerId() []uint32

func (*SendMessageCardTos) GetSeq

func (x *SendMessageCardTos) GetSeq() uint32

func (*SendMessageCardTos) GetTargetPlayerId

func (x *SendMessageCardTos) GetTargetPlayerId() uint32

func (*SendMessageCardTos) ProtoMessage

func (*SendMessageCardTos) ProtoMessage()

func (*SendMessageCardTos) ProtoReflect

func (x *SendMessageCardTos) ProtoReflect() protoreflect.Message

func (*SendMessageCardTos) Reset

func (x *SendMessageCardTos) Reset()

func (*SendMessageCardTos) String

func (x *SendMessageCardTos) String() string

type ShowShiTanToc

type ShowShiTanToc struct {
	PlayerId       uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`                     // 使用者
	TargetPlayerId uint32 `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"` // 被使用者
	Card           *Card  `protobuf:"bytes,3,opt,name=card,proto3" json:"card,omitempty"`                                              // 只有自己是使用者或者被使用者时,这个字段才会有值,否则为null/nil
	WaitingSecond  uint32 `protobuf:"varint,4,opt,name=waiting_second,json=waitingSecond,proto3" json:"waiting_second,omitempty"`      // 读多少秒
	Seq            uint32 `protobuf:"varint,5,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

向被试探者展示试探,并等待回应

func (*ShowShiTanToc) Descriptor deprecated

func (*ShowShiTanToc) Descriptor() ([]byte, []int)

Deprecated: Use ShowShiTanToc.ProtoReflect.Descriptor instead.

func (*ShowShiTanToc) GetCard

func (x *ShowShiTanToc) GetCard() *Card

func (*ShowShiTanToc) GetPlayerId

func (x *ShowShiTanToc) GetPlayerId() uint32

func (*ShowShiTanToc) GetSeq

func (x *ShowShiTanToc) GetSeq() uint32

func (*ShowShiTanToc) GetTargetPlayerId

func (x *ShowShiTanToc) GetTargetPlayerId() uint32

func (*ShowShiTanToc) GetWaitingSecond

func (x *ShowShiTanToc) GetWaitingSecond() uint32

func (*ShowShiTanToc) ProtoMessage

func (*ShowShiTanToc) ProtoMessage()

func (*ShowShiTanToc) ProtoReflect

func (x *ShowShiTanToc) ProtoReflect() protoreflect.Message

func (*ShowShiTanToc) Reset

func (x *ShowShiTanToc) Reset()

func (*ShowShiTanToc) String

func (x *ShowShiTanToc) String() string

type SkillFuHeiToc

type SkillFuHeiToc struct {
	PlayerId uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	// contains filtered or unexported fields
}

广播使用【腹黑】:你传出的黑色情报被接收后,你摸一张牌。

func (*SkillFuHeiToc) Descriptor deprecated

func (*SkillFuHeiToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillFuHeiToc.ProtoReflect.Descriptor instead.

func (*SkillFuHeiToc) GetPlayerId

func (x *SkillFuHeiToc) GetPlayerId() uint32

func (*SkillFuHeiToc) ProtoMessage

func (*SkillFuHeiToc) ProtoMessage()

func (*SkillFuHeiToc) ProtoReflect

func (x *SkillFuHeiToc) ProtoReflect() protoreflect.Message

func (*SkillFuHeiToc) Reset

func (x *SkillFuHeiToc) Reset()

func (*SkillFuHeiToc) String

func (x *SkillFuHeiToc) String() string

type SkillGuiZhaToc

type SkillGuiZhaToc struct {
	PlayerId       uint32   `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	TargetPlayerId uint32   `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	CardType       CardType `protobuf:"varint,3,opt,name=card_type,json=cardType,proto3,enum=CardType" json:"card_type,omitempty"`
	// contains filtered or unexported fields
}

广播使用【诡诈】

func (*SkillGuiZhaToc) Descriptor deprecated

func (*SkillGuiZhaToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillGuiZhaToc.ProtoReflect.Descriptor instead.

func (*SkillGuiZhaToc) GetCardType

func (x *SkillGuiZhaToc) GetCardType() CardType

func (*SkillGuiZhaToc) GetPlayerId

func (x *SkillGuiZhaToc) GetPlayerId() uint32

func (*SkillGuiZhaToc) GetTargetPlayerId

func (x *SkillGuiZhaToc) GetTargetPlayerId() uint32

func (*SkillGuiZhaToc) ProtoMessage

func (*SkillGuiZhaToc) ProtoMessage()

func (*SkillGuiZhaToc) ProtoReflect

func (x *SkillGuiZhaToc) ProtoReflect() protoreflect.Message

func (*SkillGuiZhaToc) Reset

func (x *SkillGuiZhaToc) Reset()

func (*SkillGuiZhaToc) String

func (x *SkillGuiZhaToc) String() string

type SkillGuiZhaTos

type SkillGuiZhaTos struct {
	TargetPlayerId uint32   `protobuf:"varint,1,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	CardType       CardType `protobuf:"varint,2,opt,name=card_type,json=cardType,proto3,enum=CardType" json:"card_type,omitempty"` // 威逼还是利诱
	WantType       CardType `protobuf:"varint,3,opt,name=want_type,json=wantType,proto3,enum=CardType" json:"want_type,omitempty"` // 如果是威逼,还需要填威逼的卡牌类型
	Seq            uint32   `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

肥原龙川【诡诈】:出牌阶段限一次,你可以指定一名角色,然后视为你对其使用了一张【威逼】或【利诱】。

func (*SkillGuiZhaTos) Descriptor deprecated

func (*SkillGuiZhaTos) Descriptor() ([]byte, []int)

Deprecated: Use SkillGuiZhaTos.ProtoReflect.Descriptor instead.

func (*SkillGuiZhaTos) GetCardType

func (x *SkillGuiZhaTos) GetCardType() CardType

func (*SkillGuiZhaTos) GetSeq

func (x *SkillGuiZhaTos) GetSeq() uint32

func (*SkillGuiZhaTos) GetTargetPlayerId

func (x *SkillGuiZhaTos) GetTargetPlayerId() uint32

func (*SkillGuiZhaTos) GetWantType

func (x *SkillGuiZhaTos) GetWantType() CardType

func (*SkillGuiZhaTos) ProtoMessage

func (*SkillGuiZhaTos) ProtoMessage()

func (*SkillGuiZhaTos) ProtoReflect

func (x *SkillGuiZhaTos) ProtoReflect() protoreflect.Message

func (*SkillGuiZhaTos) Reset

func (x *SkillGuiZhaTos) Reset()

func (*SkillGuiZhaTos) String

func (x *SkillGuiZhaTos) String() string

type SkillHuanRiToc

type SkillHuanRiToc struct {
	PlayerId uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	// contains filtered or unexported fields
}

广播使用【换日】:你使用【调包】或【破译】后,可以将你的角色牌翻至面朝下。

func (*SkillHuanRiToc) Descriptor deprecated

func (*SkillHuanRiToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillHuanRiToc.ProtoReflect.Descriptor instead.

func (*SkillHuanRiToc) GetPlayerId

func (x *SkillHuanRiToc) GetPlayerId() uint32

func (*SkillHuanRiToc) ProtoMessage

func (*SkillHuanRiToc) ProtoMessage()

func (*SkillHuanRiToc) ProtoReflect

func (x *SkillHuanRiToc) ProtoReflect() protoreflect.Message

func (*SkillHuanRiToc) Reset

func (x *SkillHuanRiToc) Reset()

func (*SkillHuanRiToc) String

func (x *SkillHuanRiToc) String() string

type SkillJiSongToc

type SkillJiSongToc struct {
	PlayerId       uint32  `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	HandCards      []*Card `protobuf:"bytes,2,rep,name=hand_cards,json=handCards,proto3" json:"hand_cards,omitempty"`       // 弃置的两张手牌,和下面的情报二选一
	MessageCard    *Card   `protobuf:"bytes,3,opt,name=message_card,json=messageCard,proto3" json:"message_card,omitempty"` // 弃置的情报,和上面的手牌二选一
	TargetPlayerId uint32  `protobuf:"varint,4,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	// contains filtered or unexported fields
}

广播使用【急送】

func (*SkillJiSongToc) Descriptor deprecated

func (*SkillJiSongToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillJiSongToc.ProtoReflect.Descriptor instead.

func (*SkillJiSongToc) GetHandCards

func (x *SkillJiSongToc) GetHandCards() []*Card

func (*SkillJiSongToc) GetMessageCard

func (x *SkillJiSongToc) GetMessageCard() *Card

func (*SkillJiSongToc) GetPlayerId

func (x *SkillJiSongToc) GetPlayerId() uint32

func (*SkillJiSongToc) GetTargetPlayerId

func (x *SkillJiSongToc) GetTargetPlayerId() uint32

func (*SkillJiSongToc) ProtoMessage

func (*SkillJiSongToc) ProtoMessage()

func (*SkillJiSongToc) ProtoReflect

func (x *SkillJiSongToc) ProtoReflect() protoreflect.Message

func (*SkillJiSongToc) Reset

func (x *SkillJiSongToc) Reset()

func (*SkillJiSongToc) String

func (x *SkillJiSongToc) String() string

type SkillJiSongTos

type SkillJiSongTos struct {
	HandCards      []*Card `protobuf:"bytes,1,rep,name=hand_cards,json=handCards,proto3" json:"hand_cards,omitempty"`       // 弃置的两张手牌,和下面的情报二选一
	MessageCard    *Card   `protobuf:"bytes,2,opt,name=message_card,json=messageCard,proto3" json:"message_card,omitempty"` // 弃置的情报,和上面的手牌二选一
	TargetPlayerId uint32  `protobuf:"varint,3,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	Seq            uint32  `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

鬼脚【急送】:争夺阶段限一次,你可以弃置两张手牌,或从你的情报区弃置一张非黑色情报,然后将待收情报移至一名角色面前。

func (*SkillJiSongTos) Descriptor deprecated

func (*SkillJiSongTos) Descriptor() ([]byte, []int)

Deprecated: Use SkillJiSongTos.ProtoReflect.Descriptor instead.

func (*SkillJiSongTos) GetHandCards

func (x *SkillJiSongTos) GetHandCards() []*Card

func (*SkillJiSongTos) GetMessageCard

func (x *SkillJiSongTos) GetMessageCard() *Card

func (*SkillJiSongTos) GetSeq

func (x *SkillJiSongTos) GetSeq() uint32

func (*SkillJiSongTos) GetTargetPlayerId

func (x *SkillJiSongTos) GetTargetPlayerId() uint32

func (*SkillJiSongTos) ProtoMessage

func (*SkillJiSongTos) ProtoMessage()

func (*SkillJiSongTos) ProtoReflect

func (x *SkillJiSongTos) ProtoReflect() protoreflect.Message

func (*SkillJiSongTos) Reset

func (x *SkillJiSongTos) Reset()

func (*SkillJiSongTos) String

func (x *SkillJiSongTos) String() string

type SkillJinShenToc

type SkillJinShenToc struct {
	PlayerId uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	Card     *Card  `protobuf:"bytes,2,opt,name=card,proto3" json:"card,omitempty"`
	// contains filtered or unexported fields
}

广播使用【谨慎】

func (*SkillJinShenToc) Descriptor deprecated

func (*SkillJinShenToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillJinShenToc.ProtoReflect.Descriptor instead.

func (*SkillJinShenToc) GetCard

func (x *SkillJinShenToc) GetCard() *Card

func (*SkillJinShenToc) GetPlayerId

func (x *SkillJinShenToc) GetPlayerId() uint32

func (*SkillJinShenToc) ProtoMessage

func (*SkillJinShenToc) ProtoMessage()

func (*SkillJinShenToc) ProtoReflect

func (x *SkillJinShenToc) ProtoReflect() protoreflect.Message

func (*SkillJinShenToc) Reset

func (x *SkillJinShenToc) Reset()

func (*SkillJinShenToc) String

func (x *SkillJinShenToc) String() string

type SkillJinShenTos

type SkillJinShenTos struct {
	CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	Seq    uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

金生火【谨慎】:你接收双色情报后,可以用一张手牌与该情报面朝上互换。

func (*SkillJinShenTos) Descriptor deprecated

func (*SkillJinShenTos) Descriptor() ([]byte, []int)

Deprecated: Use SkillJinShenTos.ProtoReflect.Descriptor instead.

func (*SkillJinShenTos) GetCardId

func (x *SkillJinShenTos) GetCardId() uint32

func (*SkillJinShenTos) GetSeq

func (x *SkillJinShenTos) GetSeq() uint32

func (*SkillJinShenTos) ProtoMessage

func (*SkillJinShenTos) ProtoMessage()

func (*SkillJinShenTos) ProtoReflect

func (x *SkillJinShenTos) ProtoReflect() protoreflect.Message

func (*SkillJinShenTos) Reset

func (x *SkillJinShenTos) Reset()

func (*SkillJinShenTos) String

func (x *SkillJinShenTos) String() string

type SkillLianMinToc

type SkillLianMinToc struct {
	PlayerId       uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	TargetPlayerId uint32 `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	CardId         uint32 `protobuf:"varint,3,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	// contains filtered or unexported fields
}

广播使用【怜悯】

func (*SkillLianMinToc) Descriptor deprecated

func (*SkillLianMinToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillLianMinToc.ProtoReflect.Descriptor instead.

func (*SkillLianMinToc) GetCardId

func (x *SkillLianMinToc) GetCardId() uint32

func (*SkillLianMinToc) GetPlayerId

func (x *SkillLianMinToc) GetPlayerId() uint32

func (*SkillLianMinToc) GetTargetPlayerId

func (x *SkillLianMinToc) GetTargetPlayerId() uint32

func (*SkillLianMinToc) ProtoMessage

func (*SkillLianMinToc) ProtoMessage()

func (*SkillLianMinToc) ProtoReflect

func (x *SkillLianMinToc) ProtoReflect() protoreflect.Message

func (*SkillLianMinToc) Reset

func (x *SkillLianMinToc) Reset()

func (*SkillLianMinToc) String

func (x *SkillLianMinToc) String() string

type SkillLianMinTos

type SkillLianMinTos struct {
	TargetPlayerId uint32 `protobuf:"varint,1,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	CardId         uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	Seq            uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

白菲菲【怜悯】:你传出的非黑色情报被接收后,可以从你或接收者的情报区选择一张黑色情报加入你的手牌。

func (*SkillLianMinTos) Descriptor deprecated

func (*SkillLianMinTos) Descriptor() ([]byte, []int)

Deprecated: Use SkillLianMinTos.ProtoReflect.Descriptor instead.

func (*SkillLianMinTos) GetCardId

func (x *SkillLianMinTos) GetCardId() uint32

func (*SkillLianMinTos) GetSeq

func (x *SkillLianMinTos) GetSeq() uint32

func (*SkillLianMinTos) GetTargetPlayerId

func (x *SkillLianMinTos) GetTargetPlayerId() uint32

func (*SkillLianMinTos) ProtoMessage

func (*SkillLianMinTos) ProtoMessage()

func (*SkillLianMinTos) ProtoReflect

func (x *SkillLianMinTos) ProtoReflect() protoreflect.Message

func (*SkillLianMinTos) Reset

func (x *SkillLianMinTos) Reset()

func (*SkillLianMinTos) String

func (x *SkillLianMinTos) String() string

type SkillMianLiCangZhenToc

type SkillMianLiCangZhenToc struct {
	PlayerId       uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	Card           *Card  `protobuf:"bytes,2,opt,name=card,proto3" json:"card,omitempty"`
	TargetPlayerId uint32 `protobuf:"varint,3,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	// contains filtered or unexported fields
}

广播使用【绵里藏针】

func (*SkillMianLiCangZhenToc) Descriptor deprecated

func (*SkillMianLiCangZhenToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillMianLiCangZhenToc.ProtoReflect.Descriptor instead.

func (*SkillMianLiCangZhenToc) GetCard

func (x *SkillMianLiCangZhenToc) GetCard() *Card

func (*SkillMianLiCangZhenToc) GetPlayerId

func (x *SkillMianLiCangZhenToc) GetPlayerId() uint32

func (*SkillMianLiCangZhenToc) GetTargetPlayerId

func (x *SkillMianLiCangZhenToc) GetTargetPlayerId() uint32

func (*SkillMianLiCangZhenToc) ProtoMessage

func (*SkillMianLiCangZhenToc) ProtoMessage()

func (*SkillMianLiCangZhenToc) ProtoReflect

func (x *SkillMianLiCangZhenToc) ProtoReflect() protoreflect.Message

func (*SkillMianLiCangZhenToc) Reset

func (x *SkillMianLiCangZhenToc) Reset()

func (*SkillMianLiCangZhenToc) String

func (x *SkillMianLiCangZhenToc) String() string

type SkillMianLiCangZhenTos

type SkillMianLiCangZhenTos struct {
	CardId         uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	TargetPlayerId uint32 `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	Seq            uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

邵秀【绵里藏针】:你传出的情报被接收后,可以将一张黑色手牌置入接收者的情报区,然后摸一张牌。

func (*SkillMianLiCangZhenTos) Descriptor deprecated

func (*SkillMianLiCangZhenTos) Descriptor() ([]byte, []int)

Deprecated: Use SkillMianLiCangZhenTos.ProtoReflect.Descriptor instead.

func (*SkillMianLiCangZhenTos) GetCardId

func (x *SkillMianLiCangZhenTos) GetCardId() uint32

func (*SkillMianLiCangZhenTos) GetSeq

func (x *SkillMianLiCangZhenTos) GetSeq() uint32

func (*SkillMianLiCangZhenTos) GetTargetPlayerId

func (x *SkillMianLiCangZhenTos) GetTargetPlayerId() uint32

func (*SkillMianLiCangZhenTos) ProtoMessage

func (*SkillMianLiCangZhenTos) ProtoMessage()

func (*SkillMianLiCangZhenTos) ProtoReflect

func (x *SkillMianLiCangZhenTos) ProtoReflect() protoreflect.Message

func (*SkillMianLiCangZhenTos) Reset

func (x *SkillMianLiCangZhenTos) Reset()

func (*SkillMianLiCangZhenTos) String

func (x *SkillMianLiCangZhenTos) String() string

type SkillMingErToc

type SkillMingErToc struct {
	PlayerId uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	// contains filtered or unexported fields
}

广播使用【明饵】:你传出的红色或蓝色情报被接收后,你和接收者各摸一张牌。

func (*SkillMingErToc) Descriptor deprecated

func (*SkillMingErToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillMingErToc.ProtoReflect.Descriptor instead.

func (*SkillMingErToc) GetPlayerId

func (x *SkillMingErToc) GetPlayerId() uint32

func (*SkillMingErToc) ProtoMessage

func (*SkillMingErToc) ProtoMessage()

func (*SkillMingErToc) ProtoReflect

func (x *SkillMingErToc) ProtoReflect() protoreflect.Message

func (*SkillMingErToc) Reset

func (x *SkillMingErToc) Reset()

func (*SkillMingErToc) String

func (x *SkillMingErToc) String() string

type SkillQiHuoKeJuToc

type SkillQiHuoKeJuToc struct {
	PlayerId uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	CardId   uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	// contains filtered or unexported fields
}

广播使用【奇货可居】

func (*SkillQiHuoKeJuToc) Descriptor deprecated

func (*SkillQiHuoKeJuToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillQiHuoKeJuToc.ProtoReflect.Descriptor instead.

func (*SkillQiHuoKeJuToc) GetCardId

func (x *SkillQiHuoKeJuToc) GetCardId() uint32

func (*SkillQiHuoKeJuToc) GetPlayerId

func (x *SkillQiHuoKeJuToc) GetPlayerId() uint32

func (*SkillQiHuoKeJuToc) ProtoMessage

func (*SkillQiHuoKeJuToc) ProtoMessage()

func (*SkillQiHuoKeJuToc) ProtoReflect

func (x *SkillQiHuoKeJuToc) ProtoReflect() protoreflect.Message

func (*SkillQiHuoKeJuToc) Reset

func (x *SkillQiHuoKeJuToc) Reset()

func (*SkillQiHuoKeJuToc) String

func (x *SkillQiHuoKeJuToc) String() string

type SkillQiHuoKeJuTos

type SkillQiHuoKeJuTos struct {
	CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	Seq    uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

毛不拔【奇货可居】:你接收双色情报后,可以从你的情报区选择一张情报加入手牌。

func (*SkillQiHuoKeJuTos) Descriptor deprecated

func (*SkillQiHuoKeJuTos) Descriptor() ([]byte, []int)

Deprecated: Use SkillQiHuoKeJuTos.ProtoReflect.Descriptor instead.

func (*SkillQiHuoKeJuTos) GetCardId

func (x *SkillQiHuoKeJuTos) GetCardId() uint32

func (*SkillQiHuoKeJuTos) GetSeq

func (x *SkillQiHuoKeJuTos) GetSeq() uint32

func (*SkillQiHuoKeJuTos) ProtoMessage

func (*SkillQiHuoKeJuTos) ProtoMessage()

func (*SkillQiHuoKeJuTos) ProtoReflect

func (x *SkillQiHuoKeJuTos) ProtoReflect() protoreflect.Message

func (*SkillQiHuoKeJuTos) Reset

func (x *SkillQiHuoKeJuTos) Reset()

func (*SkillQiHuoKeJuTos) String

func (x *SkillQiHuoKeJuTos) String() string

type SkillRuGuiToc

type SkillRuGuiToc struct {
	PlayerId uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	CardId   uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	// contains filtered or unexported fields
}

广播使用【如归】

func (*SkillRuGuiToc) Descriptor deprecated

func (*SkillRuGuiToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillRuGuiToc.ProtoReflect.Descriptor instead.

func (*SkillRuGuiToc) GetCardId

func (x *SkillRuGuiToc) GetCardId() uint32

func (*SkillRuGuiToc) GetPlayerId

func (x *SkillRuGuiToc) GetPlayerId() uint32

func (*SkillRuGuiToc) ProtoMessage

func (*SkillRuGuiToc) ProtoMessage()

func (*SkillRuGuiToc) ProtoReflect

func (x *SkillRuGuiToc) ProtoReflect() protoreflect.Message

func (*SkillRuGuiToc) Reset

func (x *SkillRuGuiToc) Reset()

func (*SkillRuGuiToc) String

func (x *SkillRuGuiToc) String() string

type SkillRuGuiTos

type SkillRuGuiTos struct {
	Enable bool   `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` // 是否发动
	CardId uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	Seq    uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

老汉【如归】:你死亡前,可以将你情报区中的一张情报置入当前回合角色的情报区中。

func (*SkillRuGuiTos) Descriptor deprecated

func (*SkillRuGuiTos) Descriptor() ([]byte, []int)

Deprecated: Use SkillRuGuiTos.ProtoReflect.Descriptor instead.

func (*SkillRuGuiTos) GetCardId

func (x *SkillRuGuiTos) GetCardId() uint32

func (*SkillRuGuiTos) GetEnable

func (x *SkillRuGuiTos) GetEnable() bool

func (*SkillRuGuiTos) GetSeq

func (x *SkillRuGuiTos) GetSeq() uint32

func (*SkillRuGuiTos) ProtoMessage

func (*SkillRuGuiTos) ProtoMessage()

func (*SkillRuGuiTos) ProtoReflect

func (x *SkillRuGuiTos) ProtoReflect() protoreflect.Message

func (*SkillRuGuiTos) Reset

func (x *SkillRuGuiTos) Reset()

func (*SkillRuGuiTos) String

func (x *SkillRuGuiTos) String() string

type SkillShiSiToc

type SkillShiSiToc struct {
	PlayerId uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	// contains filtered or unexported fields
}

广播使用【视死】:你接收黑色情报后,摸两张牌

func (*SkillShiSiToc) Descriptor deprecated

func (*SkillShiSiToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillShiSiToc.ProtoReflect.Descriptor instead.

func (*SkillShiSiToc) GetPlayerId

func (x *SkillShiSiToc) GetPlayerId() uint32

func (*SkillShiSiToc) ProtoMessage

func (*SkillShiSiToc) ProtoMessage()

func (*SkillShiSiToc) ProtoReflect

func (x *SkillShiSiToc) ProtoReflect() protoreflect.Message

func (*SkillShiSiToc) Reset

func (x *SkillShiSiToc) Reset()

func (*SkillShiSiToc) String

func (x *SkillShiSiToc) String() string

type SkillTouTianToc

type SkillTouTianToc struct {
	PlayerId uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	// contains filtered or unexported fields
}

广播使用【偷天】

func (*SkillTouTianToc) Descriptor deprecated

func (*SkillTouTianToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillTouTianToc.ProtoReflect.Descriptor instead.

func (*SkillTouTianToc) GetPlayerId

func (x *SkillTouTianToc) GetPlayerId() uint32

func (*SkillTouTianToc) ProtoMessage

func (*SkillTouTianToc) ProtoMessage()

func (*SkillTouTianToc) ProtoReflect

func (x *SkillTouTianToc) ProtoReflect() protoreflect.Message

func (*SkillTouTianToc) Reset

func (x *SkillTouTianToc) Reset()

func (*SkillTouTianToc) String

func (x *SkillTouTianToc) String() string

type SkillTouTianTos

type SkillTouTianTos struct {
	Seq uint32 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

鄭文先【偷天】:争夺阶段你可以翻开此角色牌,然后视为你使用了一张【截获】。

func (*SkillTouTianTos) Descriptor deprecated

func (*SkillTouTianTos) Descriptor() ([]byte, []int)

Deprecated: Use SkillTouTianTos.ProtoReflect.Descriptor instead.

func (*SkillTouTianTos) GetSeq

func (x *SkillTouTianTos) GetSeq() uint32

func (*SkillTouTianTos) ProtoMessage

func (*SkillTouTianTos) ProtoMessage()

func (*SkillTouTianTos) ProtoReflect

func (x *SkillTouTianTos) ProtoReflect() protoreflect.Message

func (*SkillTouTianTos) Reset

func (x *SkillTouTianTos) Reset()

func (*SkillTouTianTos) String

func (x *SkillTouTianTos) String() string

type SkillWaitForRuGuiToc

type SkillWaitForRuGuiToc struct {
	PlayerId      uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	WaitingSecond uint32 `protobuf:"varint,2,opt,name=waiting_second,json=waitingSecond,proto3" json:"waiting_second,omitempty"`
	Seq           uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

广播询问客户端使用【如归】

func (*SkillWaitForRuGuiToc) Descriptor deprecated

func (*SkillWaitForRuGuiToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillWaitForRuGuiToc.ProtoReflect.Descriptor instead.

func (*SkillWaitForRuGuiToc) GetPlayerId

func (x *SkillWaitForRuGuiToc) GetPlayerId() uint32

func (*SkillWaitForRuGuiToc) GetSeq

func (x *SkillWaitForRuGuiToc) GetSeq() uint32

func (*SkillWaitForRuGuiToc) GetWaitingSecond

func (x *SkillWaitForRuGuiToc) GetWaitingSecond() uint32

func (*SkillWaitForRuGuiToc) ProtoMessage

func (*SkillWaitForRuGuiToc) ProtoMessage()

func (*SkillWaitForRuGuiToc) ProtoReflect

func (x *SkillWaitForRuGuiToc) ProtoReflect() protoreflect.Message

func (*SkillWaitForRuGuiToc) Reset

func (x *SkillWaitForRuGuiToc) Reset()

func (*SkillWaitForRuGuiToc) String

func (x *SkillWaitForRuGuiToc) String() string

type SkillWaitForZhuanJiaoToc

type SkillWaitForZhuanJiaoToc struct {
	PlayerId      uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	WaitingSecond uint32 `protobuf:"varint,2,opt,name=waiting_second,json=waitingSecond,proto3" json:"waiting_second,omitempty"`
	Seq           uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

广播询问客户端使用【转交】

func (*SkillWaitForZhuanJiaoToc) Descriptor deprecated

func (*SkillWaitForZhuanJiaoToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillWaitForZhuanJiaoToc.ProtoReflect.Descriptor instead.

func (*SkillWaitForZhuanJiaoToc) GetPlayerId

func (x *SkillWaitForZhuanJiaoToc) GetPlayerId() uint32

func (*SkillWaitForZhuanJiaoToc) GetSeq

func (x *SkillWaitForZhuanJiaoToc) GetSeq() uint32

func (*SkillWaitForZhuanJiaoToc) GetWaitingSecond

func (x *SkillWaitForZhuanJiaoToc) GetWaitingSecond() uint32

func (*SkillWaitForZhuanJiaoToc) ProtoMessage

func (*SkillWaitForZhuanJiaoToc) ProtoMessage()

func (*SkillWaitForZhuanJiaoToc) ProtoReflect

func (x *SkillWaitForZhuanJiaoToc) ProtoReflect() protoreflect.Message

func (*SkillWaitForZhuanJiaoToc) Reset

func (x *SkillWaitForZhuanJiaoToc) Reset()

func (*SkillWaitForZhuanJiaoToc) String

func (x *SkillWaitForZhuanJiaoToc) String() string

type SkillXinSiChaoToc

type SkillXinSiChaoToc struct {
	PlayerId uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	// contains filtered or unexported fields
}

广播使用【新思潮】,弃牌和摸牌走原本的协议

func (*SkillXinSiChaoToc) Descriptor deprecated

func (*SkillXinSiChaoToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillXinSiChaoToc.ProtoReflect.Descriptor instead.

func (*SkillXinSiChaoToc) GetPlayerId

func (x *SkillXinSiChaoToc) GetPlayerId() uint32

func (*SkillXinSiChaoToc) ProtoMessage

func (*SkillXinSiChaoToc) ProtoMessage()

func (*SkillXinSiChaoToc) ProtoReflect

func (x *SkillXinSiChaoToc) ProtoReflect() protoreflect.Message

func (*SkillXinSiChaoToc) Reset

func (x *SkillXinSiChaoToc) Reset()

func (*SkillXinSiChaoToc) String

func (x *SkillXinSiChaoToc) String() string

type SkillXinSiChaoTos

type SkillXinSiChaoTos struct {
	CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	Seq    uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

端木静【新思潮】:出牌阶段限一次,你可以弃置一张手牌,然后摸两张牌。

func (*SkillXinSiChaoTos) Descriptor deprecated

func (*SkillXinSiChaoTos) Descriptor() ([]byte, []int)

Deprecated: Use SkillXinSiChaoTos.ProtoReflect.Descriptor instead.

func (*SkillXinSiChaoTos) GetCardId

func (x *SkillXinSiChaoTos) GetCardId() uint32

func (*SkillXinSiChaoTos) GetSeq

func (x *SkillXinSiChaoTos) GetSeq() uint32

func (*SkillXinSiChaoTos) ProtoMessage

func (*SkillXinSiChaoTos) ProtoMessage()

func (*SkillXinSiChaoTos) ProtoReflect

func (x *SkillXinSiChaoTos) ProtoReflect() protoreflect.Message

func (*SkillXinSiChaoTos) Reset

func (x *SkillXinSiChaoTos) Reset()

func (*SkillXinSiChaoTos) String

func (x *SkillXinSiChaoTos) String() string

type SkillYiHuaJieMuToc

type SkillYiHuaJieMuToc struct {
	PlayerId     uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	FromPlayerId uint32 `protobuf:"varint,2,opt,name=from_player_id,json=fromPlayerId,proto3" json:"from_player_id,omitempty"`
	CardId       uint32 `protobuf:"varint,3,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	ToPlayerId   uint32 `protobuf:"varint,4,opt,name=to_player_id,json=toPlayerId,proto3" json:"to_player_id,omitempty"`
	JoinIntoHand bool   `protobuf:"varint,5,opt,name=join_into_hand,json=joinIntoHand,proto3" json:"join_into_hand,omitempty"` // 是否改为加入手牌
	// contains filtered or unexported fields
}

广播使用【移花接木】

func (*SkillYiHuaJieMuToc) Descriptor deprecated

func (*SkillYiHuaJieMuToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillYiHuaJieMuToc.ProtoReflect.Descriptor instead.

func (*SkillYiHuaJieMuToc) GetCardId

func (x *SkillYiHuaJieMuToc) GetCardId() uint32

func (*SkillYiHuaJieMuToc) GetFromPlayerId

func (x *SkillYiHuaJieMuToc) GetFromPlayerId() uint32

func (*SkillYiHuaJieMuToc) GetJoinIntoHand

func (x *SkillYiHuaJieMuToc) GetJoinIntoHand() bool

func (*SkillYiHuaJieMuToc) GetPlayerId

func (x *SkillYiHuaJieMuToc) GetPlayerId() uint32

func (*SkillYiHuaJieMuToc) GetToPlayerId

func (x *SkillYiHuaJieMuToc) GetToPlayerId() uint32

func (*SkillYiHuaJieMuToc) ProtoMessage

func (*SkillYiHuaJieMuToc) ProtoMessage()

func (*SkillYiHuaJieMuToc) ProtoReflect

func (x *SkillYiHuaJieMuToc) ProtoReflect() protoreflect.Message

func (*SkillYiHuaJieMuToc) Reset

func (x *SkillYiHuaJieMuToc) Reset()

func (*SkillYiHuaJieMuToc) String

func (x *SkillYiHuaJieMuToc) String() string

type SkillYiHuaJieMuTos

type SkillYiHuaJieMuTos struct {
	FromPlayerId uint32 `protobuf:"varint,1,opt,name=from_player_id,json=fromPlayerId,proto3" json:"from_player_id,omitempty"`
	CardId       uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	ToPlayerId   uint32 `protobuf:"varint,3,opt,name=to_player_id,json=toPlayerId,proto3" json:"to_player_id,omitempty"`
	Seq          uint32 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

韩梅【移花接木】:争夺阶段,你可以翻开此角色牌,然后从一名角色的情报区选择一张情报,将其置入另一名角色的情报区,若如此做会让其收集三张或更多同色情报,则改为将该情牌加入你的手牌。

func (*SkillYiHuaJieMuTos) Descriptor deprecated

func (*SkillYiHuaJieMuTos) Descriptor() ([]byte, []int)

Deprecated: Use SkillYiHuaJieMuTos.ProtoReflect.Descriptor instead.

func (*SkillYiHuaJieMuTos) GetCardId

func (x *SkillYiHuaJieMuTos) GetCardId() uint32

func (*SkillYiHuaJieMuTos) GetFromPlayerId

func (x *SkillYiHuaJieMuTos) GetFromPlayerId() uint32

func (*SkillYiHuaJieMuTos) GetSeq

func (x *SkillYiHuaJieMuTos) GetSeq() uint32

func (*SkillYiHuaJieMuTos) GetToPlayerId

func (x *SkillYiHuaJieMuTos) GetToPlayerId() uint32

func (*SkillYiHuaJieMuTos) ProtoMessage

func (*SkillYiHuaJieMuTos) ProtoMessage()

func (*SkillYiHuaJieMuTos) ProtoReflect

func (x *SkillYiHuaJieMuTos) ProtoReflect() protoreflect.Message

func (*SkillYiHuaJieMuTos) Reset

func (x *SkillYiHuaJieMuTos) Reset()

func (*SkillYiHuaJieMuTos) String

func (x *SkillYiHuaJieMuTos) String() string

type SkillYiYaHuanYaToc

type SkillYiYaHuanYaToc struct {
	PlayerId       uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	TargetPlayerId uint32 `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	Card           *Card  `protobuf:"bytes,3,opt,name=card,proto3" json:"card,omitempty"`
	// contains filtered or unexported fields
}

广播使用【以牙还牙】

func (*SkillYiYaHuanYaToc) Descriptor deprecated

func (*SkillYiYaHuanYaToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillYiYaHuanYaToc.ProtoReflect.Descriptor instead.

func (*SkillYiYaHuanYaToc) GetCard

func (x *SkillYiYaHuanYaToc) GetCard() *Card

func (*SkillYiYaHuanYaToc) GetPlayerId

func (x *SkillYiYaHuanYaToc) GetPlayerId() uint32

func (*SkillYiYaHuanYaToc) GetTargetPlayerId

func (x *SkillYiYaHuanYaToc) GetTargetPlayerId() uint32

func (*SkillYiYaHuanYaToc) ProtoMessage

func (*SkillYiYaHuanYaToc) ProtoMessage()

func (*SkillYiYaHuanYaToc) ProtoReflect

func (x *SkillYiYaHuanYaToc) ProtoReflect() protoreflect.Message

func (*SkillYiYaHuanYaToc) Reset

func (x *SkillYiYaHuanYaToc) Reset()

func (*SkillYiYaHuanYaToc) String

func (x *SkillYiYaHuanYaToc) String() string

type SkillYiYaHuanYaTos

type SkillYiYaHuanYaTos struct {
	TargetPlayerId uint32 `protobuf:"varint,1,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	CardId         uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	Seq            uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

王魁【以牙还牙】:你接收黑色情报后,可以将一张黑色手牌置入情报传出者或其相邻角色的情报区,然后摸一张牌。

func (*SkillYiYaHuanYaTos) Descriptor deprecated

func (*SkillYiYaHuanYaTos) Descriptor() ([]byte, []int)

Deprecated: Use SkillYiYaHuanYaTos.ProtoReflect.Descriptor instead.

func (*SkillYiYaHuanYaTos) GetCardId

func (x *SkillYiYaHuanYaTos) GetCardId() uint32

func (*SkillYiYaHuanYaTos) GetSeq

func (x *SkillYiYaHuanYaTos) GetSeq() uint32

func (*SkillYiYaHuanYaTos) GetTargetPlayerId

func (x *SkillYiYaHuanYaTos) GetTargetPlayerId() uint32

func (*SkillYiYaHuanYaTos) ProtoMessage

func (*SkillYiYaHuanYaTos) ProtoMessage()

func (*SkillYiYaHuanYaTos) ProtoReflect

func (x *SkillYiYaHuanYaTos) ProtoReflect() protoreflect.Message

func (*SkillYiYaHuanYaTos) Reset

func (x *SkillYiYaHuanYaTos) Reset()

func (*SkillYiYaHuanYaTos) String

func (x *SkillYiYaHuanYaTos) String() string

type SkillZhuanJiaoToc

type SkillZhuanJiaoToc struct {
	PlayerId       uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	CardId         uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	TargetPlayerId uint32 `protobuf:"varint,3,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	// contains filtered or unexported fields
}

广播使用【转交】

func (*SkillZhuanJiaoToc) Descriptor deprecated

func (*SkillZhuanJiaoToc) Descriptor() ([]byte, []int)

Deprecated: Use SkillZhuanJiaoToc.ProtoReflect.Descriptor instead.

func (*SkillZhuanJiaoToc) GetCardId

func (x *SkillZhuanJiaoToc) GetCardId() uint32

func (*SkillZhuanJiaoToc) GetPlayerId

func (x *SkillZhuanJiaoToc) GetPlayerId() uint32

func (*SkillZhuanJiaoToc) GetTargetPlayerId

func (x *SkillZhuanJiaoToc) GetTargetPlayerId() uint32

func (*SkillZhuanJiaoToc) ProtoMessage

func (*SkillZhuanJiaoToc) ProtoMessage()

func (*SkillZhuanJiaoToc) ProtoReflect

func (x *SkillZhuanJiaoToc) ProtoReflect() protoreflect.Message

func (*SkillZhuanJiaoToc) Reset

func (x *SkillZhuanJiaoToc) Reset()

func (*SkillZhuanJiaoToc) String

func (x *SkillZhuanJiaoToc) String() string

type SkillZhuanJiaoTos

type SkillZhuanJiaoTos struct {
	CardId         uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
	TargetPlayerId uint32 `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	Seq            uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

白小年【转交】:你使用一张手牌后,可以从你的情报区选择一张非黑色情报,将其置入另一名角色的情报区,然后你摸两张牌。你不能通过此技能让任何角色收集三张或更多同色情报。

func (*SkillZhuanJiaoTos) Descriptor deprecated

func (*SkillZhuanJiaoTos) Descriptor() ([]byte, []int)

Deprecated: Use SkillZhuanJiaoTos.ProtoReflect.Descriptor instead.

func (*SkillZhuanJiaoTos) GetCardId

func (x *SkillZhuanJiaoTos) GetCardId() uint32

func (*SkillZhuanJiaoTos) GetSeq

func (x *SkillZhuanJiaoTos) GetSeq() uint32

func (*SkillZhuanJiaoTos) GetTargetPlayerId

func (x *SkillZhuanJiaoTos) GetTargetPlayerId() uint32

func (*SkillZhuanJiaoTos) ProtoMessage

func (*SkillZhuanJiaoTos) ProtoMessage()

func (*SkillZhuanJiaoTos) ProtoReflect

func (x *SkillZhuanJiaoTos) ProtoReflect() protoreflect.Message

func (*SkillZhuanJiaoTos) Reset

func (x *SkillZhuanJiaoTos) Reset()

func (*SkillZhuanJiaoTos) String

func (x *SkillZhuanJiaoTos) String() string

type SyncDeckNumToc

type SyncDeckNumToc struct {
	Num      uint32 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`           // 剩余数量
	Shuffled bool   `protobuf:"varint,2,opt,name=shuffled,proto3" json:"shuffled,omitempty"` // 是否发生了洗牌
	// contains filtered or unexported fields
}

通知客户端,牌堆的剩余数量

func (*SyncDeckNumToc) Descriptor deprecated

func (*SyncDeckNumToc) Descriptor() ([]byte, []int)

Deprecated: Use SyncDeckNumToc.ProtoReflect.Descriptor instead.

func (*SyncDeckNumToc) GetNum

func (x *SyncDeckNumToc) GetNum() uint32

func (*SyncDeckNumToc) GetShuffled

func (x *SyncDeckNumToc) GetShuffled() bool

func (*SyncDeckNumToc) ProtoMessage

func (*SyncDeckNumToc) ProtoMessage()

func (*SyncDeckNumToc) ProtoReflect

func (x *SyncDeckNumToc) ProtoReflect() protoreflect.Message

func (*SyncDeckNumToc) Reset

func (x *SyncDeckNumToc) Reset()

func (*SyncDeckNumToc) String

func (x *SyncDeckNumToc) String() string

type UseChengQingToc

type UseChengQingToc struct {
	Card           *Card  `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"`
	PlayerId       uint32 `protobuf:"varint,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	TargetPlayerId uint32 `protobuf:"varint,3,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	TargetCardId   uint32 `protobuf:"varint,4,opt,name=target_card_id,json=targetCardId,proto3" json:"target_card_id,omitempty"`
	// contains filtered or unexported fields
}

通知所有人澄清

func (*UseChengQingToc) Descriptor deprecated

func (*UseChengQingToc) Descriptor() ([]byte, []int)

Deprecated: Use UseChengQingToc.ProtoReflect.Descriptor instead.

func (*UseChengQingToc) GetCard

func (x *UseChengQingToc) GetCard() *Card

func (*UseChengQingToc) GetPlayerId

func (x *UseChengQingToc) GetPlayerId() uint32

func (*UseChengQingToc) GetTargetCardId

func (x *UseChengQingToc) GetTargetCardId() uint32

func (*UseChengQingToc) GetTargetPlayerId

func (x *UseChengQingToc) GetTargetPlayerId() uint32

func (*UseChengQingToc) ProtoMessage

func (*UseChengQingToc) ProtoMessage()

func (*UseChengQingToc) ProtoReflect

func (x *UseChengQingToc) ProtoReflect() protoreflect.Message

func (*UseChengQingToc) Reset

func (x *UseChengQingToc) Reset()

func (*UseChengQingToc) String

func (x *UseChengQingToc) String() string

type UseChengQingTos

type UseChengQingTos struct {
	CardId       uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` // 卡牌ID
	PlayerId     uint32 `protobuf:"varint,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	TargetCardId uint32 `protobuf:"varint,3,opt,name=target_card_id,json=targetCardId,proto3" json:"target_card_id,omitempty"`
	Seq          uint32 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

请求使用澄清

func (*UseChengQingTos) Descriptor deprecated

func (*UseChengQingTos) Descriptor() ([]byte, []int)

Deprecated: Use UseChengQingTos.ProtoReflect.Descriptor instead.

func (*UseChengQingTos) GetCardId

func (x *UseChengQingTos) GetCardId() uint32

func (*UseChengQingTos) GetPlayerId

func (x *UseChengQingTos) GetPlayerId() uint32

func (*UseChengQingTos) GetSeq

func (x *UseChengQingTos) GetSeq() uint32

func (*UseChengQingTos) GetTargetCardId

func (x *UseChengQingTos) GetTargetCardId() uint32

func (*UseChengQingTos) ProtoMessage

func (*UseChengQingTos) ProtoMessage()

func (*UseChengQingTos) ProtoReflect

func (x *UseChengQingTos) ProtoReflect() protoreflect.Message

func (*UseChengQingTos) Reset

func (x *UseChengQingTos) Reset()

func (*UseChengQingTos) String

func (x *UseChengQingTos) String() string

type UseDiaoBaoToc

type UseDiaoBaoToc struct {
	CardId         uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`                          // 用的那张调包牌(但是调包后,这张调包会面朝下代替原情报继续传递),只有使用调包的人能收到这个值
	OldMessageCard *Card  `protobuf:"bytes,2,opt,name=old_message_card,json=oldMessageCard,proto3" json:"old_message_card,omitempty"` // 被弃掉的那张原来的情报
	PlayerId       uint32 `protobuf:"varint,3,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`                    // 使用者
	// contains filtered or unexported fields
}

通知所有人使用调包

func (*UseDiaoBaoToc) Descriptor deprecated

func (*UseDiaoBaoToc) Descriptor() ([]byte, []int)

Deprecated: Use UseDiaoBaoToc.ProtoReflect.Descriptor instead.

func (*UseDiaoBaoToc) GetCardId

func (x *UseDiaoBaoToc) GetCardId() uint32

func (*UseDiaoBaoToc) GetOldMessageCard

func (x *UseDiaoBaoToc) GetOldMessageCard() *Card

func (*UseDiaoBaoToc) GetPlayerId

func (x *UseDiaoBaoToc) GetPlayerId() uint32

func (*UseDiaoBaoToc) ProtoMessage

func (*UseDiaoBaoToc) ProtoMessage()

func (*UseDiaoBaoToc) ProtoReflect

func (x *UseDiaoBaoToc) ProtoReflect() protoreflect.Message

func (*UseDiaoBaoToc) Reset

func (x *UseDiaoBaoToc) Reset()

func (*UseDiaoBaoToc) String

func (x *UseDiaoBaoToc) String() string

type UseDiaoBaoTos

type UseDiaoBaoTos struct {
	CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` // 用的那张截获牌
	Seq    uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

使用调包

func (*UseDiaoBaoTos) Descriptor deprecated

func (*UseDiaoBaoTos) Descriptor() ([]byte, []int)

Deprecated: Use UseDiaoBaoTos.ProtoReflect.Descriptor instead.

func (*UseDiaoBaoTos) GetCardId

func (x *UseDiaoBaoTos) GetCardId() uint32

func (*UseDiaoBaoTos) GetSeq

func (x *UseDiaoBaoTos) GetSeq() uint32

func (*UseDiaoBaoTos) ProtoMessage

func (*UseDiaoBaoTos) ProtoMessage()

func (*UseDiaoBaoTos) ProtoReflect

func (x *UseDiaoBaoTos) ProtoReflect() protoreflect.Message

func (*UseDiaoBaoTos) Reset

func (x *UseDiaoBaoTos) Reset()

func (*UseDiaoBaoTos) String

func (x *UseDiaoBaoTos) String() string

type UseJieHuoToc

type UseJieHuoToc struct {
	Card     *Card  `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"`                          // 用的那张截获牌
	PlayerId uint32 `protobuf:"varint,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` // 使用者
	// contains filtered or unexported fields
}

通知所有人使用截获

func (*UseJieHuoToc) Descriptor deprecated

func (*UseJieHuoToc) Descriptor() ([]byte, []int)

Deprecated: Use UseJieHuoToc.ProtoReflect.Descriptor instead.

func (*UseJieHuoToc) GetCard

func (x *UseJieHuoToc) GetCard() *Card

func (*UseJieHuoToc) GetPlayerId

func (x *UseJieHuoToc) GetPlayerId() uint32

func (*UseJieHuoToc) ProtoMessage

func (*UseJieHuoToc) ProtoMessage()

func (*UseJieHuoToc) ProtoReflect

func (x *UseJieHuoToc) ProtoReflect() protoreflect.Message

func (*UseJieHuoToc) Reset

func (x *UseJieHuoToc) Reset()

func (*UseJieHuoToc) String

func (x *UseJieHuoToc) String() string

type UseJieHuoTos

type UseJieHuoTos struct {
	CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` // 用的那张截获牌
	Seq    uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

使用截获

func (*UseJieHuoTos) Descriptor deprecated

func (*UseJieHuoTos) Descriptor() ([]byte, []int)

Deprecated: Use UseJieHuoTos.ProtoReflect.Descriptor instead.

func (*UseJieHuoTos) GetCardId

func (x *UseJieHuoTos) GetCardId() uint32

func (*UseJieHuoTos) GetSeq

func (x *UseJieHuoTos) GetSeq() uint32

func (*UseJieHuoTos) ProtoMessage

func (*UseJieHuoTos) ProtoMessage()

func (*UseJieHuoTos) ProtoReflect

func (x *UseJieHuoTos) ProtoReflect() protoreflect.Message

func (*UseJieHuoTos) Reset

func (x *UseJieHuoTos) Reset()

func (*UseJieHuoTos) String

func (x *UseJieHuoTos) String() string

type UseLiYouToc

type UseLiYouToc struct {
	PlayerId       uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`                     // 使用者
	TargetPlayerId uint32 `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"` // 被使用者
	LiYouCard      *Card  `protobuf:"bytes,3,opt,name=li_you_card,json=liYouCard,proto3" json:"li_you_card,omitempty"`                 // 使用的这张利诱牌
	MessageCard    *Card  `protobuf:"bytes,4,opt,name=message_card,json=messageCard,proto3" json:"message_card,omitempty"`             // 利诱翻出来的牌。如果牌堆和弃牌堆全用完了,则为null/nil
	JoinIntoHand   bool   `protobuf:"varint,5,opt,name=join_into_hand,json=joinIntoHand,proto3" json:"join_into_hand,omitempty"`       // 是否改为加入使用者手牌
	// contains filtered or unexported fields
}

通知客户端使用利诱的结果

func (*UseLiYouToc) Descriptor deprecated

func (*UseLiYouToc) Descriptor() ([]byte, []int)

Deprecated: Use UseLiYouToc.ProtoReflect.Descriptor instead.

func (*UseLiYouToc) GetJoinIntoHand

func (x *UseLiYouToc) GetJoinIntoHand() bool

func (*UseLiYouToc) GetLiYouCard

func (x *UseLiYouToc) GetLiYouCard() *Card

func (*UseLiYouToc) GetMessageCard

func (x *UseLiYouToc) GetMessageCard() *Card

func (*UseLiYouToc) GetPlayerId

func (x *UseLiYouToc) GetPlayerId() uint32

func (*UseLiYouToc) GetTargetPlayerId

func (x *UseLiYouToc) GetTargetPlayerId() uint32

func (*UseLiYouToc) ProtoMessage

func (*UseLiYouToc) ProtoMessage()

func (*UseLiYouToc) ProtoReflect

func (x *UseLiYouToc) ProtoReflect() protoreflect.Message

func (*UseLiYouToc) Reset

func (x *UseLiYouToc) Reset()

func (*UseLiYouToc) String

func (x *UseLiYouToc) String() string

type UseLiYouTos

type UseLiYouTos struct {
	CardId   uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` // 卡牌ID
	PlayerId uint32 `protobuf:"varint,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	Seq      uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

请求使用利诱

func (*UseLiYouTos) Descriptor deprecated

func (*UseLiYouTos) Descriptor() ([]byte, []int)

Deprecated: Use UseLiYouTos.ProtoReflect.Descriptor instead.

func (*UseLiYouTos) GetCardId

func (x *UseLiYouTos) GetCardId() uint32

func (*UseLiYouTos) GetPlayerId

func (x *UseLiYouTos) GetPlayerId() uint32

func (*UseLiYouTos) GetSeq

func (x *UseLiYouTos) GetSeq() uint32

func (*UseLiYouTos) ProtoMessage

func (*UseLiYouTos) ProtoMessage()

func (*UseLiYouTos) ProtoReflect

func (x *UseLiYouTos) ProtoReflect() protoreflect.Message

func (*UseLiYouTos) Reset

func (x *UseLiYouTos) Reset()

func (*UseLiYouTos) String

func (x *UseLiYouTos) String() string

type UsePingHengToc

type UsePingHengToc struct {
	PlayerId       uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`                     // 使用者
	TargetPlayerId uint32 `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"` // 被使用者
	PingHengCard   *Card  `protobuf:"bytes,3,opt,name=ping_heng_card,json=pingHengCard,proto3" json:"ping_heng_card,omitempty"`        // 使用的这张利诱牌
	// contains filtered or unexported fields
}

通知客户端使用利诱的结果

func (*UsePingHengToc) Descriptor deprecated

func (*UsePingHengToc) Descriptor() ([]byte, []int)

Deprecated: Use UsePingHengToc.ProtoReflect.Descriptor instead.

func (*UsePingHengToc) GetPingHengCard

func (x *UsePingHengToc) GetPingHengCard() *Card

func (*UsePingHengToc) GetPlayerId

func (x *UsePingHengToc) GetPlayerId() uint32

func (*UsePingHengToc) GetTargetPlayerId

func (x *UsePingHengToc) GetTargetPlayerId() uint32

func (*UsePingHengToc) ProtoMessage

func (*UsePingHengToc) ProtoMessage()

func (*UsePingHengToc) ProtoReflect

func (x *UsePingHengToc) ProtoReflect() protoreflect.Message

func (*UsePingHengToc) Reset

func (x *UsePingHengToc) Reset()

func (*UsePingHengToc) String

func (x *UsePingHengToc) String() string

type UsePingHengTos

type UsePingHengTos struct {
	CardId   uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` // 卡牌ID
	PlayerId uint32 `protobuf:"varint,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	Seq      uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

请求使用平衡

func (*UsePingHengTos) Descriptor deprecated

func (*UsePingHengTos) Descriptor() ([]byte, []int)

Deprecated: Use UsePingHengTos.ProtoReflect.Descriptor instead.

func (*UsePingHengTos) GetCardId

func (x *UsePingHengTos) GetCardId() uint32

func (*UsePingHengTos) GetPlayerId

func (x *UsePingHengTos) GetPlayerId() uint32

func (*UsePingHengTos) GetSeq

func (x *UsePingHengTos) GetSeq() uint32

func (*UsePingHengTos) ProtoMessage

func (*UsePingHengTos) ProtoMessage()

func (*UsePingHengTos) ProtoReflect

func (x *UsePingHengTos) ProtoReflect() protoreflect.Message

func (*UsePingHengTos) Reset

func (x *UsePingHengTos) Reset()

func (*UsePingHengTos) String

func (x *UsePingHengTos) String() string

type UsePoYiToc

type UsePoYiToc struct {
	Card          *Card  `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"`                                  // 用的那张破译牌
	PlayerId      uint32 `protobuf:"varint,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`         // 使用者
	MessageCard   *Card  `protobuf:"bytes,3,opt,name=message_card,json=messageCard,proto3" json:"message_card,omitempty"` // 只有使用者才能看到这张情报
	WaitingSecond uint32 `protobuf:"varint,4,opt,name=waiting_second,json=waitingSecond,proto3" json:"waiting_second,omitempty"`
	Seq           uint32 `protobuf:"varint,5,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

通知所有人使用破译,并询问是否翻开并摸一张牌(只有黑情报才能翻开)

func (*UsePoYiToc) Descriptor deprecated

func (*UsePoYiToc) Descriptor() ([]byte, []int)

Deprecated: Use UsePoYiToc.ProtoReflect.Descriptor instead.

func (*UsePoYiToc) GetCard

func (x *UsePoYiToc) GetCard() *Card

func (*UsePoYiToc) GetMessageCard

func (x *UsePoYiToc) GetMessageCard() *Card

func (*UsePoYiToc) GetPlayerId

func (x *UsePoYiToc) GetPlayerId() uint32

func (*UsePoYiToc) GetSeq

func (x *UsePoYiToc) GetSeq() uint32

func (*UsePoYiToc) GetWaitingSecond

func (x *UsePoYiToc) GetWaitingSecond() uint32

func (*UsePoYiToc) ProtoMessage

func (*UsePoYiToc) ProtoMessage()

func (*UsePoYiToc) ProtoReflect

func (x *UsePoYiToc) ProtoReflect() protoreflect.Message

func (*UsePoYiToc) Reset

func (x *UsePoYiToc) Reset()

func (*UsePoYiToc) String

func (x *UsePoYiToc) String() string

type UsePoYiTos

type UsePoYiTos struct {
	CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` // 用的那张破译牌
	Seq    uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

使用破译

func (*UsePoYiTos) Descriptor deprecated

func (*UsePoYiTos) Descriptor() ([]byte, []int)

Deprecated: Use UsePoYiTos.ProtoReflect.Descriptor instead.

func (*UsePoYiTos) GetCardId

func (x *UsePoYiTos) GetCardId() uint32

func (*UsePoYiTos) GetSeq

func (x *UsePoYiTos) GetSeq() uint32

func (*UsePoYiTos) ProtoMessage

func (*UsePoYiTos) ProtoMessage()

func (*UsePoYiTos) ProtoReflect

func (x *UsePoYiTos) ProtoReflect() protoreflect.Message

func (*UsePoYiTos) Reset

func (x *UsePoYiTos) Reset()

func (*UsePoYiTos) String

func (x *UsePoYiTos) String() string

type UseShiTanToc

type UseShiTanToc struct {
	PlayerId       uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`                     // 使用者
	TargetPlayerId uint32 `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"` // 被使用者
	CardId         uint32 `protobuf:"varint,3,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`                           // 此时,只有使用者能看到这个id,其他人都是0
	// contains filtered or unexported fields
}

通知客户端,谁对谁使用了试探

func (*UseShiTanToc) Descriptor deprecated

func (*UseShiTanToc) Descriptor() ([]byte, []int)

Deprecated: Use UseShiTanToc.ProtoReflect.Descriptor instead.

func (*UseShiTanToc) GetCardId

func (x *UseShiTanToc) GetCardId() uint32

func (*UseShiTanToc) GetPlayerId

func (x *UseShiTanToc) GetPlayerId() uint32

func (*UseShiTanToc) GetTargetPlayerId

func (x *UseShiTanToc) GetTargetPlayerId() uint32

func (*UseShiTanToc) ProtoMessage

func (*UseShiTanToc) ProtoMessage()

func (*UseShiTanToc) ProtoReflect

func (x *UseShiTanToc) ProtoReflect() protoreflect.Message

func (*UseShiTanToc) Reset

func (x *UseShiTanToc) Reset()

func (*UseShiTanToc) String

func (x *UseShiTanToc) String() string

type UseShiTanTos

type UseShiTanTos struct {
	CardId   uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` // 卡牌ID
	PlayerId uint32 `protobuf:"varint,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	Seq      uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

请求使用试探

func (*UseShiTanTos) Descriptor deprecated

func (*UseShiTanTos) Descriptor() ([]byte, []int)

Deprecated: Use UseShiTanTos.ProtoReflect.Descriptor instead.

func (*UseShiTanTos) GetCardId

func (x *UseShiTanTos) GetCardId() uint32

func (*UseShiTanTos) GetPlayerId

func (x *UseShiTanTos) GetPlayerId() uint32

func (*UseShiTanTos) GetSeq

func (x *UseShiTanTos) GetSeq() uint32

func (*UseShiTanTos) ProtoMessage

func (*UseShiTanTos) ProtoMessage()

func (*UseShiTanTos) ProtoReflect

func (x *UseShiTanTos) ProtoReflect() protoreflect.Message

func (*UseShiTanTos) Reset

func (x *UseShiTanTos) Reset()

func (*UseShiTanTos) String

func (x *UseShiTanTos) String() string

type UseWeiBiTos

type UseWeiBiTos struct {
	CardId   uint32   `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` // 卡牌ID
	PlayerId uint32   `protobuf:"varint,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	WantType CardType `protobuf:"varint,3,opt,name=want_type,json=wantType,proto3,enum=CardType" json:"want_type,omitempty"` // 声明的卡牌类型(截获/误导/调包/澄清)
	Seq      uint32   `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

请求使用平衡

func (*UseWeiBiTos) Descriptor deprecated

func (*UseWeiBiTos) Descriptor() ([]byte, []int)

Deprecated: Use UseWeiBiTos.ProtoReflect.Descriptor instead.

func (*UseWeiBiTos) GetCardId

func (x *UseWeiBiTos) GetCardId() uint32

func (*UseWeiBiTos) GetPlayerId

func (x *UseWeiBiTos) GetPlayerId() uint32

func (*UseWeiBiTos) GetSeq

func (x *UseWeiBiTos) GetSeq() uint32

func (*UseWeiBiTos) GetWantType

func (x *UseWeiBiTos) GetWantType() CardType

func (*UseWeiBiTos) ProtoMessage

func (*UseWeiBiTos) ProtoMessage()

func (*UseWeiBiTos) ProtoReflect

func (x *UseWeiBiTos) ProtoReflect() protoreflect.Message

func (*UseWeiBiTos) Reset

func (x *UseWeiBiTos) Reset()

func (*UseWeiBiTos) String

func (x *UseWeiBiTos) String() string

type UseWuDaoToc

type UseWuDaoToc struct {
	Card           *Card  `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"`                                              // 用的那张误导牌
	PlayerId       uint32 `protobuf:"varint,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`                     // 使用者
	TargetPlayerId uint32 `protobuf:"varint,3,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"` // 误导的目标
	// contains filtered or unexported fields
}

通知所有人使用误导

func (*UseWuDaoToc) Descriptor deprecated

func (*UseWuDaoToc) Descriptor() ([]byte, []int)

Deprecated: Use UseWuDaoToc.ProtoReflect.Descriptor instead.

func (*UseWuDaoToc) GetCard

func (x *UseWuDaoToc) GetCard() *Card

func (*UseWuDaoToc) GetPlayerId

func (x *UseWuDaoToc) GetPlayerId() uint32

func (*UseWuDaoToc) GetTargetPlayerId

func (x *UseWuDaoToc) GetTargetPlayerId() uint32

func (*UseWuDaoToc) ProtoMessage

func (*UseWuDaoToc) ProtoMessage()

func (*UseWuDaoToc) ProtoReflect

func (x *UseWuDaoToc) ProtoReflect() protoreflect.Message

func (*UseWuDaoToc) Reset

func (x *UseWuDaoToc) Reset()

func (*UseWuDaoToc) String

func (x *UseWuDaoToc) String() string

type UseWuDaoTos

type UseWuDaoTos struct {
	CardId         uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`                           // 用的那张误导牌
	TargetPlayerId uint32 `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"` // 误导的目标
	Seq            uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

使用误导

func (*UseWuDaoTos) Descriptor deprecated

func (*UseWuDaoTos) Descriptor() ([]byte, []int)

Deprecated: Use UseWuDaoTos.ProtoReflect.Descriptor instead.

func (*UseWuDaoTos) GetCardId

func (x *UseWuDaoTos) GetCardId() uint32

func (*UseWuDaoTos) GetSeq

func (x *UseWuDaoTos) GetSeq() uint32

func (*UseWuDaoTos) GetTargetPlayerId

func (x *UseWuDaoTos) GetTargetPlayerId() uint32

func (*UseWuDaoTos) ProtoMessage

func (*UseWuDaoTos) ProtoMessage()

func (*UseWuDaoTos) ProtoReflect

func (x *UseWuDaoTos) ProtoReflect() protoreflect.Message

func (*UseWuDaoTos) Reset

func (x *UseWuDaoTos) Reset()

func (*UseWuDaoTos) String

func (x *UseWuDaoTos) String() string

type WaitForChengQingToc

type WaitForChengQingToc struct {
	DiePlayerId     uint32 `protobuf:"varint,1,opt,name=die_player_id,json=diePlayerId,proto3" json:"die_player_id,omitempty"`             // 谁濒死
	WaitingPlayerId uint32 `protobuf:"varint,2,opt,name=waiting_player_id,json=waitingPlayerId,proto3" json:"waiting_player_id,omitempty"` // 读秒的玩家ID
	WaitingSecond   uint32 `protobuf:"varint,3,opt,name=waiting_second,json=waitingSecond,proto3" json:"waiting_second,omitempty"`         // 读多少秒
	Seq             uint32 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

濒死求澄清

func (*WaitForChengQingToc) Descriptor deprecated

func (*WaitForChengQingToc) Descriptor() ([]byte, []int)

Deprecated: Use WaitForChengQingToc.ProtoReflect.Descriptor instead.

func (*WaitForChengQingToc) GetDiePlayerId

func (x *WaitForChengQingToc) GetDiePlayerId() uint32

func (*WaitForChengQingToc) GetSeq

func (x *WaitForChengQingToc) GetSeq() uint32

func (*WaitForChengQingToc) GetWaitingPlayerId

func (x *WaitForChengQingToc) GetWaitingPlayerId() uint32

func (*WaitForChengQingToc) GetWaitingSecond

func (x *WaitForChengQingToc) GetWaitingSecond() uint32

func (*WaitForChengQingToc) ProtoMessage

func (*WaitForChengQingToc) ProtoMessage()

func (*WaitForChengQingToc) ProtoReflect

func (x *WaitForChengQingToc) ProtoReflect() protoreflect.Message

func (*WaitForChengQingToc) Reset

func (x *WaitForChengQingToc) Reset()

func (*WaitForChengQingToc) String

func (x *WaitForChengQingToc) String() string

type WaitForDieGiveCardToc

type WaitForDieGiveCardToc struct {
	PlayerId      uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	WaitingSecond uint32 `protobuf:"varint,2,opt,name=waiting_second,json=waitingSecond,proto3" json:"waiting_second,omitempty"` // 读多少秒
	Seq           uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

等待死亡时给三张牌

func (*WaitForDieGiveCardToc) Descriptor deprecated

func (*WaitForDieGiveCardToc) Descriptor() ([]byte, []int)

Deprecated: Use WaitForDieGiveCardToc.ProtoReflect.Descriptor instead.

func (*WaitForDieGiveCardToc) GetPlayerId

func (x *WaitForDieGiveCardToc) GetPlayerId() uint32

func (*WaitForDieGiveCardToc) GetSeq

func (x *WaitForDieGiveCardToc) GetSeq() uint32

func (*WaitForDieGiveCardToc) GetWaitingSecond

func (x *WaitForDieGiveCardToc) GetWaitingSecond() uint32

func (*WaitForDieGiveCardToc) ProtoMessage

func (*WaitForDieGiveCardToc) ProtoMessage()

func (*WaitForDieGiveCardToc) ProtoReflect

func (x *WaitForDieGiveCardToc) ProtoReflect() protoreflect.Message

func (*WaitForDieGiveCardToc) Reset

func (x *WaitForDieGiveCardToc) Reset()

func (*WaitForDieGiveCardToc) String

func (x *WaitForDieGiveCardToc) String() string

type WeiBiGiveCardToc

type WeiBiGiveCardToc struct {
	PlayerId       uint32 `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	TargetPlayerId uint32 `protobuf:"varint,2,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	Card           *Card  `protobuf:"bytes,3,opt,name=card,proto3" json:"card,omitempty"` // 给出去的卡牌
	// contains filtered or unexported fields
}

通知所有人威逼给牌

func (*WeiBiGiveCardToc) Descriptor deprecated

func (*WeiBiGiveCardToc) Descriptor() ([]byte, []int)

Deprecated: Use WeiBiGiveCardToc.ProtoReflect.Descriptor instead.

func (*WeiBiGiveCardToc) GetCard

func (x *WeiBiGiveCardToc) GetCard() *Card

func (*WeiBiGiveCardToc) GetPlayerId

func (x *WeiBiGiveCardToc) GetPlayerId() uint32

func (*WeiBiGiveCardToc) GetTargetPlayerId

func (x *WeiBiGiveCardToc) GetTargetPlayerId() uint32

func (*WeiBiGiveCardToc) ProtoMessage

func (*WeiBiGiveCardToc) ProtoMessage()

func (*WeiBiGiveCardToc) ProtoReflect

func (x *WeiBiGiveCardToc) ProtoReflect() protoreflect.Message

func (*WeiBiGiveCardToc) Reset

func (x *WeiBiGiveCardToc) Reset()

func (*WeiBiGiveCardToc) String

func (x *WeiBiGiveCardToc) String() string

type WeiBiGiveCardTos

type WeiBiGiveCardTos struct {
	CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` // 给出去的卡牌ID
	Seq    uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

威逼给牌

func (*WeiBiGiveCardTos) Descriptor deprecated

func (*WeiBiGiveCardTos) Descriptor() ([]byte, []int)

Deprecated: Use WeiBiGiveCardTos.ProtoReflect.Descriptor instead.

func (*WeiBiGiveCardTos) GetCardId

func (x *WeiBiGiveCardTos) GetCardId() uint32

func (*WeiBiGiveCardTos) GetSeq

func (x *WeiBiGiveCardTos) GetSeq() uint32

func (*WeiBiGiveCardTos) ProtoMessage

func (*WeiBiGiveCardTos) ProtoMessage()

func (*WeiBiGiveCardTos) ProtoReflect

func (x *WeiBiGiveCardTos) ProtoReflect() protoreflect.Message

func (*WeiBiGiveCardTos) Reset

func (x *WeiBiGiveCardTos) Reset()

func (*WeiBiGiveCardTos) String

func (x *WeiBiGiveCardTos) String() string

type WeiBiShowHandCardToc

type WeiBiShowHandCardToc struct {
	Card           *Card    `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"` // 使用的那张威逼卡牌
	PlayerId       uint32   `protobuf:"varint,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	WantType       CardType `protobuf:"varint,3,opt,name=want_type,json=wantType,proto3,enum=CardType" json:"want_type,omitempty"` // 声明的卡牌类型(截获/误导/调包/澄清)
	TargetPlayerId uint32   `protobuf:"varint,4,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	Cards          []*Card  `protobuf:"bytes,5,rep,name=cards,proto3" json:"cards,omitempty"` // 展示所有手牌,只有使用者能看到,其他人收到的都是空数组
	// contains filtered or unexported fields
}

通知所有人威逼的牌没有,展示所有手牌

func (*WeiBiShowHandCardToc) Descriptor deprecated

func (*WeiBiShowHandCardToc) Descriptor() ([]byte, []int)

Deprecated: Use WeiBiShowHandCardToc.ProtoReflect.Descriptor instead.

func (*WeiBiShowHandCardToc) GetCard

func (x *WeiBiShowHandCardToc) GetCard() *Card

func (*WeiBiShowHandCardToc) GetCards

func (x *WeiBiShowHandCardToc) GetCards() []*Card

func (*WeiBiShowHandCardToc) GetPlayerId

func (x *WeiBiShowHandCardToc) GetPlayerId() uint32

func (*WeiBiShowHandCardToc) GetTargetPlayerId

func (x *WeiBiShowHandCardToc) GetTargetPlayerId() uint32

func (*WeiBiShowHandCardToc) GetWantType

func (x *WeiBiShowHandCardToc) GetWantType() CardType

func (*WeiBiShowHandCardToc) ProtoMessage

func (*WeiBiShowHandCardToc) ProtoMessage()

func (*WeiBiShowHandCardToc) ProtoReflect

func (x *WeiBiShowHandCardToc) ProtoReflect() protoreflect.Message

func (*WeiBiShowHandCardToc) Reset

func (x *WeiBiShowHandCardToc) Reset()

func (*WeiBiShowHandCardToc) String

func (x *WeiBiShowHandCardToc) String() string

type WeiBiWaitForGiveCardToc

type WeiBiWaitForGiveCardToc struct {
	Card           *Card    `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"` // 使用的那张威逼卡牌
	PlayerId       uint32   `protobuf:"varint,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	TargetPlayerId uint32   `protobuf:"varint,3,opt,name=target_player_id,json=targetPlayerId,proto3" json:"target_player_id,omitempty"`
	WantType       CardType `protobuf:"varint,4,opt,name=want_type,json=wantType,proto3,enum=CardType" json:"want_type,omitempty"`  // 声明的卡牌类型(截获/误导/调包/澄清)
	WaitingSecond  uint32   `protobuf:"varint,5,opt,name=waiting_second,json=waitingSecond,proto3" json:"waiting_second,omitempty"` // 读多少秒
	Seq            uint32   `protobuf:"varint,6,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

威逼等待给牌

func (*WeiBiWaitForGiveCardToc) Descriptor deprecated

func (*WeiBiWaitForGiveCardToc) Descriptor() ([]byte, []int)

Deprecated: Use WeiBiWaitForGiveCardToc.ProtoReflect.Descriptor instead.

func (*WeiBiWaitForGiveCardToc) GetCard

func (x *WeiBiWaitForGiveCardToc) GetCard() *Card

func (*WeiBiWaitForGiveCardToc) GetPlayerId

func (x *WeiBiWaitForGiveCardToc) GetPlayerId() uint32

func (*WeiBiWaitForGiveCardToc) GetSeq

func (x *WeiBiWaitForGiveCardToc) GetSeq() uint32

func (*WeiBiWaitForGiveCardToc) GetTargetPlayerId

func (x *WeiBiWaitForGiveCardToc) GetTargetPlayerId() uint32

func (*WeiBiWaitForGiveCardToc) GetWaitingSecond

func (x *WeiBiWaitForGiveCardToc) GetWaitingSecond() uint32

func (*WeiBiWaitForGiveCardToc) GetWantType

func (x *WeiBiWaitForGiveCardToc) GetWantType() CardType

func (*WeiBiWaitForGiveCardToc) ProtoMessage

func (*WeiBiWaitForGiveCardToc) ProtoMessage()

func (*WeiBiWaitForGiveCardToc) ProtoReflect

func (x *WeiBiWaitForGiveCardToc) ProtoReflect() protoreflect.Message

func (*WeiBiWaitForGiveCardToc) Reset

func (x *WeiBiWaitForGiveCardToc) Reset()

func (*WeiBiWaitForGiveCardToc) String

func (x *WeiBiWaitForGiveCardToc) String() string

Jump to

Keyboard shortcuts

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