Documentation ¶
Overview ¶
Package v1 is a generated blademaster stub package. This code was generated with go-common/app/tool/bmgen/protoc-gen-bm v0.1.
It is generated from these files:
api.proto
Index ¶
- Constants
- Variables
- func RegisterGiftBMServer(e *bm.Engine, server GiftBMServer)
- func RegisterGiftServer(s *grpc.Server, srv GiftServer)
- type DailyBagReq
- func (*DailyBagReq) Descriptor() ([]byte, []int)
- func (m *DailyBagReq) Marshal() (dAtA []byte, err error)
- func (m *DailyBagReq) MarshalTo(dAtA []byte) (int, error)
- func (*DailyBagReq) ProtoMessage()
- func (m *DailyBagReq) Reset()
- func (m *DailyBagReq) Size() (n int)
- func (m *DailyBagReq) String() string
- func (m *DailyBagReq) Unmarshal(dAtA []byte) error
- func (m *DailyBagReq) XXX_DiscardUnknown()
- func (m *DailyBagReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DailyBagReq) XXX_Merge(src proto.Message)
- func (m *DailyBagReq) XXX_Size() int
- func (m *DailyBagReq) XXX_Unmarshal(b []byte) error
- type DailyBagResp
- func (*DailyBagResp) Descriptor() ([]byte, []int)
- func (m *DailyBagResp) Marshal() (dAtA []byte, err error)
- func (m *DailyBagResp) MarshalTo(dAtA []byte) (int, error)
- func (*DailyBagResp) ProtoMessage()
- func (m *DailyBagResp) Reset()
- func (m *DailyBagResp) Size() (n int)
- func (m *DailyBagResp) String() string
- func (m *DailyBagResp) Unmarshal(dAtA []byte) error
- func (m *DailyBagResp) XXX_DiscardUnknown()
- func (m *DailyBagResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DailyBagResp) XXX_Merge(src proto.Message)
- func (m *DailyBagResp) XXX_Size() int
- func (m *DailyBagResp) XXX_Unmarshal(b []byte) error
- type DailyBagResp_BagList
- func (*DailyBagResp_BagList) Descriptor() ([]byte, []int)
- func (m *DailyBagResp_BagList) Marshal() (dAtA []byte, err error)
- func (m *DailyBagResp_BagList) MarshalTo(dAtA []byte) (int, error)
- func (*DailyBagResp_BagList) ProtoMessage()
- func (m *DailyBagResp_BagList) Reset()
- func (m *DailyBagResp_BagList) Size() (n int)
- func (m *DailyBagResp_BagList) String() string
- func (m *DailyBagResp_BagList) Unmarshal(dAtA []byte) error
- func (m *DailyBagResp_BagList) XXX_DiscardUnknown()
- func (m *DailyBagResp_BagList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DailyBagResp_BagList) XXX_Merge(src proto.Message)
- func (m *DailyBagResp_BagList) XXX_Size() int
- func (m *DailyBagResp_BagList) XXX_Unmarshal(b []byte) error
- type DailyBagResp_BagList_GiftList
- func (*DailyBagResp_BagList_GiftList) Descriptor() ([]byte, []int)
- func (m *DailyBagResp_BagList_GiftList) Marshal() (dAtA []byte, err error)
- func (m *DailyBagResp_BagList_GiftList) MarshalTo(dAtA []byte) (int, error)
- func (*DailyBagResp_BagList_GiftList) ProtoMessage()
- func (m *DailyBagResp_BagList_GiftList) Reset()
- func (m *DailyBagResp_BagList_GiftList) Size() (n int)
- func (m *DailyBagResp_BagList_GiftList) String() string
- func (m *DailyBagResp_BagList_GiftList) Unmarshal(dAtA []byte) error
- func (m *DailyBagResp_BagList_GiftList) XXX_DiscardUnknown()
- func (m *DailyBagResp_BagList_GiftList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DailyBagResp_BagList_GiftList) XXX_Merge(src proto.Message)
- func (m *DailyBagResp_BagList_GiftList) XXX_Size() int
- func (m *DailyBagResp_BagList_GiftList) XXX_Unmarshal(b []byte) error
- type DailyBagResp_BagList_Source
- func (*DailyBagResp_BagList_Source) Descriptor() ([]byte, []int)
- func (m *DailyBagResp_BagList_Source) Marshal() (dAtA []byte, err error)
- func (m *DailyBagResp_BagList_Source) MarshalTo(dAtA []byte) (int, error)
- func (*DailyBagResp_BagList_Source) ProtoMessage()
- func (m *DailyBagResp_BagList_Source) Reset()
- func (m *DailyBagResp_BagList_Source) Size() (n int)
- func (m *DailyBagResp_BagList_Source) String() string
- func (m *DailyBagResp_BagList_Source) Unmarshal(dAtA []byte) error
- func (m *DailyBagResp_BagList_Source) XXX_DiscardUnknown()
- func (m *DailyBagResp_BagList_Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DailyBagResp_BagList_Source) XXX_Merge(src proto.Message)
- func (m *DailyBagResp_BagList_Source) XXX_Size() int
- func (m *DailyBagResp_BagList_Source) XXX_Unmarshal(b []byte) error
- type DailyBagResp_BagToast
- func (*DailyBagResp_BagToast) Descriptor() ([]byte, []int)
- func (m *DailyBagResp_BagToast) Marshal() (dAtA []byte, err error)
- func (m *DailyBagResp_BagToast) MarshalTo(dAtA []byte) (int, error)
- func (*DailyBagResp_BagToast) ProtoMessage()
- func (m *DailyBagResp_BagToast) Reset()
- func (m *DailyBagResp_BagToast) Size() (n int)
- func (m *DailyBagResp_BagToast) String() string
- func (m *DailyBagResp_BagToast) Unmarshal(dAtA []byte) error
- func (m *DailyBagResp_BagToast) XXX_DiscardUnknown()
- func (m *DailyBagResp_BagToast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DailyBagResp_BagToast) XXX_Merge(src proto.Message)
- func (m *DailyBagResp_BagToast) XXX_Size() int
- func (m *DailyBagResp_BagToast) XXX_Unmarshal(b []byte) error
- type DiscountGiftListReq
- func (*DiscountGiftListReq) Descriptor() ([]byte, []int)
- func (m *DiscountGiftListReq) Marshal() (dAtA []byte, err error)
- func (m *DiscountGiftListReq) MarshalTo(dAtA []byte) (int, error)
- func (*DiscountGiftListReq) ProtoMessage()
- func (m *DiscountGiftListReq) Reset()
- func (m *DiscountGiftListReq) Size() (n int)
- func (m *DiscountGiftListReq) String() string
- func (m *DiscountGiftListReq) Unmarshal(dAtA []byte) error
- func (m *DiscountGiftListReq) XXX_DiscardUnknown()
- func (m *DiscountGiftListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DiscountGiftListReq) XXX_Merge(src proto.Message)
- func (m *DiscountGiftListReq) XXX_Size() int
- func (m *DiscountGiftListReq) XXX_Unmarshal(b []byte) error
- type DiscountGiftListResp
- func (*DiscountGiftListResp) Descriptor() ([]byte, []int)
- func (m *DiscountGiftListResp) Marshal() (dAtA []byte, err error)
- func (m *DiscountGiftListResp) MarshalTo(dAtA []byte) (int, error)
- func (*DiscountGiftListResp) ProtoMessage()
- func (m *DiscountGiftListResp) Reset()
- func (m *DiscountGiftListResp) Size() (n int)
- func (m *DiscountGiftListResp) String() string
- func (m *DiscountGiftListResp) Unmarshal(dAtA []byte) error
- func (m *DiscountGiftListResp) XXX_DiscardUnknown()
- func (m *DiscountGiftListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DiscountGiftListResp) XXX_Merge(src proto.Message)
- func (m *DiscountGiftListResp) XXX_Size() int
- func (m *DiscountGiftListResp) XXX_Unmarshal(b []byte) error
- type DiscountGiftListResp_GiftInfo
- func (*DiscountGiftListResp_GiftInfo) Descriptor() ([]byte, []int)
- func (m *DiscountGiftListResp_GiftInfo) Marshal() (dAtA []byte, err error)
- func (m *DiscountGiftListResp_GiftInfo) MarshalTo(dAtA []byte) (int, error)
- func (*DiscountGiftListResp_GiftInfo) ProtoMessage()
- func (m *DiscountGiftListResp_GiftInfo) Reset()
- func (m *DiscountGiftListResp_GiftInfo) Size() (n int)
- func (m *DiscountGiftListResp_GiftInfo) String() string
- func (m *DiscountGiftListResp_GiftInfo) Unmarshal(dAtA []byte) error
- func (m *DiscountGiftListResp_GiftInfo) XXX_DiscardUnknown()
- func (m *DiscountGiftListResp_GiftInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DiscountGiftListResp_GiftInfo) XXX_Merge(src proto.Message)
- func (m *DiscountGiftListResp_GiftInfo) XXX_Size() int
- func (m *DiscountGiftListResp_GiftInfo) XXX_Unmarshal(b []byte) error
- type GiftBMServer
- type GiftClient
- type GiftConfigReq
- func (*GiftConfigReq) Descriptor() ([]byte, []int)
- func (m *GiftConfigReq) Marshal() (dAtA []byte, err error)
- func (m *GiftConfigReq) MarshalTo(dAtA []byte) (int, error)
- func (*GiftConfigReq) ProtoMessage()
- func (m *GiftConfigReq) Reset()
- func (m *GiftConfigReq) Size() (n int)
- func (m *GiftConfigReq) String() string
- func (m *GiftConfigReq) Unmarshal(dAtA []byte) error
- func (m *GiftConfigReq) XXX_DiscardUnknown()
- func (m *GiftConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GiftConfigReq) XXX_Merge(src proto.Message)
- func (m *GiftConfigReq) XXX_Size() int
- func (m *GiftConfigReq) XXX_Unmarshal(b []byte) error
- type GiftConfigResp
- func (*GiftConfigResp) Descriptor() ([]byte, []int)
- func (m *GiftConfigResp) Marshal() (dAtA []byte, err error)
- func (m *GiftConfigResp) MarshalTo(dAtA []byte) (int, error)
- func (*GiftConfigResp) ProtoMessage()
- func (m *GiftConfigResp) Reset()
- func (m *GiftConfigResp) Size() (n int)
- func (m *GiftConfigResp) String() string
- func (m *GiftConfigResp) Unmarshal(dAtA []byte) error
- func (m *GiftConfigResp) XXX_DiscardUnknown()
- func (m *GiftConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GiftConfigResp) XXX_Merge(src proto.Message)
- func (m *GiftConfigResp) XXX_Size() int
- func (m *GiftConfigResp) XXX_Unmarshal(b []byte) error
- type GiftConfigResp_Config
- func (*GiftConfigResp_Config) Descriptor() ([]byte, []int)
- func (m *GiftConfigResp_Config) Marshal() (dAtA []byte, err error)
- func (m *GiftConfigResp_Config) MarshalTo(dAtA []byte) (int, error)
- func (*GiftConfigResp_Config) ProtoMessage()
- func (m *GiftConfigResp_Config) Reset()
- func (m *GiftConfigResp_Config) Size() (n int)
- func (m *GiftConfigResp_Config) String() string
- func (m *GiftConfigResp_Config) Unmarshal(dAtA []byte) error
- func (m *GiftConfigResp_Config) XXX_DiscardUnknown()
- func (m *GiftConfigResp_Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GiftConfigResp_Config) XXX_Merge(src proto.Message)
- func (m *GiftConfigResp_Config) XXX_Size() int
- func (m *GiftConfigResp_Config) XXX_Unmarshal(b []byte) error
- type GiftConfigResp_CountMap
- func (*GiftConfigResp_CountMap) Descriptor() ([]byte, []int)
- func (m *GiftConfigResp_CountMap) Marshal() (dAtA []byte, err error)
- func (m *GiftConfigResp_CountMap) MarshalTo(dAtA []byte) (int, error)
- func (*GiftConfigResp_CountMap) ProtoMessage()
- func (m *GiftConfigResp_CountMap) Reset()
- func (m *GiftConfigResp_CountMap) Size() (n int)
- func (m *GiftConfigResp_CountMap) String() string
- func (m *GiftConfigResp_CountMap) Unmarshal(dAtA []byte) error
- func (m *GiftConfigResp_CountMap) XXX_DiscardUnknown()
- func (m *GiftConfigResp_CountMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GiftConfigResp_CountMap) XXX_Merge(src proto.Message)
- func (m *GiftConfigResp_CountMap) XXX_Size() int
- func (m *GiftConfigResp_CountMap) XXX_Unmarshal(b []byte) error
- type GiftServer
- type RoomGiftListReq
- func (*RoomGiftListReq) Descriptor() ([]byte, []int)
- func (m *RoomGiftListReq) Marshal() (dAtA []byte, err error)
- func (m *RoomGiftListReq) MarshalTo(dAtA []byte) (int, error)
- func (*RoomGiftListReq) ProtoMessage()
- func (m *RoomGiftListReq) Reset()
- func (m *RoomGiftListReq) Size() (n int)
- func (m *RoomGiftListReq) String() string
- func (m *RoomGiftListReq) Unmarshal(dAtA []byte) error
- func (m *RoomGiftListReq) XXX_DiscardUnknown()
- func (m *RoomGiftListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomGiftListReq) XXX_Merge(src proto.Message)
- func (m *RoomGiftListReq) XXX_Size() int
- func (m *RoomGiftListReq) XXX_Unmarshal(b []byte) error
- type RoomGiftListResp
- func (*RoomGiftListResp) Descriptor() ([]byte, []int)
- func (m *RoomGiftListResp) Marshal() (dAtA []byte, err error)
- func (m *RoomGiftListResp) MarshalTo(dAtA []byte) (int, error)
- func (*RoomGiftListResp) ProtoMessage()
- func (m *RoomGiftListResp) Reset()
- func (m *RoomGiftListResp) Size() (n int)
- func (m *RoomGiftListResp) String() string
- func (m *RoomGiftListResp) Unmarshal(dAtA []byte) error
- func (m *RoomGiftListResp) XXX_DiscardUnknown()
- func (m *RoomGiftListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomGiftListResp) XXX_Merge(src proto.Message)
- func (m *RoomGiftListResp) XXX_Size() int
- func (m *RoomGiftListResp) XXX_Unmarshal(b []byte) error
- type RoomGiftListResp_List
- func (*RoomGiftListResp_List) Descriptor() ([]byte, []int)
- func (m *RoomGiftListResp_List) Marshal() (dAtA []byte, err error)
- func (m *RoomGiftListResp_List) MarshalTo(dAtA []byte) (int, error)
- func (*RoomGiftListResp_List) ProtoMessage()
- func (m *RoomGiftListResp_List) Reset()
- func (m *RoomGiftListResp_List) Size() (n int)
- func (m *RoomGiftListResp_List) String() string
- func (m *RoomGiftListResp_List) Unmarshal(dAtA []byte) error
- func (m *RoomGiftListResp_List) XXX_DiscardUnknown()
- func (m *RoomGiftListResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomGiftListResp_List) XXX_Merge(src proto.Message)
- func (m *RoomGiftListResp_List) XXX_Size() int
- func (m *RoomGiftListResp_List) XXX_Unmarshal(b []byte) error
- type RoomGiftListResp_OldList
- func (*RoomGiftListResp_OldList) Descriptor() ([]byte, []int)
- func (m *RoomGiftListResp_OldList) Marshal() (dAtA []byte, err error)
- func (m *RoomGiftListResp_OldList) MarshalTo(dAtA []byte) (int, error)
- func (*RoomGiftListResp_OldList) ProtoMessage()
- func (m *RoomGiftListResp_OldList) Reset()
- func (m *RoomGiftListResp_OldList) Size() (n int)
- func (m *RoomGiftListResp_OldList) String() string
- func (m *RoomGiftListResp_OldList) Unmarshal(dAtA []byte) error
- func (m *RoomGiftListResp_OldList) XXX_DiscardUnknown()
- func (m *RoomGiftListResp_OldList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomGiftListResp_OldList) XXX_Merge(src proto.Message)
- func (m *RoomGiftListResp_OldList) XXX_Size() int
- func (m *RoomGiftListResp_OldList) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const AppID = "live.xgift"
AppID unique app id for service discovery
Variables ¶
View Source
var ( ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApi = fmt.Errorf("proto: integer overflow") )
View Source
var PathGiftDailyBag = "/live.xgift.v1.Gift/daily_bag"
View Source
var PathGiftDiscountGiftList = "/live.xgift.v1.Gift/discount_gift_list"
View Source
var PathGiftGiftConfig = "/live.xgift.v1.Gift/gift_config"
View Source
var PathGiftRoomGiftList = "/live.xgift.v1.Gift/room_gift_list"
Functions ¶
func RegisterGiftBMServer ¶
func RegisterGiftBMServer(e *bm.Engine, server GiftBMServer)
RegisterGiftBMServer Register the blademaster route
func RegisterGiftServer ¶
func RegisterGiftServer(s *grpc.Server, srv GiftServer)
Types ¶
type DailyBagReq ¶
type DailyBagReq struct { Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DailyBagReq) Descriptor ¶
func (*DailyBagReq) Descriptor() ([]byte, []int)
func (*DailyBagReq) Marshal ¶
func (m *DailyBagReq) Marshal() (dAtA []byte, err error)
func (*DailyBagReq) ProtoMessage ¶
func (*DailyBagReq) ProtoMessage()
func (*DailyBagReq) Reset ¶
func (m *DailyBagReq) Reset()
func (*DailyBagReq) Size ¶
func (m *DailyBagReq) Size() (n int)
func (*DailyBagReq) String ¶
func (m *DailyBagReq) String() string
func (*DailyBagReq) Unmarshal ¶
func (m *DailyBagReq) Unmarshal(dAtA []byte) error
func (*DailyBagReq) XXX_DiscardUnknown ¶
func (m *DailyBagReq) XXX_DiscardUnknown()
func (*DailyBagReq) XXX_Marshal ¶
func (m *DailyBagReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DailyBagReq) XXX_Merge ¶
func (dst *DailyBagReq) XXX_Merge(src proto.Message)
func (*DailyBagReq) XXX_Size ¶
func (m *DailyBagReq) XXX_Size() int
func (*DailyBagReq) XXX_Unmarshal ¶
func (m *DailyBagReq) XXX_Unmarshal(b []byte) error
type DailyBagResp ¶
type DailyBagResp struct { BagStatus int64 `protobuf:"varint,1,opt,name=bag_status,json=bagStatus,proto3" json:"bag_status"` BagExpireStatus int64 `protobuf:"varint,2,opt,name=bag_expire_status,json=bagExpireStatus,proto3" json:"bag_expire_status"` BagToast *DailyBagResp_BagToast `protobuf:"bytes,3,opt,name=bag_toast,json=bagToast" json:"bag_toast"` BagList []*DailyBagResp_BagList `protobuf:"bytes,4,rep,name=bag_list,json=bagList" json:"bag_list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DailyBagResp) Descriptor ¶
func (*DailyBagResp) Descriptor() ([]byte, []int)
func (*DailyBagResp) Marshal ¶
func (m *DailyBagResp) Marshal() (dAtA []byte, err error)
func (*DailyBagResp) ProtoMessage ¶
func (*DailyBagResp) ProtoMessage()
func (*DailyBagResp) Reset ¶
func (m *DailyBagResp) Reset()
func (*DailyBagResp) Size ¶
func (m *DailyBagResp) Size() (n int)
func (*DailyBagResp) String ¶
func (m *DailyBagResp) String() string
func (*DailyBagResp) Unmarshal ¶
func (m *DailyBagResp) Unmarshal(dAtA []byte) error
func (*DailyBagResp) XXX_DiscardUnknown ¶
func (m *DailyBagResp) XXX_DiscardUnknown()
func (*DailyBagResp) XXX_Marshal ¶
func (m *DailyBagResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DailyBagResp) XXX_Merge ¶
func (dst *DailyBagResp) XXX_Merge(src proto.Message)
func (*DailyBagResp) XXX_Size ¶
func (m *DailyBagResp) XXX_Size() int
func (*DailyBagResp) XXX_Unmarshal ¶
func (m *DailyBagResp) XXX_Unmarshal(b []byte) error
type DailyBagResp_BagList ¶
type DailyBagResp_BagList struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type"` BagName string `protobuf:"bytes,2,opt,name=bag_name,json=bagName,proto3" json:"bag_name"` Source *DailyBagResp_BagList_Source `protobuf:"bytes,3,opt,name=source" json:"source"` GiftList []*DailyBagResp_BagList_GiftList `protobuf:"bytes,4,rep,name=gift_list,json=giftList" json:"gift_list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DailyBagResp_BagList) Descriptor ¶
func (*DailyBagResp_BagList) Descriptor() ([]byte, []int)
func (*DailyBagResp_BagList) Marshal ¶
func (m *DailyBagResp_BagList) Marshal() (dAtA []byte, err error)
func (*DailyBagResp_BagList) MarshalTo ¶
func (m *DailyBagResp_BagList) MarshalTo(dAtA []byte) (int, error)
func (*DailyBagResp_BagList) ProtoMessage ¶
func (*DailyBagResp_BagList) ProtoMessage()
func (*DailyBagResp_BagList) Reset ¶
func (m *DailyBagResp_BagList) Reset()
func (*DailyBagResp_BagList) Size ¶
func (m *DailyBagResp_BagList) Size() (n int)
func (*DailyBagResp_BagList) String ¶
func (m *DailyBagResp_BagList) String() string
func (*DailyBagResp_BagList) Unmarshal ¶
func (m *DailyBagResp_BagList) Unmarshal(dAtA []byte) error
func (*DailyBagResp_BagList) XXX_DiscardUnknown ¶
func (m *DailyBagResp_BagList) XXX_DiscardUnknown()
func (*DailyBagResp_BagList) XXX_Marshal ¶
func (m *DailyBagResp_BagList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DailyBagResp_BagList) XXX_Merge ¶
func (dst *DailyBagResp_BagList) XXX_Merge(src proto.Message)
func (*DailyBagResp_BagList) XXX_Size ¶
func (m *DailyBagResp_BagList) XXX_Size() int
func (*DailyBagResp_BagList) XXX_Unmarshal ¶
func (m *DailyBagResp_BagList) XXX_Unmarshal(b []byte) error
type DailyBagResp_BagList_GiftList ¶
type DailyBagResp_BagList_GiftList struct { GiftId string `protobuf:"bytes,1,opt,name=gift_id,json=giftId,proto3" json:"gift_id"` GiftNum int64 `protobuf:"varint,2,opt,name=gift_num,json=giftNum,proto3" json:"gift_num"` ExpireAt int64 `protobuf:"varint,3,opt,name=expire_at,json=expireAt,proto3" json:"expire_at"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DailyBagResp_BagList_GiftList) Descriptor ¶
func (*DailyBagResp_BagList_GiftList) Descriptor() ([]byte, []int)
func (*DailyBagResp_BagList_GiftList) Marshal ¶
func (m *DailyBagResp_BagList_GiftList) Marshal() (dAtA []byte, err error)
func (*DailyBagResp_BagList_GiftList) MarshalTo ¶
func (m *DailyBagResp_BagList_GiftList) MarshalTo(dAtA []byte) (int, error)
func (*DailyBagResp_BagList_GiftList) ProtoMessage ¶
func (*DailyBagResp_BagList_GiftList) ProtoMessage()
func (*DailyBagResp_BagList_GiftList) Reset ¶
func (m *DailyBagResp_BagList_GiftList) Reset()
func (*DailyBagResp_BagList_GiftList) Size ¶
func (m *DailyBagResp_BagList_GiftList) Size() (n int)
func (*DailyBagResp_BagList_GiftList) String ¶
func (m *DailyBagResp_BagList_GiftList) String() string
func (*DailyBagResp_BagList_GiftList) Unmarshal ¶
func (m *DailyBagResp_BagList_GiftList) Unmarshal(dAtA []byte) error
func (*DailyBagResp_BagList_GiftList) XXX_DiscardUnknown ¶
func (m *DailyBagResp_BagList_GiftList) XXX_DiscardUnknown()
func (*DailyBagResp_BagList_GiftList) XXX_Marshal ¶
func (m *DailyBagResp_BagList_GiftList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DailyBagResp_BagList_GiftList) XXX_Merge ¶
func (dst *DailyBagResp_BagList_GiftList) XXX_Merge(src proto.Message)
func (*DailyBagResp_BagList_GiftList) XXX_Size ¶
func (m *DailyBagResp_BagList_GiftList) XXX_Size() int
func (*DailyBagResp_BagList_GiftList) XXX_Unmarshal ¶
func (m *DailyBagResp_BagList_GiftList) XXX_Unmarshal(b []byte) error
type DailyBagResp_BagList_Source ¶
type DailyBagResp_BagList_Source struct { MedalId int64 `protobuf:"varint,1,opt,name=medal_id,json=medalId,proto3" json:"medal_id"` MedalName string `protobuf:"bytes,2,opt,name=medal_name,json=medalName,proto3" json:"medal_name"` Level int64 `protobuf:"varint,3,opt,name=level,proto3" json:"level"` UserLevel int64 `protobuf:"varint,4,opt,name=user_level,json=userLevel,proto3" json:"user_level"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DailyBagResp_BagList_Source) Descriptor ¶
func (*DailyBagResp_BagList_Source) Descriptor() ([]byte, []int)
func (*DailyBagResp_BagList_Source) Marshal ¶
func (m *DailyBagResp_BagList_Source) Marshal() (dAtA []byte, err error)
func (*DailyBagResp_BagList_Source) MarshalTo ¶
func (m *DailyBagResp_BagList_Source) MarshalTo(dAtA []byte) (int, error)
func (*DailyBagResp_BagList_Source) ProtoMessage ¶
func (*DailyBagResp_BagList_Source) ProtoMessage()
func (*DailyBagResp_BagList_Source) Reset ¶
func (m *DailyBagResp_BagList_Source) Reset()
func (*DailyBagResp_BagList_Source) Size ¶
func (m *DailyBagResp_BagList_Source) Size() (n int)
func (*DailyBagResp_BagList_Source) String ¶
func (m *DailyBagResp_BagList_Source) String() string
func (*DailyBagResp_BagList_Source) Unmarshal ¶
func (m *DailyBagResp_BagList_Source) Unmarshal(dAtA []byte) error
func (*DailyBagResp_BagList_Source) XXX_DiscardUnknown ¶
func (m *DailyBagResp_BagList_Source) XXX_DiscardUnknown()
func (*DailyBagResp_BagList_Source) XXX_Marshal ¶
func (m *DailyBagResp_BagList_Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DailyBagResp_BagList_Source) XXX_Merge ¶
func (dst *DailyBagResp_BagList_Source) XXX_Merge(src proto.Message)
func (*DailyBagResp_BagList_Source) XXX_Size ¶
func (m *DailyBagResp_BagList_Source) XXX_Size() int
func (*DailyBagResp_BagList_Source) XXX_Unmarshal ¶
func (m *DailyBagResp_BagList_Source) XXX_Unmarshal(b []byte) error
type DailyBagResp_BagToast ¶
type DailyBagResp_BagToast struct { ToastStatus int64 `protobuf:"varint,1,opt,name=toast_status,json=toastStatus,proto3" json:"toast_status"` ToastMessage string `protobuf:"bytes,2,opt,name=toast_message,json=toastMessage,proto3" json:"toast_message"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DailyBagResp_BagToast) Descriptor ¶
func (*DailyBagResp_BagToast) Descriptor() ([]byte, []int)
func (*DailyBagResp_BagToast) Marshal ¶
func (m *DailyBagResp_BagToast) Marshal() (dAtA []byte, err error)
func (*DailyBagResp_BagToast) MarshalTo ¶
func (m *DailyBagResp_BagToast) MarshalTo(dAtA []byte) (int, error)
func (*DailyBagResp_BagToast) ProtoMessage ¶
func (*DailyBagResp_BagToast) ProtoMessage()
func (*DailyBagResp_BagToast) Reset ¶
func (m *DailyBagResp_BagToast) Reset()
func (*DailyBagResp_BagToast) Size ¶
func (m *DailyBagResp_BagToast) Size() (n int)
func (*DailyBagResp_BagToast) String ¶
func (m *DailyBagResp_BagToast) String() string
func (*DailyBagResp_BagToast) Unmarshal ¶
func (m *DailyBagResp_BagToast) Unmarshal(dAtA []byte) error
func (*DailyBagResp_BagToast) XXX_DiscardUnknown ¶
func (m *DailyBagResp_BagToast) XXX_DiscardUnknown()
func (*DailyBagResp_BagToast) XXX_Marshal ¶
func (m *DailyBagResp_BagToast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DailyBagResp_BagToast) XXX_Merge ¶
func (dst *DailyBagResp_BagToast) XXX_Merge(src proto.Message)
func (*DailyBagResp_BagToast) XXX_Size ¶
func (m *DailyBagResp_BagToast) XXX_Size() int
func (*DailyBagResp_BagToast) XXX_Unmarshal ¶
func (m *DailyBagResp_BagToast) XXX_Unmarshal(b []byte) error
type DiscountGiftListReq ¶
type DiscountGiftListReq struct { Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` Roomid int64 `protobuf:"varint,2,opt,name=roomid,proto3" json:"roomid,omitempty"` AreaV2ParentId int64 `protobuf:"varint,3,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id,omitempty"` AreaV2Id int64 `protobuf:"varint,4,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id,omitempty"` Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"` Ruid int64 `protobuf:"varint,6,opt,name=ruid,proto3" json:"ruid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiscountGiftListReq) Descriptor ¶
func (*DiscountGiftListReq) Descriptor() ([]byte, []int)
func (*DiscountGiftListReq) Marshal ¶
func (m *DiscountGiftListReq) Marshal() (dAtA []byte, err error)
func (*DiscountGiftListReq) MarshalTo ¶
func (m *DiscountGiftListReq) MarshalTo(dAtA []byte) (int, error)
func (*DiscountGiftListReq) ProtoMessage ¶
func (*DiscountGiftListReq) ProtoMessage()
func (*DiscountGiftListReq) Reset ¶
func (m *DiscountGiftListReq) Reset()
func (*DiscountGiftListReq) Size ¶
func (m *DiscountGiftListReq) Size() (n int)
func (*DiscountGiftListReq) String ¶
func (m *DiscountGiftListReq) String() string
func (*DiscountGiftListReq) Unmarshal ¶
func (m *DiscountGiftListReq) Unmarshal(dAtA []byte) error
func (*DiscountGiftListReq) XXX_DiscardUnknown ¶
func (m *DiscountGiftListReq) XXX_DiscardUnknown()
func (*DiscountGiftListReq) XXX_Marshal ¶
func (m *DiscountGiftListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscountGiftListReq) XXX_Merge ¶
func (dst *DiscountGiftListReq) XXX_Merge(src proto.Message)
func (*DiscountGiftListReq) XXX_Size ¶
func (m *DiscountGiftListReq) XXX_Size() int
func (*DiscountGiftListReq) XXX_Unmarshal ¶
func (m *DiscountGiftListReq) XXX_Unmarshal(b []byte) error
type DiscountGiftListResp ¶
type DiscountGiftListResp struct { DiscountList []*DiscountGiftListResp_GiftInfo `protobuf:"bytes,1,rep,name=discount_list,json=discountList" json:"discount_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiscountGiftListResp) Descriptor ¶
func (*DiscountGiftListResp) Descriptor() ([]byte, []int)
func (*DiscountGiftListResp) Marshal ¶
func (m *DiscountGiftListResp) Marshal() (dAtA []byte, err error)
func (*DiscountGiftListResp) MarshalTo ¶
func (m *DiscountGiftListResp) MarshalTo(dAtA []byte) (int, error)
func (*DiscountGiftListResp) ProtoMessage ¶
func (*DiscountGiftListResp) ProtoMessage()
func (*DiscountGiftListResp) Reset ¶
func (m *DiscountGiftListResp) Reset()
func (*DiscountGiftListResp) Size ¶
func (m *DiscountGiftListResp) Size() (n int)
func (*DiscountGiftListResp) String ¶
func (m *DiscountGiftListResp) String() string
func (*DiscountGiftListResp) Unmarshal ¶
func (m *DiscountGiftListResp) Unmarshal(dAtA []byte) error
func (*DiscountGiftListResp) XXX_DiscardUnknown ¶
func (m *DiscountGiftListResp) XXX_DiscardUnknown()
func (*DiscountGiftListResp) XXX_Marshal ¶
func (m *DiscountGiftListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscountGiftListResp) XXX_Merge ¶
func (dst *DiscountGiftListResp) XXX_Merge(src proto.Message)
func (*DiscountGiftListResp) XXX_Size ¶
func (m *DiscountGiftListResp) XXX_Size() int
func (*DiscountGiftListResp) XXX_Unmarshal ¶
func (m *DiscountGiftListResp) XXX_Unmarshal(b []byte) error
type DiscountGiftListResp_GiftInfo ¶
type DiscountGiftListResp_GiftInfo struct { GiftId int64 `protobuf:"varint,1,opt,name=gift_id,json=giftId,proto3" json:"gift_id"` Price int64 `protobuf:"varint,2,opt,name=price,proto3" json:"price"` DiscountPrice int64 `protobuf:"varint,3,opt,name=discount_price,json=discountPrice,proto3" json:"discount_price"` CornerMark string `protobuf:"bytes,4,opt,name=corner_mark,json=cornerMark,proto3" json:"corner_mark"` CornerPosition int64 `protobuf:"varint,5,opt,name=corner_position,json=cornerPosition,proto3" json:"corner_position"` CornerColor string `protobuf:"bytes,6,opt,name=corner_color,json=cornerColor,proto3" json:"corner_color"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiscountGiftListResp_GiftInfo) Descriptor ¶
func (*DiscountGiftListResp_GiftInfo) Descriptor() ([]byte, []int)
func (*DiscountGiftListResp_GiftInfo) Marshal ¶
func (m *DiscountGiftListResp_GiftInfo) Marshal() (dAtA []byte, err error)
func (*DiscountGiftListResp_GiftInfo) MarshalTo ¶
func (m *DiscountGiftListResp_GiftInfo) MarshalTo(dAtA []byte) (int, error)
func (*DiscountGiftListResp_GiftInfo) ProtoMessage ¶
func (*DiscountGiftListResp_GiftInfo) ProtoMessage()
func (*DiscountGiftListResp_GiftInfo) Reset ¶
func (m *DiscountGiftListResp_GiftInfo) Reset()
func (*DiscountGiftListResp_GiftInfo) Size ¶
func (m *DiscountGiftListResp_GiftInfo) Size() (n int)
func (*DiscountGiftListResp_GiftInfo) String ¶
func (m *DiscountGiftListResp_GiftInfo) String() string
func (*DiscountGiftListResp_GiftInfo) Unmarshal ¶
func (m *DiscountGiftListResp_GiftInfo) Unmarshal(dAtA []byte) error
func (*DiscountGiftListResp_GiftInfo) XXX_DiscardUnknown ¶
func (m *DiscountGiftListResp_GiftInfo) XXX_DiscardUnknown()
func (*DiscountGiftListResp_GiftInfo) XXX_Marshal ¶
func (m *DiscountGiftListResp_GiftInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscountGiftListResp_GiftInfo) XXX_Merge ¶
func (dst *DiscountGiftListResp_GiftInfo) XXX_Merge(src proto.Message)
func (*DiscountGiftListResp_GiftInfo) XXX_Size ¶
func (m *DiscountGiftListResp_GiftInfo) XXX_Size() int
func (*DiscountGiftListResp_GiftInfo) XXX_Unmarshal ¶
func (m *DiscountGiftListResp_GiftInfo) XXX_Unmarshal(b []byte) error
type GiftBMServer ¶
type GiftBMServer interface { RoomGiftList(ctx context.Context, req *RoomGiftListReq) (resp *RoomGiftListResp, err error) GiftConfig(ctx context.Context, req *GiftConfigReq) (resp *GiftConfigResp, err error) DiscountGiftList(ctx context.Context, req *DiscountGiftListReq) (resp *DiscountGiftListResp, err error) DailyBag(ctx context.Context, req *DailyBagReq) (resp *DailyBagResp, err error) }
type GiftClient ¶
type GiftClient interface { RoomGiftList(ctx context.Context, in *RoomGiftListReq, opts ...grpc.CallOption) (*RoomGiftListResp, error) GiftConfig(ctx context.Context, in *GiftConfigReq, opts ...grpc.CallOption) (*GiftConfigResp, error) DiscountGiftList(ctx context.Context, in *DiscountGiftListReq, opts ...grpc.CallOption) (*DiscountGiftListResp, error) DailyBag(ctx context.Context, in *DailyBagReq, opts ...grpc.CallOption) (*DailyBagResp, error) }
GiftClient is the client API for Gift service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClient ¶
func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (GiftClient, error)
NewClient new member grpc client
func NewGiftClient ¶
func NewGiftClient(cc *grpc.ClientConn) GiftClient
type GiftConfigReq ¶
type GiftConfigReq struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` Build int64 `protobuf:"varint,2,opt,name=build,proto3" json:"build,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GiftConfigReq) Descriptor ¶
func (*GiftConfigReq) Descriptor() ([]byte, []int)
func (*GiftConfigReq) Marshal ¶
func (m *GiftConfigReq) Marshal() (dAtA []byte, err error)
func (*GiftConfigReq) ProtoMessage ¶
func (*GiftConfigReq) ProtoMessage()
func (*GiftConfigReq) Reset ¶
func (m *GiftConfigReq) Reset()
func (*GiftConfigReq) Size ¶
func (m *GiftConfigReq) Size() (n int)
func (*GiftConfigReq) String ¶
func (m *GiftConfigReq) String() string
func (*GiftConfigReq) Unmarshal ¶
func (m *GiftConfigReq) Unmarshal(dAtA []byte) error
func (*GiftConfigReq) XXX_DiscardUnknown ¶
func (m *GiftConfigReq) XXX_DiscardUnknown()
func (*GiftConfigReq) XXX_Marshal ¶
func (m *GiftConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GiftConfigReq) XXX_Merge ¶
func (dst *GiftConfigReq) XXX_Merge(src proto.Message)
func (*GiftConfigReq) XXX_Size ¶
func (m *GiftConfigReq) XXX_Size() int
func (*GiftConfigReq) XXX_Unmarshal ¶
func (m *GiftConfigReq) XXX_Unmarshal(b []byte) error
type GiftConfigResp ¶
type GiftConfigResp struct { Data []*GiftConfigResp_Config `protobuf:"bytes,1,rep,name=data" json:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GiftConfigResp) Descriptor ¶
func (*GiftConfigResp) Descriptor() ([]byte, []int)
func (*GiftConfigResp) Marshal ¶
func (m *GiftConfigResp) Marshal() (dAtA []byte, err error)
func (*GiftConfigResp) ProtoMessage ¶
func (*GiftConfigResp) ProtoMessage()
func (*GiftConfigResp) Reset ¶
func (m *GiftConfigResp) Reset()
func (*GiftConfigResp) Size ¶
func (m *GiftConfigResp) Size() (n int)
func (*GiftConfigResp) String ¶
func (m *GiftConfigResp) String() string
func (*GiftConfigResp) Unmarshal ¶
func (m *GiftConfigResp) Unmarshal(dAtA []byte) error
func (*GiftConfigResp) XXX_DiscardUnknown ¶
func (m *GiftConfigResp) XXX_DiscardUnknown()
func (*GiftConfigResp) XXX_Marshal ¶
func (m *GiftConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GiftConfigResp) XXX_Merge ¶
func (dst *GiftConfigResp) XXX_Merge(src proto.Message)
func (*GiftConfigResp) XXX_Size ¶
func (m *GiftConfigResp) XXX_Size() int
func (*GiftConfigResp) XXX_Unmarshal ¶
func (m *GiftConfigResp) XXX_Unmarshal(b []byte) error
type GiftConfigResp_Config ¶
type GiftConfigResp_Config struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Price int64 `protobuf:"varint,3,opt,name=price,proto3" json:"price"` Type int64 `protobuf:"varint,4,opt,name=type,proto3" json:"type"` CoinType string `protobuf:"bytes,5,opt,name=coin_type,json=coinType,proto3" json:"coin_type"` BagGift int64 `protobuf:"varint,6,opt,name=bag_gift,json=bagGift,proto3" json:"bag_gift"` Effect int64 `protobuf:"varint,7,opt,name=effect,proto3" json:"effect"` CornerMark string `protobuf:"bytes,8,opt,name=corner_mark,json=cornerMark,proto3" json:"corner_mark"` Broadcast int64 `protobuf:"varint,9,opt,name=broadcast,proto3" json:"broadcast"` Draw int64 `protobuf:"varint,10,opt,name=draw,proto3" json:"draw"` StayTime int64 `protobuf:"varint,11,opt,name=stay_time,json=stayTime,proto3" json:"stay_time"` AnimationFrameNum int64 `protobuf:"varint,12,opt,name=animation_frame_num,json=animationFrameNum,proto3" json:"animation_frame_num"` Desc string `protobuf:"bytes,13,opt,name=desc,proto3" json:"desc"` Rule string `protobuf:"bytes,14,opt,name=rule,proto3" json:"rule"` Rights string `protobuf:"bytes,15,opt,name=rights,proto3" json:"rights"` PrivilegeRequired int64 `protobuf:"varint,16,opt,name=privilege_required,json=privilegeRequired,proto3" json:"privilege_required"` CountMap []*GiftConfigResp_CountMap `protobuf:"bytes,17,rep,name=count_map,json=countMap" json:"count_map"` ImgBasic string `protobuf:"bytes,18,opt,name=img_basic,json=imgBasic,proto3" json:"img_basic"` ImgDynamic string `protobuf:"bytes,19,opt,name=img_dynamic,json=imgDynamic,proto3" json:"img_dynamic"` FrameAnimation string `protobuf:"bytes,20,opt,name=frame_animation,json=frameAnimation,proto3" json:"frame_animation"` Gif string `protobuf:"bytes,21,opt,name=gif,proto3" json:"gif"` Webp string `protobuf:"bytes,22,opt,name=webp,proto3" json:"webp"` FullScWeb string `protobuf:"bytes,23,opt,name=full_sc_web,json=fullScWeb,proto3" json:"full_sc_web"` FullScHorizontal string `protobuf:"bytes,24,opt,name=full_sc_horizontal,json=fullScHorizontal,proto3" json:"full_sc_horizontal"` FullScVertical string `protobuf:"bytes,25,opt,name=full_sc_vertical,json=fullScVertical,proto3" json:"full_sc_vertical"` FullScHorizontalSvga string `protobuf:"bytes,26,opt,name=full_sc_horizontal_svga,json=fullScHorizontalSvga,proto3" json:"full_sc_horizontal_svga"` FullScVerticalSvga string `protobuf:"bytes,27,opt,name=full_sc_vertical_svga,json=fullScVerticalSvga,proto3" json:"full_sc_vertical_svga"` BulletHead string `protobuf:"bytes,28,opt,name=bullet_head,json=bulletHead,proto3" json:"bullet_head"` BulletTail string `protobuf:"bytes,29,opt,name=bullet_tail,json=bulletTail,proto3" json:"bullet_tail"` LimitInterval int64 `protobuf:"varint,30,opt,name=limit_interval,json=limitInterval,proto3" json:"limit_interval"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GiftConfigResp_Config) Descriptor ¶
func (*GiftConfigResp_Config) Descriptor() ([]byte, []int)
func (*GiftConfigResp_Config) Marshal ¶
func (m *GiftConfigResp_Config) Marshal() (dAtA []byte, err error)
func (*GiftConfigResp_Config) MarshalTo ¶
func (m *GiftConfigResp_Config) MarshalTo(dAtA []byte) (int, error)
func (*GiftConfigResp_Config) ProtoMessage ¶
func (*GiftConfigResp_Config) ProtoMessage()
func (*GiftConfigResp_Config) Reset ¶
func (m *GiftConfigResp_Config) Reset()
func (*GiftConfigResp_Config) Size ¶
func (m *GiftConfigResp_Config) Size() (n int)
func (*GiftConfigResp_Config) String ¶
func (m *GiftConfigResp_Config) String() string
func (*GiftConfigResp_Config) Unmarshal ¶
func (m *GiftConfigResp_Config) Unmarshal(dAtA []byte) error
func (*GiftConfigResp_Config) XXX_DiscardUnknown ¶
func (m *GiftConfigResp_Config) XXX_DiscardUnknown()
func (*GiftConfigResp_Config) XXX_Marshal ¶
func (m *GiftConfigResp_Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GiftConfigResp_Config) XXX_Merge ¶
func (dst *GiftConfigResp_Config) XXX_Merge(src proto.Message)
func (*GiftConfigResp_Config) XXX_Size ¶
func (m *GiftConfigResp_Config) XXX_Size() int
func (*GiftConfigResp_Config) XXX_Unmarshal ¶
func (m *GiftConfigResp_Config) XXX_Unmarshal(b []byte) error
type GiftConfigResp_CountMap ¶
type GiftConfigResp_CountMap struct { Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GiftConfigResp_CountMap) Descriptor ¶
func (*GiftConfigResp_CountMap) Descriptor() ([]byte, []int)
func (*GiftConfigResp_CountMap) Marshal ¶
func (m *GiftConfigResp_CountMap) Marshal() (dAtA []byte, err error)
func (*GiftConfigResp_CountMap) MarshalTo ¶
func (m *GiftConfigResp_CountMap) MarshalTo(dAtA []byte) (int, error)
func (*GiftConfigResp_CountMap) ProtoMessage ¶
func (*GiftConfigResp_CountMap) ProtoMessage()
func (*GiftConfigResp_CountMap) Reset ¶
func (m *GiftConfigResp_CountMap) Reset()
func (*GiftConfigResp_CountMap) Size ¶
func (m *GiftConfigResp_CountMap) Size() (n int)
func (*GiftConfigResp_CountMap) String ¶
func (m *GiftConfigResp_CountMap) String() string
func (*GiftConfigResp_CountMap) Unmarshal ¶
func (m *GiftConfigResp_CountMap) Unmarshal(dAtA []byte) error
func (*GiftConfigResp_CountMap) XXX_DiscardUnknown ¶
func (m *GiftConfigResp_CountMap) XXX_DiscardUnknown()
func (*GiftConfigResp_CountMap) XXX_Marshal ¶
func (m *GiftConfigResp_CountMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GiftConfigResp_CountMap) XXX_Merge ¶
func (dst *GiftConfigResp_CountMap) XXX_Merge(src proto.Message)
func (*GiftConfigResp_CountMap) XXX_Size ¶
func (m *GiftConfigResp_CountMap) XXX_Size() int
func (*GiftConfigResp_CountMap) XXX_Unmarshal ¶
func (m *GiftConfigResp_CountMap) XXX_Unmarshal(b []byte) error
type GiftServer ¶
type GiftServer interface { RoomGiftList(context.Context, *RoomGiftListReq) (*RoomGiftListResp, error) GiftConfig(context.Context, *GiftConfigReq) (*GiftConfigResp, error) DiscountGiftList(context.Context, *DiscountGiftListReq) (*DiscountGiftListResp, error) DailyBag(context.Context, *DailyBagReq) (*DailyBagResp, error) }
GiftServer is the server API for Gift service.
type RoomGiftListReq ¶
type RoomGiftListReq struct { RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` AreaV2ParentId int64 `protobuf:"varint,2,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id,omitempty"` AreaV2Id int64 `protobuf:"varint,3,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id,omitempty"` Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"` Build int64 `protobuf:"varint,5,opt,name=build,proto3" json:"build,omitempty"` MobiApp string `protobuf:"bytes,6,opt,name=mobi_app,json=mobiApp,proto3" json:"mobi_app,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoomGiftListReq) Descriptor ¶
func (*RoomGiftListReq) Descriptor() ([]byte, []int)
func (*RoomGiftListReq) Marshal ¶
func (m *RoomGiftListReq) Marshal() (dAtA []byte, err error)
func (*RoomGiftListReq) ProtoMessage ¶
func (*RoomGiftListReq) ProtoMessage()
func (*RoomGiftListReq) Reset ¶
func (m *RoomGiftListReq) Reset()
func (*RoomGiftListReq) Size ¶
func (m *RoomGiftListReq) Size() (n int)
func (*RoomGiftListReq) String ¶
func (m *RoomGiftListReq) String() string
func (*RoomGiftListReq) Unmarshal ¶
func (m *RoomGiftListReq) Unmarshal(dAtA []byte) error
func (*RoomGiftListReq) XXX_DiscardUnknown ¶
func (m *RoomGiftListReq) XXX_DiscardUnknown()
func (*RoomGiftListReq) XXX_Marshal ¶
func (m *RoomGiftListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomGiftListReq) XXX_Merge ¶
func (dst *RoomGiftListReq) XXX_Merge(src proto.Message)
func (*RoomGiftListReq) XXX_Size ¶
func (m *RoomGiftListReq) XXX_Size() int
func (*RoomGiftListReq) XXX_Unmarshal ¶
func (m *RoomGiftListReq) XXX_Unmarshal(b []byte) error
type RoomGiftListResp ¶
type RoomGiftListResp struct { List []*RoomGiftListResp_List `protobuf:"bytes,1,rep,name=list" json:"list"` SilverList []*RoomGiftListResp_List `protobuf:"bytes,2,rep,name=silver_list,json=silverList" json:"silver_list"` ShowCountMap int64 `protobuf:"varint,3,opt,name=show_count_map,json=showCountMap,proto3" json:"show_count_map"` OldList []*RoomGiftListResp_OldList `protobuf:"bytes,4,rep,name=old_list,json=oldList" json:"old_list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoomGiftListResp) Descriptor ¶
func (*RoomGiftListResp) Descriptor() ([]byte, []int)
func (*RoomGiftListResp) Marshal ¶
func (m *RoomGiftListResp) Marshal() (dAtA []byte, err error)
func (*RoomGiftListResp) ProtoMessage ¶
func (*RoomGiftListResp) ProtoMessage()
func (*RoomGiftListResp) Reset ¶
func (m *RoomGiftListResp) Reset()
func (*RoomGiftListResp) Size ¶
func (m *RoomGiftListResp) Size() (n int)
func (*RoomGiftListResp) String ¶
func (m *RoomGiftListResp) String() string
func (*RoomGiftListResp) Unmarshal ¶
func (m *RoomGiftListResp) Unmarshal(dAtA []byte) error
func (*RoomGiftListResp) XXX_DiscardUnknown ¶
func (m *RoomGiftListResp) XXX_DiscardUnknown()
func (*RoomGiftListResp) XXX_Marshal ¶
func (m *RoomGiftListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomGiftListResp) XXX_Merge ¶
func (dst *RoomGiftListResp) XXX_Merge(src proto.Message)
func (*RoomGiftListResp) XXX_Size ¶
func (m *RoomGiftListResp) XXX_Size() int
func (*RoomGiftListResp) XXX_Unmarshal ¶
func (m *RoomGiftListResp) XXX_Unmarshal(b []byte) error
type RoomGiftListResp_List ¶
type RoomGiftListResp_List struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position"` PlanId int64 `protobuf:"varint,3,opt,name=plan_id,json=planId,proto3" json:"plan_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoomGiftListResp_List) Descriptor ¶
func (*RoomGiftListResp_List) Descriptor() ([]byte, []int)
func (*RoomGiftListResp_List) Marshal ¶
func (m *RoomGiftListResp_List) Marshal() (dAtA []byte, err error)
func (*RoomGiftListResp_List) MarshalTo ¶
func (m *RoomGiftListResp_List) MarshalTo(dAtA []byte) (int, error)
func (*RoomGiftListResp_List) ProtoMessage ¶
func (*RoomGiftListResp_List) ProtoMessage()
func (*RoomGiftListResp_List) Reset ¶
func (m *RoomGiftListResp_List) Reset()
func (*RoomGiftListResp_List) Size ¶
func (m *RoomGiftListResp_List) Size() (n int)
func (*RoomGiftListResp_List) String ¶
func (m *RoomGiftListResp_List) String() string
func (*RoomGiftListResp_List) Unmarshal ¶
func (m *RoomGiftListResp_List) Unmarshal(dAtA []byte) error
func (*RoomGiftListResp_List) XXX_DiscardUnknown ¶
func (m *RoomGiftListResp_List) XXX_DiscardUnknown()
func (*RoomGiftListResp_List) XXX_Marshal ¶
func (m *RoomGiftListResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomGiftListResp_List) XXX_Merge ¶
func (dst *RoomGiftListResp_List) XXX_Merge(src proto.Message)
func (*RoomGiftListResp_List) XXX_Size ¶
func (m *RoomGiftListResp_List) XXX_Size() int
func (*RoomGiftListResp_List) XXX_Unmarshal ¶
func (m *RoomGiftListResp_List) XXX_Unmarshal(b []byte) error
type RoomGiftListResp_OldList ¶
type RoomGiftListResp_OldList struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Price int64 `protobuf:"varint,3,opt,name=price,proto3" json:"price"` Type int64 `protobuf:"varint,4,opt,name=type,proto3" json:"type"` CoinType map[string]string `` /* 156-byte string literal not displayed */ Img string `protobuf:"bytes,6,opt,name=img,proto3" json:"img"` GiftUrl string `protobuf:"bytes,7,opt,name=gift_url,json=giftUrl,proto3" json:"gift_url"` CountSet string `protobuf:"bytes,8,opt,name=count_set,json=countSet,proto3" json:"count_set"` ComboNum int64 `protobuf:"varint,9,opt,name=combo_num,json=comboNum,proto3" json:"combo_num"` SuperNum int64 `protobuf:"varint,10,opt,name=super_num,json=superNum,proto3" json:"super_num"` CountMap map[int64]string `` /* 158-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoomGiftListResp_OldList) Descriptor ¶
func (*RoomGiftListResp_OldList) Descriptor() ([]byte, []int)
func (*RoomGiftListResp_OldList) Marshal ¶
func (m *RoomGiftListResp_OldList) Marshal() (dAtA []byte, err error)
func (*RoomGiftListResp_OldList) MarshalTo ¶
func (m *RoomGiftListResp_OldList) MarshalTo(dAtA []byte) (int, error)
func (*RoomGiftListResp_OldList) ProtoMessage ¶
func (*RoomGiftListResp_OldList) ProtoMessage()
func (*RoomGiftListResp_OldList) Reset ¶
func (m *RoomGiftListResp_OldList) Reset()
func (*RoomGiftListResp_OldList) Size ¶
func (m *RoomGiftListResp_OldList) Size() (n int)
func (*RoomGiftListResp_OldList) String ¶
func (m *RoomGiftListResp_OldList) String() string
func (*RoomGiftListResp_OldList) Unmarshal ¶
func (m *RoomGiftListResp_OldList) Unmarshal(dAtA []byte) error
func (*RoomGiftListResp_OldList) XXX_DiscardUnknown ¶
func (m *RoomGiftListResp_OldList) XXX_DiscardUnknown()
func (*RoomGiftListResp_OldList) XXX_Marshal ¶
func (m *RoomGiftListResp_OldList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomGiftListResp_OldList) XXX_Merge ¶
func (dst *RoomGiftListResp_OldList) XXX_Merge(src proto.Message)
func (*RoomGiftListResp_OldList) XXX_Size ¶
func (m *RoomGiftListResp_OldList) XXX_Size() int
func (*RoomGiftListResp_OldList) XXX_Unmarshal ¶
func (m *RoomGiftListResp_OldList) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.