MSG_Server

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package MSG_Server is a generated protocol buffer package.

It is generated from these files:

MSG_Server.proto

It has these top-level messages:

CS_ServerRegister_Req
SC_ServerRegister_Rsp

Index

Constants

This section is empty.

Variables

View Source
var ErrorCode_name = map[int32]string{
	0: "Invalid",
	1: "Success",
	2: "Fail",
}
View Source
var ErrorCode_value = map[string]int32{
	"Invalid": 0,
	"Success": 1,
	"Fail":    2,
}
View Source
var SUBMSG_name = map[int32]string{
	0: "Begin",
	1: "CS_ServerRegister",
	2: "SC_ServerRegister",
}
View Source
var SUBMSG_value = map[string]int32{
	"Begin":             0,
	"CS_ServerRegister": 1,
	"SC_ServerRegister": 2,
}

Functions

This section is empty.

Types

type CS_ServerRegister_Req

type CS_ServerRegister_Req struct {
	ServerType int32    `protobuf:"varint,1,opt,name=ServerType" json:"ServerType,omitempty"`
	Msgs       []uint32 `protobuf:"varint,2,rep,name=Msgs" json:"Msgs,omitempty"`
}

CS_ServerRegister

func (*CS_ServerRegister_Req) Descriptor

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

func (*CS_ServerRegister_Req) ProtoMessage

func (*CS_ServerRegister_Req) ProtoMessage()

func (*CS_ServerRegister_Req) Reset

func (m *CS_ServerRegister_Req) Reset()

func (*CS_ServerRegister_Req) String

func (m *CS_ServerRegister_Req) String() string

type ErrorCode

type ErrorCode int32
const (
	ErrorCode_Invalid ErrorCode = 0
	ErrorCode_Success ErrorCode = 1
	ErrorCode_Fail    ErrorCode = 2
)

func (ErrorCode) EnumDescriptor

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

func (ErrorCode) String

func (x ErrorCode) String() string

type SC_ServerRegister_Rsp

type SC_ServerRegister_Rsp struct {
	Ret      ErrorCode `protobuf:"varint,1,opt,name=Ret,enum=MSG_Server.ErrorCode" json:"Ret,omitempty"`
	Identify string    `protobuf:"bytes,2,opt,name=Identify" json:"Identify,omitempty"`
}

SC_ServerRegister

func (*SC_ServerRegister_Rsp) Descriptor

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

func (*SC_ServerRegister_Rsp) ProtoMessage

func (*SC_ServerRegister_Rsp) ProtoMessage()

func (*SC_ServerRegister_Rsp) Reset

func (m *SC_ServerRegister_Rsp) Reset()

func (*SC_ServerRegister_Rsp) String

func (m *SC_ServerRegister_Rsp) String() string

type SUBMSG

type SUBMSG int32

add by stefanchen server

const (
	SUBMSG_Begin             SUBMSG = 0
	SUBMSG_CS_ServerRegister SUBMSG = 1
	SUBMSG_SC_ServerRegister SUBMSG = 2
)

func (SUBMSG) EnumDescriptor

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

func (SUBMSG) String

func (x SUBMSG) String() string

Jump to

Keyboard shortcuts

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