1388 lines
46 KiB
Go
1388 lines
46 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.27.1-devel
|
||
// protoc v3.19.4
|
||
// source: protocol/telegramapi/telegramapi.proto
|
||
|
||
package telegramapi
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
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)
|
||
)
|
||
|
||
// 错误码定义
|
||
type TagCode int32
|
||
|
||
const (
|
||
// option allow_alias = true;
|
||
TagCode_UNKNOWN TagCode = 0 // 占位,不使用
|
||
TagCode_SUCCESS TagCode = 1 //成功
|
||
TagCode_FAILED TagCode = 2 //失败
|
||
TagCode_SIGN_ERROR TagCode = 3 //验签失败
|
||
TagCode_PROTO_DATA_ERROR TagCode = 4 // pb数据错误
|
||
)
|
||
|
||
// Enum value maps for TagCode.
|
||
var (
|
||
TagCode_name = map[int32]string{
|
||
0: "UNKNOWN",
|
||
1: "SUCCESS",
|
||
2: "FAILED",
|
||
3: "SIGN_ERROR",
|
||
4: "PROTO_DATA_ERROR",
|
||
}
|
||
TagCode_value = map[string]int32{
|
||
"UNKNOWN": 0,
|
||
"SUCCESS": 1,
|
||
"FAILED": 2,
|
||
"SIGN_ERROR": 3,
|
||
"PROTO_DATA_ERROR": 4,
|
||
}
|
||
)
|
||
|
||
func (x TagCode) Enum() *TagCode {
|
||
p := new(TagCode)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x TagCode) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (TagCode) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_protocol_telegramapi_telegramapi_proto_enumTypes[0].Descriptor()
|
||
}
|
||
|
||
func (TagCode) Type() protoreflect.EnumType {
|
||
return &file_protocol_telegramapi_telegramapi_proto_enumTypes[0]
|
||
}
|
||
|
||
func (x TagCode) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use TagCode.Descriptor instead.
|
||
func (TagCode) EnumDescriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
//[action] /api/Member/APIMemberRegisterOrLogin
|
||
type ASLogin struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
TelegramId string `protobuf:"bytes,1,opt,name=TelegramId,proto3" json:"TelegramId,omitempty"` //TelegramID
|
||
PlatformTag string `protobuf:"bytes,2,opt,name=PlatformTag,proto3" json:"PlatformTag,omitempty"` //包标识
|
||
Username string `protobuf:"bytes,3,opt,name=Username,proto3" json:"Username,omitempty"` //用户名
|
||
Ts int64 `protobuf:"varint,4,opt,name=Ts,proto3" json:"Ts,omitempty"` //时间戳
|
||
Sign string `protobuf:"bytes,5,opt,name=Sign,proto3" json:"Sign,omitempty"` //验证商户秘钥 md5 fmt.Sprintf("%v%v%v%v%v", TelegramId, PlatformTag,Username, 商户秘钥,args.Ts)
|
||
}
|
||
|
||
func (x *ASLogin) Reset() {
|
||
*x = ASLogin{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ASLogin) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ASLogin) ProtoMessage() {}
|
||
|
||
func (x *ASLogin) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 ASLogin.ProtoReflect.Descriptor instead.
|
||
func (*ASLogin) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *ASLogin) GetTelegramId() string {
|
||
if x != nil {
|
||
return x.TelegramId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ASLogin) GetPlatformTag() string {
|
||
if x != nil {
|
||
return x.PlatformTag
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ASLogin) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ASLogin) GetTs() int64 {
|
||
if x != nil {
|
||
return x.Ts
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ASLogin) GetSign() string {
|
||
if x != nil {
|
||
return x.Sign
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type SALogin struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Tag TagCode `protobuf:"varint,1,opt,name=Tag,proto3,enum=telegramapi.TagCode" json:"Tag,omitempty"` //错误码
|
||
Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` //错误信息(选填)
|
||
Token string `protobuf:"bytes,3,opt,name=Token,proto3" json:"Token,omitempty"`
|
||
Snid int32 `protobuf:"varint,4,opt,name=Snid,proto3" json:"Snid,omitempty"`
|
||
}
|
||
|
||
func (x *SALogin) Reset() {
|
||
*x = SALogin{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SALogin) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SALogin) ProtoMessage() {}
|
||
|
||
func (x *SALogin) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 SALogin.ProtoReflect.Descriptor instead.
|
||
func (*SALogin) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *SALogin) GetTag() TagCode {
|
||
if x != nil {
|
||
return x.Tag
|
||
}
|
||
return TagCode_UNKNOWN
|
||
}
|
||
|
||
func (x *SALogin) GetMsg() string {
|
||
if x != nil {
|
||
return x.Msg
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SALogin) GetToken() string {
|
||
if x != nil {
|
||
return x.Token
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SALogin) GetSnid() int32 {
|
||
if x != nil {
|
||
return x.Snid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
//加币
|
||
// [action] /api/game/APIAddCoinById
|
||
type ASAddCoinById struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` //玩家id
|
||
Gold int64 `protobuf:"varint,2,opt,name=Gold,proto3" json:"Gold,omitempty"` //加币金额
|
||
GoldEx int64 `protobuf:"varint,3,opt,name=GoldEx,proto3" json:"GoldEx,omitempty"` //赠送金额
|
||
Oper string `protobuf:"bytes,4,opt,name=Oper,proto3" json:"Oper,omitempty"` //操作人
|
||
Desc string `protobuf:"bytes,5,opt,name=Desc,proto3" json:"Desc,omitempty"` //remark
|
||
BillNo int32 `protobuf:"varint,6,opt,name=BillNo,proto3" json:"BillNo,omitempty"` //订单号
|
||
Platform string `protobuf:"bytes,7,opt,name=Platform,proto3" json:"Platform,omitempty"` //平台号
|
||
LogType int32 `protobuf:"varint,8,opt,name=LogType,proto3" json:"LogType,omitempty"` //日志类型(金币或者保险箱)
|
||
IsAccTodayRecharge bool `protobuf:"varint,9,opt,name=IsAccTodayRecharge,proto3" json:"IsAccTodayRecharge,omitempty"`
|
||
NeedFlowRate int32 `protobuf:"varint,10,opt,name=NeedFlowRate,proto3" json:"NeedFlowRate,omitempty"`
|
||
NeedGiveFlowRate int32 `protobuf:"varint,11,opt,name=NeedGiveFlowRate,proto3" json:"NeedGiveFlowRate,omitempty"`
|
||
}
|
||
|
||
func (x *ASAddCoinById) Reset() {
|
||
*x = ASAddCoinById{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ASAddCoinById) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ASAddCoinById) ProtoMessage() {}
|
||
|
||
func (x *ASAddCoinById) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 ASAddCoinById.ProtoReflect.Descriptor instead.
|
||
func (*ASAddCoinById) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *ASAddCoinById) GetID() int32 {
|
||
if x != nil {
|
||
return x.ID
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ASAddCoinById) GetGold() int64 {
|
||
if x != nil {
|
||
return x.Gold
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ASAddCoinById) GetGoldEx() int64 {
|
||
if x != nil {
|
||
return x.GoldEx
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ASAddCoinById) GetOper() string {
|
||
if x != nil {
|
||
return x.Oper
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ASAddCoinById) GetDesc() string {
|
||
if x != nil {
|
||
return x.Desc
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ASAddCoinById) GetBillNo() int32 {
|
||
if x != nil {
|
||
return x.BillNo
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ASAddCoinById) GetPlatform() string {
|
||
if x != nil {
|
||
return x.Platform
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ASAddCoinById) GetLogType() int32 {
|
||
if x != nil {
|
||
return x.LogType
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ASAddCoinById) GetIsAccTodayRecharge() bool {
|
||
if x != nil {
|
||
return x.IsAccTodayRecharge
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ASAddCoinById) GetNeedFlowRate() int32 {
|
||
if x != nil {
|
||
return x.NeedFlowRate
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ASAddCoinById) GetNeedGiveFlowRate() int32 {
|
||
if x != nil {
|
||
return x.NeedGiveFlowRate
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 返回
|
||
type SAAddCoinById struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Tag TagCode `protobuf:"varint,1,opt,name=Tag,proto3,enum=telegramapi.TagCode" json:"Tag,omitempty"` //错误码
|
||
Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` //错误信息(选填)
|
||
}
|
||
|
||
func (x *SAAddCoinById) Reset() {
|
||
*x = SAAddCoinById{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SAAddCoinById) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SAAddCoinById) ProtoMessage() {}
|
||
|
||
func (x *SAAddCoinById) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 SAAddCoinById.ProtoReflect.Descriptor instead.
|
||
func (*SAAddCoinById) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *SAAddCoinById) GetTag() TagCode {
|
||
if x != nil {
|
||
return x.Tag
|
||
}
|
||
return TagCode_UNKNOWN
|
||
}
|
||
|
||
func (x *SAAddCoinById) GetMsg() string {
|
||
if x != nil {
|
||
return x.Msg
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type PlayerCoinData struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
||
Gold int64 `protobuf:"varint,2,opt,name=Gold,proto3" json:"Gold,omitempty"`
|
||
Bank int64 `protobuf:"varint,3,opt,name=Bank,proto3" json:"Bank,omitempty"`
|
||
}
|
||
|
||
func (x *PlayerCoinData) Reset() {
|
||
*x = PlayerCoinData{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *PlayerCoinData) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*PlayerCoinData) ProtoMessage() {}
|
||
|
||
func (x *PlayerCoinData) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 PlayerCoinData.ProtoReflect.Descriptor instead.
|
||
func (*PlayerCoinData) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *PlayerCoinData) GetId() int32 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *PlayerCoinData) GetGold() int64 {
|
||
if x != nil {
|
||
return x.Gold
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *PlayerCoinData) GetBank() int64 {
|
||
if x != nil {
|
||
return x.Bank
|
||
}
|
||
return 0
|
||
}
|
||
|
||
//查用户金币 /api/Member/GetMemberGoldById
|
||
type ASMemberGold struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Snid int32 `protobuf:"varint,1,opt,name=Snid,proto3" json:"Snid,omitempty"` //用户snid
|
||
Platform string `protobuf:"bytes,2,opt,name=Platform,proto3" json:"Platform,omitempty"` //平台id
|
||
}
|
||
|
||
func (x *ASMemberGold) Reset() {
|
||
*x = ASMemberGold{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ASMemberGold) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ASMemberGold) ProtoMessage() {}
|
||
|
||
func (x *ASMemberGold) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 ASMemberGold.ProtoReflect.Descriptor instead.
|
||
func (*ASMemberGold) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *ASMemberGold) GetSnid() int32 {
|
||
if x != nil {
|
||
return x.Snid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ASMemberGold) GetPlatform() string {
|
||
if x != nil {
|
||
return x.Platform
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type SAMemberGold struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Tag TagCode `protobuf:"varint,1,opt,name=Tag,proto3,enum=telegramapi.TagCode" json:"Tag,omitempty"` //错误码
|
||
Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` //错误信息(选填)
|
||
Data *PlayerCoinData `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"` //用户金币
|
||
}
|
||
|
||
func (x *SAMemberGold) Reset() {
|
||
*x = SAMemberGold{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SAMemberGold) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SAMemberGold) ProtoMessage() {}
|
||
|
||
func (x *SAMemberGold) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 SAMemberGold.ProtoReflect.Descriptor instead.
|
||
func (*SAMemberGold) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *SAMemberGold) GetTag() TagCode {
|
||
if x != nil {
|
||
return x.Tag
|
||
}
|
||
return TagCode_UNKNOWN
|
||
}
|
||
|
||
func (x *SAMemberGold) GetMsg() string {
|
||
if x != nil {
|
||
return x.Msg
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SAMemberGold) GetData() *PlayerCoinData {
|
||
if x != nil {
|
||
return x.Data
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//校验碰撞游戏Hash /api/game/CrashVerifier
|
||
type ASCrachHash struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Hash string `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"` //哈希值
|
||
Wheel int32 `protobuf:"varint,2,opt,name=Wheel,proto3" json:"Wheel,omitempty"` //第几轮
|
||
}
|
||
|
||
func (x *ASCrachHash) Reset() {
|
||
*x = ASCrachHash{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ASCrachHash) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ASCrachHash) ProtoMessage() {}
|
||
|
||
func (x *ASCrachHash) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 ASCrachHash.ProtoReflect.Descriptor instead.
|
||
func (*ASCrachHash) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *ASCrachHash) GetHash() string {
|
||
if x != nil {
|
||
return x.Hash
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ASCrachHash) GetWheel() int32 {
|
||
if x != nil {
|
||
return x.Wheel
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type SACrachHash struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Tag TagCode `protobuf:"varint,1,opt,name=Tag,proto3,enum=telegramapi.TagCode" json:"Tag,omitempty"` //错误码
|
||
Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` //错误信息(选填)
|
||
Multiple int32 `protobuf:"varint,3,opt,name=Multiple,proto3" json:"Multiple,omitempty"` //倍率
|
||
}
|
||
|
||
func (x *SACrachHash) Reset() {
|
||
*x = SACrachHash{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SACrachHash) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SACrachHash) ProtoMessage() {}
|
||
|
||
func (x *SACrachHash) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 SACrachHash.ProtoReflect.Descriptor instead.
|
||
func (*SACrachHash) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *SACrachHash) GetTag() TagCode {
|
||
if x != nil {
|
||
return x.Tag
|
||
}
|
||
return TagCode_UNKNOWN
|
||
}
|
||
|
||
func (x *SACrachHash) GetMsg() string {
|
||
if x != nil {
|
||
return x.Msg
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SACrachHash) GetMultiple() int32 {
|
||
if x != nil {
|
||
return x.Multiple
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 游戏记录信息
|
||
type GameHistoryInfo struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
GameNumber string `protobuf:"bytes,1,opt,name=GameNumber,proto3" json:"GameNumber,omitempty"` // 游戏编号
|
||
CreatedTime int64 `protobuf:"varint,2,opt,name=CreatedTime,proto3" json:"CreatedTime,omitempty"` // 时间
|
||
Multiple int64 `protobuf:"varint,3,opt,name=Multiple,proto3" json:"Multiple,omitempty"` //下注倍率
|
||
Hash string `protobuf:"bytes,4,opt,name=Hash,proto3" json:"Hash,omitempty"` //Hash
|
||
}
|
||
|
||
func (x *GameHistoryInfo) Reset() {
|
||
*x = GameHistoryInfo{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *GameHistoryInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GameHistoryInfo) ProtoMessage() {}
|
||
|
||
func (x *GameHistoryInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 GameHistoryInfo.ProtoReflect.Descriptor instead.
|
||
func (*GameHistoryInfo) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *GameHistoryInfo) GetGameNumber() string {
|
||
if x != nil {
|
||
return x.GameNumber
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GameHistoryInfo) GetCreatedTime() int64 {
|
||
if x != nil {
|
||
return x.CreatedTime
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GameHistoryInfo) GetMultiple() int64 {
|
||
if x != nil {
|
||
return x.Multiple
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GameHistoryInfo) GetHash() string {
|
||
if x != nil {
|
||
return x.Hash
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 玩家记录信息
|
||
type PlayerHistoryInfo struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
SpinID string `protobuf:"bytes,1,opt,name=SpinID,proto3" json:"SpinID,omitempty"` // 操作id
|
||
CreatedTime int64 `protobuf:"varint,2,opt,name=CreatedTime,proto3" json:"CreatedTime,omitempty"` // 时间
|
||
TotalBetValue int64 `protobuf:"varint,3,opt,name=TotalBetValue,proto3" json:"TotalBetValue,omitempty"` // 总下注
|
||
TotalPriceValue int64 `protobuf:"varint,4,opt,name=TotalPriceValue,proto3" json:"TotalPriceValue,omitempty"` // 总赢分
|
||
IsFree bool `protobuf:"varint,5,opt,name=IsFree,proto3" json:"IsFree,omitempty"` // 是否免费
|
||
TotalBonusValue int64 `protobuf:"varint,6,opt,name=TotalBonusValue,proto3" json:"TotalBonusValue,omitempty"` // 是否免费
|
||
Multiple int64 `protobuf:"varint,7,opt,name=Multiple,proto3" json:"Multiple,omitempty"` //下注倍率
|
||
}
|
||
|
||
func (x *PlayerHistoryInfo) Reset() {
|
||
*x = PlayerHistoryInfo{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *PlayerHistoryInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*PlayerHistoryInfo) ProtoMessage() {}
|
||
|
||
func (x *PlayerHistoryInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 PlayerHistoryInfo.ProtoReflect.Descriptor instead.
|
||
func (*PlayerHistoryInfo) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *PlayerHistoryInfo) GetSpinID() string {
|
||
if x != nil {
|
||
return x.SpinID
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *PlayerHistoryInfo) GetCreatedTime() int64 {
|
||
if x != nil {
|
||
return x.CreatedTime
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *PlayerHistoryInfo) GetTotalBetValue() int64 {
|
||
if x != nil {
|
||
return x.TotalBetValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *PlayerHistoryInfo) GetTotalPriceValue() int64 {
|
||
if x != nil {
|
||
return x.TotalPriceValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *PlayerHistoryInfo) GetIsFree() bool {
|
||
if x != nil {
|
||
return x.IsFree
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *PlayerHistoryInfo) GetTotalBonusValue() int64 {
|
||
if x != nil {
|
||
return x.TotalBonusValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *PlayerHistoryInfo) GetMultiple() int64 {
|
||
if x != nil {
|
||
return x.Multiple
|
||
}
|
||
return 0
|
||
}
|
||
|
||
//获取用户注单记录游戏记录 /api/Member/GetGameHistory
|
||
type SAPlayerHistory struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Tag TagCode `protobuf:"varint,1,opt,name=Tag,proto3,enum=telegramapi.TagCode" json:"Tag,omitempty"` //错误码
|
||
Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` //错误信息(选填)
|
||
PlayerHistory []*PlayerHistoryInfo `protobuf:"bytes,3,rep,name=PlayerHistory,proto3" json:"PlayerHistory,omitempty"`
|
||
GameHistory []*GameHistoryInfo `protobuf:"bytes,4,rep,name=GameHistory,proto3" json:"GameHistory,omitempty"`
|
||
}
|
||
|
||
func (x *SAPlayerHistory) Reset() {
|
||
*x = SAPlayerHistory{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SAPlayerHistory) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SAPlayerHistory) ProtoMessage() {}
|
||
|
||
func (x *SAPlayerHistory) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 SAPlayerHistory.ProtoReflect.Descriptor instead.
|
||
func (*SAPlayerHistory) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *SAPlayerHistory) GetTag() TagCode {
|
||
if x != nil {
|
||
return x.Tag
|
||
}
|
||
return TagCode_UNKNOWN
|
||
}
|
||
|
||
func (x *SAPlayerHistory) GetMsg() string {
|
||
if x != nil {
|
||
return x.Msg
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SAPlayerHistory) GetPlayerHistory() []*PlayerHistoryInfo {
|
||
if x != nil {
|
||
return x.PlayerHistory
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SAPlayerHistory) GetGameHistory() []*GameHistoryInfo {
|
||
if x != nil {
|
||
return x.GameHistory
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//获取用户注单记录游戏记录 /api/Member/GetGameHistory
|
||
type ASPlayerHistory struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Snid int32 `protobuf:"varint,1,opt,name=Snid,proto3" json:"Snid,omitempty"` //用户snid
|
||
Platform string `protobuf:"bytes,2,opt,name=Platform,proto3" json:"Platform,omitempty"` //平台id
|
||
GameId int32 `protobuf:"varint,3,opt,name=GameId,proto3" json:"GameId,omitempty"` //游戏id
|
||
GameHistoryModel int32 `protobuf:"varint,4,opt,name=GameHistoryModel,proto3" json:"GameHistoryModel,omitempty"` //1:注单记录 3:游戏记录
|
||
}
|
||
|
||
func (x *ASPlayerHistory) Reset() {
|
||
*x = ASPlayerHistory{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_protocol_telegramapi_telegramapi_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ASPlayerHistory) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ASPlayerHistory) ProtoMessage() {}
|
||
|
||
func (x *ASPlayerHistory) ProtoReflect() protoreflect.Message {
|
||
mi := &file_protocol_telegramapi_telegramapi_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 ASPlayerHistory.ProtoReflect.Descriptor instead.
|
||
func (*ASPlayerHistory) Descriptor() ([]byte, []int) {
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *ASPlayerHistory) GetSnid() int32 {
|
||
if x != nil {
|
||
return x.Snid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ASPlayerHistory) GetPlatform() string {
|
||
if x != nil {
|
||
return x.Platform
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ASPlayerHistory) GetGameId() int32 {
|
||
if x != nil {
|
||
return x.GameId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ASPlayerHistory) GetGameHistoryModel() int32 {
|
||
if x != nil {
|
||
return x.GameHistoryModel
|
||
}
|
||
return 0
|
||
}
|
||
|
||
var File_protocol_telegramapi_telegramapi_proto protoreflect.FileDescriptor
|
||
|
||
var file_protocol_telegramapi_telegramapi_proto_rawDesc = []byte{
|
||
0x0a, 0x26, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x67,
|
||
0x72, 0x61, 0x6d, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x61,
|
||
0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x74, 0x65, 0x6c, 0x65, 0x67, 0x72,
|
||
0x61, 0x6d, 0x61, 0x70, 0x69, 0x22, 0x8b, 0x01, 0x0a, 0x07, 0x41, 0x53, 0x4c, 0x6f, 0x67, 0x69,
|
||
0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x65, 0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x49, 0x64, 0x18,
|
||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x54, 0x65, 0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x49,
|
||
0x64, 0x12, 0x20, 0x0a, 0x0b, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x61, 0x67,
|
||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
|
||
0x54, 0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||
0x0e, 0x0a, 0x02, 0x54, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x54, 0x73, 0x12,
|
||
0x12, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x53,
|
||
0x69, 0x67, 0x6e, 0x22, 0x6d, 0x0a, 0x07, 0x53, 0x41, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x26,
|
||
0x0a, 0x03, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x65,
|
||
0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x64,
|
||
0x65, 0x52, 0x03, 0x54, 0x61, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20,
|
||
0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65,
|
||
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x12,
|
||
0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e,
|
||
0x69, 0x64, 0x22, 0xc1, 0x02, 0x0a, 0x0d, 0x41, 0x53, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x69, 0x6e,
|
||
0x42, 0x79, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
||
0x52, 0x02, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x47, 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01,
|
||
0x28, 0x03, 0x52, 0x04, 0x47, 0x6f, 0x6c, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x6f, 0x6c, 0x64,
|
||
0x45, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x47, 0x6f, 0x6c, 0x64, 0x45, 0x78,
|
||
0x12, 0x12, 0x0a, 0x04, 0x4f, 0x70, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
||
0x4f, 0x70, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x65, 0x73, 0x63, 0x18, 0x05, 0x20, 0x01,
|
||
0x28, 0x09, 0x52, 0x04, 0x44, 0x65, 0x73, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x42, 0x69, 0x6c, 0x6c,
|
||
0x4e, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x42, 0x69, 0x6c, 0x6c, 0x4e, 0x6f,
|
||
0x12, 0x1a, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x07, 0x20, 0x01,
|
||
0x28, 0x09, 0x52, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x18, 0x0a, 0x07,
|
||
0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x4c,
|
||
0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x49, 0x73, 0x41, 0x63, 0x63, 0x54,
|
||
0x6f, 0x64, 0x61, 0x79, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01,
|
||
0x28, 0x08, 0x52, 0x12, 0x49, 0x73, 0x41, 0x63, 0x63, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x52, 0x65,
|
||
0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x4e, 0x65, 0x65, 0x64, 0x46, 0x6c,
|
||
0x6f, 0x77, 0x52, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x4e, 0x65,
|
||
0x65, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x4e, 0x65,
|
||
0x65, 0x64, 0x47, 0x69, 0x76, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x61, 0x74, 0x65, 0x18, 0x0b,
|
||
0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x4e, 0x65, 0x65, 0x64, 0x47, 0x69, 0x76, 0x65, 0x46, 0x6c,
|
||
0x6f, 0x77, 0x52, 0x61, 0x74, 0x65, 0x22, 0x49, 0x0a, 0x0d, 0x53, 0x41, 0x41, 0x64, 0x64, 0x43,
|
||
0x6f, 0x69, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x18, 0x01,
|
||
0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x61,
|
||
0x70, 0x69, 0x2e, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x03, 0x54, 0x61, 0x67, 0x12,
|
||
0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73,
|
||
0x67, 0x22, 0x48, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x69, 0x6e, 0x44,
|
||
0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||
0x02, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x47, 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||
0x03, 0x52, 0x04, 0x47, 0x6f, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x42, 0x61, 0x6e, 0x6b, 0x18,
|
||
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x42, 0x61, 0x6e, 0x6b, 0x22, 0x3e, 0x0a, 0x0c, 0x41,
|
||
0x53, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x47, 0x6f, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x53,
|
||
0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x12,
|
||
0x1a, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||
0x09, 0x52, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0x79, 0x0a, 0x0c, 0x53,
|
||
0x41, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x47, 0x6f, 0x6c, 0x64, 0x12, 0x26, 0x0a, 0x03, 0x54,
|
||
0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x67,
|
||
0x72, 0x61, 0x6d, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x03,
|
||
0x54, 0x61, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x2f, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
|
||
0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x61, 0x70,
|
||
0x69, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61,
|
||
0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x37, 0x0a, 0x0b, 0x41, 0x53, 0x43, 0x72, 0x61, 0x63,
|
||
0x68, 0x48, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20,
|
||
0x01, 0x28, 0x09, 0x52, 0x04, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x57, 0x68, 0x65,
|
||
0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x57, 0x68, 0x65, 0x65, 0x6c, 0x22,
|
||
0x63, 0x0a, 0x0b, 0x53, 0x41, 0x43, 0x72, 0x61, 0x63, 0x68, 0x48, 0x61, 0x73, 0x68, 0x12, 0x26,
|
||
0x0a, 0x03, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x65,
|
||
0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x64,
|
||
0x65, 0x52, 0x03, 0x54, 0x61, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20,
|
||
0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x75, 0x6c, 0x74,
|
||
0x69, 0x70, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x4d, 0x75, 0x6c, 0x74,
|
||
0x69, 0x70, 0x6c, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x0f, 0x47, 0x61, 0x6d, 0x65, 0x48, 0x69, 0x73,
|
||
0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x47, 0x61, 0x6d, 0x65,
|
||
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x47, 0x61,
|
||
0x6d, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61,
|
||
0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x43,
|
||
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x75,
|
||
0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x4d, 0x75,
|
||
0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x18, 0x04,
|
||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x48, 0x61, 0x73, 0x68, 0x22, 0xfb, 0x01, 0x0a, 0x11, 0x50,
|
||
0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f,
|
||
0x12, 0x16, 0x0a, 0x06, 0x53, 0x70, 0x69, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x06, 0x53, 0x70, 0x69, 0x6e, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61,
|
||
0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x43,
|
||
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f,
|
||
0x74, 0x61, 0x6c, 0x42, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||
0x03, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||
0x12, 0x28, 0x0a, 0x0f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x56, 0x61,
|
||
0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x54, 0x6f, 0x74, 0x61, 0x6c,
|
||
0x50, 0x72, 0x69, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73,
|
||
0x46, 0x72, 0x65, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73, 0x46, 0x72,
|
||
0x65, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x6f, 0x6e, 0x75, 0x73,
|
||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x54, 0x6f, 0x74,
|
||
0x61, 0x6c, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08,
|
||
0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
||
0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x22, 0xd1, 0x01, 0x0a, 0x0f, 0x53, 0x41, 0x50,
|
||
0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x03,
|
||
0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x65, 0x6c, 0x65,
|
||
0x67, 0x72, 0x61, 0x6d, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x52,
|
||
0x03, 0x54, 0x61, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||
0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x44, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
|
||
0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
|
||
0x74, 0x65, 0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x6c, 0x61, 0x79,
|
||
0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x50,
|
||
0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3e, 0x0a, 0x0b,
|
||
0x47, 0x61, 0x6d, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28,
|
||
0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x61, 0x70, 0x69, 0x2e,
|
||
0x47, 0x61, 0x6d, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
||
0x0b, 0x47, 0x61, 0x6d, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x85, 0x01, 0x0a,
|
||
0x0f, 0x41, 0x53, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
|
||
0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
|
||
0x53, 0x6e, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
|
||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
|
||
0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
|
||
0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x47, 0x61, 0x6d, 0x65,
|
||
0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01,
|
||
0x28, 0x05, 0x52, 0x10, 0x47, 0x61, 0x6d, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d,
|
||
0x6f, 0x64, 0x65, 0x6c, 0x2a, 0x55, 0x0a, 0x07, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x12,
|
||
0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07,
|
||
0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49,
|
||
0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x45, 0x52,
|
||
0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x5f, 0x44,
|
||
0x41, 0x54, 0x41, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x42, 0x2b, 0x5a, 0x29, 0x6d,
|
||
0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
|
||
0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x74, 0x65, 0x6c,
|
||
0x65, 0x67, 0x72, 0x61, 0x6d, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_protocol_telegramapi_telegramapi_proto_rawDescOnce sync.Once
|
||
file_protocol_telegramapi_telegramapi_proto_rawDescData = file_protocol_telegramapi_telegramapi_proto_rawDesc
|
||
)
|
||
|
||
func file_protocol_telegramapi_telegramapi_proto_rawDescGZIP() []byte {
|
||
file_protocol_telegramapi_telegramapi_proto_rawDescOnce.Do(func() {
|
||
file_protocol_telegramapi_telegramapi_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_telegramapi_telegramapi_proto_rawDescData)
|
||
})
|
||
return file_protocol_telegramapi_telegramapi_proto_rawDescData
|
||
}
|
||
|
||
var file_protocol_telegramapi_telegramapi_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
var file_protocol_telegramapi_telegramapi_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||
var file_protocol_telegramapi_telegramapi_proto_goTypes = []interface{}{
|
||
(TagCode)(0), // 0: telegramapi.TagCode
|
||
(*ASLogin)(nil), // 1: telegramapi.ASLogin
|
||
(*SALogin)(nil), // 2: telegramapi.SALogin
|
||
(*ASAddCoinById)(nil), // 3: telegramapi.ASAddCoinById
|
||
(*SAAddCoinById)(nil), // 4: telegramapi.SAAddCoinById
|
||
(*PlayerCoinData)(nil), // 5: telegramapi.PlayerCoinData
|
||
(*ASMemberGold)(nil), // 6: telegramapi.ASMemberGold
|
||
(*SAMemberGold)(nil), // 7: telegramapi.SAMemberGold
|
||
(*ASCrachHash)(nil), // 8: telegramapi.ASCrachHash
|
||
(*SACrachHash)(nil), // 9: telegramapi.SACrachHash
|
||
(*GameHistoryInfo)(nil), // 10: telegramapi.GameHistoryInfo
|
||
(*PlayerHistoryInfo)(nil), // 11: telegramapi.PlayerHistoryInfo
|
||
(*SAPlayerHistory)(nil), // 12: telegramapi.SAPlayerHistory
|
||
(*ASPlayerHistory)(nil), // 13: telegramapi.ASPlayerHistory
|
||
}
|
||
var file_protocol_telegramapi_telegramapi_proto_depIdxs = []int32{
|
||
0, // 0: telegramapi.SALogin.Tag:type_name -> telegramapi.TagCode
|
||
0, // 1: telegramapi.SAAddCoinById.Tag:type_name -> telegramapi.TagCode
|
||
0, // 2: telegramapi.SAMemberGold.Tag:type_name -> telegramapi.TagCode
|
||
5, // 3: telegramapi.SAMemberGold.Data:type_name -> telegramapi.PlayerCoinData
|
||
0, // 4: telegramapi.SACrachHash.Tag:type_name -> telegramapi.TagCode
|
||
0, // 5: telegramapi.SAPlayerHistory.Tag:type_name -> telegramapi.TagCode
|
||
11, // 6: telegramapi.SAPlayerHistory.PlayerHistory:type_name -> telegramapi.PlayerHistoryInfo
|
||
10, // 7: telegramapi.SAPlayerHistory.GameHistory:type_name -> telegramapi.GameHistoryInfo
|
||
8, // [8:8] is the sub-list for method output_type
|
||
8, // [8:8] is the sub-list for method input_type
|
||
8, // [8:8] is the sub-list for extension type_name
|
||
8, // [8:8] is the sub-list for extension extendee
|
||
0, // [0:8] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_protocol_telegramapi_telegramapi_proto_init() }
|
||
func file_protocol_telegramapi_telegramapi_proto_init() {
|
||
if File_protocol_telegramapi_telegramapi_proto != nil {
|
||
return
|
||
}
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ASLogin); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SALogin); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ASAddCoinById); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SAAddCoinById); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*PlayerCoinData); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ASMemberGold); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SAMemberGold); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ASCrachHash); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SACrachHash); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*GameHistoryInfo); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*PlayerHistoryInfo); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SAPlayerHistory); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_protocol_telegramapi_telegramapi_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ASPlayerHistory); 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_protocol_telegramapi_telegramapi_proto_rawDesc,
|
||
NumEnums: 1,
|
||
NumMessages: 13,
|
||
NumExtensions: 0,
|
||
NumServices: 0,
|
||
},
|
||
GoTypes: file_protocol_telegramapi_telegramapi_proto_goTypes,
|
||
DependencyIndexes: file_protocol_telegramapi_telegramapi_proto_depIdxs,
|
||
EnumInfos: file_protocol_telegramapi_telegramapi_proto_enumTypes,
|
||
MessageInfos: file_protocol_telegramapi_telegramapi_proto_msgTypes,
|
||
}.Build()
|
||
File_protocol_telegramapi_telegramapi_proto = out.File
|
||
file_protocol_telegramapi_telegramapi_proto_rawDesc = nil
|
||
file_protocol_telegramapi_telegramapi_proto_goTypes = nil
|
||
file_protocol_telegramapi_telegramapi_proto_depIdxs = nil
|
||
}
|