ecs/proto/json_external_gate.go

33 lines
674 B
Go
Raw Normal View History

2025-06-04 18:17:39 +08:00
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"`
}