33 lines
674 B
Go
33 lines
674 B
Go
![]() |
package proto
|
||
|
|
||
|
type MsgGateSignUpReq struct {
|
||
|
MsgUserSignUpReq
|
||
|
}
|
||
|
|
||
|
type MsgGateSignUpAck struct {
|
||
|
MsgUserSignUpAck
|
||
|
}
|
||
|
|
||
|
type MsgGateLoginReq struct {
|
||
|
MsgUserLoginReq
|
||
|
}
|
||
|
|
||
|
type GameServer struct {
|
||
|
Id uint32 `json:"Id"` //服务器ID
|
||
|
Area string `json:"Area"` //大区
|
||
|
Name string `json:"Name"` //名称
|
||
|
Address string `json:"Address"` //地址
|
||
|
Online uint32 `json:"Online"` //在线人数
|
||
|
}
|
||
|
|
||
|
type MsgGateLoginAck struct {
|
||
|
MsgUserLoginAck
|
||
|
ServerList []*GameServer `json:"ServerList"`
|
||
|
}
|
||
|
|
||
|
type MsgGateNoticeAck struct {
|
||
|
Version string `json:"Version,omitempty"`
|
||
|
Title string `json:"Title,omitempty"`
|
||
|
Content string `json:"Content,omitempty"`
|
||
|
}
|