Documentation ¶
Index ¶
- Variables
- func C2S_Ping_MessageID() v1.MessageID
- func C2S_Ping_ResponseMessageID() v1.MessageID
- func C2S_TestRepeated_MessageID() v1.MessageID
- func C2S_TestRepeated_ResponseMessageID() v1.MessageID
- func Check_S2C_Login_E_Error(value S2C_Login_E_Error) bool
- func Check_S2C_Login_E_Error_I(value int32) bool
- func Check_S2C_Register_E_Error(value S2C_Register_E_Error) bool
- func Check_S2C_Register_E_Error_I(value int32) bool
- func Check_S2C_Register_E_State(value S2C_Register_E_State) bool
- func Check_S2C_Register_E_State_I(value int32) bool
- func Check_Version(value Version) bool
- func Check_Version_I(value int32) bool
- func Each_S2C_Login_E_Error(f func(S2C_Login_E_Error) bool)
- func Each_S2C_Login_E_Error_I(f func(int32) bool)
- func Each_S2C_Register_E_Error(f func(S2C_Register_E_Error) bool)
- func Each_S2C_Register_E_Error_I(f func(int32) bool)
- func Each_S2C_Register_E_State(f func(S2C_Register_E_State) bool)
- func Each_S2C_Register_E_State_I(f func(int32) bool)
- func Each_Version(f func(Version) bool)
- func Each_Version_I(f func(int32) bool)
- func Put_C2S_Login(i interface{})
- func Put_C2S_Ping(i interface{})
- func Put_C2S_Register(i interface{})
- func Put_C2S_TestRepeated(i interface{})
- func Put_Item(i interface{})
- func Put_S2C_Close(i interface{})
- func Put_S2C_Items(i interface{})
- func Put_S2C_Login(i interface{})
- func Put_S2C_Login_ServerInfo(i interface{})
- func Put_S2C_Pong(i interface{})
- func Put_S2C_Register(i interface{})
- func Put_VersionInfo(i interface{})
- func S2C_Items_MessageID() v1.MessageID
- func S2C_Items_ResponseMessageID() v1.MessageID
- func S2C_Login_E_Error_Len() int
- func S2C_Pong_MessageID() v1.MessageID
- func S2C_Pong_ResponseMessageID() v1.MessageID
- func S2C_Register_E_Error_Len() int
- func S2C_Register_E_State_Len() int
- func Version_Len() int
- type C2S_Login
- func (m C2S_Login) Clone() *C2S_Login
- func (*C2S_Login) Descriptor() ([]byte, []int)
- func (m *C2S_Login) GetAccount() string
- func (m *C2S_Login) GetPassword() string
- func (m C2S_Login) JsonString() string
- func (m *C2S_Login) Marshal() (dAtA []byte, err error)
- func (m *C2S_Login) MarshalTo(dAtA []byte) (int, error)
- func (*C2S_Login) ProtoMessage()
- func (m *C2S_Login) Reset()
- func (m *C2S_Login) ResetEx()
- func (m *C2S_Login) Size() (n int)
- func (m *C2S_Login) String() string
- func (m *C2S_Login) Unmarshal(dAtA []byte) error
- func (m *C2S_Login) XXX_DiscardUnknown()
- func (m *C2S_Login) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *C2S_Login) XXX_Merge(src proto.Message)
- func (m *C2S_Login) XXX_Size() int
- func (m *C2S_Login) XXX_Unmarshal(b []byte) error
- type C2S_Ping
- func (m C2S_Ping) Clone() *C2S_Ping
- func (*C2S_Ping) Descriptor() ([]byte, []int)
- func (m *C2S_Ping) GetB() bool
- func (m *C2S_Ping) GetBytes() []byte
- func (m *C2S_Ping) GetContent() string
- func (m *C2S_Ping) GetD() float64
- func (m *C2S_Ping) GetF() float32
- func (m *C2S_Ping) GetI32() int32
- func (m *C2S_Ping) GetI32Map() map[int32]int32
- func (m *C2S_Ping) GetI64() int64
- func (m *C2S_Ping) GetInfo() *VersionInfo
- func (m *C2S_Ping) GetInfos() []*VersionInfo
- func (m *C2S_Ping) GetInfosMap() map[int32]*VersionInfo
- func (m *C2S_Ping) GetUi32() uint32
- func (m *C2S_Ping) GetUi64() uint64
- func (m *C2S_Ping) GetV() Version
- func (m *C2S_Ping) GetVersionMap() map[int32]Version
- func (m C2S_Ping) JsonString() string
- func (m *C2S_Ping) Marshal() (dAtA []byte, err error)
- func (m *C2S_Ping) MarshalTo(dAtA []byte) (int, error)
- func (C2S_Ping) MessageID() v1.MessageID
- func (*C2S_Ping) ProtoMessage()
- func (m *C2S_Ping) Reset()
- func (m *C2S_Ping) ResetEx()
- func (C2S_Ping) ResponseMessageID() v1.MessageID
- func (m *C2S_Ping) Size() (n int)
- func (m *C2S_Ping) String() string
- func (m *C2S_Ping) Unmarshal(dAtA []byte) error
- func (C2S_Ping) V1()
- func (m *C2S_Ping) XXX_DiscardUnknown()
- func (m *C2S_Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *C2S_Ping) XXX_Merge(src proto.Message)
- func (m *C2S_Ping) XXX_Size() int
- func (m *C2S_Ping) XXX_Unmarshal(b []byte) error
- type C2S_Register
- func (m C2S_Register) Clone() *C2S_Register
- func (*C2S_Register) Descriptor() ([]byte, []int)
- func (m *C2S_Register) GetAccountName() string
- func (m *C2S_Register) GetPasswrod() string
- func (m C2S_Register) JsonString() string
- func (m *C2S_Register) Marshal() (dAtA []byte, err error)
- func (m *C2S_Register) MarshalTo(dAtA []byte) (int, error)
- func (*C2S_Register) ProtoMessage()
- func (m *C2S_Register) Reset()
- func (m *C2S_Register) ResetEx()
- func (m *C2S_Register) Size() (n int)
- func (m *C2S_Register) String() string
- func (m *C2S_Register) Unmarshal(dAtA []byte) error
- func (m *C2S_Register) XXX_DiscardUnknown()
- func (m *C2S_Register) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *C2S_Register) XXX_Merge(src proto.Message)
- func (m *C2S_Register) XXX_Size() int
- func (m *C2S_Register) XXX_Unmarshal(b []byte) error
- type C2S_TestRepeated
- func (m C2S_TestRepeated) Clone() *C2S_TestRepeated
- func (*C2S_TestRepeated) Descriptor() ([]byte, []int)
- func (m *C2S_TestRepeated) GetB() []bool
- func (m *C2S_TestRepeated) GetBytes() [][]byte
- func (m *C2S_TestRepeated) GetContent() []string
- func (m *C2S_TestRepeated) GetD() []float64
- func (m *C2S_TestRepeated) GetF() []float32
- func (m *C2S_TestRepeated) GetI32() []int32
- func (m *C2S_TestRepeated) GetI64() []int64
- func (m *C2S_TestRepeated) GetInfos() []*VersionInfo
- func (m *C2S_TestRepeated) GetUi32() []uint32
- func (m *C2S_TestRepeated) GetUi64() []uint64
- func (m *C2S_TestRepeated) GetVs() []Version
- func (m C2S_TestRepeated) JsonString() string
- func (m *C2S_TestRepeated) Marshal() (dAtA []byte, err error)
- func (m *C2S_TestRepeated) MarshalTo(dAtA []byte) (int, error)
- func (C2S_TestRepeated) MessageID() v1.MessageID
- func (*C2S_TestRepeated) ProtoMessage()
- func (m *C2S_TestRepeated) Reset()
- func (m *C2S_TestRepeated) ResetEx()
- func (C2S_TestRepeated) ResponseMessageID() v1.MessageID
- func (m *C2S_TestRepeated) Size() (n int)
- func (m *C2S_TestRepeated) String() string
- func (m *C2S_TestRepeated) Unmarshal(dAtA []byte) error
- func (C2S_TestRepeated) V1()
- func (m *C2S_TestRepeated) XXX_DiscardUnknown()
- func (m *C2S_TestRepeated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *C2S_TestRepeated) XXX_Merge(src proto.Message)
- func (m *C2S_TestRepeated) XXX_Size() int
- func (m *C2S_TestRepeated) XXX_Unmarshal(b []byte) error
- type Item
- func (m Item) Clone() *Item
- func (*Item) Descriptor() ([]byte, []int)
- func (m *Item) GetCreateTime() int64
- func (m *Item) GetStack() int32
- func (m *Item) GetUid() string
- func (m Item) JsonString() string
- func (m *Item) Marshal() (dAtA []byte, err error)
- func (m *Item) MarshalTo(dAtA []byte) (int, error)
- func (*Item) ProtoMessage()
- func (m *Item) Reset()
- func (m *Item) ResetEx()
- func (m *Item) Size() (n int)
- func (m *Item) String() string
- func (m *Item) Unmarshal(dAtA []byte) error
- func (m *Item) XXX_DiscardUnknown()
- func (m *Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Item) XXX_Merge(src proto.Message)
- func (m *Item) XXX_Size() int
- func (m *Item) XXX_Unmarshal(b []byte) error
- type S2C_Close
- func (m S2C_Close) Clone() *S2C_Close
- func (*S2C_Close) Descriptor() ([]byte, []int)
- func (m *S2C_Close) GetErr() int32
- func (m S2C_Close) JsonString() string
- func (m *S2C_Close) Marshal() (dAtA []byte, err error)
- func (m *S2C_Close) MarshalTo(dAtA []byte) (int, error)
- func (*S2C_Close) ProtoMessage()
- func (m *S2C_Close) Reset()
- func (m *S2C_Close) ResetEx()
- func (m *S2C_Close) Size() (n int)
- func (m *S2C_Close) String() string
- func (m *S2C_Close) Unmarshal(dAtA []byte) error
- func (m *S2C_Close) XXX_DiscardUnknown()
- func (m *S2C_Close) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *S2C_Close) XXX_Merge(src proto.Message)
- func (m *S2C_Close) XXX_Size() int
- func (m *S2C_Close) XXX_Unmarshal(b []byte) error
- type S2C_Items
- func (m S2C_Items) Clone() *S2C_Items
- func (*S2C_Items) Descriptor() ([]byte, []int)
- func (m *S2C_Items) GetItem() *Item
- func (m *S2C_Items) GetItems() []*Item
- func (m S2C_Items) JsonString() string
- func (m *S2C_Items) Marshal() (dAtA []byte, err error)
- func (m *S2C_Items) MarshalTo(dAtA []byte) (int, error)
- func (S2C_Items) MessageID() v1.MessageID
- func (*S2C_Items) ProtoMessage()
- func (m *S2C_Items) Reset()
- func (m *S2C_Items) ResetEx()
- func (S2C_Items) ResponseMessageID() v1.MessageID
- func (m *S2C_Items) Size() (n int)
- func (m *S2C_Items) String() string
- func (m *S2C_Items) Unmarshal(dAtA []byte) error
- func (S2C_Items) V1()
- func (m *S2C_Items) XXX_DiscardUnknown()
- func (m *S2C_Items) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *S2C_Items) XXX_Merge(src proto.Message)
- func (m *S2C_Items) XXX_Size() int
- func (m *S2C_Items) XXX_Unmarshal(b []byte) error
- type S2C_Login
- func (m S2C_Login) Clone() *S2C_Login
- func (*S2C_Login) Descriptor() ([]byte, []int)
- func (m *S2C_Login) GetErr() S2C_Login_E_Error
- func (m *S2C_Login) GetKey() string
- func (m *S2C_Login) GetLastLoginServerID() int32
- func (m *S2C_Login) GetServer() []*S2C_Login_ServerInfo
- func (m S2C_Login) JsonString() string
- func (m *S2C_Login) Marshal() (dAtA []byte, err error)
- func (m *S2C_Login) MarshalTo(dAtA []byte) (int, error)
- func (*S2C_Login) ProtoMessage()
- func (m *S2C_Login) Reset()
- func (m *S2C_Login) ResetEx()
- func (m *S2C_Login) Size() (n int)
- func (m *S2C_Login) String() string
- func (m *S2C_Login) Unmarshal(dAtA []byte) error
- func (m *S2C_Login) XXX_DiscardUnknown()
- func (m *S2C_Login) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *S2C_Login) XXX_Merge(src proto.Message)
- func (m *S2C_Login) XXX_Size() int
- func (m *S2C_Login) XXX_Unmarshal(b []byte) error
- type S2C_Login_E_Error
- type S2C_Login_ServerInfo
- func (m S2C_Login_ServerInfo) Clone() *S2C_Login_ServerInfo
- func (*S2C_Login_ServerInfo) Descriptor() ([]byte, []int)
- func (m *S2C_Login_ServerInfo) GetAddr() string
- func (m *S2C_Login_ServerInfo) GetID() int32
- func (m *S2C_Login_ServerInfo) GetName() string
- func (m S2C_Login_ServerInfo) JsonString() string
- func (m *S2C_Login_ServerInfo) Marshal() (dAtA []byte, err error)
- func (m *S2C_Login_ServerInfo) MarshalTo(dAtA []byte) (int, error)
- func (*S2C_Login_ServerInfo) ProtoMessage()
- func (m *S2C_Login_ServerInfo) Reset()
- func (m *S2C_Login_ServerInfo) ResetEx()
- func (m *S2C_Login_ServerInfo) Size() (n int)
- func (m *S2C_Login_ServerInfo) String() string
- func (m *S2C_Login_ServerInfo) Unmarshal(dAtA []byte) error
- func (m *S2C_Login_ServerInfo) XXX_DiscardUnknown()
- func (m *S2C_Login_ServerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *S2C_Login_ServerInfo) XXX_Merge(src proto.Message)
- func (m *S2C_Login_ServerInfo) XXX_Size() int
- func (m *S2C_Login_ServerInfo) XXX_Unmarshal(b []byte) error
- type S2C_Pong
- func (m S2C_Pong) Clone() *S2C_Pong
- func (*S2C_Pong) Descriptor() ([]byte, []int)
- func (m *S2C_Pong) GetB() bool
- func (m *S2C_Pong) GetBytes() []byte
- func (m *S2C_Pong) GetContent() string
- func (m *S2C_Pong) GetD() float64
- func (m *S2C_Pong) GetF() float32
- func (m *S2C_Pong) GetI32() int32
- func (m *S2C_Pong) GetI32Map() map[int32]int32
- func (m *S2C_Pong) GetI64() int64
- func (m *S2C_Pong) GetInfo() *VersionInfo
- func (m *S2C_Pong) GetInfos() []*VersionInfo
- func (m *S2C_Pong) GetInfosMap() map[int32]*VersionInfo
- func (m *S2C_Pong) GetUi32() uint32
- func (m *S2C_Pong) GetUi64() uint64
- func (m *S2C_Pong) GetV() Version
- func (m *S2C_Pong) GetVersionMap() map[int32]Version
- func (m S2C_Pong) JsonString() string
- func (m *S2C_Pong) Marshal() (dAtA []byte, err error)
- func (m *S2C_Pong) MarshalTo(dAtA []byte) (int, error)
- func (S2C_Pong) MessageID() v1.MessageID
- func (*S2C_Pong) ProtoMessage()
- func (m *S2C_Pong) Reset()
- func (m *S2C_Pong) ResetEx()
- func (S2C_Pong) ResponseMessageID() v1.MessageID
- func (m *S2C_Pong) Size() (n int)
- func (m *S2C_Pong) String() string
- func (m *S2C_Pong) Unmarshal(dAtA []byte) error
- func (S2C_Pong) V1()
- func (m *S2C_Pong) XXX_DiscardUnknown()
- func (m *S2C_Pong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *S2C_Pong) XXX_Merge(src proto.Message)
- func (m *S2C_Pong) XXX_Size() int
- func (m *S2C_Pong) XXX_Unmarshal(b []byte) error
- type S2C_Register
- func (m S2C_Register) Clone() *S2C_Register
- func (*S2C_Register) Descriptor() ([]byte, []int)
- func (m *S2C_Register) GetAccountName() string
- func (m *S2C_Register) GetErr() S2C_Register_E_Error
- func (m *S2C_Register) GetPassword() string
- func (m *S2C_Register) GetState() S2C_Register_E_State
- func (m S2C_Register) JsonString() string
- func (m *S2C_Register) Marshal() (dAtA []byte, err error)
- func (m *S2C_Register) MarshalTo(dAtA []byte) (int, error)
- func (*S2C_Register) ProtoMessage()
- func (m *S2C_Register) Reset()
- func (m *S2C_Register) ResetEx()
- func (m *S2C_Register) Size() (n int)
- func (m *S2C_Register) String() string
- func (m *S2C_Register) Unmarshal(dAtA []byte) error
- func (m *S2C_Register) XXX_DiscardUnknown()
- func (m *S2C_Register) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *S2C_Register) XXX_Merge(src proto.Message)
- func (m *S2C_Register) XXX_Size() int
- func (m *S2C_Register) XXX_Unmarshal(b []byte) error
- type S2C_Register_E_Error
- type S2C_Register_E_State
- type Version
- type VersionInfo
- func (m VersionInfo) Clone() *VersionInfo
- func (*VersionInfo) Descriptor() ([]byte, []int)
- func (m *VersionInfo) GetB() bool
- func (m *VersionInfo) GetBytes() []byte
- func (m *VersionInfo) GetContent() string
- func (m *VersionInfo) GetD() float64
- func (m *VersionInfo) GetF() float32
- func (m *VersionInfo) GetI32() int32
- func (m *VersionInfo) GetI64() int64
- func (m *VersionInfo) GetUi32() uint32
- func (m *VersionInfo) GetUi64() uint64
- func (m VersionInfo) JsonString() string
- func (m *VersionInfo) Marshal() (dAtA []byte, err error)
- func (m *VersionInfo) MarshalTo(dAtA []byte) (int, error)
- func (*VersionInfo) ProtoMessage()
- func (m *VersionInfo) Reset()
- func (m *VersionInfo) ResetEx()
- func (m *VersionInfo) Size() (n int)
- func (m *VersionInfo) String() string
- func (m *VersionInfo) Unmarshal(dAtA []byte) error
- func (m *VersionInfo) XXX_DiscardUnknown()
- func (m *VersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VersionInfo) XXX_Merge(src proto.Message)
- func (m *VersionInfo) XXX_Size() int
- func (m *VersionInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthLogin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLogin = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthVersion = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowVersion = fmt.Errorf("proto: integer overflow") )
var S2C_Login_E_Error_Slice = []int32{
0,
1,
2,
3,
4,
5,
}
var S2C_Login_E_Error_name = map[int32]string{
0: "Error_",
1: "OK",
2: "InvalidAccount",
3: "NotExist",
4: "InvalidPassword",
5: "Ban",
}
var S2C_Login_E_Error_value = map[string]int32{
"Error_": 0,
"OK": 1,
"InvalidAccount": 2,
"NotExist": 3,
"InvalidPassword": 4,
"Ban": 5,
}
var S2C_Register_E_Error_Slice = []int32{
0,
1,
2,
3,
4,
}
var S2C_Register_E_Error_name = map[int32]string{
0: "Error_",
1: "OK",
2: "InvalidAccountName",
3: "InvalidPassword",
4: "Exist",
}
var S2C_Register_E_Error_value = map[string]int32{
"Error_": 0,
"OK": 1,
"InvalidAccountName": 2,
"InvalidPassword": 3,
"Exist": 4,
}
var S2C_Register_E_State_Slice = []int32{
0,
1,
2,
3,
}
var S2C_Register_E_State_name = map[int32]string{
0: "State_",
1: "Visitor",
2: "Register",
3: "Bind",
}
var S2C_Register_E_State_value = map[string]int32{
"State_": 0,
"Visitor": 1,
"Register": 2,
"Bind": 3,
}
var Version_Slice = []int32{
0,
1,
}
var Version_name = map[int32]string{
0: "Version_",
1: "Num",
}
var Version_value = map[string]int32{
"Version_": 0,
"Num": 1,
}
Functions ¶
func C2S_Ping_MessageID ¶
func Check_S2C_Login_E_Error ¶
func Check_S2C_Login_E_Error(value S2C_Login_E_Error) bool
func Check_S2C_Register_E_Error ¶
func Check_S2C_Register_E_Error(value S2C_Register_E_Error) bool
func Check_S2C_Register_E_State ¶
func Check_S2C_Register_E_State(value S2C_Register_E_State) bool
func Check_Version ¶
func Check_Version_I ¶
func Each_S2C_Login_E_Error ¶
func Each_S2C_Login_E_Error(f func(S2C_Login_E_Error) bool)
func Each_S2C_Register_E_Error ¶
func Each_S2C_Register_E_Error(f func(S2C_Register_E_Error) bool)
func Each_S2C_Register_E_State ¶
func Each_S2C_Register_E_State(f func(S2C_Register_E_State) bool)
func Each_Version ¶
func Each_Version_I ¶
func Put_C2S_Login ¶
func Put_C2S_Login(i interface{})
func Put_C2S_Ping ¶
func Put_C2S_Ping(i interface{})
func Put_C2S_Register ¶
func Put_C2S_Register(i interface{})
func Put_C2S_TestRepeated ¶
func Put_C2S_TestRepeated(i interface{})
func Put_S2C_Close ¶
func Put_S2C_Close(i interface{})
func Put_S2C_Items ¶
func Put_S2C_Items(i interface{})
func Put_S2C_Login ¶
func Put_S2C_Login(i interface{})
func Put_S2C_Login_ServerInfo ¶
func Put_S2C_Login_ServerInfo(i interface{})
func Put_S2C_Pong ¶
func Put_S2C_Pong(i interface{})
func Put_S2C_Register ¶
func Put_S2C_Register(i interface{})
func Put_VersionInfo ¶
func Put_VersionInfo(i interface{})
func S2C_Items_MessageID ¶
func S2C_Login_E_Error_Len ¶
func S2C_Login_E_Error_Len() int
func S2C_Pong_MessageID ¶
func S2C_Register_E_Error_Len ¶
func S2C_Register_E_Error_Len() int
func S2C_Register_E_State_Len ¶
func S2C_Register_E_State_Len() int
func Version_Len ¶
func Version_Len() int
Types ¶
type C2S_Login ¶
type C2S_Login struct { /// 帐号名 Account string `protobuf:"bytes,1,opt,name=Account,proto3" json:"Account,omitempty"` /// 密码 Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` }
/ 登录请求 @msg
func Clone_C2S_Login_Slice ¶
func Get_C2S_Login ¶
func Get_C2S_Login() *C2S_Login
func New_C2S_Login ¶
func New_C2S_Login() *C2S_Login
func (*C2S_Login) Descriptor ¶
func (*C2S_Login) GetAccount ¶
func (*C2S_Login) GetPassword ¶
func (C2S_Login) JsonString ¶
func (*C2S_Login) ProtoMessage ¶
func (*C2S_Login) ProtoMessage()
func (*C2S_Login) ResetEx ¶
func (m *C2S_Login) ResetEx()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message C2S_Login begin
func (*C2S_Login) XXX_DiscardUnknown ¶
func (m *C2S_Login) XXX_DiscardUnknown()
func (*C2S_Login) XXX_Marshal ¶
func (*C2S_Login) XXX_Unmarshal ¶
type C2S_Ping ¶
type C2S_Ping struct { /// 测试协议1字段1 Content string `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"` /// 测试协议1字段2 D float64 `protobuf:"fixed64,2,opt,name=D,proto3" json:"D,omitempty"` /// 测试协议1字段3 F float32 `protobuf:"fixed32,3,opt,name=F,proto3" json:"F,omitempty"` /// 测试协议1字段4 I32 int32 `protobuf:"varint,4,opt,name=I32,proto3" json:"I32,omitempty"` /// 测试协议1字段5 I64 int64 `protobuf:"varint,5,opt,name=I64,proto3" json:"I64,omitempty"` /// 测试协议1字段6 Ui32 uint32 `protobuf:"varint,6,opt,name=Ui32,proto3" json:"Ui32,omitempty"` /// 测试协议1字段7 Ui64 uint64 `protobuf:"varint,7,opt,name=Ui64,proto3" json:"Ui64,omitempty"` /// 测试协议1字段8 B bool `protobuf:"varint,8,opt,name=B,proto3" json:"B,omitempty"` /// 测试协议1字段9 Bytes []byte `protobuf:"bytes,9,opt,name=Bytes,proto3" json:"Bytes,omitempty"` /// 测试协议1字段10 Info *VersionInfo `protobuf:"bytes,10,opt,name=Info,proto3" json:"Info,omitempty"` /// 测试协议1字段11 V Version `protobuf:"varint,11,opt,name=V,proto3,enum=msg.Version" json:"V,omitempty"` /// 测试协议1字段12 Infos []*VersionInfo `protobuf:"bytes,12,rep,name=Infos,proto3" json:"Infos,omitempty"` /// 测试协议1字段13 I32Map map[int32]int32 `` /* 156-byte string literal not displayed */ /// 测试协议1字段14 InfosMap map[int32]*VersionInfo `` /* 159-byte string literal not displayed */ /// 测试协议1字段15 VersionMap map[int32]Version `` /* 181-byte string literal not displayed */ }
/ 测试协议1 @msg=1 @response=S2C_Pong
func Clone_C2S_Ping_Slice ¶
func Get_C2S_Ping ¶
func Get_C2S_Ping() *C2S_Ping
func New_C2S_Ping ¶
func New_C2S_Ping() *C2S_Ping
func (*C2S_Ping) Descriptor ¶
func (*C2S_Ping) GetContent ¶
func (*C2S_Ping) GetInfo ¶
func (m *C2S_Ping) GetInfo() *VersionInfo
func (*C2S_Ping) GetInfos ¶
func (m *C2S_Ping) GetInfos() []*VersionInfo
func (*C2S_Ping) GetInfosMap ¶
func (m *C2S_Ping) GetInfosMap() map[int32]*VersionInfo
func (*C2S_Ping) GetVersionMap ¶
func (C2S_Ping) JsonString ¶
func (*C2S_Ping) ProtoMessage ¶
func (*C2S_Ping) ProtoMessage()
func (*C2S_Ping) ResetEx ¶
func (m *C2S_Ping) ResetEx()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message C2S_Ping begin
func (C2S_Ping) ResponseMessageID ¶
func (*C2S_Ping) XXX_DiscardUnknown ¶
func (m *C2S_Ping) XXX_DiscardUnknown()
func (*C2S_Ping) XXX_Marshal ¶
func (*C2S_Ping) XXX_Unmarshal ¶
type C2S_Register ¶
type C2S_Register struct { /// 帐号名 AccountName string `protobuf:"bytes,1,opt,name=AccountName,proto3" json:"AccountName,omitempty"` /// 密码 Passwrod string `protobuf:"bytes,2,opt,name=Passwrod,proto3" json:"Passwrod,omitempty"` }
/ 注册帐号请求 @msg
func Clone_C2S_Register_Slice ¶
func Clone_C2S_Register_Slice(dst []*C2S_Register, src []*C2S_Register) []*C2S_Register
func Get_C2S_Register ¶
func Get_C2S_Register() *C2S_Register
func New_C2S_Register ¶
func New_C2S_Register() *C2S_Register
func (C2S_Register) Clone ¶
func (m C2S_Register) Clone() *C2S_Register
func (*C2S_Register) Descriptor ¶
func (*C2S_Register) Descriptor() ([]byte, []int)
func (*C2S_Register) GetAccountName ¶
func (m *C2S_Register) GetAccountName() string
func (*C2S_Register) GetPasswrod ¶
func (m *C2S_Register) GetPasswrod() string
func (C2S_Register) JsonString ¶
func (m C2S_Register) JsonString() string
func (*C2S_Register) Marshal ¶
func (m *C2S_Register) Marshal() (dAtA []byte, err error)
func (*C2S_Register) ProtoMessage ¶
func (*C2S_Register) ProtoMessage()
func (*C2S_Register) Reset ¶
func (m *C2S_Register) Reset()
func (*C2S_Register) ResetEx ¶
func (m *C2S_Register) ResetEx()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message C2S_Register begin
func (*C2S_Register) Size ¶
func (m *C2S_Register) Size() (n int)
func (*C2S_Register) String ¶
func (m *C2S_Register) String() string
func (*C2S_Register) Unmarshal ¶
func (m *C2S_Register) Unmarshal(dAtA []byte) error
func (*C2S_Register) XXX_DiscardUnknown ¶
func (m *C2S_Register) XXX_DiscardUnknown()
func (*C2S_Register) XXX_Marshal ¶
func (m *C2S_Register) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*C2S_Register) XXX_Merge ¶
func (m *C2S_Register) XXX_Merge(src proto.Message)
func (*C2S_Register) XXX_Size ¶
func (m *C2S_Register) XXX_Size() int
func (*C2S_Register) XXX_Unmarshal ¶
func (m *C2S_Register) XXX_Unmarshal(b []byte) error
type C2S_TestRepeated ¶
type C2S_TestRepeated struct { /// 测试协议3字段1 Content []string `protobuf:"bytes,1,rep,name=Content,proto3" json:"Content,omitempty"` /// 测试协议3字段2 D []float64 `protobuf:"fixed64,2,rep,packed,name=D,proto3" json:"D,omitempty"` /// 测试协议3字段3 F []float32 `protobuf:"fixed32,3,rep,packed,name=F,proto3" json:"F,omitempty"` /// 测试协议3字段4 I32 []int32 `protobuf:"varint,4,rep,packed,name=I32,proto3" json:"I32,omitempty"` /// 测试协议3字段5 I64 []int64 `protobuf:"varint,5,rep,packed,name=I64,proto3" json:"I64,omitempty"` /// 测试协议3字段6 Ui32 []uint32 `protobuf:"varint,6,rep,packed,name=Ui32,proto3" json:"Ui32,omitempty"` /// 测试协议3字段7 Ui64 []uint64 `protobuf:"varint,7,rep,packed,name=Ui64,proto3" json:"Ui64,omitempty"` /// 测试协议3字段8 B []bool `protobuf:"varint,8,rep,packed,name=B,proto3" json:"B,omitempty"` /// 测试协议3字段9 Bytes [][]byte `protobuf:"bytes,9,rep,name=Bytes,proto3" json:"Bytes,omitempty"` /// 测试协议3字段10 Infos []*VersionInfo `protobuf:"bytes,10,rep,name=Infos,proto3" json:"Infos,omitempty"` /// 测试协议3字段11 Vs []Version `protobuf:"varint,11,rep,packed,name=Vs,proto3,enum=msg.Version" json:"Vs,omitempty"` }
/ 测试协议3 @msg=3
func Clone_C2S_TestRepeated_Slice ¶
func Clone_C2S_TestRepeated_Slice(dst []*C2S_TestRepeated, src []*C2S_TestRepeated) []*C2S_TestRepeated
func Get_C2S_TestRepeated ¶
func Get_C2S_TestRepeated() *C2S_TestRepeated
func New_C2S_TestRepeated ¶
func New_C2S_TestRepeated() *C2S_TestRepeated
func (C2S_TestRepeated) Clone ¶
func (m C2S_TestRepeated) Clone() *C2S_TestRepeated
func (*C2S_TestRepeated) Descriptor ¶
func (*C2S_TestRepeated) Descriptor() ([]byte, []int)
func (*C2S_TestRepeated) GetB ¶
func (m *C2S_TestRepeated) GetB() []bool
func (*C2S_TestRepeated) GetBytes ¶
func (m *C2S_TestRepeated) GetBytes() [][]byte
func (*C2S_TestRepeated) GetContent ¶
func (m *C2S_TestRepeated) GetContent() []string
func (*C2S_TestRepeated) GetD ¶
func (m *C2S_TestRepeated) GetD() []float64
func (*C2S_TestRepeated) GetF ¶
func (m *C2S_TestRepeated) GetF() []float32
func (*C2S_TestRepeated) GetI32 ¶
func (m *C2S_TestRepeated) GetI32() []int32
func (*C2S_TestRepeated) GetI64 ¶
func (m *C2S_TestRepeated) GetI64() []int64
func (*C2S_TestRepeated) GetInfos ¶
func (m *C2S_TestRepeated) GetInfos() []*VersionInfo
func (*C2S_TestRepeated) GetUi32 ¶
func (m *C2S_TestRepeated) GetUi32() []uint32
func (*C2S_TestRepeated) GetUi64 ¶
func (m *C2S_TestRepeated) GetUi64() []uint64
func (*C2S_TestRepeated) GetVs ¶
func (m *C2S_TestRepeated) GetVs() []Version
func (C2S_TestRepeated) JsonString ¶
func (m C2S_TestRepeated) JsonString() string
func (*C2S_TestRepeated) Marshal ¶
func (m *C2S_TestRepeated) Marshal() (dAtA []byte, err error)
func (C2S_TestRepeated) MessageID ¶
func (C2S_TestRepeated) MessageID() v1.MessageID
func (*C2S_TestRepeated) ProtoMessage ¶
func (*C2S_TestRepeated) ProtoMessage()
func (*C2S_TestRepeated) Reset ¶
func (m *C2S_TestRepeated) Reset()
func (*C2S_TestRepeated) ResetEx ¶
func (m *C2S_TestRepeated) ResetEx()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message C2S_TestRepeated begin
func (C2S_TestRepeated) ResponseMessageID ¶
func (C2S_TestRepeated) ResponseMessageID() v1.MessageID
func (*C2S_TestRepeated) Size ¶
func (m *C2S_TestRepeated) Size() (n int)
func (*C2S_TestRepeated) String ¶
func (m *C2S_TestRepeated) String() string
func (*C2S_TestRepeated) Unmarshal ¶
func (m *C2S_TestRepeated) Unmarshal(dAtA []byte) error
func (C2S_TestRepeated) V1 ¶
func (C2S_TestRepeated) V1()
func (*C2S_TestRepeated) XXX_DiscardUnknown ¶
func (m *C2S_TestRepeated) XXX_DiscardUnknown()
func (*C2S_TestRepeated) XXX_Marshal ¶
func (m *C2S_TestRepeated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*C2S_TestRepeated) XXX_Merge ¶
func (m *C2S_TestRepeated) XXX_Merge(src proto.Message)
func (*C2S_TestRepeated) XXX_Size ¶
func (m *C2S_TestRepeated) XXX_Size() int
func (*C2S_TestRepeated) XXX_Unmarshal ¶
func (m *C2S_TestRepeated) XXX_Unmarshal(b []byte) error
type Item ¶
type Item struct { /// 唯一id Uid string `protobuf:"bytes,1,opt,name=Uid,proto3" json:"Uid,omitempty"` /// 堆叠数量 Stack int32 `protobuf:"varint,2,opt,name=Stack,proto3" json:"Stack,omitempty"` /// 创建时刻 CreateTime int64 `protobuf:"varint,3,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` }
/ 物品信息
func Clone_Item_Slice ¶
func (*Item) Descriptor ¶
func (*Item) GetCreateTime ¶
func (Item) JsonString ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ResetEx ¶
func (m *Item) ResetEx()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message Item begin
func (*Item) XXX_DiscardUnknown ¶
func (m *Item) XXX_DiscardUnknown()
func (*Item) XXX_Unmarshal ¶
type S2C_Close ¶
type S2C_Close struct { /// 关闭代码 Err int32 `protobuf:"varint,1,opt,name=Err,proto3" json:"Err,omitempty"` }
/ 连接关闭 @msg
func Clone_S2C_Close_Slice ¶
func Get_S2C_Close ¶
func Get_S2C_Close() *S2C_Close
func New_S2C_Close ¶
func New_S2C_Close() *S2C_Close
func (*S2C_Close) Descriptor ¶
func (S2C_Close) JsonString ¶
func (*S2C_Close) ProtoMessage ¶
func (*S2C_Close) ProtoMessage()
func (*S2C_Close) ResetEx ¶
func (m *S2C_Close) ResetEx()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message S2C_Close begin
func (*S2C_Close) XXX_DiscardUnknown ¶
func (m *S2C_Close) XXX_DiscardUnknown()
func (*S2C_Close) XXX_Marshal ¶
func (*S2C_Close) XXX_Unmarshal ¶
type S2C_Items ¶
type S2C_Items struct { Item *Item `protobuf:"bytes,1,opt,name=Item,proto3" json:"Item,omitempty"` Items []*Item `protobuf:"bytes,2,rep,name=Items,proto3" json:"Items,omitempty"` }
/ 下发物品信息 @msg=4
func Clone_S2C_Items_Slice ¶
func Get_S2C_Items ¶
func Get_S2C_Items() *S2C_Items
func New_S2C_Items ¶
func New_S2C_Items() *S2C_Items
func (*S2C_Items) Descriptor ¶
func (S2C_Items) JsonString ¶
func (*S2C_Items) ProtoMessage ¶
func (*S2C_Items) ProtoMessage()
func (*S2C_Items) ResetEx ¶
func (m *S2C_Items) ResetEx()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message S2C_Items begin
func (S2C_Items) ResponseMessageID ¶
func (*S2C_Items) XXX_DiscardUnknown ¶
func (m *S2C_Items) XXX_DiscardUnknown()
func (*S2C_Items) XXX_Marshal ¶
func (*S2C_Items) XXX_Unmarshal ¶
type S2C_Login ¶
type S2C_Login struct { /// 错误码 Err S2C_Login_E_Error `protobuf:"varint,1,opt,name=Err,proto3,enum=msg.S2C_Login_E_Error" json:"Err,omitempty"` /// 密钥 Key string `protobuf:"bytes,2,opt,name=Key,proto3" json:"Key,omitempty"` /// 服务器列表 Server []*S2C_Login_ServerInfo `protobuf:"bytes,3,rep,name=Server,proto3" json:"Server,omitempty"` /// 上次登录服务器ID LastLoginServerID int32 `protobuf:"varint,4,opt,name=LastLoginServerID,proto3" json:"LastLoginServerID,omitempty"` }
/ 登录回复 @msg
func Clone_S2C_Login_Slice ¶
func Get_S2C_Login ¶
func Get_S2C_Login() *S2C_Login
func New_S2C_Login ¶
func New_S2C_Login() *S2C_Login
func (*S2C_Login) Descriptor ¶
func (*S2C_Login) GetErr ¶
func (m *S2C_Login) GetErr() S2C_Login_E_Error
func (*S2C_Login) GetLastLoginServerID ¶
func (*S2C_Login) GetServer ¶
func (m *S2C_Login) GetServer() []*S2C_Login_ServerInfo
func (S2C_Login) JsonString ¶
func (*S2C_Login) ProtoMessage ¶
func (*S2C_Login) ProtoMessage()
func (*S2C_Login) ResetEx ¶
func (m *S2C_Login) ResetEx()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message S2C_Login begin
func (*S2C_Login) XXX_DiscardUnknown ¶
func (m *S2C_Login) XXX_DiscardUnknown()
func (*S2C_Login) XXX_Marshal ¶
func (*S2C_Login) XXX_Unmarshal ¶
type S2C_Login_E_Error ¶
type S2C_Login_E_Error int32
/ 登录错误码枚举
const ( S2C_Login_Error_ S2C_Login_E_Error = 0 /// 成功 S2C_Login_OK S2C_Login_E_Error = 1 /// 非法帐号 S2C_Login_InvalidAccount S2C_Login_E_Error = 2 /// 帐号不存在 S2C_Login_NotExist S2C_Login_E_Error = 3 /// 非法密码 S2C_Login_InvalidPassword S2C_Login_E_Error = 4 /// 已封号 S2C_Login_Ban S2C_Login_E_Error = 5 )
func (S2C_Login_E_Error) EnumDescriptor ¶
func (S2C_Login_E_Error) EnumDescriptor() ([]byte, []int)
func (S2C_Login_E_Error) String ¶
func (x S2C_Login_E_Error) String() string
type S2C_Login_ServerInfo ¶
type S2C_Login_ServerInfo struct { /// 服务器ID ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` /// 服务器地址 = ip+端口+path, 例如: ws://127.0.0.1:8080/region1 Addr string `protobuf:"bytes,2,opt,name=Addr,proto3" json:"Addr,omitempty"` /// 服务器名 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` }
/ 服务器信息
func Clone_S2C_Login_ServerInfo_Slice ¶
func Clone_S2C_Login_ServerInfo_Slice(dst []*S2C_Login_ServerInfo, src []*S2C_Login_ServerInfo) []*S2C_Login_ServerInfo
func Get_S2C_Login_ServerInfo ¶
func Get_S2C_Login_ServerInfo() *S2C_Login_ServerInfo
func New_S2C_Login_ServerInfo ¶
func New_S2C_Login_ServerInfo() *S2C_Login_ServerInfo
func (S2C_Login_ServerInfo) Clone ¶
func (m S2C_Login_ServerInfo) Clone() *S2C_Login_ServerInfo
func (*S2C_Login_ServerInfo) Descriptor ¶
func (*S2C_Login_ServerInfo) Descriptor() ([]byte, []int)
func (*S2C_Login_ServerInfo) GetAddr ¶
func (m *S2C_Login_ServerInfo) GetAddr() string
func (*S2C_Login_ServerInfo) GetID ¶
func (m *S2C_Login_ServerInfo) GetID() int32
func (*S2C_Login_ServerInfo) GetName ¶
func (m *S2C_Login_ServerInfo) GetName() string
func (S2C_Login_ServerInfo) JsonString ¶
func (m S2C_Login_ServerInfo) JsonString() string
func (*S2C_Login_ServerInfo) Marshal ¶
func (m *S2C_Login_ServerInfo) Marshal() (dAtA []byte, err error)
func (*S2C_Login_ServerInfo) MarshalTo ¶
func (m *S2C_Login_ServerInfo) MarshalTo(dAtA []byte) (int, error)
func (*S2C_Login_ServerInfo) ProtoMessage ¶
func (*S2C_Login_ServerInfo) ProtoMessage()
func (*S2C_Login_ServerInfo) Reset ¶
func (m *S2C_Login_ServerInfo) Reset()
func (*S2C_Login_ServerInfo) ResetEx ¶
func (m *S2C_Login_ServerInfo) ResetEx()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message S2C_Login_ServerInfo begin
func (*S2C_Login_ServerInfo) Size ¶
func (m *S2C_Login_ServerInfo) Size() (n int)
func (*S2C_Login_ServerInfo) String ¶
func (m *S2C_Login_ServerInfo) String() string
func (*S2C_Login_ServerInfo) Unmarshal ¶
func (m *S2C_Login_ServerInfo) Unmarshal(dAtA []byte) error
func (*S2C_Login_ServerInfo) XXX_DiscardUnknown ¶
func (m *S2C_Login_ServerInfo) XXX_DiscardUnknown()
func (*S2C_Login_ServerInfo) XXX_Marshal ¶
func (m *S2C_Login_ServerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*S2C_Login_ServerInfo) XXX_Merge ¶
func (m *S2C_Login_ServerInfo) XXX_Merge(src proto.Message)
func (*S2C_Login_ServerInfo) XXX_Size ¶
func (m *S2C_Login_ServerInfo) XXX_Size() int
func (*S2C_Login_ServerInfo) XXX_Unmarshal ¶
func (m *S2C_Login_ServerInfo) XXX_Unmarshal(b []byte) error
type S2C_Pong ¶
type S2C_Pong struct { /// 测试协议2字段1 Content string `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"` /// 测试协议2字段2 D float64 `protobuf:"fixed64,2,opt,name=D,proto3" json:"D,omitempty"` /// 测试协议2字段3 F float32 `protobuf:"fixed32,3,opt,name=F,proto3" json:"F,omitempty"` /// 测试协议2字段4 I32 int32 `protobuf:"varint,4,opt,name=I32,proto3" json:"I32,omitempty"` /// 测试协议2字段5 I64 int64 `protobuf:"varint,5,opt,name=I64,proto3" json:"I64,omitempty"` /// 测试协议2字段6 Ui32 uint32 `protobuf:"varint,6,opt,name=Ui32,proto3" json:"Ui32,omitempty"` /// 测试协议2字段7 Ui64 uint64 `protobuf:"varint,7,opt,name=Ui64,proto3" json:"Ui64,omitempty"` /// 测试协议2字段8 B bool `protobuf:"varint,8,opt,name=B,proto3" json:"B,omitempty"` /// 测试协议2字段9 Bytes []byte `protobuf:"bytes,9,opt,name=Bytes,proto3" json:"Bytes,omitempty"` /// 测试协议2字段10 Info *VersionInfo `protobuf:"bytes,10,opt,name=Info,proto3" json:"Info,omitempty"` /// 测试协议1字段11 V Version `protobuf:"varint,11,opt,name=V,proto3,enum=msg.Version" json:"V,omitempty"` /// 测试协议1字段12 Infos []*VersionInfo `protobuf:"bytes,12,rep,name=Infos,proto3" json:"Infos,omitempty"` /// 测试协议1字段13 I32Map map[int32]int32 `` /* 156-byte string literal not displayed */ /// 测试协议1字段14 InfosMap map[int32]*VersionInfo `` /* 159-byte string literal not displayed */ /// 测试协议1字段15 VersionMap map[int32]Version `` /* 181-byte string literal not displayed */ }
/ 测试协议2 @msg=2
func Clone_S2C_Pong_Slice ¶
func Get_S2C_Pong ¶
func Get_S2C_Pong() *S2C_Pong
func New_S2C_Pong ¶
func New_S2C_Pong() *S2C_Pong
func (*S2C_Pong) Descriptor ¶
func (*S2C_Pong) GetContent ¶
func (*S2C_Pong) GetInfo ¶
func (m *S2C_Pong) GetInfo() *VersionInfo
func (*S2C_Pong) GetInfos ¶
func (m *S2C_Pong) GetInfos() []*VersionInfo
func (*S2C_Pong) GetInfosMap ¶
func (m *S2C_Pong) GetInfosMap() map[int32]*VersionInfo
func (*S2C_Pong) GetVersionMap ¶
func (S2C_Pong) JsonString ¶
func (*S2C_Pong) ProtoMessage ¶
func (*S2C_Pong) ProtoMessage()
func (*S2C_Pong) ResetEx ¶
func (m *S2C_Pong) ResetEx()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message S2C_Pong begin
func (S2C_Pong) ResponseMessageID ¶
func (*S2C_Pong) XXX_DiscardUnknown ¶
func (m *S2C_Pong) XXX_DiscardUnknown()
func (*S2C_Pong) XXX_Marshal ¶
func (*S2C_Pong) XXX_Unmarshal ¶
type S2C_Register ¶
type S2C_Register struct { /// 错误码 Err S2C_Register_E_Error `protobuf:"varint,1,opt,name=Err,proto3,enum=msg.S2C_Register_E_Error" json:"Err,omitempty"` /// 帐号名 AccountName string `protobuf:"bytes,2,opt,name=AccountName,proto3" json:"AccountName,omitempty"` /// 密码 Password string `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty"` /// 状态 State S2C_Register_E_State `protobuf:"varint,4,opt,name=State,proto3,enum=msg.S2C_Register_E_State" json:"State,omitempty"` }
/ 注册帐号结果 @msg
func Clone_S2C_Register_Slice ¶
func Clone_S2C_Register_Slice(dst []*S2C_Register, src []*S2C_Register) []*S2C_Register
func Get_S2C_Register ¶
func Get_S2C_Register() *S2C_Register
func New_S2C_Register ¶
func New_S2C_Register() *S2C_Register
func (S2C_Register) Clone ¶
func (m S2C_Register) Clone() *S2C_Register
func (*S2C_Register) Descriptor ¶
func (*S2C_Register) Descriptor() ([]byte, []int)
func (*S2C_Register) GetAccountName ¶
func (m *S2C_Register) GetAccountName() string
func (*S2C_Register) GetErr ¶
func (m *S2C_Register) GetErr() S2C_Register_E_Error
func (*S2C_Register) GetPassword ¶
func (m *S2C_Register) GetPassword() string
func (*S2C_Register) GetState ¶
func (m *S2C_Register) GetState() S2C_Register_E_State
func (S2C_Register) JsonString ¶
func (m S2C_Register) JsonString() string
func (*S2C_Register) Marshal ¶
func (m *S2C_Register) Marshal() (dAtA []byte, err error)
func (*S2C_Register) ProtoMessage ¶
func (*S2C_Register) ProtoMessage()
func (*S2C_Register) Reset ¶
func (m *S2C_Register) Reset()
func (*S2C_Register) ResetEx ¶
func (m *S2C_Register) ResetEx()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message S2C_Register begin
func (*S2C_Register) Size ¶
func (m *S2C_Register) Size() (n int)
func (*S2C_Register) String ¶
func (m *S2C_Register) String() string
func (*S2C_Register) Unmarshal ¶
func (m *S2C_Register) Unmarshal(dAtA []byte) error
func (*S2C_Register) XXX_DiscardUnknown ¶
func (m *S2C_Register) XXX_DiscardUnknown()
func (*S2C_Register) XXX_Marshal ¶
func (m *S2C_Register) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*S2C_Register) XXX_Merge ¶
func (m *S2C_Register) XXX_Merge(src proto.Message)
func (*S2C_Register) XXX_Size ¶
func (m *S2C_Register) XXX_Size() int
func (*S2C_Register) XXX_Unmarshal ¶
func (m *S2C_Register) XXX_Unmarshal(b []byte) error
type S2C_Register_E_Error ¶
type S2C_Register_E_Error int32
/ 错误码
const ( S2C_Register_Error_ S2C_Register_E_Error = 0 /// 成功 S2C_Register_OK S2C_Register_E_Error = 1 /// 无效帐号名 S2C_Register_InvalidAccountName S2C_Register_E_Error = 2 /// 无效密码 S2C_Register_InvalidPassword S2C_Register_E_Error = 3 /// 已存在 S2C_Register_Exist S2C_Register_E_Error = 4 )
func (S2C_Register_E_Error) EnumDescriptor ¶
func (S2C_Register_E_Error) EnumDescriptor() ([]byte, []int)
func (S2C_Register_E_Error) String ¶
func (x S2C_Register_E_Error) String() string
type S2C_Register_E_State ¶
type S2C_Register_E_State int32
/ 注册返回的帐号状态
const ( S2C_Register_State_ S2C_Register_E_State = 0 /// 游客 S2C_Register_Visitor S2C_Register_E_State = 1 /// 注册 S2C_Register_Register S2C_Register_E_State = 2 /// 绑定 S2C_Register_Bind S2C_Register_E_State = 3 )
func (S2C_Register_E_State) EnumDescriptor ¶
func (S2C_Register_E_State) EnumDescriptor() ([]byte, []int)
func (S2C_Register_E_State) String ¶
func (x S2C_Register_E_State) String() string
type VersionInfo ¶
type VersionInfo struct { /// 测试协议5字段1 Content string `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"` /// 测试协议5字段2 D float64 `protobuf:"fixed64,2,opt,name=D,proto3" json:"D,omitempty"` /// 测试协议5字段3 F float32 `protobuf:"fixed32,3,opt,name=F,proto3" json:"F,omitempty"` /// 测试协议5字段4 I32 int32 `protobuf:"varint,4,opt,name=I32,proto3" json:"I32,omitempty"` /// 测试协议5字段5 I64 int64 `protobuf:"varint,5,opt,name=I64,proto3" json:"I64,omitempty"` /// 测试协议5字段6 Ui32 uint32 `protobuf:"varint,6,opt,name=Ui32,proto3" json:"Ui32,omitempty"` /// 测试协议5字段7 Ui64 uint64 `protobuf:"varint,7,opt,name=Ui64,proto3" json:"Ui64,omitempty"` /// 测试协议5字段8 B bool `protobuf:"varint,8,opt,name=B,proto3" json:"B,omitempty"` /// 测试协议5字段9 Bytes []byte `protobuf:"bytes,9,opt,name=Bytes,proto3" json:"Bytes,omitempty"` }
/ 版本信息
func Clone_VersionInfo_Slice ¶
func Clone_VersionInfo_Slice(dst []*VersionInfo, src []*VersionInfo) []*VersionInfo
func Get_VersionInfo ¶
func Get_VersionInfo() *VersionInfo
func New_VersionInfo ¶
func New_VersionInfo() *VersionInfo
func (VersionInfo) Clone ¶
func (m VersionInfo) Clone() *VersionInfo
func (*VersionInfo) Descriptor ¶
func (*VersionInfo) Descriptor() ([]byte, []int)
func (*VersionInfo) GetB ¶
func (m *VersionInfo) GetB() bool
func (*VersionInfo) GetBytes ¶
func (m *VersionInfo) GetBytes() []byte
func (*VersionInfo) GetContent ¶
func (m *VersionInfo) GetContent() string
func (*VersionInfo) GetD ¶
func (m *VersionInfo) GetD() float64
func (*VersionInfo) GetF ¶
func (m *VersionInfo) GetF() float32
func (*VersionInfo) GetI32 ¶
func (m *VersionInfo) GetI32() int32
func (*VersionInfo) GetI64 ¶
func (m *VersionInfo) GetI64() int64
func (*VersionInfo) GetUi32 ¶
func (m *VersionInfo) GetUi32() uint32
func (*VersionInfo) GetUi64 ¶
func (m *VersionInfo) GetUi64() uint64
func (VersionInfo) JsonString ¶
func (m VersionInfo) JsonString() string
func (*VersionInfo) Marshal ¶
func (m *VersionInfo) Marshal() (dAtA []byte, err error)
func (*VersionInfo) ProtoMessage ¶
func (*VersionInfo) ProtoMessage()
func (*VersionInfo) Reset ¶
func (m *VersionInfo) Reset()
func (*VersionInfo) ResetEx ¶
func (m *VersionInfo) ResetEx()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message VersionInfo begin
func (*VersionInfo) Size ¶
func (m *VersionInfo) Size() (n int)
func (*VersionInfo) String ¶
func (m *VersionInfo) String() string
func (*VersionInfo) Unmarshal ¶
func (m *VersionInfo) Unmarshal(dAtA []byte) error
func (*VersionInfo) XXX_DiscardUnknown ¶
func (m *VersionInfo) XXX_DiscardUnknown()
func (*VersionInfo) XXX_Marshal ¶
func (m *VersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionInfo) XXX_Merge ¶
func (m *VersionInfo) XXX_Merge(src proto.Message)
func (*VersionInfo) XXX_Size ¶
func (m *VersionInfo) XXX_Size() int
func (*VersionInfo) XXX_Unmarshal ¶
func (m *VersionInfo) XXX_Unmarshal(b []byte) error