123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.28.0
- // protoc v3.19.4
- // source: pb/cmd.proto
- package pb
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- structpb "google.golang.org/protobuf/types/known/structpb"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- //*
- //Player Command Request Bean
- type PlayerFetchCsInfoReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
- GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
- CsId string `protobuf:"bytes,3,opt,name=cs_id,json=csId,proto3" json:"cs_id,omitempty"`
- }
- func (x *PlayerFetchCsInfoReq) Reset() {
- *x = PlayerFetchCsInfoReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PlayerFetchCsInfoReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PlayerFetchCsInfoReq) ProtoMessage() {}
- func (x *PlayerFetchCsInfoReq) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use PlayerFetchCsInfoReq.ProtoReflect.Descriptor instead.
- func (*PlayerFetchCsInfoReq) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{0}
- }
- func (x *PlayerFetchCsInfoReq) GetPlayerId() string {
- if x != nil {
- return x.PlayerId
- }
- return ""
- }
- func (x *PlayerFetchCsInfoReq) GetGameId() string {
- if x != nil {
- return x.GameId
- }
- return ""
- }
- func (x *PlayerFetchCsInfoReq) GetCsId() string {
- if x != nil {
- return x.CsId
- }
- return ""
- }
- type PlayerFetchCsInfoResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- CsId string `protobuf:"bytes,1,opt,name=cs_id,json=csId,proto3" json:"cs_id,omitempty"`
- CsNickname string `protobuf:"bytes,2,opt,name=cs_nickname,json=csNickname,proto3" json:"cs_nickname,omitempty"`
- CsAvatarUrl string `protobuf:"bytes,3,opt,name=cs_avatar_url,json=csAvatarUrl,proto3" json:"cs_avatar_url,omitempty"`
- CsSignature string `protobuf:"bytes,4,opt,name=cs_signature,json=csSignature,proto3" json:"cs_signature,omitempty"`
- OnlineStatus int64 `protobuf:"varint,5,opt,name=online_status,json=onlineStatus,proto3" json:"online_status,omitempty"`
- }
- func (x *PlayerFetchCsInfoResp) Reset() {
- *x = PlayerFetchCsInfoResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PlayerFetchCsInfoResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PlayerFetchCsInfoResp) ProtoMessage() {}
- func (x *PlayerFetchCsInfoResp) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use PlayerFetchCsInfoResp.ProtoReflect.Descriptor instead.
- func (*PlayerFetchCsInfoResp) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{1}
- }
- func (x *PlayerFetchCsInfoResp) GetCsId() string {
- if x != nil {
- return x.CsId
- }
- return ""
- }
- func (x *PlayerFetchCsInfoResp) GetCsNickname() string {
- if x != nil {
- return x.CsNickname
- }
- return ""
- }
- func (x *PlayerFetchCsInfoResp) GetCsAvatarUrl() string {
- if x != nil {
- return x.CsAvatarUrl
- }
- return ""
- }
- func (x *PlayerFetchCsInfoResp) GetCsSignature() string {
- if x != nil {
- return x.CsSignature
- }
- return ""
- }
- func (x *PlayerFetchCsInfoResp) GetOnlineStatus() int64 {
- if x != nil {
- return x.OnlineStatus
- }
- return 0
- }
- type PlayerFetchHistoryMsgReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
- GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
- Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
- Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
- }
- func (x *PlayerFetchHistoryMsgReq) Reset() {
- *x = PlayerFetchHistoryMsgReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PlayerFetchHistoryMsgReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PlayerFetchHistoryMsgReq) ProtoMessage() {}
- func (x *PlayerFetchHistoryMsgReq) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use PlayerFetchHistoryMsgReq.ProtoReflect.Descriptor instead.
- func (*PlayerFetchHistoryMsgReq) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{2}
- }
- func (x *PlayerFetchHistoryMsgReq) GetPlayerId() string {
- if x != nil {
- return x.PlayerId
- }
- return ""
- }
- func (x *PlayerFetchHistoryMsgReq) GetGameId() string {
- if x != nil {
- return x.GameId
- }
- return ""
- }
- func (x *PlayerFetchHistoryMsgReq) GetPage() int64 {
- if x != nil {
- return x.Page
- }
- return 0
- }
- func (x *PlayerFetchHistoryMsgReq) GetLimit() int64 {
- if x != nil {
- return x.Limit
- }
- return 0
- }
- type PlayerFetchHistoryMsgResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- TotalPage int64 `protobuf:"varint,1,opt,name=total_page,json=totalPage,proto3" json:"total_page,omitempty"`
- CurrentPage int64 `protobuf:"varint,2,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
- List *structpb.ListValue `protobuf:"bytes,3,opt,name=list,proto3" json:"list,omitempty"`
- }
- func (x *PlayerFetchHistoryMsgResp) Reset() {
- *x = PlayerFetchHistoryMsgResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PlayerFetchHistoryMsgResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PlayerFetchHistoryMsgResp) ProtoMessage() {}
- func (x *PlayerFetchHistoryMsgResp) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use PlayerFetchHistoryMsgResp.ProtoReflect.Descriptor instead.
- func (*PlayerFetchHistoryMsgResp) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{3}
- }
- func (x *PlayerFetchHistoryMsgResp) GetTotalPage() int64 {
- if x != nil {
- return x.TotalPage
- }
- return 0
- }
- func (x *PlayerFetchHistoryMsgResp) GetCurrentPage() int64 {
- if x != nil {
- return x.CurrentPage
- }
- return 0
- }
- func (x *PlayerFetchHistoryMsgResp) GetList() *structpb.ListValue {
- if x != nil {
- return x.List
- }
- return nil
- }
- type PlayerSendMsgReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
- GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
- Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
- Pic string `protobuf:"bytes,5,opt,name=pic,proto3" json:"pic,omitempty"`
- }
- func (x *PlayerSendMsgReq) Reset() {
- *x = PlayerSendMsgReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PlayerSendMsgReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PlayerSendMsgReq) ProtoMessage() {}
- func (x *PlayerSendMsgReq) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use PlayerSendMsgReq.ProtoReflect.Descriptor instead.
- func (*PlayerSendMsgReq) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{4}
- }
- func (x *PlayerSendMsgReq) GetPlayerId() string {
- if x != nil {
- return x.PlayerId
- }
- return ""
- }
- func (x *PlayerSendMsgReq) GetGameId() string {
- if x != nil {
- return x.GameId
- }
- return ""
- }
- func (x *PlayerSendMsgReq) GetContent() string {
- if x != nil {
- return x.Content
- }
- return ""
- }
- func (x *PlayerSendMsgReq) GetPic() string {
- if x != nil {
- return x.Pic
- }
- return ""
- }
- type PlayerSendMsgResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *PlayerSendMsgResp) Reset() {
- *x = PlayerSendMsgResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PlayerSendMsgResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PlayerSendMsgResp) ProtoMessage() {}
- func (x *PlayerSendMsgResp) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use PlayerSendMsgResp.ProtoReflect.Descriptor instead.
- func (*PlayerSendMsgResp) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{5}
- }
- //*
- //Cs Command Request Bean
- type CsFetchPlayerQueueReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
- }
- func (x *CsFetchPlayerQueueReq) Reset() {
- *x = CsFetchPlayerQueueReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CsFetchPlayerQueueReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CsFetchPlayerQueueReq) ProtoMessage() {}
- func (x *CsFetchPlayerQueueReq) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CsFetchPlayerQueueReq.ProtoReflect.Descriptor instead.
- func (*CsFetchPlayerQueueReq) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{6}
- }
- func (x *CsFetchPlayerQueueReq) GetLimit() int64 {
- if x != nil {
- return x.Limit
- }
- return 0
- }
- type CsFetchPlayerQueueResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
- List *structpb.ListValue `protobuf:"bytes,2,opt,name=list,proto3" json:"list,omitempty"`
- }
- func (x *CsFetchPlayerQueueResp) Reset() {
- *x = CsFetchPlayerQueueResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CsFetchPlayerQueueResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CsFetchPlayerQueueResp) ProtoMessage() {}
- func (x *CsFetchPlayerQueueResp) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CsFetchPlayerQueueResp.ProtoReflect.Descriptor instead.
- func (*CsFetchPlayerQueueResp) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{7}
- }
- func (x *CsFetchPlayerQueueResp) GetTotal() int64 {
- if x != nil {
- return x.Total
- }
- return 0
- }
- func (x *CsFetchPlayerQueueResp) GetList() *structpb.ListValue {
- if x != nil {
- return x.List
- }
- return nil
- }
- type CsConnectPlayerReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- CsId string `protobuf:"bytes,1,opt,name=cs_id,json=csId,proto3" json:"cs_id,omitempty"`
- PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
- GameId string `protobuf:"bytes,3,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
- }
- func (x *CsConnectPlayerReq) Reset() {
- *x = CsConnectPlayerReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CsConnectPlayerReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CsConnectPlayerReq) ProtoMessage() {}
- func (x *CsConnectPlayerReq) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CsConnectPlayerReq.ProtoReflect.Descriptor instead.
- func (*CsConnectPlayerReq) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{8}
- }
- func (x *CsConnectPlayerReq) GetCsId() string {
- if x != nil {
- return x.CsId
- }
- return ""
- }
- func (x *CsConnectPlayerReq) GetPlayerId() string {
- if x != nil {
- return x.PlayerId
- }
- return ""
- }
- func (x *CsConnectPlayerReq) GetGameId() string {
- if x != nil {
- return x.GameId
- }
- return ""
- }
- type CsConnectPlayerResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *CsConnectPlayerResp) Reset() {
- *x = CsConnectPlayerResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CsConnectPlayerResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CsConnectPlayerResp) ProtoMessage() {}
- func (x *CsConnectPlayerResp) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CsConnectPlayerResp.ProtoReflect.Descriptor instead.
- func (*CsConnectPlayerResp) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{9}
- }
- type CsFetchHistoryChatReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- CsId string `protobuf:"bytes,1,opt,name=cs_id,json=csId,proto3" json:"cs_id,omitempty"`
- Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
- Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
- }
- func (x *CsFetchHistoryChatReq) Reset() {
- *x = CsFetchHistoryChatReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CsFetchHistoryChatReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CsFetchHistoryChatReq) ProtoMessage() {}
- func (x *CsFetchHistoryChatReq) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CsFetchHistoryChatReq.ProtoReflect.Descriptor instead.
- func (*CsFetchHistoryChatReq) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{10}
- }
- func (x *CsFetchHistoryChatReq) GetCsId() string {
- if x != nil {
- return x.CsId
- }
- return ""
- }
- func (x *CsFetchHistoryChatReq) GetPage() int64 {
- if x != nil {
- return x.Page
- }
- return 0
- }
- func (x *CsFetchHistoryChatReq) GetLimit() int64 {
- if x != nil {
- return x.Limit
- }
- return 0
- }
- type CsFetchHistoryChatResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- TotalPage int64 `protobuf:"varint,1,opt,name=total_page,json=totalPage,proto3" json:"total_page,omitempty"`
- CurrentPage int64 `protobuf:"varint,2,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
- List *structpb.ListValue `protobuf:"bytes,3,opt,name=list,proto3" json:"list,omitempty"`
- }
- func (x *CsFetchHistoryChatResp) Reset() {
- *x = CsFetchHistoryChatResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CsFetchHistoryChatResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CsFetchHistoryChatResp) ProtoMessage() {}
- func (x *CsFetchHistoryChatResp) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CsFetchHistoryChatResp.ProtoReflect.Descriptor instead.
- func (*CsFetchHistoryChatResp) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{11}
- }
- func (x *CsFetchHistoryChatResp) GetTotalPage() int64 {
- if x != nil {
- return x.TotalPage
- }
- return 0
- }
- func (x *CsFetchHistoryChatResp) GetCurrentPage() int64 {
- if x != nil {
- return x.CurrentPage
- }
- return 0
- }
- func (x *CsFetchHistoryChatResp) GetList() *structpb.ListValue {
- if x != nil {
- return x.List
- }
- return nil
- }
- type CsFetchHistoryMsgReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- CsId string `protobuf:"bytes,1,opt,name=cs_id,json=csId,proto3" json:"cs_id,omitempty"`
- PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
- GameId string `protobuf:"bytes,3,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
- Page int64 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
- Limit int64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
- }
- func (x *CsFetchHistoryMsgReq) Reset() {
- *x = CsFetchHistoryMsgReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CsFetchHistoryMsgReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CsFetchHistoryMsgReq) ProtoMessage() {}
- func (x *CsFetchHistoryMsgReq) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CsFetchHistoryMsgReq.ProtoReflect.Descriptor instead.
- func (*CsFetchHistoryMsgReq) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{12}
- }
- func (x *CsFetchHistoryMsgReq) GetCsId() string {
- if x != nil {
- return x.CsId
- }
- return ""
- }
- func (x *CsFetchHistoryMsgReq) GetPlayerId() string {
- if x != nil {
- return x.PlayerId
- }
- return ""
- }
- func (x *CsFetchHistoryMsgReq) GetGameId() string {
- if x != nil {
- return x.GameId
- }
- return ""
- }
- func (x *CsFetchHistoryMsgReq) GetPage() int64 {
- if x != nil {
- return x.Page
- }
- return 0
- }
- func (x *CsFetchHistoryMsgReq) GetLimit() int64 {
- if x != nil {
- return x.Limit
- }
- return 0
- }
- type CsFetchHistoryMsgResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- CsId string `protobuf:"bytes,1,opt,name=cs_id,json=csId,proto3" json:"cs_id,omitempty"`
- TotalPage int64 `protobuf:"varint,2,opt,name=total_page,json=totalPage,proto3" json:"total_page,omitempty"`
- CurrentPage int64 `protobuf:"varint,3,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
- List *structpb.ListValue `protobuf:"bytes,4,opt,name=list,proto3" json:"list,omitempty"`
- }
- func (x *CsFetchHistoryMsgResp) Reset() {
- *x = CsFetchHistoryMsgResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CsFetchHistoryMsgResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CsFetchHistoryMsgResp) ProtoMessage() {}
- func (x *CsFetchHistoryMsgResp) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CsFetchHistoryMsgResp.ProtoReflect.Descriptor instead.
- func (*CsFetchHistoryMsgResp) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{13}
- }
- func (x *CsFetchHistoryMsgResp) GetCsId() string {
- if x != nil {
- return x.CsId
- }
- return ""
- }
- func (x *CsFetchHistoryMsgResp) GetTotalPage() int64 {
- if x != nil {
- return x.TotalPage
- }
- return 0
- }
- func (x *CsFetchHistoryMsgResp) GetCurrentPage() int64 {
- if x != nil {
- return x.CurrentPage
- }
- return 0
- }
- func (x *CsFetchHistoryMsgResp) GetList() *structpb.ListValue {
- if x != nil {
- return x.List
- }
- return nil
- }
- type CsSendMsgReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- CsId string `protobuf:"bytes,1,opt,name=cs_id,json=csId,proto3" json:"cs_id,omitempty"`
- PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
- GameId string `protobuf:"bytes,3,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
- Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
- Pic string `protobuf:"bytes,5,opt,name=pic,proto3" json:"pic,omitempty"`
- }
- func (x *CsSendMsgReq) Reset() {
- *x = CsSendMsgReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CsSendMsgReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CsSendMsgReq) ProtoMessage() {}
- func (x *CsSendMsgReq) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CsSendMsgReq.ProtoReflect.Descriptor instead.
- func (*CsSendMsgReq) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{14}
- }
- func (x *CsSendMsgReq) GetCsId() string {
- if x != nil {
- return x.CsId
- }
- return ""
- }
- func (x *CsSendMsgReq) GetPlayerId() string {
- if x != nil {
- return x.PlayerId
- }
- return ""
- }
- func (x *CsSendMsgReq) GetGameId() string {
- if x != nil {
- return x.GameId
- }
- return ""
- }
- func (x *CsSendMsgReq) GetContent() string {
- if x != nil {
- return x.Content
- }
- return ""
- }
- func (x *CsSendMsgReq) GetPic() string {
- if x != nil {
- return x.Pic
- }
- return ""
- }
- type CsSendMsgResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *CsSendMsgResp) Reset() {
- *x = CsSendMsgResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_pb_cmd_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CsSendMsgResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CsSendMsgResp) ProtoMessage() {}
- func (x *CsSendMsgResp) ProtoReflect() protoreflect.Message {
- mi := &file_pb_cmd_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CsSendMsgResp.ProtoReflect.Descriptor instead.
- func (*CsSendMsgResp) Descriptor() ([]byte, []int) {
- return file_pb_cmd_proto_rawDescGZIP(), []int{15}
- }
- var File_pb_cmd_proto protoreflect.FileDescriptor
- var file_pb_cmd_proto_rawDesc = []byte{
- 0x0a, 0x0c, 0x70, 0x62, 0x2f, 0x63, 0x6d, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
- 0x70, 0x62, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x22, 0x61, 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x43,
- 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79,
- 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61,
- 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x13,
- 0x0a, 0x05, 0x63, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63,
- 0x73, 0x49, 0x64, 0x22, 0xb9, 0x01, 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65,
- 0x74, 0x63, 0x68, 0x43, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x13, 0x0a,
- 0x05, 0x63, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x73,
- 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x73, 0x5f, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x73, 0x4e, 0x69, 0x63, 0x6b, 0x6e,
- 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x73, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
- 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x73, 0x41, 0x76,
- 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x73, 0x5f, 0x73, 0x69,
- 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63,
- 0x73, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x6e,
- 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x0c, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
- 0x7a, 0x0a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69,
- 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x70,
- 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
- 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x61, 0x6d, 0x65,
- 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49,
- 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x8d, 0x01, 0x0a, 0x19,
- 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f,
- 0x72, 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74,
- 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74,
- 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72,
- 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
- 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x6c,
- 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74,
- 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x74, 0x0a, 0x10, 0x50,
- 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12,
- 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07,
- 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67,
- 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
- 0x10, 0x0a, 0x03, 0x70, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69,
- 0x63, 0x22, 0x13, 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x6e, 0x64, 0x4d,
- 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x22, 0x2d, 0x0a, 0x15, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63,
- 0x68, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x12,
- 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
- 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x5e, 0x0a, 0x16, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68,
- 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12,
- 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
- 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x2e, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
- 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x5f, 0x0a, 0x12, 0x43, 0x73, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
- 0x63, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x13, 0x0a, 0x05, 0x63,
- 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x73, 0x49, 0x64,
- 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a,
- 0x07, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
- 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x43, 0x73, 0x43, 0x6f, 0x6e, 0x6e,
- 0x65, 0x63, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x22, 0x56, 0x0a,
- 0x15, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x43,
- 0x68, 0x61, 0x74, 0x52, 0x65, 0x71, 0x12, 0x13, 0x0a, 0x05, 0x63, 0x73, 0x5f, 0x69, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x73, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70,
- 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12,
- 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
- 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63,
- 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70,
- 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x12,
- 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x61,
- 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6c, 0x69,
- 0x73, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x14, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69,
- 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x13, 0x0a, 0x05, 0x63,
- 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x73, 0x49, 0x64,
- 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a,
- 0x07, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
- 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69,
- 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
- 0x22, 0x9e, 0x01, 0x0a, 0x15, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74,
- 0x6f, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x13, 0x0a, 0x05, 0x63, 0x73,
- 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x73, 0x49, 0x64, 0x12,
- 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x12, 0x21,
- 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x67,
- 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6c, 0x69, 0x73,
- 0x74, 0x22, 0x85, 0x01, 0x0a, 0x0c, 0x43, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52,
- 0x65, 0x71, 0x12, 0x13, 0x0a, 0x05, 0x63, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x63, 0x73, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65,
- 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79,
- 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a,
- 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x63, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x63, 0x22, 0x0f, 0x0a, 0x0d, 0x43, 0x73, 0x53,
- 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x32, 0xbd, 0x04, 0x0a, 0x03, 0x43,
- 0x6d, 0x64, 0x12, 0x48, 0x0a, 0x11, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63,
- 0x68, 0x43, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61,
- 0x79, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x43, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
- 0x71, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65, 0x74,
- 0x63, 0x68, 0x43, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x54, 0x0a, 0x15,
- 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f,
- 0x72, 0x79, 0x4d, 0x73, 0x67, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65,
- 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x73, 0x67,
- 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46,
- 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65,
- 0x73, 0x70, 0x12, 0x3c, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x6e, 0x64,
- 0x4d, 0x73, 0x67, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53,
- 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x50,
- 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70,
- 0x12, 0x4b, 0x0a, 0x12, 0x63, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x79, 0x65,
- 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x46, 0x65,
- 0x74, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65,
- 0x71, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x50, 0x6c,
- 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a,
- 0x0f, 0x63, 0x73, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
- 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50,
- 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73,
- 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73,
- 0x70, 0x12, 0x4b, 0x0a, 0x12, 0x63, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74,
- 0x6f, 0x72, 0x79, 0x43, 0x68, 0x61, 0x74, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x46,
- 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x68, 0x61, 0x74, 0x52,
- 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48,
- 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x48,
- 0x0a, 0x11, 0x63, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
- 0x4d, 0x73, 0x67, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68,
- 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e,
- 0x70, 0x62, 0x2e, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
- 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x09, 0x63, 0x73, 0x53, 0x65,
- 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x53, 0x65, 0x6e,
- 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x53,
- 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f,
- 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_pb_cmd_proto_rawDescOnce sync.Once
- file_pb_cmd_proto_rawDescData = file_pb_cmd_proto_rawDesc
- )
- func file_pb_cmd_proto_rawDescGZIP() []byte {
- file_pb_cmd_proto_rawDescOnce.Do(func() {
- file_pb_cmd_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_cmd_proto_rawDescData)
- })
- return file_pb_cmd_proto_rawDescData
- }
- var file_pb_cmd_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
- var file_pb_cmd_proto_goTypes = []interface{}{
- (*PlayerFetchCsInfoReq)(nil), // 0: pb.PlayerFetchCsInfoReq
- (*PlayerFetchCsInfoResp)(nil), // 1: pb.PlayerFetchCsInfoResp
- (*PlayerFetchHistoryMsgReq)(nil), // 2: pb.PlayerFetchHistoryMsgReq
- (*PlayerFetchHistoryMsgResp)(nil), // 3: pb.PlayerFetchHistoryMsgResp
- (*PlayerSendMsgReq)(nil), // 4: pb.PlayerSendMsgReq
- (*PlayerSendMsgResp)(nil), // 5: pb.PlayerSendMsgResp
- (*CsFetchPlayerQueueReq)(nil), // 6: pb.CsFetchPlayerQueueReq
- (*CsFetchPlayerQueueResp)(nil), // 7: pb.CsFetchPlayerQueueResp
- (*CsConnectPlayerReq)(nil), // 8: pb.CsConnectPlayerReq
- (*CsConnectPlayerResp)(nil), // 9: pb.CsConnectPlayerResp
- (*CsFetchHistoryChatReq)(nil), // 10: pb.CsFetchHistoryChatReq
- (*CsFetchHistoryChatResp)(nil), // 11: pb.CsFetchHistoryChatResp
- (*CsFetchHistoryMsgReq)(nil), // 12: pb.CsFetchHistoryMsgReq
- (*CsFetchHistoryMsgResp)(nil), // 13: pb.CsFetchHistoryMsgResp
- (*CsSendMsgReq)(nil), // 14: pb.CsSendMsgReq
- (*CsSendMsgResp)(nil), // 15: pb.CsSendMsgResp
- (*structpb.ListValue)(nil), // 16: google.protobuf.ListValue
- }
- var file_pb_cmd_proto_depIdxs = []int32{
- 16, // 0: pb.PlayerFetchHistoryMsgResp.list:type_name -> google.protobuf.ListValue
- 16, // 1: pb.CsFetchPlayerQueueResp.list:type_name -> google.protobuf.ListValue
- 16, // 2: pb.CsFetchHistoryChatResp.list:type_name -> google.protobuf.ListValue
- 16, // 3: pb.CsFetchHistoryMsgResp.list:type_name -> google.protobuf.ListValue
- 0, // 4: pb.Cmd.playerFetchCsInfo:input_type -> pb.PlayerFetchCsInfoReq
- 2, // 5: pb.Cmd.playerFetchHistoryMsg:input_type -> pb.PlayerFetchHistoryMsgReq
- 4, // 6: pb.Cmd.playerSendMsg:input_type -> pb.PlayerSendMsgReq
- 6, // 7: pb.Cmd.csFetchPlayerQueue:input_type -> pb.CsFetchPlayerQueueReq
- 8, // 8: pb.Cmd.csConnectPlayer:input_type -> pb.CsConnectPlayerReq
- 10, // 9: pb.Cmd.csFetchHistoryChat:input_type -> pb.CsFetchHistoryChatReq
- 12, // 10: pb.Cmd.csFetchHistoryMsg:input_type -> pb.CsFetchHistoryMsgReq
- 14, // 11: pb.Cmd.csSendMsg:input_type -> pb.CsSendMsgReq
- 1, // 12: pb.Cmd.playerFetchCsInfo:output_type -> pb.PlayerFetchCsInfoResp
- 3, // 13: pb.Cmd.playerFetchHistoryMsg:output_type -> pb.PlayerFetchHistoryMsgResp
- 5, // 14: pb.Cmd.playerSendMsg:output_type -> pb.PlayerSendMsgResp
- 7, // 15: pb.Cmd.csFetchPlayerQueue:output_type -> pb.CsFetchPlayerQueueResp
- 9, // 16: pb.Cmd.csConnectPlayer:output_type -> pb.CsConnectPlayerResp
- 11, // 17: pb.Cmd.csFetchHistoryChat:output_type -> pb.CsFetchHistoryChatResp
- 13, // 18: pb.Cmd.csFetchHistoryMsg:output_type -> pb.CsFetchHistoryMsgResp
- 15, // 19: pb.Cmd.csSendMsg:output_type -> pb.CsSendMsgResp
- 12, // [12:20] is the sub-list for method output_type
- 4, // [4:12] is the sub-list for method input_type
- 4, // [4:4] is the sub-list for extension type_name
- 4, // [4:4] is the sub-list for extension extendee
- 0, // [0:4] is the sub-list for field type_name
- }
- func init() { file_pb_cmd_proto_init() }
- func file_pb_cmd_proto_init() {
- if File_pb_cmd_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_pb_cmd_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlayerFetchCsInfoReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlayerFetchCsInfoResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlayerFetchHistoryMsgReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlayerFetchHistoryMsgResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlayerSendMsgReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlayerSendMsgResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CsFetchPlayerQueueReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CsFetchPlayerQueueResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CsConnectPlayerReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CsConnectPlayerResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CsFetchHistoryChatReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CsFetchHistoryChatResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CsFetchHistoryMsgReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CsFetchHistoryMsgResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CsSendMsgReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_pb_cmd_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CsSendMsgResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_pb_cmd_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 16,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_pb_cmd_proto_goTypes,
- DependencyIndexes: file_pb_cmd_proto_depIdxs,
- MessageInfos: file_pb_cmd_proto_msgTypes,
- }.Build()
- File_pb_cmd_proto = out.File
- file_pb_cmd_proto_rawDesc = nil
- file_pb_cmd_proto_goTypes = nil
- file_pb_cmd_proto_depIdxs = nil
- }
|