// Code generated by protoc-gen-go. DO NOT EDIT. // source: ds.proto /* Package rpc_ds is a generated protocol buffer package. It is generated from these files: ds.proto It has these top-level messages: AllianceItem CreateRoomRequest CreateRoomReply BuyinRequest BuyinReply PlayerEndInfo GameEndRequest GameEndReply RoomEndRequest RoomEndReply ShowCardRequest ShowCardReply */ package rpc_ds import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import protocol "common/protocol" import ( context "golang.org/x/net/context" grpc "google.golang.org/grpc" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type AllianceItem struct { AllianceName string `protobuf:"bytes,1,opt,name=alliance_name,json=allianceName" json:"alliance_name,omitempty"` Clubids []uint32 `protobuf:"varint,2,rep,packed,name=Clubids" json:"Clubids,omitempty"` } func (m *AllianceItem) Reset() { *m = AllianceItem{} } func (m *AllianceItem) String() string { return proto.CompactTextString(m) } func (*AllianceItem) ProtoMessage() {} func (*AllianceItem) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } func (m *AllianceItem) GetAllianceName() string { if m != nil { return m.AllianceName } return "" } func (m *AllianceItem) GetClubids() []uint32 { if m != nil { return m.Clubids } return nil } type CreateRoomRequest struct { RoomUuid uint64 `protobuf:"varint,1,opt,name=room_uuid,json=roomUuid" json:"room_uuid,omitempty"` Param *protocol.RoomParams `protobuf:"bytes,2,opt,name=param" json:"param,omitempty"` Createtime uint32 `protobuf:"varint,3,opt,name=createtime" json:"createtime,omitempty"` Ownername string `protobuf:"bytes,4,opt,name=ownername" json:"ownername,omitempty"` Ownerhead string `protobuf:"bytes,5,opt,name=ownerhead" json:"ownerhead,omitempty"` Roomid uint32 `protobuf:"varint,6,opt,name=roomid" json:"roomid,omitempty"` Creatorid uint32 `protobuf:"varint,7,opt,name=creatorid" json:"creatorid,omitempty"` Allianceid uint32 `protobuf:"varint,8,opt,name=allianceid" json:"allianceid,omitempty"` Alliancename string `protobuf:"bytes,9,opt,name=alliancename" json:"alliancename,omitempty"` Ownerclubname string `protobuf:"bytes,10,opt,name=ownerclubname" json:"ownerclubname,omitempty"` AllianceClubIds []uint32 `protobuf:"varint,11,rep,packed,name=alliance_club_ids,json=allianceClubIds" json:"alliance_club_ids,omitempty"` MapAllianceClubIds map[uint32]*AllianceItem `protobuf:"bytes,12,rep,name=mapAllianceClubIds" json:"mapAllianceClubIds,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` ClubAdminids []uint32 `protobuf:"varint,13,rep,packed,name=club_adminids,json=clubAdminids" json:"club_adminids,omitempty"` } func (m *CreateRoomRequest) Reset() { *m = CreateRoomRequest{} } func (m *CreateRoomRequest) String() string { return proto.CompactTextString(m) } func (*CreateRoomRequest) ProtoMessage() {} func (*CreateRoomRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } func (m *CreateRoomRequest) GetRoomUuid() uint64 { if m != nil { return m.RoomUuid } return 0 } func (m *CreateRoomRequest) GetParam() *protocol.RoomParams { if m != nil { return m.Param } return nil } func (m *CreateRoomRequest) GetCreatetime() uint32 { if m != nil { return m.Createtime } return 0 } func (m *CreateRoomRequest) GetOwnername() string { if m != nil { return m.Ownername } return "" } func (m *CreateRoomRequest) GetOwnerhead() string { if m != nil { return m.Ownerhead } return "" } func (m *CreateRoomRequest) GetRoomid() uint32 { if m != nil { return m.Roomid } return 0 } func (m *CreateRoomRequest) GetCreatorid() uint32 { if m != nil { return m.Creatorid } return 0 } func (m *CreateRoomRequest) GetAllianceid() uint32 { if m != nil { return m.Allianceid } return 0 } func (m *CreateRoomRequest) GetAlliancename() string { if m != nil { return m.Alliancename } return "" } func (m *CreateRoomRequest) GetOwnerclubname() string { if m != nil { return m.Ownerclubname } return "" } func (m *CreateRoomRequest) GetAllianceClubIds() []uint32 { if m != nil { return m.AllianceClubIds } return nil } func (m *CreateRoomRequest) GetMapAllianceClubIds() map[uint32]*AllianceItem { if m != nil { return m.MapAllianceClubIds } return nil } func (m *CreateRoomRequest) GetClubAdminids() []uint32 { if m != nil { return m.ClubAdminids } return nil } type CreateRoomReply struct { Result uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` } func (m *CreateRoomReply) Reset() { *m = CreateRoomReply{} } func (m *CreateRoomReply) String() string { return proto.CompactTextString(m) } func (*CreateRoomReply) ProtoMessage() {} func (*CreateRoomReply) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } func (m *CreateRoomReply) GetResult() uint32 { if m != nil { return m.Result } return 0 } type BuyinRequest struct { RoomUuid uint64 `protobuf:"varint,1,opt,name=room_uuid,json=roomUuid" json:"room_uuid,omitempty"` Roomid uint32 `protobuf:"varint,2,opt,name=roomid" json:"roomid,omitempty"` Buyin *protocol.PlayerBuyinInfo `protobuf:"bytes,3,opt,name=buyin" json:"buyin,omitempty"` Rolehead string `protobuf:"bytes,4,opt,name=rolehead" json:"rolehead,omitempty"` Clubid uint32 `protobuf:"varint,5,opt,name=clubid" json:"clubid,omitempty"` RoomCreatetime uint32 `protobuf:"varint,6,opt,name=room_createtime,json=roomCreatetime" json:"room_createtime,omitempty"` Playername string `protobuf:"bytes,7,opt,name=playername" json:"playername,omitempty"` Clubname string `protobuf:"bytes,8,opt,name=clubname" json:"clubname,omitempty"` OwnerId uint32 `protobuf:"varint,9,opt,name=owner_id,json=ownerId" json:"owner_id,omitempty"` CreateClubUid uint32 `protobuf:"varint,10,opt,name=create_club_uid,json=createClubUid" json:"create_club_uid,omitempty"` Allianceid uint32 `protobuf:"varint,11,opt,name=allianceid" json:"allianceid,omitempty"` } func (m *BuyinRequest) Reset() { *m = BuyinRequest{} } func (m *BuyinRequest) String() string { return proto.CompactTextString(m) } func (*BuyinRequest) ProtoMessage() {} func (*BuyinRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} } func (m *BuyinRequest) GetRoomUuid() uint64 { if m != nil { return m.RoomUuid } return 0 } func (m *BuyinRequest) GetRoomid() uint32 { if m != nil { return m.Roomid } return 0 } func (m *BuyinRequest) GetBuyin() *protocol.PlayerBuyinInfo { if m != nil { return m.Buyin } return nil } func (m *BuyinRequest) GetRolehead() string { if m != nil { return m.Rolehead } return "" } func (m *BuyinRequest) GetClubid() uint32 { if m != nil { return m.Clubid } return 0 } func (m *BuyinRequest) GetRoomCreatetime() uint32 { if m != nil { return m.RoomCreatetime } return 0 } func (m *BuyinRequest) GetPlayername() string { if m != nil { return m.Playername } return "" } func (m *BuyinRequest) GetClubname() string { if m != nil { return m.Clubname } return "" } func (m *BuyinRequest) GetOwnerId() uint32 { if m != nil { return m.OwnerId } return 0 } func (m *BuyinRequest) GetCreateClubUid() uint32 { if m != nil { return m.CreateClubUid } return 0 } func (m *BuyinRequest) GetAllianceid() uint32 { if m != nil { return m.Allianceid } return 0 } type BuyinReply struct { Result uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` } func (m *BuyinReply) Reset() { *m = BuyinReply{} } func (m *BuyinReply) String() string { return proto.CompactTextString(m) } func (*BuyinReply) ProtoMessage() {} func (*BuyinReply) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} } func (m *BuyinReply) GetResult() uint32 { if m != nil { return m.Result } return 0 } type PlayerEndInfo struct { Playerid uint32 `protobuf:"varint,1,opt,name=playerid" json:"playerid,omitempty"` Winbet int64 `protobuf:"varint,2,opt,name=winbet" json:"winbet,omitempty"` Playername string `protobuf:"bytes,3,opt,name=playername" json:"playername,omitempty"` Playerhead string `protobuf:"bytes,4,opt,name=playerhead" json:"playerhead,omitempty"` TotalBuyin int64 `protobuf:"varint,5,opt,name=total_buyin,json=totalBuyin" json:"total_buyin,omitempty"` CurrRecord int64 `protobuf:"varint,6,opt,name=curr_record,json=currRecord" json:"curr_record,omitempty"` Handcount uint32 `protobuf:"varint,7,opt,name=handcount" json:"handcount,omitempty"` LastBuyinClubid uint32 `protobuf:"varint,8,opt,name=last_buyin_clubid,json=lastBuyinClubid" json:"last_buyin_clubid,omitempty"` } func (m *PlayerEndInfo) Reset() { *m = PlayerEndInfo{} } func (m *PlayerEndInfo) String() string { return proto.CompactTextString(m) } func (*PlayerEndInfo) ProtoMessage() {} func (*PlayerEndInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} } func (m *PlayerEndInfo) GetPlayerid() uint32 { if m != nil { return m.Playerid } return 0 } func (m *PlayerEndInfo) GetWinbet() int64 { if m != nil { return m.Winbet } return 0 } func (m *PlayerEndInfo) GetPlayername() string { if m != nil { return m.Playername } return "" } func (m *PlayerEndInfo) GetPlayerhead() string { if m != nil { return m.Playerhead } return "" } func (m *PlayerEndInfo) GetTotalBuyin() int64 { if m != nil { return m.TotalBuyin } return 0 } func (m *PlayerEndInfo) GetCurrRecord() int64 { if m != nil { return m.CurrRecord } return 0 } func (m *PlayerEndInfo) GetHandcount() uint32 { if m != nil { return m.Handcount } return 0 } func (m *PlayerEndInfo) GetLastBuyinClubid() uint32 { if m != nil { return m.LastBuyinClubid } return 0 } type GameEndRequest struct { RoomUuid uint64 `protobuf:"varint,1,opt,name=room_uuid,json=roomUuid" json:"room_uuid,omitempty"` Roomid uint32 `protobuf:"varint,2,opt,name=roomid" json:"roomid,omitempty"` TotalHandcount uint32 `protobuf:"varint,3,opt,name=total_handcount,json=totalHandcount" json:"total_handcount,omitempty"` Maxpot uint32 `protobuf:"varint,4,opt,name=maxpot" json:"maxpot,omitempty"` InuranceWinbet int64 `protobuf:"varint,5,opt,name=inurance_winbet,json=inuranceWinbet" json:"inurance_winbet,omitempty"` Players []*PlayerEndInfo `protobuf:"bytes,6,rep,name=players" json:"players,omitempty"` GameRecord *protocol.GameRecord `protobuf:"bytes,7,opt,name=game_record,json=gameRecord" json:"game_record,omitempty"` GameUuid uint64 `protobuf:"varint,8,opt,name=game_uuid,json=gameUuid" json:"game_uuid,omitempty"` RoomMaxPot int64 `protobuf:"varint,9,opt,name=room_max_pot,json=roomMaxPot" json:"room_max_pot,omitempty"` RoomTotalBuyin int64 `protobuf:"varint,10,opt,name=room_total_buyin,json=roomTotalBuyin" json:"room_total_buyin,omitempty"` GameStartTime int32 `protobuf:"varint,11,opt,name=game_start_time,json=gameStartTime" json:"game_start_time,omitempty"` JackpotWinbet int64 `protobuf:"varint,12,opt,name=jackpot_winbet,json=jackpotWinbet" json:"jackpot_winbet,omitempty"` GameMode uint32 `protobuf:"varint,13,opt,name=game_mode,json=gameMode" json:"game_mode,omitempty"` ShortFull uint32 `protobuf:"varint,14,opt,name=short_full,json=shortFull" json:"short_full,omitempty"` Replay string `protobuf:"bytes,15,opt,name=replay" json:"replay,omitempty"` } func (m *GameEndRequest) Reset() { *m = GameEndRequest{} } func (m *GameEndRequest) String() string { return proto.CompactTextString(m) } func (*GameEndRequest) ProtoMessage() {} func (*GameEndRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} } func (m *GameEndRequest) GetRoomUuid() uint64 { if m != nil { return m.RoomUuid } return 0 } func (m *GameEndRequest) GetRoomid() uint32 { if m != nil { return m.Roomid } return 0 } func (m *GameEndRequest) GetTotalHandcount() uint32 { if m != nil { return m.TotalHandcount } return 0 } func (m *GameEndRequest) GetMaxpot() uint32 { if m != nil { return m.Maxpot } return 0 } func (m *GameEndRequest) GetInuranceWinbet() int64 { if m != nil { return m.InuranceWinbet } return 0 } func (m *GameEndRequest) GetPlayers() []*PlayerEndInfo { if m != nil { return m.Players } return nil } func (m *GameEndRequest) GetGameRecord() *protocol.GameRecord { if m != nil { return m.GameRecord } return nil } func (m *GameEndRequest) GetGameUuid() uint64 { if m != nil { return m.GameUuid } return 0 } func (m *GameEndRequest) GetRoomMaxPot() int64 { if m != nil { return m.RoomMaxPot } return 0 } func (m *GameEndRequest) GetRoomTotalBuyin() int64 { if m != nil { return m.RoomTotalBuyin } return 0 } func (m *GameEndRequest) GetGameStartTime() int32 { if m != nil { return m.GameStartTime } return 0 } func (m *GameEndRequest) GetJackpotWinbet() int64 { if m != nil { return m.JackpotWinbet } return 0 } func (m *GameEndRequest) GetGameMode() uint32 { if m != nil { return m.GameMode } return 0 } func (m *GameEndRequest) GetShortFull() uint32 { if m != nil { return m.ShortFull } return 0 } func (m *GameEndRequest) GetReplay() string { if m != nil { return m.Replay } return "" } type GameEndReply struct { Result uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` } func (m *GameEndReply) Reset() { *m = GameEndReply{} } func (m *GameEndReply) String() string { return proto.CompactTextString(m) } func (*GameEndReply) ProtoMessage() {} func (*GameEndReply) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} } func (m *GameEndReply) GetResult() uint32 { if m != nil { return m.Result } return 0 } type RoomEndRequest struct { RoomUuid uint64 `protobuf:"varint,1,opt,name=room_uuid,json=roomUuid" json:"room_uuid,omitempty"` Roomid uint32 `protobuf:"varint,2,opt,name=roomid" json:"roomid,omitempty"` RoomCreateTime int32 `protobuf:"varint,3,opt,name=room_create_time,json=roomCreateTime" json:"room_create_time,omitempty"` RoomTimeLimit int32 `protobuf:"varint,4,opt,name=room_time_limit,json=roomTimeLimit" json:"room_time_limit,omitempty"` RoomOwnerName string `protobuf:"bytes,5,opt,name=room_owner_name,json=roomOwnerName" json:"room_owner_name,omitempty"` RoomRuleBlindEnum int32 `protobuf:"varint,6,opt,name=room_rule_blind_enum,json=roomRuleBlindEnum" json:"room_rule_blind_enum,omitempty"` RoomGameHand int32 `protobuf:"varint,7,opt,name=room_game_hand,json=roomGameHand" json:"room_game_hand,omitempty"` RoomMaxPot int64 `protobuf:"varint,8,opt,name=room_max_pot,json=roomMaxPot" json:"room_max_pot,omitempty"` RoomTotalBuyin int64 `protobuf:"varint,9,opt,name=room_total_buyin,json=roomTotalBuyin" json:"room_total_buyin,omitempty"` Settles []*protocol.PlayerSettlement `protobuf:"bytes,10,rep,name=settles" json:"settles,omitempty"` } func (m *RoomEndRequest) Reset() { *m = RoomEndRequest{} } func (m *RoomEndRequest) String() string { return proto.CompactTextString(m) } func (*RoomEndRequest) ProtoMessage() {} func (*RoomEndRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} } func (m *RoomEndRequest) GetRoomUuid() uint64 { if m != nil { return m.RoomUuid } return 0 } func (m *RoomEndRequest) GetRoomid() uint32 { if m != nil { return m.Roomid } return 0 } func (m *RoomEndRequest) GetRoomCreateTime() int32 { if m != nil { return m.RoomCreateTime } return 0 } func (m *RoomEndRequest) GetRoomTimeLimit() int32 { if m != nil { return m.RoomTimeLimit } return 0 } func (m *RoomEndRequest) GetRoomOwnerName() string { if m != nil { return m.RoomOwnerName } return "" } func (m *RoomEndRequest) GetRoomRuleBlindEnum() int32 { if m != nil { return m.RoomRuleBlindEnum } return 0 } func (m *RoomEndRequest) GetRoomGameHand() int32 { if m != nil { return m.RoomGameHand } return 0 } func (m *RoomEndRequest) GetRoomMaxPot() int64 { if m != nil { return m.RoomMaxPot } return 0 } func (m *RoomEndRequest) GetRoomTotalBuyin() int64 { if m != nil { return m.RoomTotalBuyin } return 0 } func (m *RoomEndRequest) GetSettles() []*protocol.PlayerSettlement { if m != nil { return m.Settles } return nil } type RoomEndReply struct { Result uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` } func (m *RoomEndReply) Reset() { *m = RoomEndReply{} } func (m *RoomEndReply) String() string { return proto.CompactTextString(m) } func (*RoomEndReply) ProtoMessage() {} func (*RoomEndReply) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} } func (m *RoomEndReply) GetResult() uint32 { if m != nil { return m.Result } return 0 } type ShowCardRequest struct { Roomid uint32 `protobuf:"varint,1,opt,name=roomid" json:"roomid,omitempty"` RoomUuid uint64 `protobuf:"varint,2,opt,name=room_uuid,json=roomUuid" json:"room_uuid,omitempty"` Uid uint32 `protobuf:"varint,3,opt,name=uid" json:"uid,omitempty"` GameUuid uint64 `protobuf:"varint,4,opt,name=game_uuid,json=gameUuid" json:"game_uuid,omitempty"` Cards int32 `protobuf:"varint,5,opt,name=cards" json:"cards,omitempty"` ShowAll bool `protobuf:"varint,6,opt,name=show_all,json=showAll" json:"show_all,omitempty"` } func (m *ShowCardRequest) Reset() { *m = ShowCardRequest{} } func (m *ShowCardRequest) String() string { return proto.CompactTextString(m) } func (*ShowCardRequest) ProtoMessage() {} func (*ShowCardRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} } func (m *ShowCardRequest) GetRoomid() uint32 { if m != nil { return m.Roomid } return 0 } func (m *ShowCardRequest) GetRoomUuid() uint64 { if m != nil { return m.RoomUuid } return 0 } func (m *ShowCardRequest) GetUid() uint32 { if m != nil { return m.Uid } return 0 } func (m *ShowCardRequest) GetGameUuid() uint64 { if m != nil { return m.GameUuid } return 0 } func (m *ShowCardRequest) GetCards() int32 { if m != nil { return m.Cards } return 0 } func (m *ShowCardRequest) GetShowAll() bool { if m != nil { return m.ShowAll } return false } type ShowCardReply struct { Result uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` } func (m *ShowCardReply) Reset() { *m = ShowCardReply{} } func (m *ShowCardReply) String() string { return proto.CompactTextString(m) } func (*ShowCardReply) ProtoMessage() {} func (*ShowCardReply) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} } func (m *ShowCardReply) GetResult() uint32 { if m != nil { return m.Result } return 0 } func init() { proto.RegisterType((*AllianceItem)(nil), "rpc_ds.AllianceItem") proto.RegisterType((*CreateRoomRequest)(nil), "rpc_ds.CreateRoomRequest") proto.RegisterType((*CreateRoomReply)(nil), "rpc_ds.CreateRoomReply") proto.RegisterType((*BuyinRequest)(nil), "rpc_ds.BuyinRequest") proto.RegisterType((*BuyinReply)(nil), "rpc_ds.BuyinReply") proto.RegisterType((*PlayerEndInfo)(nil), "rpc_ds.PlayerEndInfo") proto.RegisterType((*GameEndRequest)(nil), "rpc_ds.GameEndRequest") proto.RegisterType((*GameEndReply)(nil), "rpc_ds.GameEndReply") proto.RegisterType((*RoomEndRequest)(nil), "rpc_ds.RoomEndRequest") proto.RegisterType((*RoomEndReply)(nil), "rpc_ds.RoomEndReply") proto.RegisterType((*ShowCardRequest)(nil), "rpc_ds.ShowCardRequest") proto.RegisterType((*ShowCardReply)(nil), "rpc_ds.ShowCardReply") } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 // Client API for DataSevice service type DataSeviceClient interface { CreateRoom(ctx context.Context, in *CreateRoomRequest, opts ...grpc.CallOption) (*CreateRoomReply, error) Buyin(ctx context.Context, in *BuyinRequest, opts ...grpc.CallOption) (*BuyinReply, error) GameEnd(ctx context.Context, in *GameEndRequest, opts ...grpc.CallOption) (*GameEndReply, error) RoomEnd(ctx context.Context, in *RoomEndRequest, opts ...grpc.CallOption) (*RoomEndReply, error) ShowCard(ctx context.Context, in *ShowCardRequest, opts ...grpc.CallOption) (*ShowCardReply, error) } type dataSeviceClient struct { cc *grpc.ClientConn } func NewDataSeviceClient(cc *grpc.ClientConn) DataSeviceClient { return &dataSeviceClient{cc} } func (c *dataSeviceClient) CreateRoom(ctx context.Context, in *CreateRoomRequest, opts ...grpc.CallOption) (*CreateRoomReply, error) { out := new(CreateRoomReply) err := grpc.Invoke(ctx, "/rpc_ds.DataSevice/CreateRoom", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *dataSeviceClient) Buyin(ctx context.Context, in *BuyinRequest, opts ...grpc.CallOption) (*BuyinReply, error) { out := new(BuyinReply) err := grpc.Invoke(ctx, "/rpc_ds.DataSevice/Buyin", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *dataSeviceClient) GameEnd(ctx context.Context, in *GameEndRequest, opts ...grpc.CallOption) (*GameEndReply, error) { out := new(GameEndReply) err := grpc.Invoke(ctx, "/rpc_ds.DataSevice/GameEnd", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *dataSeviceClient) RoomEnd(ctx context.Context, in *RoomEndRequest, opts ...grpc.CallOption) (*RoomEndReply, error) { out := new(RoomEndReply) err := grpc.Invoke(ctx, "/rpc_ds.DataSevice/RoomEnd", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *dataSeviceClient) ShowCard(ctx context.Context, in *ShowCardRequest, opts ...grpc.CallOption) (*ShowCardReply, error) { out := new(ShowCardReply) err := grpc.Invoke(ctx, "/rpc_ds.DataSevice/ShowCard", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } // Server API for DataSevice service type DataSeviceServer interface { CreateRoom(context.Context, *CreateRoomRequest) (*CreateRoomReply, error) Buyin(context.Context, *BuyinRequest) (*BuyinReply, error) GameEnd(context.Context, *GameEndRequest) (*GameEndReply, error) RoomEnd(context.Context, *RoomEndRequest) (*RoomEndReply, error) ShowCard(context.Context, *ShowCardRequest) (*ShowCardReply, error) } func RegisterDataSeviceServer(s *grpc.Server, srv DataSeviceServer) { s.RegisterService(&_DataSevice_serviceDesc, srv) } func _DataSevice_CreateRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateRoomRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DataSeviceServer).CreateRoom(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/rpc_ds.DataSevice/CreateRoom", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DataSeviceServer).CreateRoom(ctx, req.(*CreateRoomRequest)) } return interceptor(ctx, in, info, handler) } func _DataSevice_Buyin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BuyinRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DataSeviceServer).Buyin(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/rpc_ds.DataSevice/Buyin", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DataSeviceServer).Buyin(ctx, req.(*BuyinRequest)) } return interceptor(ctx, in, info, handler) } func _DataSevice_GameEnd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GameEndRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DataSeviceServer).GameEnd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/rpc_ds.DataSevice/GameEnd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DataSeviceServer).GameEnd(ctx, req.(*GameEndRequest)) } return interceptor(ctx, in, info, handler) } func _DataSevice_RoomEnd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(RoomEndRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DataSeviceServer).RoomEnd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/rpc_ds.DataSevice/RoomEnd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DataSeviceServer).RoomEnd(ctx, req.(*RoomEndRequest)) } return interceptor(ctx, in, info, handler) } func _DataSevice_ShowCard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ShowCardRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DataSeviceServer).ShowCard(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/rpc_ds.DataSevice/ShowCard", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DataSeviceServer).ShowCard(ctx, req.(*ShowCardRequest)) } return interceptor(ctx, in, info, handler) } var _DataSevice_serviceDesc = grpc.ServiceDesc{ ServiceName: "rpc_ds.DataSevice", HandlerType: (*DataSeviceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRoom", Handler: _DataSevice_CreateRoom_Handler, }, { MethodName: "Buyin", Handler: _DataSevice_Buyin_Handler, }, { MethodName: "GameEnd", Handler: _DataSevice_GameEnd_Handler, }, { MethodName: "RoomEnd", Handler: _DataSevice_RoomEnd_Handler, }, { MethodName: "ShowCard", Handler: _DataSevice_ShowCard_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ds.proto", } func init() { proto.RegisterFile("ds.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ // 1213 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x56, 0x5d, 0x6f, 0x1b, 0x45, 0x17, 0xae, 0xed, 0xac, 0x3f, 0x8e, 0xbd, 0x76, 0x33, 0x4a, 0xd3, 0x8d, 0xdf, 0x97, 0x62, 0x2d, 0x21, 0x31, 0xbd, 0x48, 0x44, 0x0a, 0x12, 0x20, 0x6e, 0x92, 0x10, 0x20, 0x12, 0x81, 0x68, 0xd2, 0x8a, 0x0b, 0x2e, 0x56, 0xe3, 0xdd, 0x69, 0xb3, 0x74, 0x76, 0xd7, 0xec, 0x47, 0x13, 0xff, 0x0a, 0x6e, 0xb9, 0x47, 0xe2, 0x3f, 0xf0, 0x93, 0xb8, 0xe3, 0x27, 0xa0, 0x73, 0x66, 0xbf, 0x6c, 0xa7, 0x51, 0xa5, 0xde, 0x79, 0x9e, 0x39, 0x73, 0xe6, 0xcc, 0xf3, 0x3c, 0xe7, 0xac, 0xa1, 0xeb, 0x25, 0x07, 0xf3, 0x38, 0x4a, 0x23, 0xd6, 0x8e, 0xe7, 0xae, 0xe3, 0x25, 0xe3, 0x21, 0x2d, 0xdd, 0x48, 0x69, 0xdc, 0xbe, 0x80, 0xc1, 0xb1, 0x52, 0xbe, 0x08, 0x5d, 0x79, 0x9e, 0xca, 0x80, 0x7d, 0x04, 0xa6, 0xc8, 0xd7, 0x4e, 0x28, 0x02, 0x69, 0x35, 0x26, 0x8d, 0x69, 0x8f, 0x0f, 0x0a, 0xf0, 0x47, 0x11, 0x48, 0x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