bs_types

package
v0.0.0-...-155bb80 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package bs_types is a generated protocol buffer package.

It is generated from these files:

railgun/protodefine/mytype/types.proto

It has these top-level messages:

BaseInfo
BaseUserInfo
UserSessionInfo
FundItem

Index

Constants

This section is empty.

Variables

View Source
var BaseUserInfo_UserType_name = map[int32]string{
	0:  "UNKNOW",
	1:  "Normal",
	10: "Robot",
}
View Source
var BaseUserInfo_UserType_value = map[string]int32{
	"UNKNOW": 0,
	"Normal": 1,
	"Robot":  10,
}
View Source
var CMDKindId_name = map[int32]string{
	0:    "NullType",
	8:    "IDKindLogger",
	9:    "IDKindNetTCP",
	10:   "IDKindRouter",
	11:   "IDKindAppFrame",
	12:   "IDKindGate",
	13:   "IDKindClient",
	14:   "IDKindMatchClient",
	15:   "IDKindMCMS",
	16:   "IDKindTableLogic",
	17:   "IDKindFund",
	18:   "IDKindHallClient",
	19:   "IDKindMatchPhase",
	20:   "IDKindRankList",
	21:   "IDKindList",
	22:   "IDKindMatchDB",
	256:  "IDKindPrivateInternal",
	288:  "IDKindGameStart",
	4094: "IDLast",
}
View Source
var CMDKindId_value = map[string]int32{
	"NullType":              0,
	"IDKindLogger":          8,
	"IDKindNetTCP":          9,
	"IDKindRouter":          10,
	"IDKindAppFrame":        11,
	"IDKindGate":            12,
	"IDKindClient":          13,
	"IDKindMatchClient":     14,
	"IDKindMCMS":            15,
	"IDKindTableLogic":      16,
	"IDKindFund":            17,
	"IDKindHallClient":      18,
	"IDKindMatchPhase":      19,
	"IDKindRankList":        20,
	"IDKindList":            21,
	"IDKindMatchDB":         22,
	"IDKindPrivateInternal": 256,
	"IDKindGameStart":       288,
	"IDLast":                4094,
}
View Source
var EnumAppId_name = map[int32]string{
	0: "UnknowId",
	1: "Send2All",
	2: "Send2AnyOne",
}
View Source
var EnumAppId_value = map[string]int32{
	"UnknowId":    0,
	"Send2All":    1,
	"Send2AnyOne": 2,
}
View Source
var EnumAppType_name = map[int32]string{
	0:   "UnknowType",
	5:   "Gate",
	6:   "Router",
	7:   "Login",
	8:   "Online",
	9:   "Fund",
	10:  "List",
	12:  "FreeMatch",
	13:  "Match",
	14:  "TableLogic",
	15:  "MatchPhase",
	16:  "RankList",
	18:  "MatchDB",
	19:  "Conect_To_Gold",
	224: "Tool",
	254: "Last",
}
View Source
var EnumAppType_value = map[string]int32{
	"UnknowType":     0,
	"Gate":           5,
	"Router":         6,
	"Login":          7,
	"Online":         8,
	"Fund":           9,
	"List":           10,
	"FreeMatch":      12,
	"Match":          13,
	"TableLogic":     14,
	"MatchPhase":     15,
	"RankList":       16,
	"MatchDB":        18,
	"Conect_To_Gold": 19,
	"Tool":           224,
	"Last":           254,
}

Functions

This section is empty.

Types

type BaseInfo

type BaseInfo struct {
	KindId     uint32 `protobuf:"varint,1,opt,name=kind_id,json=kindId" json:"kind_id,omitempty"`
	SubId      uint32 `protobuf:"varint,2,opt,name=sub_id,json=subId" json:"sub_id,omitempty"`
	ConnId     uint64 `protobuf:"varint,3,opt,name=conn_id,json=connId" json:"conn_id,omitempty"`
	GateConnId uint64 `protobuf:"varint,4,opt,name=gate_conn_id,json=gateConnId" json:"gate_conn_id,omitempty"`
	RemoteAdd  string `protobuf:"bytes,5,opt,name=remote_add,json=remoteAdd" json:"remote_add,omitempty"`
	AttApptype uint32 `protobuf:"varint,6,opt,name=att_apptype,json=attApptype" json:"att_apptype,omitempty"`
	AttAppid   uint32 `protobuf:"varint,7,opt,name=att_appid,json=attAppid" json:"att_appid,omitempty"`
}

func (*BaseInfo) Descriptor

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

func (*BaseInfo) ProtoMessage

func (*BaseInfo) ProtoMessage()

func (*BaseInfo) Reset

func (m *BaseInfo) Reset()

func (*BaseInfo) String

func (m *BaseInfo) String() string

type BaseUserInfo

type BaseUserInfo struct {
	UserId       uint64                `protobuf:"varint,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	GameId       uint64                `protobuf:"varint,2,opt,name=game_id,json=gameId" json:"game_id,omitempty"`
	Gender       uint32                `protobuf:"varint,3,opt,name=gender" json:"gender,omitempty"`
	VipLevel     uint32                `protobuf:"varint,4,opt,name=vip_level,json=vipLevel" json:"vip_level,omitempty"`
	VipEndday    uint32                `protobuf:"varint,5,opt,name=vip_endday,json=vipEndday" json:"vip_endday,omitempty"`
	MarketId     uint32                `protobuf:"varint,6,opt,name=market_id,json=marketId" json:"market_id,omitempty"`
	FaceId       uint32                `protobuf:"varint,7,opt,name=face_id,json=faceId" json:"face_id,omitempty"`
	CustomFace   string                `protobuf:"bytes,8,opt,name=custom_face,json=customFace" json:"custom_face,omitempty"`
	NickName     string                `protobuf:"bytes,9,opt,name=nick_name,json=nickName" json:"nick_name,omitempty"`
	ManagerRight uint32                `protobuf:"varint,10,opt,name=manager_right,json=managerRight" json:"manager_right,omitempty"`
	UserRight    uint32                `protobuf:"varint,11,opt,name=user_right,json=userRight" json:"user_right,omitempty"`
	UserType     BaseUserInfo_UserType `protobuf:"varint,12,opt,name=user_type,json=userType,enum=bs.types.BaseUserInfo_UserType" json:"user_type,omitempty"`
}

基础用户信息

func (*BaseUserInfo) Descriptor

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

func (*BaseUserInfo) ProtoMessage

func (*BaseUserInfo) ProtoMessage()

func (*BaseUserInfo) Reset

func (m *BaseUserInfo) Reset()

func (*BaseUserInfo) String

func (m *BaseUserInfo) String() string

type BaseUserInfo_UserType

type BaseUserInfo_UserType int32
const (
	BaseUserInfo_UNKNOW BaseUserInfo_UserType = 0
	BaseUserInfo_Normal BaseUserInfo_UserType = 1
	BaseUserInfo_Robot  BaseUserInfo_UserType = 10
)

func (BaseUserInfo_UserType) EnumDescriptor

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

func (BaseUserInfo_UserType) String

func (x BaseUserInfo_UserType) String() string

type CMDKindId

type CMDKindId int32
const (
	CMDKindId_NullType              CMDKindId = 0
	CMDKindId_IDKindLogger          CMDKindId = 8
	CMDKindId_IDKindNetTCP          CMDKindId = 9
	CMDKindId_IDKindRouter          CMDKindId = 10
	CMDKindId_IDKindAppFrame        CMDKindId = 11
	CMDKindId_IDKindGate            CMDKindId = 12
	CMDKindId_IDKindClient          CMDKindId = 13
	CMDKindId_IDKindMatchClient     CMDKindId = 14
	CMDKindId_IDKindMCMS            CMDKindId = 15
	CMDKindId_IDKindTableLogic      CMDKindId = 16
	CMDKindId_IDKindFund            CMDKindId = 17
	CMDKindId_IDKindHallClient      CMDKindId = 18
	CMDKindId_IDKindMatchPhase      CMDKindId = 19
	CMDKindId_IDKindRankList        CMDKindId = 20
	CMDKindId_IDKindList            CMDKindId = 21
	CMDKindId_IDKindMatchDB         CMDKindId = 22
	CMDKindId_IDKindPrivateInternal CMDKindId = 256
	CMDKindId_IDKindGameStart       CMDKindId = 288
	CMDKindId_IDLast                CMDKindId = 4094
)

func (CMDKindId) EnumDescriptor

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

func (CMDKindId) String

func (x CMDKindId) String() string

type EnumAppId

type EnumAppId int32
const (
	EnumAppId_UnknowId    EnumAppId = 0
	EnumAppId_Send2All    EnumAppId = 1
	EnumAppId_Send2AnyOne EnumAppId = 2
)

func (EnumAppId) EnumDescriptor

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

func (EnumAppId) String

func (x EnumAppId) String() string

type EnumAppType

type EnumAppType int32
const (
	EnumAppType_UnknowType     EnumAppType = 0
	EnumAppType_Gate           EnumAppType = 5
	EnumAppType_Router         EnumAppType = 6
	EnumAppType_Login          EnumAppType = 7
	EnumAppType_Online         EnumAppType = 8
	EnumAppType_Fund           EnumAppType = 9
	EnumAppType_List           EnumAppType = 10
	EnumAppType_FreeMatch      EnumAppType = 12
	EnumAppType_Match          EnumAppType = 13
	EnumAppType_TableLogic     EnumAppType = 14
	EnumAppType_MatchPhase     EnumAppType = 15
	EnumAppType_RankList       EnumAppType = 16
	EnumAppType_MatchDB        EnumAppType = 18
	EnumAppType_Conect_To_Gold EnumAppType = 19
	EnumAppType_Tool           EnumAppType = 224
	EnumAppType_Last           EnumAppType = 254
)

func (EnumAppType) EnumDescriptor

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

func (EnumAppType) String

func (x EnumAppType) String() string

type FundItem

type FundItem struct {
	Id    uint32 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	Count uint64 `protobuf:"varint,3,opt,name=count" json:"count,omitempty"`
	Name  string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
}

财富类型项

func (*FundItem) Descriptor

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

func (*FundItem) ProtoMessage

func (*FundItem) ProtoMessage()

func (*FundItem) Reset

func (m *FundItem) Reset()

func (*FundItem) String

func (m *FundItem) String() string

type UserSessionInfo

type UserSessionInfo struct {
	GateId     uint32 `protobuf:"varint,1,opt,name=gate_id,json=gateId" json:"gate_id,omitempty"`
	GateConnId uint64 `protobuf:"varint,2,opt,name=gate_conn_id,json=gateConnId" json:"gate_conn_id,omitempty"`
	Client_IP  string `protobuf:"bytes,9,opt,name=client_IP,json=clientIP" json:"client_IP,omitempty"`
}

用户当前连接信息

func (*UserSessionInfo) Descriptor

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

func (*UserSessionInfo) ProtoMessage

func (*UserSessionInfo) ProtoMessage()

func (*UserSessionInfo) Reset

func (m *UserSessionInfo) Reset()

func (*UserSessionInfo) String

func (m *UserSessionInfo) String() string

Jump to

Keyboard shortcuts

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