diff --git a/cmd/dispatch/application.toml b/cmd/dispatch/application.toml
index 1fb77be8..eb85eed1 100644
--- a/cmd/dispatch/application.toml
+++ b/cmd/dispatch/application.toml
@@ -2,6 +2,9 @@ http_port = 8080
[hk4e]
dispatch_url = "https://hk4e.flswld.com/query_cur_region" # 二级dispatch地址 将域名改为dispatch的外网地址
+forward_mode_enable = false
+forward_region_url = "" # 转发的一级dispatch地址
+forward_dispatch_url = "" # 转发的二级dispatch地址
[logger]
level = "DEBUG"
diff --git a/cmd/dispatch/key/region_enc_key_1.pem b/cmd/dispatch/key/region_enc_key_1.pem
new file mode 100644
index 00000000..5a6fd57f
--- /dev/null
+++ b/cmd/dispatch/key/region_enc_key_1.pem
@@ -0,0 +1,27 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIEpAIBAAKCAQEAxAde3Gos++LVlw2vvW5OiziD97fVvA3Y6GLY0xMd4d7LpnHr
+fwuO7+60IZA9zR6QOFkrMrxNMTf2UbEJsnfbnUyhsQJr8bHR6PfUj6d/YUceM8YW
+cjpCyZGM2mKuVBXYqWO8gU81bwQOKgHSytvIrXtsk+3+g+pfkSKZOakiPzosSXCt
+GSPrVRJlumCmiXjTiKiwKqR+BBk8tZSuINl+r/aTfgu5xkfcB6YOYIIsNfkhpyZT
+cO0TNk7A3gRhikySyfxZX/T7lBDqUUKMMoCPy8MPGHvc66YyW1xsf02zdkAHXDzc
+hj6TrzApvzrUzEcl9rwxzCEtGWh5wjIV1a/sJQIDAQABAoIBAQCzHTD2ISXdOdSD
+4wOTCPlHiGo8rILlA5oQLFGF+8+wFIzsFudg/ESswuVgTZXKmISamA86mofF0yaE
+WklMAuxt/Bk5zcan3xy3y8szP47KadsU34ie8tEXsKCM4uH6/sMrc3BIjwF54LC4
+fVYH+W6R5Va+jBWkn0CXMo/i+cHLFlYV8YScblO+nmhjxI4O9sy8b6grQ1/EMHi8
+ioOi+4w0VZLD52GVsQ56tAf75EOFAsZgzldMHTNCdvDAy1NeNXgniN6qFv7vrqCf
+R1DWh4jLyzeLdk6c4zakozSiElnY+PORuzPWu+GABZ6qYMDpDlGAriRG1Y8lG0O4
+nJK+T4J5AoGBAPx3A8d5MhxXArTl3n2xNdCKDcSZu4MG5BCxmc70yrC4+MUXhMos
+81vyUtz9s4HRcJlqoI+2tr0JptVaEWjN++VFKYVW4i+nX+YTbqndQ1tgXqXXGuLT
+g6ffemQtwmKoOmNfq5FXMuCzySG0+YMp+lRuhHaTCDT5mvhFngpkUjWfAoGBAMbG
+DhT+KcbvJABn1P5/eS2cnDebbcBUEVE0UTF8jWsrGNQdPj6oV2XpjfjlPR5ybRJb
+eJI8uDdPUUAeyr4TNOwnJvyM7T1sxkm8zmLIUo6vsNXQT/HYyaFFTKftYAA9V3AB
+37etSALKH4g5UVG6lfZuJlp08wPlGq84zv3/i5+7AoGALFvQ+yxtRJN5M0WsWRNY
+7EJFdwS38Ka2TcSWzMkwD+sAMskWGNvbCo3CR3gAIVAmY55bhcTJyN84RAZmRq7i
+kn8bc4U3ir3y2J8Tc58f5Z9CIgtweuhFGqrme1Ga9PCwCaPWplvW4apVLan5qTUn
++cvNVHQzHfO5aeP5h8PmuesCgYAzcVR5qGGlg4R8umKMTu9Ml6hyV75qtRcaPgD5
+XrO21ZuCYeMXEjg0PuKoVKOhuplx08x7hE1kuxlbD90Gni/nIibb25kWeY1DziJX
+vGJpXRzV6SiXfbSJEUdKeouK5FU5vrJodecaGbdZaQQbs79V3KH+bR/rlSJ30Kr5
+X2aCOwKBgQCB9Cjp8RPuLEez8ISbsqaar/s1l6XVbPAX77XeVukJjXKXf3SN4Rat
+Bi/OALSkd9TxcIrqfQ8TJtDicz8CJC379/hhfx9nxN/ZSyAf60qZ4KRc7qEtTTIt
+GxpdYCz7pAUXR74D5w1T6Ob5TYIyMi2WefdzDx+Io0yZqUjEbqudLw==
+-----END RSA PRIVATE KEY-----
\ No newline at end of file
diff --git a/cmd/gate/application.toml b/cmd/gate/application.toml
index e5c080fd..eed218bf 100644
--- a/cmd/gate/application.toml
+++ b/cmd/gate/application.toml
@@ -2,6 +2,7 @@
kcp_addr = "127.0.0.1" # 该地址只用来注册到节点服务器 填网关的外网地址 网关本地监听为0.0.0.0
kcp_port = 22222
client_proto_proxy_enable = false
+forward_mode_enable = false
version = "300,310,320" # 支持的客户端协议版本号 三位数字 多个以逗号分隔 如300,310,320
gate_tcp_mq_addr = "127.0.0.1" # 访问网关tcp直连消息队列的地址 填网关的内网地址
gate_tcp_mq_port = 33333
diff --git a/cmd/gate/key/region_enc_key_1.pem b/cmd/gate/key/region_enc_key_1.pem
new file mode 100644
index 00000000..5a6fd57f
--- /dev/null
+++ b/cmd/gate/key/region_enc_key_1.pem
@@ -0,0 +1,27 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIEpAIBAAKCAQEAxAde3Gos++LVlw2vvW5OiziD97fVvA3Y6GLY0xMd4d7LpnHr
+fwuO7+60IZA9zR6QOFkrMrxNMTf2UbEJsnfbnUyhsQJr8bHR6PfUj6d/YUceM8YW
+cjpCyZGM2mKuVBXYqWO8gU81bwQOKgHSytvIrXtsk+3+g+pfkSKZOakiPzosSXCt
+GSPrVRJlumCmiXjTiKiwKqR+BBk8tZSuINl+r/aTfgu5xkfcB6YOYIIsNfkhpyZT
+cO0TNk7A3gRhikySyfxZX/T7lBDqUUKMMoCPy8MPGHvc66YyW1xsf02zdkAHXDzc
+hj6TrzApvzrUzEcl9rwxzCEtGWh5wjIV1a/sJQIDAQABAoIBAQCzHTD2ISXdOdSD
+4wOTCPlHiGo8rILlA5oQLFGF+8+wFIzsFudg/ESswuVgTZXKmISamA86mofF0yaE
+WklMAuxt/Bk5zcan3xy3y8szP47KadsU34ie8tEXsKCM4uH6/sMrc3BIjwF54LC4
+fVYH+W6R5Va+jBWkn0CXMo/i+cHLFlYV8YScblO+nmhjxI4O9sy8b6grQ1/EMHi8
+ioOi+4w0VZLD52GVsQ56tAf75EOFAsZgzldMHTNCdvDAy1NeNXgniN6qFv7vrqCf
+R1DWh4jLyzeLdk6c4zakozSiElnY+PORuzPWu+GABZ6qYMDpDlGAriRG1Y8lG0O4
+nJK+T4J5AoGBAPx3A8d5MhxXArTl3n2xNdCKDcSZu4MG5BCxmc70yrC4+MUXhMos
+81vyUtz9s4HRcJlqoI+2tr0JptVaEWjN++VFKYVW4i+nX+YTbqndQ1tgXqXXGuLT
+g6ffemQtwmKoOmNfq5FXMuCzySG0+YMp+lRuhHaTCDT5mvhFngpkUjWfAoGBAMbG
+DhT+KcbvJABn1P5/eS2cnDebbcBUEVE0UTF8jWsrGNQdPj6oV2XpjfjlPR5ybRJb
+eJI8uDdPUUAeyr4TNOwnJvyM7T1sxkm8zmLIUo6vsNXQT/HYyaFFTKftYAA9V3AB
+37etSALKH4g5UVG6lfZuJlp08wPlGq84zv3/i5+7AoGALFvQ+yxtRJN5M0WsWRNY
+7EJFdwS38Ka2TcSWzMkwD+sAMskWGNvbCo3CR3gAIVAmY55bhcTJyN84RAZmRq7i
+kn8bc4U3ir3y2J8Tc58f5Z9CIgtweuhFGqrme1Ga9PCwCaPWplvW4apVLan5qTUn
++cvNVHQzHfO5aeP5h8PmuesCgYAzcVR5qGGlg4R8umKMTu9Ml6hyV75qtRcaPgD5
+XrO21ZuCYeMXEjg0PuKoVKOhuplx08x7hE1kuxlbD90Gni/nIibb25kWeY1DziJX
+vGJpXRzV6SiXfbSJEUdKeouK5FU5vrJodecaGbdZaQQbs79V3KH+bR/rlSJ30Kr5
+X2aCOwKBgQCB9Cjp8RPuLEez8ISbsqaar/s1l6XVbPAX77XeVukJjXKXf3SN4Rat
+Bi/OALSkd9TxcIrqfQ8TJtDicz8CJC379/hhfx9nxN/ZSyAf60qZ4KRc7qEtTTIt
+GxpdYCz7pAUXR74D5w1T6Ob5TYIyMi2WefdzDx+Io0yZqUjEbqudLw==
+-----END RSA PRIVATE KEY-----
\ No newline at end of file
diff --git a/common/config/config.go b/common/config/config.go
index efb75d89..abca5357 100644
--- a/common/config/config.go
+++ b/common/config/config.go
@@ -44,12 +44,15 @@ type Hk4e struct {
GameDataConfigPath string `toml:"game_data_config_path"`
GachaHistoryServer string `toml:"gacha_history_server"`
ClientProtoProxyEnable bool `toml:"client_proto_proxy_enable"`
+ ForwardModeEnable bool `toml:"forward_mode_enable"`
Version string `toml:"version"` // 支持的客户端协议版本号 三位数字 多个以逗号分隔 如300,310,320
GateTcpMqAddr string `toml:"gate_tcp_mq_addr"` // 访问网关tcp直连消息队列的地址 填网关的内网地址
GateTcpMqPort int32 `toml:"gate_tcp_mq_port"`
LoginSdkUrl string `toml:"login_sdk_url"` // 网关登录验证token的sdk服务器地址 目前填dispatch的内网地址
LoadSceneLuaConfig bool `toml:"load_scene_lua_config"` // 是否加载场景详情LUA配置数据
DispatchUrl string `toml:"dispatch_url"` // 二级dispatch地址 将域名改为dispatch的外网地址
+ ForwardRegionUrl string `toml:"forward_region_url"` // 转发的一级dispatch地址
+ ForwardDispatchUrl string `toml:"forward_dispatch_url"` // 转发的二级dispatch地址
}
// Hk4eRobot 原神机器人
diff --git a/common/mq/nats.go b/common/mq/nats.go
index 90797e5f..83317a9a 100644
--- a/common/mq/nats.go
+++ b/common/mq/nats.go
@@ -67,7 +67,7 @@ func NewMessageQueue(serverType string, appId string, discoveryClient *rpc.Disco
r.discoveryClient = discoveryClient
if serverType == api.GATE {
go r.runGateTcpMqServer()
- } else if serverType == api.GS || serverType == api.ANTICHEAT || serverType == api.PATHFINDING {
+ } else if serverType == api.GS || serverType == api.ANTICHEAT || serverType == api.PATHFINDING || serverType == api.ROBOT {
go r.runGateTcpMqClient()
}
go r.natsMsgRecvHandler()
@@ -79,6 +79,7 @@ func (m *MessageQueue) Close() {
// 等待所有待发送的消息发送完毕
for {
if len(m.netMsgInput) == 0 {
+ time.Sleep(time.Millisecond * 100)
break
}
time.Sleep(time.Millisecond * 100)
@@ -173,6 +174,7 @@ func (m *MessageQueue) sendHandler() {
api.GS: make(map[string]*GateTcpMqInst),
api.ANTICHEAT: make(map[string]*GateTcpMqInst),
api.PATHFINDING: make(map[string]*GateTcpMqInst),
+ api.ROBOT: make(map[string]*GateTcpMqInst),
}
for {
select {
@@ -321,6 +323,8 @@ func (m *MessageQueue) gateTcpMqHandshake(conn net.Conn) {
inst.serverType = api.ANTICHEAT
case api.PATHFINDING:
inst.serverType = api.PATHFINDING
+ case api.ROBOT:
+ inst.serverType = api.ROBOT
default:
logger.Error("invalid server type")
return
diff --git a/common/mq/net_msg.go b/common/mq/net_msg.go
index f6ae637a..3983ba86 100644
--- a/common/mq/net_msg.go
+++ b/common/mq/net_msg.go
@@ -49,13 +49,17 @@ type ConnCtrlMsg struct {
}
const (
- ServerAppidBindNotify = iota // 玩家连接绑定的各个服务器appid通知
- ServerUserOnlineStateChangeNotify // 广播玩家上线和离线状态以及所在GS的appid
- ServerUserGsChangeNotify // 跨服玩家迁移通知
- ServerUserMpReq // 跨服多人世界相关请求
- ServerUserMpRsp // 跨服多人世界相关响应
- ServerChatMsgNotify // 跨服玩家聊天消息通知
- ServerAddFriendNotify // 跨服添加好友通知
+ ServerAppidBindNotify = iota // 玩家连接绑定的各个服务器appid通知
+ ServerUserOnlineStateChangeNotify // 广播玩家上线和离线状态以及所在GS的appid
+ ServerUserGsChangeNotify // 跨服玩家迁移通知
+ ServerUserMpReq // 跨服多人世界相关请求
+ ServerUserMpRsp // 跨服多人世界相关响应
+ ServerChatMsgNotify // 跨服玩家聊天消息通知
+ ServerAddFriendNotify // 跨服添加好友通知
+ ServerForwardModeClientConnNotify // 转发模式客户端连接通知
+ ServerForwardModeClientCloseNotify // 转发模式客户端断开连接通知
+ ServerForwardModeServerCloseNotify // 转发模式服务器断开连接通知
+ ServerForwardDispatchInfoNotify // 转发模式区服信息通知
)
type ServerMsg struct {
@@ -67,6 +71,7 @@ type ServerMsg struct {
UserMpInfo *UserMpInfo
ChatMsgInfo *ChatMsgInfo
AddFriendInfo *AddFriendInfo
+ ForwardDispatchInfo *ForwardDispatchInfo
}
type OriginInfo struct {
@@ -112,3 +117,9 @@ type AddFriendInfo struct {
TargetUserId uint32
ApplyPlayerOnlineInfo *UserBaseInfo
}
+
+type ForwardDispatchInfo struct {
+ GateIp string
+ GatePort uint32
+ DispatchKey []byte
+}
diff --git a/common/mq/topic.go b/common/mq/topic.go
index 1bf3fedf..9a1bc0c5 100644
--- a/common/mq/topic.go
+++ b/common/mq/topic.go
@@ -55,6 +55,26 @@ func (m *MessageQueue) SendToPathfinding(appId string, netMsg *NetMsg) {
m.netMsgInput <- netMsg
}
+func (m *MessageQueue) SendToRobot(appId string, netMsg *NetMsg) {
+ netMsg.Topic = m.getTopic(api.ROBOT, appId)
+ netMsg.ServerType = api.ROBOT
+ netMsg.AppId = appId
+ originServerType, originServerAppId := m.getOriginServer()
+ netMsg.OriginServerType = originServerType
+ netMsg.OriginServerAppId = originServerAppId
+ m.netMsgInput <- netMsg
+}
+
+func (m *MessageQueue) SendToDispatch(appId string, netMsg *NetMsg) {
+ netMsg.Topic = m.getTopic(api.DISPATCH, appId)
+ netMsg.ServerType = api.DISPATCH
+ netMsg.AppId = appId
+ originServerType, originServerAppId := m.getOriginServer()
+ netMsg.OriginServerType = originServerType
+ netMsg.OriginServerAppId = originServerAppId
+ m.netMsgInput <- netMsg
+}
+
func (m *MessageQueue) SendToAll(netMsg *NetMsg) {
netMsg.Topic = "ALL_SERVER_HK4E"
netMsg.ServerType = "ALL_SERVER_HK4E"
diff --git a/common/region/region.go b/common/region/region.go
index 69a0bb02..89d87b05 100644
--- a/common/region/region.go
+++ b/common/region/region.go
@@ -1,7 +1,6 @@
package region
import (
- "encoding/base64"
"os"
"hk4e/common/config"
@@ -9,8 +8,6 @@ import (
"hk4e/pkg/logger"
"hk4e/pkg/random"
"hk4e/protocol/proto"
-
- pb "google.golang.org/protobuf/proto"
)
func LoadRsaKey() (signRsaKey []byte, encRsaKeyMap map[string][]byte, pwdRsaKey []byte) {
@@ -21,7 +18,7 @@ func LoadRsaKey() (signRsaKey []byte, encRsaKeyMap map[string][]byte, pwdRsaKey
logger.Error("open region_sign_key.pem error: %v", err)
return nil, nil, nil
}
- encKeyIdList := []string{"2", "3", "4", "5"}
+ encKeyIdList := []string{"1", "2", "3", "4", "5"}
for _, v := range encKeyIdList {
encRsaKeyMap[v], err = os.ReadFile("key/region_enc_key_" + v + ".pem")
if err != nil {
@@ -82,25 +79,6 @@ func GetRegionCurr(kcpAddr string, kcpPort int32, ec2b *random.Ec2b) *proto.Quer
GateserverPort: uint32(kcpPort),
SecretKey: dispatchEc2bData,
}
+ regionCurr.ClientSecretKey = dispatchEc2bData
return regionCurr
}
-
-func GetRegionListBase64(ec2b *random.Ec2b) string {
- regionList := GetRegionList(ec2b)
- regionListData, err := pb.Marshal(regionList)
- if err != nil {
- logger.Error("pb marshal QueryRegionListHttpRsp error: %v", err)
- return ""
- }
- return base64.StdEncoding.EncodeToString(regionListData)
-}
-
-func GetRegionCurrBase64(kcpAddr string, kcpPort int32, ec2b *random.Ec2b) string {
- regionCurr := GetRegionCurr(kcpAddr, kcpPort, ec2b)
- regionCurrData, err := pb.Marshal(regionCurr)
- if err != nil {
- logger.Error("pb marshal QueryCurrRegionHttpRsp error: %v", err)
- return ""
- }
- return base64.StdEncoding.EncodeToString(regionCurrData)
-}
diff --git a/dispatch/app/app.go b/dispatch/app/app.go
index b327bcf2..af95958d 100644
--- a/dispatch/app/app.go
+++ b/dispatch/app/app.go
@@ -6,33 +6,69 @@ import (
"os"
"os/signal"
"syscall"
+ "time"
"hk4e/common/config"
+ "hk4e/common/mq"
"hk4e/common/rpc"
"hk4e/dispatch/controller"
"hk4e/dispatch/dao"
+ "hk4e/node/api"
"hk4e/pkg/logger"
)
+var APPID string
+
func Run(ctx context.Context, configFile string) error {
config.InitConfig(configFile)
- logger.InitLogger("dispatch")
- logger.Warn("dispatch start")
- defer func() {
- logger.CloseLogger()
- }()
-
- db := dao.NewDao()
- defer db.CloseDao()
-
// natsrpc client
discoveryClient, err := rpc.NewDiscoveryClient()
if err != nil {
return err
}
- _ = controller.NewController(db, discoveryClient)
+ // 注册到节点服务器
+ rsp, err := discoveryClient.RegisterServer(context.TODO(), &api.RegisterServerReq{
+ ServerType: api.DISPATCH,
+ })
+ if err != nil {
+ return err
+ }
+ APPID = rsp.GetAppId()
+ go func() {
+ ticker := time.NewTicker(time.Second * 15)
+ for {
+ <-ticker.C
+ _, err := discoveryClient.KeepaliveServer(context.TODO(), &api.KeepaliveServerReq{
+ ServerType: api.DISPATCH,
+ AppId: APPID,
+ })
+ if err != nil {
+ logger.Error("keepalive error: %v", err)
+ }
+ }
+ }()
+ defer func() {
+ _, _ = discoveryClient.CancelServer(context.TODO(), &api.CancelServerReq{
+ ServerType: api.DISPATCH,
+ AppId: APPID,
+ })
+ }()
+
+ logger.InitLogger("dispatch_" + APPID)
+ logger.Warn("dispatch start, appid: %v", APPID)
+ defer func() {
+ logger.CloseLogger()
+ }()
+
+ messageQueue := mq.NewMessageQueue(api.DISPATCH, APPID, discoveryClient)
+ defer messageQueue.Close()
+
+ db := dao.NewDao()
+ defer db.CloseDao()
+
+ _ = controller.NewController(db, discoveryClient, messageQueue)
c := make(chan os.Signal, 1)
signal.Notify(c, syscall.SIGHUP, syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT)
diff --git a/dispatch/controller/controller.go b/dispatch/controller/controller.go
index a531359c..de2a8cd7 100644
--- a/dispatch/controller/controller.go
+++ b/dispatch/controller/controller.go
@@ -7,6 +7,7 @@ import (
"strconv"
"hk4e/common/config"
+ "hk4e/common/mq"
"hk4e/common/region"
"hk4e/common/rpc"
"hk4e/dispatch/dao"
@@ -24,9 +25,10 @@ type Controller struct {
encRsaKeyMap map[string][]byte
pwdRsaKey []byte
ec2b *random.Ec2b
+ messageQueue *mq.MessageQueue
}
-func NewController(dao *dao.Dao, discovery *rpc.DiscoveryClient) (r *Controller) {
+func NewController(dao *dao.Dao, discovery *rpc.DiscoveryClient, messageQueue *mq.MessageQueue) (r *Controller) {
r = new(Controller)
r.dao = dao
r.discovery = discovery
@@ -42,6 +44,7 @@ func NewController(dao *dao.Dao, discovery *rpc.DiscoveryClient) (r *Controller)
return nil
}
r.ec2b = ec2b
+ r.messageQueue = messageQueue
go r.registerRouter()
return r
}
diff --git a/dispatch/controller/dispatch_controller.go b/dispatch/controller/dispatch_controller.go
index 65f20647..7ec848c5 100644
--- a/dispatch/controller/dispatch_controller.go
+++ b/dispatch/controller/dispatch_controller.go
@@ -3,19 +3,27 @@ package controller
import (
"bytes"
"encoding/base64"
+ "encoding/json"
"math"
"net/http"
"os"
"regexp"
"strconv"
+ "strings"
+ "hk4e/common/config"
+ "hk4e/common/mq"
"hk4e/common/region"
httpapi "hk4e/dispatch/api"
"hk4e/node/api"
"hk4e/pkg/endec"
+ "hk4e/pkg/httpclient"
"hk4e/pkg/logger"
+ "hk4e/pkg/random"
+ "hk4e/protocol/proto"
"github.com/gin-gonic/gin"
+ pb "google.golang.org/protobuf/proto"
)
func (c *Controller) querySecurityFile(context *gin.Context) {
@@ -32,7 +40,45 @@ func (c *Controller) querySecurityFile(context *gin.Context) {
func (c *Controller) queryRegionList(context *gin.Context) {
context.Header("Content-type", "text/html; charset=UTF-8")
- regionListBase64 := region.GetRegionListBase64(c.ec2b)
+ var regionListBase64 = ""
+ if !config.GetConfig().Hk4e.ForwardModeEnable {
+ regionList := region.GetRegionList(c.ec2b)
+ regionListData, err := pb.Marshal(regionList)
+ if err != nil {
+ logger.Error("pb marshal QueryRegionListHttpRsp error: %v", err)
+ _, _ = context.Writer.WriteString("500")
+ return
+ }
+ regionListBase64 = base64.StdEncoding.EncodeToString(regionListData)
+ } else {
+ var err error = nil
+ url := context.Request.RequestURI
+ param := url[strings.Index(url, "?"):]
+ regionListBase64Raw, err := httpclient.GetRaw(config.GetConfig().Hk4e.ForwardRegionUrl + param)
+ if err != nil {
+ _, _ = context.Writer.WriteString("500")
+ return
+ }
+ regionListDataRaw, err := base64.StdEncoding.DecodeString(regionListBase64Raw)
+ if err != nil {
+ _, _ = context.Writer.WriteString("500")
+ return
+ }
+ queryRegionListHttpRsp := new(proto.QueryRegionListHttpRsp)
+ err = pb.Unmarshal(regionListDataRaw, queryRegionListHttpRsp)
+ if err != nil {
+ _, _ = context.Writer.WriteString("500")
+ return
+ }
+ logger.Debug("QueryRegionListHttpRsp: %+v", queryRegionListHttpRsp)
+ queryRegionListHttpRsp.RegionList[0].DispatchUrl = config.GetConfig().Hk4e.DispatchUrl
+ regionListData, err := pb.Marshal(queryRegionListHttpRsp)
+ if err != nil {
+ _, _ = context.Writer.WriteString("500")
+ return
+ }
+ regionListBase64 = base64.StdEncoding.EncodeToString(regionListData)
+ }
_, _ = context.Writer.WriteString(regionListBase64)
}
@@ -81,6 +127,13 @@ func (c *Controller) queryCurRegion(context *gin.Context) {
rspError()
return
}
+ keyId := context.Query("key_id")
+ encPubPrivKey, exist := c.encRsaKeyMap[keyId]
+ if !exist {
+ logger.Error("can not found key id: %v", keyId)
+ rspError()
+ return
+ }
version, versionStr := c.getClientVersionByName(versionName)
if version == 0 {
rspError()
@@ -94,33 +147,113 @@ func (c *Controller) queryCurRegion(context *gin.Context) {
rspError()
return
}
- regionCurrBase64 := region.GetRegionCurrBase64(addr.KcpAddr, int32(addr.KcpPort), c.ec2b)
+ var regionCurr *proto.QueryCurrRegionHttpRsp = nil
+ if !config.GetConfig().Hk4e.ForwardModeEnable {
+ regionCurr = region.GetRegionCurr(addr.KcpAddr, int32(addr.KcpPort), c.ec2b)
+ } else {
+ url := context.Request.RequestURI
+ param := url[strings.Index(url, "?"):]
+ regionCurrJson, err := httpclient.GetRaw(config.GetConfig().Hk4e.ForwardDispatchUrl + param)
+ if err != nil {
+ rspError()
+ return
+ }
+ queryCurRegionRspJson := new(httpapi.QueryCurRegionRspJson)
+ err = json.Unmarshal([]byte(regionCurrJson), queryCurRegionRspJson)
+ if err != nil {
+ rspError()
+ return
+ }
+ encryptedRegionInfo, err := base64.StdEncoding.DecodeString(queryCurRegionRspJson.Content)
+ if err != nil {
+ rspError()
+ return
+ }
+ chunkSize := 256
+ regionInfoLength := len(encryptedRegionInfo)
+ numChunks := int(math.Ceil(float64(regionInfoLength) / float64(chunkSize)))
+ regionCurrData := make([]byte, 0)
+ for i := 0; i < numChunks; i++ {
+ from := i * chunkSize
+ to := int(math.Min(float64((i+1)*chunkSize), float64(regionInfoLength)))
+ chunk := encryptedRegionInfo[from:to]
+ privKey, err := endec.RsaParsePrivKey(encPubPrivKey)
+ if err != nil {
+ logger.Error("parse rsa priv key error: %v", err)
+ rspError()
+ return
+ }
+ decrypt, err := endec.RsaDecrypt(chunk, privKey)
+ if err != nil {
+ logger.Error("rsa dec error: %v", err)
+ rspError()
+ return
+ }
+ regionCurrData = append(regionCurrData, decrypt...)
+ }
+ queryCurrRegionHttpRsp := new(proto.QueryCurrRegionHttpRsp)
+ err = pb.Unmarshal(regionCurrData, queryCurrRegionHttpRsp)
+ if err != nil {
+ rspError()
+ return
+ }
+ logger.Debug("QueryCurrRegionHttpRsp: %+v", queryCurrRegionHttpRsp)
+ robotServerAppId, err := c.discovery.GetServerAppId(context, &api.GetServerAppIdReq{
+ ServerType: api.ROBOT,
+ })
+ if err != nil {
+ logger.Error("get robot server appid error: %v", err)
+ rspError()
+ return
+ }
+ ec2b, err := random.LoadEc2bKey(queryCurrRegionHttpRsp.ClientSecretKey)
+ if err != nil {
+ logger.Error("parse ec2b error: %v", err)
+ rspError()
+ return
+ }
+ c.messageQueue.SendToRobot(robotServerAppId.AppId, &mq.NetMsg{
+ MsgType: mq.MsgTypeServer,
+ EventId: mq.ServerForwardDispatchInfoNotify,
+ ServerMsg: &mq.ServerMsg{
+ ForwardDispatchInfo: &mq.ForwardDispatchInfo{
+ GateIp: queryCurrRegionHttpRsp.RegionInfo.GateserverIp,
+ GatePort: queryCurrRegionHttpRsp.RegionInfo.GateserverPort,
+ DispatchKey: ec2b.XorKey(),
+ },
+ },
+ })
+ regionCurr = queryCurrRegionHttpRsp
+ regionCurr.ClientSecretKey = c.ec2b.Bytes()
+ regionCurr.RegionInfo.GateserverIp = addr.KcpAddr
+ regionCurr.RegionInfo.GateserverPort = addr.KcpPort
+ endec.Xor(regionCurr.RegionCustomConfigEncrypted, ec2b.XorKey())
+ logger.Info("RegionCustomConfigEncrypted: %v", string(regionCurr.RegionCustomConfigEncrypted))
+ endec.Xor(regionCurr.RegionCustomConfigEncrypted, c.ec2b.XorKey())
+ endec.Xor(regionCurr.ClientRegionCustomConfigEncrypted, ec2b.XorKey())
+ logger.Info("ClientRegionCustomConfigEncrypted: %v", string(regionCurr.ClientRegionCustomConfigEncrypted))
+ endec.Xor(regionCurr.ClientRegionCustomConfigEncrypted, c.ec2b.XorKey())
+ }
+ regionCurrData, err := pb.Marshal(regionCurr)
+ if err != nil {
+ logger.Error("pb marshal QueryCurrRegionHttpRsp error: %v", err)
+ rspError()
+ return
+ }
if version < 275 {
context.Header("Content-type", "text/html; charset=UTF-8")
+ regionCurrBase64 := base64.StdEncoding.EncodeToString(regionCurrData)
_, _ = context.Writer.WriteString(regionCurrBase64)
return
}
- keyId := context.Query("key_id")
- encPubPrivKey, exist := c.encRsaKeyMap[keyId]
- if !exist {
- logger.Error("can not found key id: %v", keyId)
- rspError()
- return
- }
- regionInfo, err := base64.StdEncoding.DecodeString(regionCurrBase64)
- if err != nil {
- logger.Error("decode region info error: %v", err)
- rspError()
- return
- }
chunkSize := 256 - 11
- regionInfoLength := len(regionInfo)
+ regionInfoLength := len(regionCurrData)
numChunks := int(math.Ceil(float64(regionInfoLength) / float64(chunkSize)))
encryptedRegionInfo := make([]byte, 0)
for i := 0; i < numChunks; i++ {
from := i * chunkSize
to := int(math.Min(float64((i+1)*chunkSize), float64(regionInfoLength)))
- chunk := regionInfo[from:to]
+ chunk := regionCurrData[from:to]
pubKey, err := endec.RsaParsePubKeyByPrivKey(encPubPrivKey)
if err != nil {
logger.Error("parse rsa pub key error: %v", err)
@@ -158,13 +291,13 @@ func (c *Controller) queryCurRegion(context *gin.Context) {
rspError()
return
}
- signData, err := endec.RsaSign(regionInfo, signPrivkey)
+ signData, err := endec.RsaSign(regionCurrData, signPrivkey)
if err != nil {
logger.Error("rsa sign error: %v", err)
rspError()
return
}
- ok, err := endec.RsaVerify(regionInfo, signData, &signPrivkey.PublicKey)
+ ok, err := endec.RsaVerify(regionCurrData, signData, &signPrivkey.PublicKey)
if err != nil {
logger.Error("rsa verify error: %v", err)
rspError()
diff --git a/docs/mhypbase.ini b/docs/mhypbase.ini
index 32157dc4..d54d001f 100644
--- a/docs/mhypbase.ini
+++ b/docs/mhypbase.ini
@@ -12,14 +12,14 @@ DropRCEPacket = false
;;;;;; 1) replace your own dispatch url;
;;;;;; 2) disable the extra log reporters;
;;;;;; 3) disable the beta watermark.
-ConfigChannel = {"ChannelName":"OSRELWin","PreDefines":"GAIA_ADDON_TOOLS;GAIA_MULTI_TERRAINS;CTS_GAIA_RELOCATE;HOTFIX_ENABLE;UNITY_RELEASE_BUILD;AMPLIFY_SHADER_EDITOR;ODIN_INSPECTOR;ODIN_INSPECTOR_3;UNITY_POST_PROCESSING_STACK_V2;PROBUILDER_FBX_ENABLED","DispatchConfigs":[{"DispatchUrls":["https://hk4e.flswld.com/query_region_list"]}],"BaseTextLang":"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15","BaseAudioLang":"Chinese,English(US),Korean,Japanese"}
+ConfigChannel = {"DispatchConfigs":[{"DispatchUrls":["http://hk4e.flswld.com:8080/query_region_list"]}],"ChannelName":"OSRELWin","PreDefines":"GAIA_ADDON_TOOLS;GAIA_MULTI_TERRAINS;CTS_GAIA_RELOCATE;HOTFIX_ENABLE;UNITY_RELEASE_BUILD;AMPLIFY_SHADER_EDITOR;ODIN_INSPECTOR;ODIN_INSPECTOR_3;UNITY_POST_PROCESSING_STACK_V2;PROBUILDER_FBX_ENABLED","BaseTextLang":"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15","BaseAudioLang":"Chinese,English(US),Korean,Japanese"}
;;;;;; here you can customize your own sdk base url:
-ConfigBaseUrl = https://hk4e.flswld.com
+ConfigBaseUrl = http://hk4e.flswld.com:8080
;;;;;; replace your rsa public key, the default one is from grasscutter.
;;;;;; this key is used to 1) verify the signature of the dispatched data, and 2) encrypt your account password.
PublicRSAKey = xbbx2m1feHyrQ7jP+8mtDF/pyYLrJWKWAdEv3wZrOtjOZzeLGPzsmkcgncgoRhX4dT+1itSMR9j9m0/OwsH2UoF6U32LxCOQWQD1AMgIZjAkJeJvFTrtn8fMQ1701CkbaLTVIjRMlTw8kNXvNA/A9UatoiDmi4TFG6mrxTKZpIcTInvPEpkK2A7Qsp1E4skFK8jmysy7uRhMaYHtPTsBvxP0zn3lhKB3W+HTqpneewXWHjCDfL7Nbby91jbz5EKPZXWLuhXIvR1Cu4tiruorwXJxmXaP1HQZonytECNU/UOzP6GNLdq0eFDE4b04Wjp396551G99YiFP2nqHVJ5OMQ==AQAB
;;;;;; or, the password encryption key can be set separately.
-; RSAEncryptKey =
+RSAEncryptKey = xz5wLxGyXzFMB15kS4jQx9ahXhptFPw+p+wY8xJiZeVbTCgWRYZ8/mirMjKPWgKMIthXv+ollLs3G5wCUvuIi1MWnqjnbz3uS7kd8EMRyhifF7A5B5Ld09aKXqxNa6cPcF98blItAgOWh6qQtIaNMzLJO578VkKIL9RvLqnF5n0=AQAB
;;;;;; it's not recommended to overwrite the private key, unless you know what you are doing.
;;;;;; if you want to use another rsa private key, uncomment the following line and replace it with your own.
; PrivateRSAKey =
diff --git a/gate/app/app.go b/gate/app/app.go
index b66726c3..dfd20a69 100644
--- a/gate/app/app.go
+++ b/gate/app/app.go
@@ -81,7 +81,7 @@ func Run(ctx context.Context, configFile string) error {
outputChan := connectManager.GetKcpEventOutputChan()
for {
kcpEvent := <-outputChan
- logger.Info("kcpEvent: %v", kcpEvent)
+ logger.Info("kcpEvent: %+v", kcpEvent)
}
}()
diff --git a/gate/kcp/session.go b/gate/kcp/session.go
index 24ce7d02..94a46a11 100644
--- a/gate/kcp/session.go
+++ b/gate/kcp/session.go
@@ -22,15 +22,6 @@ import (
)
const (
- // 16-bytes nonce for each packet
- nonceSize = 16
-
- // 4-bytes packet checksum
- crcSize = 4
-
- // overall crypto header size
- cryptHeaderSize = nonceSize + crcSize
-
// maximum packet size
mtuLimit = 1500
@@ -581,7 +572,7 @@ func (s *UDPSession) GetSRTT() int32 {
return s.kcp.rx_srtt
}
-// GetRTTVar gets current rtt variance of the session
+// GetSRTTVar gets current rtt variance of the session
func (s *UDPSession) GetSRTTVar() int32 {
s.mu.Lock()
defer s.mu.Unlock()
@@ -693,7 +684,7 @@ func (l *Listener) packetInput(data []byte, addr net.Addr, convId uint64) {
s.kcpInput(data)
} else if sn == 0 { // should replace current connection
// 网络切换会话保持改造后 这里的逻辑可能永远也执行不到了
- s.Close()
+ _ = s.Close()
s = nil
}
}
@@ -793,8 +784,8 @@ func (l *Listener) AcceptKCP() (*UDPSession, error) {
// SetDeadline sets the deadline associated with the listener. A zero time value disables the deadline.
func (l *Listener) SetDeadline(t time.Time) error {
- l.SetReadDeadline(t)
- l.SetWriteDeadline(t)
+ _ = l.SetReadDeadline(t)
+ _ = l.SetWriteDeadline(t)
return nil
}
@@ -943,7 +934,7 @@ func NewConn3(convid uint64, raddr net.Addr, conn net.PacketConn) (*UDPSession,
// NewConn2 establishes a session and talks KCP protocol over a packet connection.
func NewConn2(raddr net.Addr, conn net.PacketConn) (*UDPSession, error) {
var convid uint64
- binary.Read(rand.Reader, binary.LittleEndian, &convid)
+ _ = binary.Read(rand.Reader, binary.LittleEndian, &convid)
return NewConn3(convid, raddr, conn)
}
diff --git a/gate/kcp/udp_socket.go b/gate/kcp/udp_socket.go
index aa4e3298..95779c68 100644
--- a/gate/kcp/udp_socket.go
+++ b/gate/kcp/udp_socket.go
@@ -32,7 +32,7 @@ func (s *UDPSession) defaultReadLoop() {
continue
}
if connType == ConnEnetFin {
- s.Close()
+ _ = s.Close()
continue
}
}
diff --git a/gate/kcp/udp_socket_uinxlike.go b/gate/kcp/udp_socket_uinxlike.go
index ac6dbf34..bf28ea3d 100644
--- a/gate/kcp/udp_socket_uinxlike.go
+++ b/gate/kcp/udp_socket_uinxlike.go
@@ -52,7 +52,7 @@ func (s *UDPSession) readLoop() {
continue
}
if connType == ConnEnetFin {
- s.Close()
+ _ = s.Close()
continue
}
}
diff --git a/gate/net/kcp_connect_manager.go b/gate/net/kcp_connect_manager.go
index 824d0b52..2ec1f7eb 100644
--- a/gate/net/kcp_connect_manager.go
+++ b/gate/net/kcp_connect_manager.go
@@ -5,7 +5,6 @@ import (
"context"
"encoding/binary"
"strconv"
- "strings"
"sync"
"sync/atomic"
"time"
@@ -97,13 +96,7 @@ func (k *KcpConnectManager) run() {
}
regionEc2b := random.NewEc2b()
regionEc2b.SetSeed(ec2b.Seed())
- // 3.7的时候修改了xor 首包无需使用加密密钥
- if k.getGateMaxVersion() < 370 {
- k.dispatchKey = regionEc2b.XorKey()
- } else {
- // 全部填充为0 不然会出问题
- k.dispatchKey = make([]byte, 4096)
- }
+ k.dispatchKey = regionEc2b.XorKey()
// kcp
port := strconv.Itoa(int(config.GetConfig().Hk4e.KcpPort))
listener, err := kcp.ListenWithOptions("0.0.0.0:" + port)
@@ -113,7 +106,9 @@ func (k *KcpConnectManager) run() {
}
go k.enetHandle(listener)
go k.eventHandle()
- go k.sendMsgHandle()
+ if !config.GetConfig().Hk4e.ForwardModeEnable {
+ go k.forwardServerMsgToClientHandle()
+ }
go k.acceptHandle(listener)
go k.gateNetInfo()
k.syncGlobalGsOnlineMap()
@@ -124,22 +119,6 @@ func (k *KcpConnectManager) Close() {
k.closeAllKcpConn()
}
-// getGateMaxVersion 获取gate最大可兼容的版本
-func (k *KcpConnectManager) getGateMaxVersion() (maxVersion int) {
- versionSplit := strings.Split(config.GetConfig().Hk4e.Version, ",")
- for _, verStr := range versionSplit {
- version, err := strconv.Atoi(verStr)
- if err != nil {
- logger.Error("version a to i error: %v", err)
- return
- }
- if version > maxVersion {
- maxVersion = version
- }
- }
- return
-}
-
func (k *KcpConnectManager) gateNetInfo() {
ticker := time.NewTicker(time.Second * 60)
kcpErrorCount := uint64(0)
@@ -171,10 +150,17 @@ func (k *KcpConnectManager) acceptHandle(listener *kcp.Listener) {
_ = conn.Close()
continue
}
+ if config.GetConfig().Hk4e.ForwardModeEnable {
+ clientConnNum := atomic.LoadInt32(&CLIENT_CONN_NUM)
+ if clientConnNum != 0 {
+ logger.Error("forward mode only support one client conn now")
+ _ = conn.Close()
+ continue
+ }
+ }
conn.SetACKNoDelay(true)
conn.SetWriteDelay(false)
- conn.SetWindowSize(255, 255)
- atomic.AddInt32(&CLIENT_CONN_NUM, 1)
+ conn.SetWindowSize(256, 256)
logger.Info("client connect, convId: %v", convId)
kcpRawSendChan := make(chan *ProtoMsg, 1000)
session := &Session{
@@ -188,16 +174,38 @@ func (k *KcpConnectManager) acceptHandle(listener *kcp.Listener) {
gsServerAppId: "",
anticheatServerAppId: "",
pathfindingServerAppId: "",
+ robotServerAppId: "",
useMagicSeed: false,
+ keyId: 0,
+ clientRandKey: "",
+ }
+ if config.GetConfig().Hk4e.ForwardModeEnable {
+ robotServerAppId, err := k.discovery.GetServerAppId(context.TODO(), &api.GetServerAppIdReq{
+ ServerType: api.ROBOT,
+ })
+ if err != nil {
+ logger.Error("get robot server appid error: %v", err)
+ _ = conn.Close()
+ continue
+ }
+ session.robotServerAppId = robotServerAppId.AppId
+ k.messageQueue.SendToRobot(session.robotServerAppId, &mq.NetMsg{
+ MsgType: mq.MsgTypeServer,
+ EventId: mq.ServerForwardModeClientConnNotify,
+ })
}
go k.recvHandle(session)
go k.sendHandle(session)
+ if config.GetConfig().Hk4e.ForwardModeEnable {
+ go k.forwardRobotMsgToClientHandle(session)
+ }
// 连接建立成功通知
k.kcpEventOutput <- &KcpEvent{
ConvId: convId,
EventId: KcpConnEstNotify,
EventMessage: conn.RemoteAddr().String(),
}
+ atomic.AddInt32(&CLIENT_CONN_NUM, 1)
}
}
@@ -302,7 +310,10 @@ type Session struct {
gsServerAppId string
anticheatServerAppId string
pathfindingServerAppId string
+ robotServerAppId string
useMagicSeed bool
+ keyId uint32
+ clientRandKey string
}
// 接收
@@ -340,7 +351,11 @@ func (k *KcpConnectManager) recvHandle(session *Session) {
for _, v := range kcpMsgList {
protoMsgList := ProtoDecode(v, k.serverCmdProtoMap, k.clientCmdProtoMap)
for _, vv := range protoMsgList {
- k.recvMsgHandle(vv, session)
+ if config.GetConfig().Hk4e.ForwardModeEnable {
+ k.forwardClientMsgToRobotHandle(vv, session)
+ } else {
+ k.forwardClientMsgToServerHandle(vv, session)
+ }
}
}
}
@@ -433,16 +448,23 @@ func (k *KcpConnectManager) closeKcpConn(session *Session, enetType uint32) {
ConvId: convId,
EventId: KcpConnCloseNotify,
}
- // 通知GS玩家下线
- connCtrlMsg := new(mq.ConnCtrlMsg)
- connCtrlMsg.UserId = session.userId
- k.messageQueue.SendToGs(session.gsServerAppId, &mq.NetMsg{
- MsgType: mq.MsgTypeConnCtrl,
- EventId: mq.UserOfflineNotify,
- ConnCtrlMsg: connCtrlMsg,
- })
- logger.Info("send to gs user offline, ConvId: %v, UserId: %v", convId, connCtrlMsg.UserId)
- k.destroySessionChan <- session
+ if !config.GetConfig().Hk4e.ForwardModeEnable {
+ // 通知GS玩家下线
+ connCtrlMsg := new(mq.ConnCtrlMsg)
+ connCtrlMsg.UserId = session.userId
+ k.messageQueue.SendToGs(session.gsServerAppId, &mq.NetMsg{
+ MsgType: mq.MsgTypeConnCtrl,
+ EventId: mq.UserOfflineNotify,
+ ConnCtrlMsg: connCtrlMsg,
+ })
+ logger.Info("send to gs user offline, ConvId: %v, UserId: %v", convId, connCtrlMsg.UserId)
+ k.destroySessionChan <- session
+ } else {
+ k.messageQueue.SendToRobot(session.robotServerAppId, &mq.NetMsg{
+ MsgType: mq.MsgTypeServer,
+ EventId: mq.ServerForwardModeClientCloseNotify,
+ })
+ }
atomic.AddInt32(&CLIENT_CONN_NUM, -1)
}
diff --git a/gate/net/kcp_endecode.go b/gate/net/kcp_endecode.go
index 353cda8b..9b3ff47e 100644
--- a/gate/net/kcp_endecode.go
+++ b/gate/net/kcp_endecode.go
@@ -2,6 +2,7 @@ package net
import (
"encoding/binary"
+
"hk4e/pkg/endec"
"hk4e/pkg/logger"
)
diff --git a/gate/net/proto_endecode.go b/gate/net/proto_endecode.go
index 51d1b3e3..6b6f8cf3 100644
--- a/gate/net/proto_endecode.go
+++ b/gate/net/proto_endecode.go
@@ -92,7 +92,7 @@ func ProtoDecode(kcpMsg *KcpMsg,
logger.Error("decode proto object is nil")
return protoMsgList
}
- if kcpMsg.CmdId == cmd.UnionCmdNotify {
+ if kcpMsg.CmdId == cmd.UnionCmdNotify && !config.GetConfig().Hk4e.ForwardModeEnable {
for _, protoMessage := range protoMessageList {
msg := new(ProtoMsg)
msg.ConvId = kcpMsg.ConvId
@@ -129,7 +129,7 @@ func ProtoDecodePayloadLoop(cmdId uint16, protoData []byte, protoMessageList *[]
logger.Error("decode proto object is nil")
return
}
- if cmdId == cmd.UnionCmdNotify {
+ if cmdId == cmd.UnionCmdNotify && !config.GetConfig().Hk4e.ForwardModeEnable {
// 处理聚合消息
unionCmdNotify, ok := protoObj.(*proto.UnionCmdNotify)
if !ok {
diff --git a/gate/net/session.go b/gate/net/session.go
index 8f52cc31..29801137 100644
--- a/gate/net/session.go
+++ b/gate/net/session.go
@@ -6,7 +6,6 @@ import (
"encoding/base64"
"encoding/binary"
"fmt"
- "math/rand"
"strconv"
"strings"
"sync/atomic"
@@ -34,37 +33,36 @@ const (
ConnClose
)
-// 发送消息到GS
-func (k *KcpConnectManager) recvMsgHandle(protoMsg *ProtoMsg, session *Session) {
- userId := session.userId
- connState := session.connState
+// 转发客户端消息到其他服务器 每个连接独立协程
+func (k *KcpConnectManager) forwardClientMsgToServerHandle(protoMsg *ProtoMsg, session *Session) {
if protoMsg.HeadMessage == nil {
logger.Error("recv null head msg: %v", protoMsg)
+ return
}
// 网关服务器本地处理的请求
switch protoMsg.CmdId {
case cmd.GetPlayerTokenReq:
// GATE登录包
- if connState != ConnEst {
+ if session.connState != ConnEst {
return
}
session.connState = ConnWaitLogin
- getPlayerTokenReq := protoMsg.PayloadMessage.(*proto.GetPlayerTokenReq)
- getPlayerTokenRsp := k.getPlayerToken(getPlayerTokenReq, session)
- if getPlayerTokenRsp == nil {
+ req := protoMsg.PayloadMessage.(*proto.GetPlayerTokenReq)
+ rsp := k.doGateLogin(req, session)
+ if rsp == nil {
return
}
// 返回数据到客户端
- rsp := &ProtoMsg{
+ msg := &ProtoMsg{
ConvId: protoMsg.ConvId,
CmdId: cmd.GetPlayerTokenRsp,
HeadMessage: k.getHeadMsg(protoMsg.HeadMessage.ClientSequenceId),
- PayloadMessage: getPlayerTokenRsp,
+ PayloadMessage: rsp,
}
- session.kcpRawSendChan <- rsp
+ session.kcpRawSendChan <- msg
case cmd.PlayerForceExitReq:
// 退出游戏
- if connState != ConnActive {
+ if session.connState != ConnActive {
return
}
k.kcpEventInput <- &KcpEvent{
@@ -79,22 +77,22 @@ func (k *KcpConnectManager) recvMsgHandle(protoMsg *ProtoMsg, session *Session)
// 返回数据到客户端
pingRsp := new(proto.PingRsp)
pingRsp.ClientTime = pingReq.ClientTime
- rsp := &ProtoMsg{
+ msg := &ProtoMsg{
ConvId: protoMsg.ConvId,
CmdId: cmd.PingRsp,
HeadMessage: k.getHeadMsg(protoMsg.HeadMessage.ClientSequenceId),
PayloadMessage: pingRsp,
}
- session.kcpRawSendChan <- rsp
+ session.kcpRawSendChan <- msg
logger.Debug("convId: %v, RTO: %v, SRTT: %v, RTTVar: %v",
protoMsg.ConvId, session.conn.GetRTO(), session.conn.GetSRTT(), session.conn.GetSRTTVar())
- if connState != ConnActive {
+ if session.connState != ConnActive {
return
}
// 通知GS玩家客户端往返时延
rtt := session.conn.GetSRTT()
connCtrlMsg := &mq.ConnCtrlMsg{
- UserId: userId,
+ UserId: session.userId,
ClientRtt: uint32(rtt),
ClientTime: 0,
}
@@ -105,7 +103,7 @@ func (k *KcpConnectManager) recvMsgHandle(protoMsg *ProtoMsg, session *Session)
})
// 通知GS玩家客户端的本地时钟
connCtrlMsg = &mq.ConnCtrlMsg{
- UserId: userId,
+ UserId: session.userId,
ClientTime: pingReq.ClientTime,
}
k.messageQueue.SendToGs(session.gsServerAppId, &mq.NetMsg{
@@ -115,14 +113,14 @@ func (k *KcpConnectManager) recvMsgHandle(protoMsg *ProtoMsg, session *Session)
})
case cmd.PlayerLoginReq:
// GS登录包
- if connState != ConnWaitLogin {
+ if session.connState != ConnWaitLogin {
return
}
playerLoginReq := protoMsg.PayloadMessage.(*proto.PlayerLoginReq)
playerLoginReq.TargetUid = 0
playerLoginReq.TargetHomeOwnerUid = 0
gameMsg := &mq.GameMsg{
- UserId: userId,
+ UserId: session.userId,
CmdId: protoMsg.CmdId,
ClientSeq: protoMsg.HeadMessage.ClientSequenceId,
PayloadMessage: playerLoginReq,
@@ -134,12 +132,12 @@ func (k *KcpConnectManager) recvMsgHandle(protoMsg *ProtoMsg, session *Session)
GameMsg: gameMsg,
})
default:
- if connState != ConnActive {
- logger.Error("conn not active so drop packet, cmdId: %v, userId: %v, convId: %v", protoMsg.CmdId, userId, protoMsg.ConvId)
+ if session.connState != ConnActive {
+ logger.Error("conn not active so drop packet, cmdId: %v, userId: %v, convId: %v", protoMsg.CmdId, session.userId, protoMsg.ConvId)
return
}
gameMsg := &mq.GameMsg{
- UserId: userId,
+ UserId: session.userId,
CmdId: protoMsg.CmdId,
ClientSeq: protoMsg.HeadMessage.ClientSequenceId,
PayloadMessageData: nil,
@@ -184,9 +182,9 @@ func (k *KcpConnectManager) recvMsgHandle(protoMsg *ProtoMsg, session *Session)
}
}
-// 接收来自其他服务器的消息
-func (k *KcpConnectManager) sendMsgHandle() {
- logger.Debug("send msg handle start")
+// 转发其他服务器的消息到客户端 所有连接共享一个协程
+func (k *KcpConnectManager) forwardServerMsgToClientHandle() {
+ logger.Debug("server msg forward handle start")
// 函数栈内缓存 添加删除事件走chan 避免频繁加锁
convSessionMap := make(map[uint64]*Session)
userIdConvMap := make(map[uint32]uint64)
@@ -325,8 +323,121 @@ func (k *KcpConnectManager) sendMsgHandle() {
}
}
-func (k *KcpConnectManager) getHeadMsg(clientSeq uint32) (headMsg *proto.PacketHead) {
- headMsg = new(proto.PacketHead)
+// 转发客户端消息到robot
+func (k *KcpConnectManager) forwardClientMsgToRobotHandle(protoMsg *ProtoMsg, session *Session) {
+ if protoMsg.HeadMessage == nil {
+ logger.Error("recv null head msg: %v", protoMsg)
+ return
+ }
+ // 网关服务器本地处理的请求
+ switch protoMsg.CmdId {
+ case cmd.GetPlayerTokenReq:
+ // GATE登录包
+ if session.connState != ConnEst {
+ return
+ }
+ session.connState = ConnWaitLogin
+ req := protoMsg.PayloadMessage.(*proto.GetPlayerTokenReq)
+ session.keyId = req.KeyId
+ session.clientRandKey = req.ClientRandKey
+ case cmd.PlayerForceExitReq:
+ // 退出游戏
+ if session.connState != ConnActive {
+ return
+ }
+ case cmd.PlayerLoginReq:
+ // GS登录包
+ if session.connState != ConnWaitLogin {
+ return
+ }
+ }
+ gameMsg := &mq.GameMsg{
+ UserId: session.userId,
+ CmdId: protoMsg.CmdId,
+ ClientSeq: protoMsg.HeadMessage.ClientSequenceId,
+ PayloadMessageData: nil,
+ }
+ // 在这里直接序列化成二进制数据 终结PayloadMessage的生命周期并回收进缓存池
+ payloadMessageData, err := pb.Marshal(protoMsg.PayloadMessage)
+ if err != nil {
+ logger.Error("parse payload msg to bin error: %v, stack: %v", err, logger.Stack())
+ return
+ }
+ k.serverCmdProtoMap.PutProtoObjCache(protoMsg.CmdId, protoMsg.PayloadMessage)
+ gameMsg.PayloadMessageData = payloadMessageData
+ // 转发到Robot
+ k.messageQueue.SendToRobot(session.robotServerAppId, &mq.NetMsg{
+ MsgType: mq.MsgTypeGame,
+ EventId: mq.NormalMsg,
+ GameMsg: gameMsg,
+ })
+}
+
+// 转发robot的消息到客户端
+func (k *KcpConnectManager) forwardRobotMsgToClientHandle(session *Session) {
+ logger.Debug("robot msg forward handle start")
+ ticker := time.NewTicker(time.Second)
+ for {
+ select {
+ case <-ticker.C:
+ if session.connState == ConnClose {
+ logger.Debug("robot msg forward handle stop")
+ return
+ }
+ case netMsg := <-k.messageQueue.GetNetMsg():
+ if netMsg.OriginServerType != api.ROBOT {
+ continue
+ }
+ switch netMsg.MsgType {
+ case mq.MsgTypeGame:
+ gameMsg := netMsg.GameMsg
+ switch netMsg.EventId {
+ case mq.NormalMsg:
+ switch gameMsg.CmdId {
+ case cmd.GetPlayerTokenRsp:
+ rsp := gameMsg.PayloadMessage.(*proto.GetPlayerTokenRsp)
+ ok := k.keyExchange(session, rsp.Uid, rsp)
+ if !ok {
+ logger.Error("key exchange error, uid: %v", rsp.Uid)
+ continue
+ }
+ // 关联玩家uid和连接信息
+ session.userId = rsp.Uid
+ k.SetSession(session, session.conn.GetConv(), session.userId)
+ gameMsg.PayloadMessage = rsp
+ case cmd.PlayerLoginRsp:
+ logger.Debug("session active, uid: %v", gameMsg.UserId)
+ session.connState = ConnActive
+ }
+ protoMsg := &ProtoMsg{
+ ConvId: session.conn.GetConv(),
+ CmdId: gameMsg.CmdId,
+ HeadMessage: k.getHeadMsg(gameMsg.ClientSeq),
+ PayloadMessage: gameMsg.PayloadMessage,
+ }
+ kcpRawSendChan := session.kcpRawSendChan
+ if kcpRawSendChan == nil {
+ logger.Error("kcpRawSendChan is nil, convId: %v", protoMsg.ConvId)
+ continue
+ }
+ if len(kcpRawSendChan) == 1000 {
+ logger.Error("kcpRawSendChan is full, convId: %v", protoMsg.ConvId)
+ continue
+ }
+ kcpRawSendChan <- protoMsg
+ }
+ case mq.MsgTypeServer:
+ switch netMsg.EventId {
+ case mq.ServerForwardModeServerCloseNotify:
+ _ = session.conn.Close()
+ }
+ }
+ }
+ }
+}
+
+func (k *KcpConnectManager) getHeadMsg(clientSeq uint32) *proto.PacketHead {
+ headMsg := new(proto.PacketHead)
if clientSeq != 0 {
headMsg.ClientSequenceId = clientSeq
headMsg.SentMs = uint64(time.Now().UnixMilli())
@@ -340,14 +451,29 @@ type RemoteKick struct {
kickFinishNotifyChan chan bool
}
-func (k *KcpConnectManager) getPlayerToken(req *proto.GetPlayerTokenReq, session *Session) *proto.GetPlayerTokenRsp {
- loginFailClose := func() {
- k.kcpEventInput <- &KcpEvent{
- ConvId: session.conn.GetConv(),
- EventId: KcpConnForceClose,
- EventMessage: uint32(kcp.EnetLoginUnfinished),
+func (k *KcpConnectManager) loginFailClose(session *Session) {
+ k.kcpEventInput <- &KcpEvent{
+ ConvId: session.conn.GetConv(),
+ EventId: KcpConnForceClose,
+ EventMessage: uint32(kcp.EnetLoginUnfinished),
+ }
+}
+
+func (k *KcpConnectManager) loginFailRsp(uid uint32, retCode proto.Retcode, isForbid bool, forbidEndTime uint32) *proto.GetPlayerTokenRsp {
+ rsp := new(proto.GetPlayerTokenRsp)
+ rsp.Uid = uid
+ rsp.Retcode = int32(retCode)
+ if isForbid {
+ rsp.Msg = "FORBID_CHEATING_PLUGINS"
+ rsp.BlackUidEndTime = forbidEndTime
+ if rsp.BlackUidEndTime == 0 {
+ rsp.BlackUidEndTime = 2051193600 // 2035-01-01 00:00:00
}
}
+ return rsp
+}
+
+func (k *KcpConnectManager) doGateLogin(req *proto.GetPlayerTokenReq, session *Session) *proto.GetPlayerTokenRsp {
tokenVerifyRsp, err := httpclient.PostJson[controller.TokenVerifyRsp](
config.GetConfig().Hk4e.LoginSdkUrl+"/gate/token/verify",
&controller.TokenVerifyReq{
@@ -356,42 +482,23 @@ func (k *KcpConnectManager) getPlayerToken(req *proto.GetPlayerTokenReq, session
})
if err != nil {
logger.Error("verify token error: %v, account uid: %v", err, req.AccountUid)
- loginFailClose()
+ k.loginFailClose(session)
return nil
}
uid := tokenVerifyRsp.PlayerID
- loginFailRsp := func(retCode int32, isForbid bool, forbidEndTime uint32) *proto.GetPlayerTokenRsp {
- rsp := new(proto.GetPlayerTokenRsp)
- rsp.Uid = uid
- rsp.IsProficientPlayer = true
- rsp.Retcode = retCode
- if isForbid {
- rsp.Msg = "FORBID_CHEATING_PLUGINS"
- rsp.BlackUidEndTime = forbidEndTime
- if rsp.BlackUidEndTime == 0 {
- rsp.BlackUidEndTime = 2051193600 // 2035-01-01 00:00:00
- }
- }
- rsp.RegPlatform = 3
- rsp.CountryCode = "US"
- addr := session.conn.RemoteAddr().String()
- split := strings.Split(addr, ":")
- rsp.ClientIpStr = split[0]
- return rsp
- }
if !tokenVerifyRsp.Valid {
logger.Error("token error, uid: %v", uid)
- return loginFailRsp(int32(proto.Retcode_RET_TOKEN_ERROR), false, 0)
+ return k.loginFailRsp(uid, proto.Retcode_RET_TOKEN_ERROR, false, 0)
}
// comboToken验证成功
if tokenVerifyRsp.Forbid {
// 封号通知
- return loginFailRsp(int32(proto.Retcode_RET_BLACK_UID), true, tokenVerifyRsp.ForbidEndTime)
+ return k.loginFailRsp(uid, proto.Retcode_RET_BLACK_UID, true, tokenVerifyRsp.ForbidEndTime)
}
clientConnNum := atomic.LoadInt32(&CLIENT_CONN_NUM)
if clientConnNum > MaxClientConnNumLimit {
logger.Error("gate conn num limit, uid: %v", uid)
- return loginFailRsp(int32(proto.Retcode_RET_MAX_PLAYER), false, 0)
+ return k.loginFailRsp(uid, proto.Retcode_RET_MAX_PLAYER, false, 0)
}
k.globalGsOnlineMapLock.RLock()
_, exist := k.globalGsOnlineMap[uid]
@@ -412,7 +519,7 @@ func (k *KcpConnectManager) getPlayerToken(req *proto.GetPlayerTokenReq, session
case <-timer.C:
logger.Error("global interrupt login reg wait timeout, uid: %v", uid)
timer.Stop()
- loginFailClose()
+ k.loginFailClose(session)
return nil
case <-regFinishNotifyChan:
timer.Stop()
@@ -442,7 +549,7 @@ func (k *KcpConnectManager) getPlayerToken(req *proto.GetPlayerTokenReq, session
case <-timer.C:
logger.Error("global interrupt login kick wait timeout, uid: %v", uid)
timer.Stop()
- loginFailClose()
+ k.loginFailClose(session)
return nil
case <-kickFinishNotifyChan:
timer.Stop()
@@ -458,7 +565,7 @@ func (k *KcpConnectManager) getPlayerToken(req *proto.GetPlayerTokenReq, session
})
if err != nil {
logger.Error("get gs server appid error: %v, uid: %v", err, uid)
- loginFailClose()
+ k.loginFailClose(session)
return nil
}
session.gsServerAppId = gsServerAppId.AppId
@@ -479,97 +586,117 @@ func (k *KcpConnectManager) getPlayerToken(req *proto.GetPlayerTokenReq, session
logger.Debug("session gs appid: %v, uid: %v", session.gsServerAppId, uid)
logger.Debug("session anticheat appid: %v, uid: %v", session.anticheatServerAppId, uid)
logger.Debug("session pathfinding appid: %v, uid: %v", session.pathfindingServerAppId, uid)
- // 返回响应
- rsp := new(proto.GetPlayerTokenRsp)
- rsp.Uid = uid
- rsp.AccountUid = req.AccountUid
- rsp.Token = req.AccountToken
- data := make([]byte, 16+32)
- rand.Read(data)
- rsp.SecurityCmdBuffer = data[16:]
- rsp.ClientVersionRandomKey = fmt.Sprintf("%03x-%012x", data[:3], data[4:16])
- rsp.AccountType = 1
- rsp.IsProficientPlayer = true
- rsp.PlatformType = 3
- rsp.ChannelId = 1
- rsp.SubChannelId = 1
- rsp.RegPlatform = 2
- rsp.Birthday = "2000-01-01"
+ // 构造响应
+ rsp := k.buildGateLoginRsp(session, uid, req.AccountUid, req.AccountToken)
+ // 密钥交换
+ session.keyId = req.KeyId
+ session.clientRandKey = req.ClientRandKey
+ ok := k.keyExchange(session, uid, rsp)
+ if !ok {
+ logger.Error("key exchange error, uid: %v", uid)
+ return nil
+ }
+ return rsp
+}
+
+func (k *KcpConnectManager) buildGateLoginRsp(session *Session, uid uint32, accountUid string, token string) *proto.GetPlayerTokenRsp {
addr := session.conn.RemoteAddr().String()
- split := strings.Split(addr, ":")
- rsp.ClientIpStr = split[0]
+ addrSplit := strings.Split(addr, ":")
+ rsp := &proto.GetPlayerTokenRsp{
+ Uid: uid,
+ AccountUid: accountUid,
+ Token: token,
+ AccountType: 1,
+ ChannelId: 1,
+ SubChannelId: 1,
+ PlatformType: 3,
+ RegPlatform: 3,
+ IsProficientPlayer: false,
+ CountryCode: "US",
+ Birthday: "2000-01-01",
+ ClientIpStr: addrSplit[0],
+ SecurityCmdBuffer: random.GetRandomByte(32),
+ ClientVersionRandomKey: fmt.Sprintf("%03x-%012x", random.GetRandomByte(3), random.GetRandomByte(12)),
+ }
+ return rsp
+}
+
+func (k *KcpConnectManager) keyExchange(session *Session, uid uint32, rsp *proto.GetPlayerTokenRsp) bool {
timeRand := random.GetTimeRand()
serverSeedUint64 := timeRand.Uint64()
session.seed = serverSeedUint64
- if req.KeyId != 0 {
+ if session.keyId != 0 {
session.useMagicSeed = true
- keyId := strconv.Itoa(int(req.KeyId))
+ keyId := strconv.Itoa(int(session.keyId))
encPubPrivKey, exist := k.encRsaKeyMap[keyId]
if !exist {
logger.Error("can not found key id: %v, uid: %v", keyId, uid)
- loginFailClose()
- return nil
+ k.loginFailClose(session)
+ return false
}
pubKey, err := endec.RsaParsePubKeyByPrivKey(encPubPrivKey)
if err != nil {
logger.Error("parse rsa pub key error: %v, uid: %v", err, uid)
- loginFailClose()
- return nil
+ k.loginFailClose(session)
+ return false
}
signPrivkey, err := endec.RsaParsePrivKey(k.signRsaKey)
if err != nil {
logger.Error("parse rsa priv key error: %v, uid: %v", err, uid)
- loginFailClose()
- return nil
+ k.loginFailClose(session)
+ return false
}
- clientSeedBase64 := req.ClientRandKey
+ clientSeedBase64 := session.clientRandKey
clientSeedEnc, err := base64.StdEncoding.DecodeString(clientSeedBase64)
if err != nil {
logger.Error("parse client seed base64 error: %v, uid: %v", err, uid)
- loginFailClose()
- return nil
+ k.loginFailClose(session)
+ return false
}
clientSeed, err := endec.RsaDecrypt(clientSeedEnc, signPrivkey)
if err != nil {
logger.Error("rsa dec error: %v, uid: %v", err, uid)
- loginFailClose()
- return nil
+ k.loginFailClose(session)
+ return false
}
clientSeedUint64 := uint64(0)
err = binary.Read(bytes.NewReader(clientSeed), binary.BigEndian, &clientSeedUint64)
if err != nil {
logger.Error("parse client seed to uint64 error: %v, uid: %v", err, uid)
- loginFailClose()
- return nil
+ k.loginFailClose(session)
+ return false
}
+ logger.Debug("clientSeed: %v, clientSeedUint64: %v", clientSeed, clientSeedUint64)
+ logger.Debug("serverSeedUint64: %v", serverSeedUint64)
seedUint64 := serverSeedUint64 ^ clientSeedUint64
seedBuf := new(bytes.Buffer)
err = binary.Write(seedBuf, binary.BigEndian, seedUint64)
if err != nil {
logger.Error("conv seed uint64 to bytes error: %v, uid: %v", err, uid)
- loginFailClose()
- return nil
+ k.loginFailClose(session)
+ return false
}
seed := seedBuf.Bytes()
+ logger.Debug("seed: %v, seedUint64: %v", seed, seedUint64)
seedEnc, err := endec.RsaEncrypt(seed, pubKey)
if err != nil {
logger.Error("rsa enc error: %v, uid: %v", err, uid)
- loginFailClose()
- return nil
+ k.loginFailClose(session)
+ return false
}
seedSign, err := endec.RsaSign(seed, signPrivkey)
if err != nil {
logger.Error("rsa sign error: %v, uid: %v", err, uid)
- loginFailClose()
- return nil
+ k.loginFailClose(session)
+ return false
}
- rsp.KeyId = req.KeyId
+ rsp.KeyId = session.keyId
rsp.ServerRandKey = base64.StdEncoding.EncodeToString(seedEnc)
rsp.Sign = base64.StdEncoding.EncodeToString(seedSign)
} else {
session.useMagicSeed = false
rsp.SecretKeySeed = serverSeedUint64
- rsp.SecretKey = fmt.Sprintf("%03x-%012x", data[:3], data[4:16])
+ rsp.SecretKey = fmt.Sprintf("%03x-%012x", random.GetRandomByte(3), random.GetRandomByte(12))
}
- return rsp
+ return true
}
diff --git a/node/api/server_type.go b/node/api/server_type.go
index b916ac2a..59a4604a 100644
--- a/node/api/server_type.go
+++ b/node/api/server_type.go
@@ -6,4 +6,6 @@ const (
ANTICHEAT = "ANTICHEAT"
PATHFINDING = "PATHFINDING"
NODE = "NODE"
+ ROBOT = "ROBOT"
+ DISPATCH = "DISPATCH"
)
diff --git a/node/service/discovery.go b/node/service/discovery.go
index d77773a8..9651638e 100644
--- a/node/service/discovery.go
+++ b/node/service/discovery.go
@@ -66,6 +66,8 @@ func NewDiscoveryService() *DiscoveryService {
r.serverInstanceMap[api.GS] = new(sync.Map)
r.serverInstanceMap[api.ANTICHEAT] = new(sync.Map)
r.serverInstanceMap[api.PATHFINDING] = new(sync.Map)
+ r.serverInstanceMap[api.ROBOT] = new(sync.Map)
+ r.serverInstanceMap[api.DISPATCH] = new(sync.Map)
r.serverAppIdMap = new(sync.Map)
r.globalGsOnlineMap = make(map[uint32]string)
go r.removeDeadServer()
diff --git a/pkg/logger/logger.go b/pkg/logger/logger.go
index 20f3938b..5d848b12 100644
--- a/pkg/logger/logger.go
+++ b/pkg/logger/logger.go
@@ -79,6 +79,7 @@ func CloseLogger() {
// 等待所有日志打印完毕
for {
if len(LOG.LogInfoChan) == 0 {
+ time.Sleep(time.Millisecond * 100)
break
}
time.Sleep(time.Millisecond * 100)
diff --git a/protocol/cmd/cmd_id.go b/protocol/cmd/cmd_id.go
index bd45d809..3449aec5 100644
--- a/protocol/cmd/cmd_id.go
+++ b/protocol/cmd/cmd_id.go
@@ -1,5 +1,9 @@
package cmd
+import (
+ "hk4e/protocol/proto"
+)
+
const (
AbilityChangeNotify = 1131
AbilityInvocationFailNotify = 1107
@@ -2055,6 +2059,2031 @@ const (
WorldRoutineTypeRefreshNotify = 3525
)
+func (c *CmdProtoMap) registerAllMessage() {
+ c.regMsg(AbilityChangeNotify, func() any { return new(proto.AbilityChangeNotify) })
+ c.regMsg(AbilityInvocationFailNotify, func() any { return new(proto.AbilityInvocationFailNotify) })
+ c.regMsg(AbilityInvocationFixedNotify, func() any { return new(proto.AbilityInvocationFixedNotify) })
+ c.regMsg(AbilityInvocationsNotify, func() any { return new(proto.AbilityInvocationsNotify) })
+ c.regMsg(AcceptCityReputationRequestReq, func() any { return new(proto.AcceptCityReputationRequestReq) })
+ c.regMsg(AcceptCityReputationRequestRsp, func() any { return new(proto.AcceptCityReputationRequestRsp) })
+ c.regMsg(AchievementAllDataNotify, func() any { return new(proto.AchievementAllDataNotify) })
+ c.regMsg(AchievementUpdateNotify, func() any { return new(proto.AchievementUpdateNotify) })
+ c.regMsg(ActivityAcceptAllGiveGiftReq, func() any { return new(proto.ActivityAcceptAllGiveGiftReq) })
+ c.regMsg(ActivityAcceptAllGiveGiftRsp, func() any { return new(proto.ActivityAcceptAllGiveGiftRsp) })
+ c.regMsg(ActivityAcceptGiveGiftReq, func() any { return new(proto.ActivityAcceptGiveGiftReq) })
+ c.regMsg(ActivityAcceptGiveGiftRsp, func() any { return new(proto.ActivityAcceptGiveGiftRsp) })
+ c.regMsg(ActivityBannerClearReq, func() any { return new(proto.ActivityBannerClearReq) })
+ c.regMsg(ActivityBannerClearRsp, func() any { return new(proto.ActivityBannerClearRsp) })
+ c.regMsg(ActivityBannerNotify, func() any { return new(proto.ActivityBannerNotify) })
+ c.regMsg(ActivityCoinInfoNotify, func() any { return new(proto.ActivityCoinInfoNotify) })
+ c.regMsg(ActivityCondStateChangeNotify, func() any { return new(proto.ActivityCondStateChangeNotify) })
+ c.regMsg(ActivityDisableTransferPointInteractionNotify, func() any { return new(proto.ActivityDisableTransferPointInteractionNotify) })
+ c.regMsg(ActivityGetCanGiveFriendGiftReq, func() any { return new(proto.ActivityGetCanGiveFriendGiftReq) })
+ c.regMsg(ActivityGetCanGiveFriendGiftRsp, func() any { return new(proto.ActivityGetCanGiveFriendGiftRsp) })
+ c.regMsg(ActivityGetFriendGiftWishListReq, func() any { return new(proto.ActivityGetFriendGiftWishListReq) })
+ c.regMsg(ActivityGetFriendGiftWishListRsp, func() any { return new(proto.ActivityGetFriendGiftWishListRsp) })
+ c.regMsg(ActivityGetRecvGiftListReq, func() any { return new(proto.ActivityGetRecvGiftListReq) })
+ c.regMsg(ActivityGetRecvGiftListRsp, func() any { return new(proto.ActivityGetRecvGiftListRsp) })
+ c.regMsg(ActivityGiveFriendGiftReq, func() any { return new(proto.ActivityGiveFriendGiftReq) })
+ c.regMsg(ActivityGiveFriendGiftRsp, func() any { return new(proto.ActivityGiveFriendGiftRsp) })
+ c.regMsg(ActivityHaveRecvGiftNotify, func() any { return new(proto.ActivityHaveRecvGiftNotify) })
+ c.regMsg(ActivityInfoNotify, func() any { return new(proto.ActivityInfoNotify) })
+ c.regMsg(ActivityPlayOpenAnimNotify, func() any { return new(proto.ActivityPlayOpenAnimNotify) })
+ c.regMsg(ActivityPushTipsInfoNotify, func() any { return new(proto.ActivityPushTipsInfoNotify) })
+ c.regMsg(ActivityReadPushTipsReq, func() any { return new(proto.ActivityReadPushTipsReq) })
+ c.regMsg(ActivityReadPushTipsRsp, func() any { return new(proto.ActivityReadPushTipsRsp) })
+ c.regMsg(ActivitySaleChangeNotify, func() any { return new(proto.ActivitySaleChangeNotify) })
+ c.regMsg(ActivityScheduleInfoNotify, func() any { return new(proto.ActivityScheduleInfoNotify) })
+ c.regMsg(ActivitySelectAvatarCardReq, func() any { return new(proto.ActivitySelectAvatarCardReq) })
+ c.regMsg(ActivitySelectAvatarCardRsp, func() any { return new(proto.ActivitySelectAvatarCardRsp) })
+ c.regMsg(ActivitySetGiftWishReq, func() any { return new(proto.ActivitySetGiftWishReq) })
+ c.regMsg(ActivitySetGiftWishRsp, func() any { return new(proto.ActivitySetGiftWishRsp) })
+ c.regMsg(ActivityTakeAllScoreRewardReq, func() any { return new(proto.ActivityTakeAllScoreRewardReq) })
+ c.regMsg(ActivityTakeAllScoreRewardRsp, func() any { return new(proto.ActivityTakeAllScoreRewardRsp) })
+ c.regMsg(ActivityTakeScoreRewardReq, func() any { return new(proto.ActivityTakeScoreRewardReq) })
+ c.regMsg(ActivityTakeScoreRewardRsp, func() any { return new(proto.ActivityTakeScoreRewardRsp) })
+ c.regMsg(ActivityTakeWatcherRewardBatchReq, func() any { return new(proto.ActivityTakeWatcherRewardBatchReq) })
+ c.regMsg(ActivityTakeWatcherRewardBatchRsp, func() any { return new(proto.ActivityTakeWatcherRewardBatchRsp) })
+ c.regMsg(ActivityTakeWatcherRewardReq, func() any { return new(proto.ActivityTakeWatcherRewardReq) })
+ c.regMsg(ActivityTakeWatcherRewardRsp, func() any { return new(proto.ActivityTakeWatcherRewardRsp) })
+ c.regMsg(ActivityUpdateWatcherNotify, func() any { return new(proto.ActivityUpdateWatcherNotify) })
+ c.regMsg(AddAranaraCollectionNotify, func() any { return new(proto.AddAranaraCollectionNotify) })
+ c.regMsg(AddBackupAvatarTeamReq, func() any { return new(proto.AddBackupAvatarTeamReq) })
+ c.regMsg(AddBackupAvatarTeamRsp, func() any { return new(proto.AddBackupAvatarTeamRsp) })
+ c.regMsg(AddBlacklistReq, func() any { return new(proto.AddBlacklistReq) })
+ c.regMsg(AddBlacklistRsp, func() any { return new(proto.AddBlacklistRsp) })
+ c.regMsg(AddFriendNotify, func() any { return new(proto.AddFriendNotify) })
+ c.regMsg(AddNoGachaAvatarCardNotify, func() any { return new(proto.AddNoGachaAvatarCardNotify) })
+ c.regMsg(AddQuestContentProgressReq, func() any { return new(proto.AddQuestContentProgressReq) })
+ c.regMsg(AddQuestContentProgressRsp, func() any { return new(proto.AddQuestContentProgressRsp) })
+ c.regMsg(AddRandTaskInfoNotify, func() any { return new(proto.AddRandTaskInfoNotify) })
+ c.regMsg(AddSeenMonsterNotify, func() any { return new(proto.AddSeenMonsterNotify) })
+ c.regMsg(AdjustWorldLevelReq, func() any { return new(proto.AdjustWorldLevelReq) })
+ c.regMsg(AdjustWorldLevelRsp, func() any { return new(proto.AdjustWorldLevelRsp) })
+ c.regMsg(AllCoopInfoNotify, func() any { return new(proto.AllCoopInfoNotify) })
+ c.regMsg(AllMarkPointNotify, func() any { return new(proto.AllMarkPointNotify) })
+ c.regMsg(AllSeenMonsterNotify, func() any { return new(proto.AllSeenMonsterNotify) })
+ c.regMsg(AllShareCDDataNotify, func() any { return new(proto.AllShareCDDataNotify) })
+ c.regMsg(AllWidgetBackgroundActiveStateNotify, func() any { return new(proto.AllWidgetBackgroundActiveStateNotify) })
+ c.regMsg(AllWidgetDataNotify, func() any { return new(proto.AllWidgetDataNotify) })
+ c.regMsg(AnchorPointDataNotify, func() any { return new(proto.AnchorPointDataNotify) })
+ c.regMsg(AnchorPointOpReq, func() any { return new(proto.AnchorPointOpReq) })
+ c.regMsg(AnchorPointOpRsp, func() any { return new(proto.AnchorPointOpRsp) })
+ c.regMsg(AnimatorForceSetAirMoveNotify, func() any { return new(proto.AnimatorForceSetAirMoveNotify) })
+ c.regMsg(AntiAddictNotify, func() any { return new(proto.AntiAddictNotify) })
+ c.regMsg(AranaraCollectionDataNotify, func() any { return new(proto.AranaraCollectionDataNotify) })
+ c.regMsg(AreaPlayInfoNotify, func() any { return new(proto.AreaPlayInfoNotify) })
+ c.regMsg(ArenaChallengeFinishNotify, func() any { return new(proto.ArenaChallengeFinishNotify) })
+ c.regMsg(AskAddFriendNotify, func() any { return new(proto.AskAddFriendNotify) })
+ c.regMsg(AskAddFriendReq, func() any { return new(proto.AskAddFriendReq) })
+ c.regMsg(AskAddFriendRsp, func() any { return new(proto.AskAddFriendRsp) })
+ c.regMsg(AssociateInferenceWordReq, func() any { return new(proto.AssociateInferenceWordReq) })
+ c.regMsg(AssociateInferenceWordRsp, func() any { return new(proto.AssociateInferenceWordRsp) })
+ c.regMsg(AsterLargeInfoNotify, func() any { return new(proto.AsterLargeInfoNotify) })
+ c.regMsg(AsterLittleInfoNotify, func() any { return new(proto.AsterLittleInfoNotify) })
+ c.regMsg(AsterMidCampInfoNotify, func() any { return new(proto.AsterMidCampInfoNotify) })
+ c.regMsg(AsterMidInfoNotify, func() any { return new(proto.AsterMidInfoNotify) })
+ c.regMsg(AsterMiscInfoNotify, func() any { return new(proto.AsterMiscInfoNotify) })
+ c.regMsg(AsterProgressInfoNotify, func() any { return new(proto.AsterProgressInfoNotify) })
+ c.regMsg(AvatarAddNotify, func() any { return new(proto.AvatarAddNotify) })
+ c.regMsg(AvatarBuffAddNotify, func() any { return new(proto.AvatarBuffAddNotify) })
+ c.regMsg(AvatarBuffDelNotify, func() any { return new(proto.AvatarBuffDelNotify) })
+ c.regMsg(AvatarCardChangeReq, func() any { return new(proto.AvatarCardChangeReq) })
+ c.regMsg(AvatarCardChangeRsp, func() any { return new(proto.AvatarCardChangeRsp) })
+ c.regMsg(AvatarChangeAnimHashReq, func() any { return new(proto.AvatarChangeAnimHashReq) })
+ c.regMsg(AvatarChangeAnimHashRsp, func() any { return new(proto.AvatarChangeAnimHashRsp) })
+ c.regMsg(AvatarChangeCostumeNotify, func() any { return new(proto.AvatarChangeCostumeNotify) })
+ c.regMsg(AvatarChangeCostumeReq, func() any { return new(proto.AvatarChangeCostumeReq) })
+ c.regMsg(AvatarChangeCostumeRsp, func() any { return new(proto.AvatarChangeCostumeRsp) })
+ c.regMsg(AvatarChangeElementTypeReq, func() any { return new(proto.AvatarChangeElementTypeReq) })
+ c.regMsg(AvatarChangeElementTypeRsp, func() any { return new(proto.AvatarChangeElementTypeRsp) })
+ c.regMsg(AvatarDataNotify, func() any { return new(proto.AvatarDataNotify) })
+ c.regMsg(AvatarDelNotify, func() any { return new(proto.AvatarDelNotify) })
+ c.regMsg(AvatarDieAnimationEndReq, func() any { return new(proto.AvatarDieAnimationEndReq) })
+ c.regMsg(AvatarDieAnimationEndRsp, func() any { return new(proto.AvatarDieAnimationEndRsp) })
+ c.regMsg(AvatarEnterElementViewNotify, func() any { return new(proto.AvatarEnterElementViewNotify) })
+ c.regMsg(AvatarEquipAffixStartNotify, func() any { return new(proto.AvatarEquipAffixStartNotify) })
+ c.regMsg(AvatarEquipChangeNotify, func() any { return new(proto.AvatarEquipChangeNotify) })
+ c.regMsg(AvatarExpeditionAllDataReq, func() any { return new(proto.AvatarExpeditionAllDataReq) })
+ c.regMsg(AvatarExpeditionAllDataRsp, func() any { return new(proto.AvatarExpeditionAllDataRsp) })
+ c.regMsg(AvatarExpeditionCallBackReq, func() any { return new(proto.AvatarExpeditionCallBackReq) })
+ c.regMsg(AvatarExpeditionCallBackRsp, func() any { return new(proto.AvatarExpeditionCallBackRsp) })
+ c.regMsg(AvatarExpeditionDataNotify, func() any { return new(proto.AvatarExpeditionDataNotify) })
+ c.regMsg(AvatarExpeditionGetRewardReq, func() any { return new(proto.AvatarExpeditionGetRewardReq) })
+ c.regMsg(AvatarExpeditionGetRewardRsp, func() any { return new(proto.AvatarExpeditionGetRewardRsp) })
+ c.regMsg(AvatarExpeditionStartReq, func() any { return new(proto.AvatarExpeditionStartReq) })
+ c.regMsg(AvatarExpeditionStartRsp, func() any { return new(proto.AvatarExpeditionStartRsp) })
+ c.regMsg(AvatarFetterDataNotify, func() any { return new(proto.AvatarFetterDataNotify) })
+ c.regMsg(AvatarFetterLevelRewardReq, func() any { return new(proto.AvatarFetterLevelRewardReq) })
+ c.regMsg(AvatarFetterLevelRewardRsp, func() any { return new(proto.AvatarFetterLevelRewardRsp) })
+ c.regMsg(AvatarFightPropNotify, func() any { return new(proto.AvatarFightPropNotify) })
+ c.regMsg(AvatarFightPropUpdateNotify, func() any { return new(proto.AvatarFightPropUpdateNotify) })
+ c.regMsg(AvatarFlycloakChangeNotify, func() any { return new(proto.AvatarFlycloakChangeNotify) })
+ c.regMsg(AvatarFollowRouteNotify, func() any { return new(proto.AvatarFollowRouteNotify) })
+ c.regMsg(AvatarGainCostumeNotify, func() any { return new(proto.AvatarGainCostumeNotify) })
+ c.regMsg(AvatarGainFlycloakNotify, func() any { return new(proto.AvatarGainFlycloakNotify) })
+ c.regMsg(AvatarLifeStateChangeNotify, func() any { return new(proto.AvatarLifeStateChangeNotify) })
+ c.regMsg(AvatarPromoteGetRewardReq, func() any { return new(proto.AvatarPromoteGetRewardReq) })
+ c.regMsg(AvatarPromoteGetRewardRsp, func() any { return new(proto.AvatarPromoteGetRewardRsp) })
+ c.regMsg(AvatarPromoteReq, func() any { return new(proto.AvatarPromoteReq) })
+ c.regMsg(AvatarPromoteRsp, func() any { return new(proto.AvatarPromoteRsp) })
+ c.regMsg(AvatarPropChangeReasonNotify, func() any { return new(proto.AvatarPropChangeReasonNotify) })
+ c.regMsg(AvatarPropNotify, func() any { return new(proto.AvatarPropNotify) })
+ c.regMsg(AvatarSatiationDataNotify, func() any { return new(proto.AvatarSatiationDataNotify) })
+ c.regMsg(AvatarSkillChangeNotify, func() any { return new(proto.AvatarSkillChangeNotify) })
+ c.regMsg(AvatarSkillDepotChangeNotify, func() any { return new(proto.AvatarSkillDepotChangeNotify) })
+ c.regMsg(AvatarSkillInfoNotify, func() any { return new(proto.AvatarSkillInfoNotify) })
+ c.regMsg(AvatarSkillMaxChargeCountNotify, func() any { return new(proto.AvatarSkillMaxChargeCountNotify) })
+ c.regMsg(AvatarSkillUpgradeReq, func() any { return new(proto.AvatarSkillUpgradeReq) })
+ c.regMsg(AvatarSkillUpgradeRsp, func() any { return new(proto.AvatarSkillUpgradeRsp) })
+ c.regMsg(AvatarTeamAllDataNotify, func() any { return new(proto.AvatarTeamAllDataNotify) })
+ c.regMsg(AvatarTeamUpdateNotify, func() any { return new(proto.AvatarTeamUpdateNotify) })
+ c.regMsg(AvatarUnlockTalentNotify, func() any { return new(proto.AvatarUnlockTalentNotify) })
+ c.regMsg(AvatarUpgradeReq, func() any { return new(proto.AvatarUpgradeReq) })
+ c.regMsg(AvatarUpgradeRsp, func() any { return new(proto.AvatarUpgradeRsp) })
+ c.regMsg(AvatarWearFlycloakReq, func() any { return new(proto.AvatarWearFlycloakReq) })
+ c.regMsg(AvatarWearFlycloakRsp, func() any { return new(proto.AvatarWearFlycloakRsp) })
+ c.regMsg(BackMyWorldReq, func() any { return new(proto.BackMyWorldReq) })
+ c.regMsg(BackMyWorldRsp, func() any { return new(proto.BackMyWorldRsp) })
+ c.regMsg(BackPlayCustomDungeonOfficialReq, func() any { return new(proto.BackPlayCustomDungeonOfficialReq) })
+ c.regMsg(BackPlayCustomDungeonOfficialRsp, func() any { return new(proto.BackPlayCustomDungeonOfficialRsp) })
+ c.regMsg(BackRebornGalleryReq, func() any { return new(proto.BackRebornGalleryReq) })
+ c.regMsg(BackRebornGalleryRsp, func() any { return new(proto.BackRebornGalleryRsp) })
+ c.regMsg(BargainOfferPriceReq, func() any { return new(proto.BargainOfferPriceReq) })
+ c.regMsg(BargainOfferPriceRsp, func() any { return new(proto.BargainOfferPriceRsp) })
+ c.regMsg(BargainStartNotify, func() any { return new(proto.BargainStartNotify) })
+ c.regMsg(BargainTerminateNotify, func() any { return new(proto.BargainTerminateNotify) })
+ c.regMsg(BartenderCancelLevelReq, func() any { return new(proto.BartenderCancelLevelReq) })
+ c.regMsg(BartenderCancelLevelRsp, func() any { return new(proto.BartenderCancelLevelRsp) })
+ c.regMsg(BartenderCancelOrderReq, func() any { return new(proto.BartenderCancelOrderReq) })
+ c.regMsg(BartenderCancelOrderRsp, func() any { return new(proto.BartenderCancelOrderRsp) })
+ c.regMsg(BartenderCompleteOrderReq, func() any { return new(proto.BartenderCompleteOrderReq) })
+ c.regMsg(BartenderCompleteOrderRsp, func() any { return new(proto.BartenderCompleteOrderRsp) })
+ c.regMsg(BartenderFinishLevelReq, func() any { return new(proto.BartenderFinishLevelReq) })
+ c.regMsg(BartenderFinishLevelRsp, func() any { return new(proto.BartenderFinishLevelRsp) })
+ c.regMsg(BartenderGetFormulaReq, func() any { return new(proto.BartenderGetFormulaReq) })
+ c.regMsg(BartenderGetFormulaRsp, func() any { return new(proto.BartenderGetFormulaRsp) })
+ c.regMsg(BartenderLevelProgressNotify, func() any { return new(proto.BartenderLevelProgressNotify) })
+ c.regMsg(BartenderStartLevelReq, func() any { return new(proto.BartenderStartLevelReq) })
+ c.regMsg(BartenderStartLevelRsp, func() any { return new(proto.BartenderStartLevelRsp) })
+ c.regMsg(BattlePassAllDataNotify, func() any { return new(proto.BattlePassAllDataNotify) })
+ c.regMsg(BattlePassBuySuccNotify, func() any { return new(proto.BattlePassBuySuccNotify) })
+ c.regMsg(BattlePassCurScheduleUpdateNotify, func() any { return new(proto.BattlePassCurScheduleUpdateNotify) })
+ c.regMsg(BattlePassMissionDelNotify, func() any { return new(proto.BattlePassMissionDelNotify) })
+ c.regMsg(BattlePassMissionUpdateNotify, func() any { return new(proto.BattlePassMissionUpdateNotify) })
+ c.regMsg(BeginCameraSceneLookNotify, func() any { return new(proto.BeginCameraSceneLookNotify) })
+ c.regMsg(BeginCameraSceneLookWithTemplateNotify, func() any { return new(proto.BeginCameraSceneLookWithTemplateNotify) })
+ c.regMsg(BigTalentPointConvertReq, func() any { return new(proto.BigTalentPointConvertReq) })
+ c.regMsg(BigTalentPointConvertRsp, func() any { return new(proto.BigTalentPointConvertRsp) })
+ c.regMsg(BlessingAcceptAllGivePicReq, func() any { return new(proto.BlessingAcceptAllGivePicReq) })
+ c.regMsg(BlessingAcceptAllGivePicRsp, func() any { return new(proto.BlessingAcceptAllGivePicRsp) })
+ c.regMsg(BlessingAcceptGivePicReq, func() any { return new(proto.BlessingAcceptGivePicReq) })
+ c.regMsg(BlessingAcceptGivePicRsp, func() any { return new(proto.BlessingAcceptGivePicRsp) })
+ c.regMsg(BlessingGetAllRecvPicRecordListReq, func() any { return new(proto.BlessingGetAllRecvPicRecordListReq) })
+ c.regMsg(BlessingGetAllRecvPicRecordListRsp, func() any { return new(proto.BlessingGetAllRecvPicRecordListRsp) })
+ c.regMsg(BlessingGetFriendPicListReq, func() any { return new(proto.BlessingGetFriendPicListReq) })
+ c.regMsg(BlessingGetFriendPicListRsp, func() any { return new(proto.BlessingGetFriendPicListRsp) })
+ c.regMsg(BlessingGiveFriendPicReq, func() any { return new(proto.BlessingGiveFriendPicReq) })
+ c.regMsg(BlessingGiveFriendPicRsp, func() any { return new(proto.BlessingGiveFriendPicRsp) })
+ c.regMsg(BlessingRecvFriendPicNotify, func() any { return new(proto.BlessingRecvFriendPicNotify) })
+ c.regMsg(BlessingRedeemRewardReq, func() any { return new(proto.BlessingRedeemRewardReq) })
+ c.regMsg(BlessingRedeemRewardRsp, func() any { return new(proto.BlessingRedeemRewardRsp) })
+ c.regMsg(BlessingScanReq, func() any { return new(proto.BlessingScanReq) })
+ c.regMsg(BlessingScanRsp, func() any { return new(proto.BlessingScanRsp) })
+ c.regMsg(BlitzRushParkourRestartReq, func() any { return new(proto.BlitzRushParkourRestartReq) })
+ c.regMsg(BlitzRushParkourRestartRsp, func() any { return new(proto.BlitzRushParkourRestartRsp) })
+ c.regMsg(BlossomBriefInfoNotify, func() any { return new(proto.BlossomBriefInfoNotify) })
+ c.regMsg(BlossomChestCreateNotify, func() any { return new(proto.BlossomChestCreateNotify) })
+ c.regMsg(BlossomChestInfoNotify, func() any { return new(proto.BlossomChestInfoNotify) })
+ c.regMsg(BonusActivityInfoReq, func() any { return new(proto.BonusActivityInfoReq) })
+ c.regMsg(BonusActivityInfoRsp, func() any { return new(proto.BonusActivityInfoRsp) })
+ c.regMsg(BonusActivityUpdateNotify, func() any { return new(proto.BonusActivityUpdateNotify) })
+ c.regMsg(BossChestActivateNotify, func() any { return new(proto.BossChestActivateNotify) })
+ c.regMsg(BounceConjuringSettleNotify, func() any { return new(proto.BounceConjuringSettleNotify) })
+ c.regMsg(BuoyantCombatSettleNotify, func() any { return new(proto.BuoyantCombatSettleNotify) })
+ c.regMsg(BuyBattlePassLevelReq, func() any { return new(proto.BuyBattlePassLevelReq) })
+ c.regMsg(BuyBattlePassLevelRsp, func() any { return new(proto.BuyBattlePassLevelRsp) })
+ c.regMsg(BuyGoodsReq, func() any { return new(proto.BuyGoodsReq) })
+ c.regMsg(BuyGoodsRsp, func() any { return new(proto.BuyGoodsRsp) })
+ c.regMsg(BuyResinReq, func() any { return new(proto.BuyResinReq) })
+ c.regMsg(BuyResinRsp, func() any { return new(proto.BuyResinRsp) })
+ c.regMsg(CalcWeaponUpgradeReturnItemsReq, func() any { return new(proto.CalcWeaponUpgradeReturnItemsReq) })
+ c.regMsg(CalcWeaponUpgradeReturnItemsRsp, func() any { return new(proto.CalcWeaponUpgradeReturnItemsRsp) })
+ c.regMsg(CanUseSkillNotify, func() any { return new(proto.CanUseSkillNotify) })
+ c.regMsg(CancelCityReputationRequestReq, func() any { return new(proto.CancelCityReputationRequestReq) })
+ c.regMsg(CancelCityReputationRequestRsp, func() any { return new(proto.CancelCityReputationRequestRsp) })
+ c.regMsg(CancelCoopTaskReq, func() any { return new(proto.CancelCoopTaskReq) })
+ c.regMsg(CancelCoopTaskRsp, func() any { return new(proto.CancelCoopTaskRsp) })
+ c.regMsg(CancelFinishParentQuestNotify, func() any { return new(proto.CancelFinishParentQuestNotify) })
+ c.regMsg(CardProductRewardNotify, func() any { return new(proto.CardProductRewardNotify) })
+ c.regMsg(CataLogFinishedGlobalWatcherAllDataNotify, func() any { return new(proto.CataLogFinishedGlobalWatcherAllDataNotify) })
+ c.regMsg(CataLogNewFinishedGlobalWatcherNotify, func() any { return new(proto.CataLogNewFinishedGlobalWatcherNotify) })
+ c.regMsg(ChallengeDataNotify, func() any { return new(proto.ChallengeDataNotify) })
+ c.regMsg(ChallengeRecordNotify, func() any { return new(proto.ChallengeRecordNotify) })
+ c.regMsg(ChangeAvatarReq, func() any { return new(proto.ChangeAvatarReq) })
+ c.regMsg(ChangeAvatarRsp, func() any { return new(proto.ChangeAvatarRsp) })
+ c.regMsg(ChangeCustomDungeonRoomReq, func() any { return new(proto.ChangeCustomDungeonRoomReq) })
+ c.regMsg(ChangeCustomDungeonRoomRsp, func() any { return new(proto.ChangeCustomDungeonRoomRsp) })
+ c.regMsg(ChangeGameTimeReq, func() any { return new(proto.ChangeGameTimeReq) })
+ c.regMsg(ChangeGameTimeRsp, func() any { return new(proto.ChangeGameTimeRsp) })
+ c.regMsg(ChangeMailStarNotify, func() any { return new(proto.ChangeMailStarNotify) })
+ c.regMsg(ChangeMpTeamAvatarReq, func() any { return new(proto.ChangeMpTeamAvatarReq) })
+ c.regMsg(ChangeMpTeamAvatarRsp, func() any { return new(proto.ChangeMpTeamAvatarRsp) })
+ c.regMsg(ChangeServerGlobalValueNotify, func() any { return new(proto.ChangeServerGlobalValueNotify) })
+ c.regMsg(ChangeTeamNameReq, func() any { return new(proto.ChangeTeamNameReq) })
+ c.regMsg(ChangeTeamNameRsp, func() any { return new(proto.ChangeTeamNameRsp) })
+ c.regMsg(ChangeWidgetBackgroundActiveStateReq, func() any { return new(proto.ChangeWidgetBackgroundActiveStateReq) })
+ c.regMsg(ChangeWidgetBackgroundActiveStateRsp, func() any { return new(proto.ChangeWidgetBackgroundActiveStateRsp) })
+ c.regMsg(ChangeWorldToSingleModeNotify, func() any { return new(proto.ChangeWorldToSingleModeNotify) })
+ c.regMsg(ChangeWorldToSingleModeReq, func() any { return new(proto.ChangeWorldToSingleModeReq) })
+ c.regMsg(ChangeWorldToSingleModeRsp, func() any { return new(proto.ChangeWorldToSingleModeRsp) })
+ c.regMsg(ChannelerSlabStageActiveChallengeIndexNotify, func() any { return new(proto.ChannelerSlabStageActiveChallengeIndexNotify) })
+ c.regMsg(ChapterStateNotify, func() any { return new(proto.ChapterStateNotify) })
+ c.regMsg(CharAmusementSettleNotify, func() any { return new(proto.CharAmusementSettleNotify) })
+ c.regMsg(ChatChannelDataNotify, func() any { return new(proto.ChatChannelDataNotify) })
+ c.regMsg(ChatChannelUpdateNotify, func() any { return new(proto.ChatChannelUpdateNotify) })
+ c.regMsg(ChatHistoryNotify, func() any { return new(proto.ChatHistoryNotify) })
+ c.regMsg(CheckAddItemExceedLimitNotify, func() any { return new(proto.CheckAddItemExceedLimitNotify) })
+ c.regMsg(CheckGroupReplacedReq, func() any { return new(proto.CheckGroupReplacedReq) })
+ c.regMsg(CheckGroupReplacedRsp, func() any { return new(proto.CheckGroupReplacedRsp) })
+ c.regMsg(CheckSegmentCRCNotify, func() any { return new(proto.CheckSegmentCRCNotify) })
+ c.regMsg(CheckSegmentCRCReq, func() any { return new(proto.CheckSegmentCRCReq) })
+ c.regMsg(CheckUgcStateReq, func() any { return new(proto.CheckUgcStateReq) })
+ c.regMsg(CheckUgcStateRsp, func() any { return new(proto.CheckUgcStateRsp) })
+ c.regMsg(CheckUgcUpdateReq, func() any { return new(proto.CheckUgcUpdateReq) })
+ c.regMsg(CheckUgcUpdateRsp, func() any { return new(proto.CheckUgcUpdateRsp) })
+ c.regMsg(ChessEscapedMonstersNotify, func() any { return new(proto.ChessEscapedMonstersNotify) })
+ c.regMsg(ChessLeftMonstersNotify, func() any { return new(proto.ChessLeftMonstersNotify) })
+ c.regMsg(ChessManualRefreshCardsReq, func() any { return new(proto.ChessManualRefreshCardsReq) })
+ c.regMsg(ChessManualRefreshCardsRsp, func() any { return new(proto.ChessManualRefreshCardsRsp) })
+ c.regMsg(ChessPickCardNotify, func() any { return new(proto.ChessPickCardNotify) })
+ c.regMsg(ChessPickCardReq, func() any { return new(proto.ChessPickCardReq) })
+ c.regMsg(ChessPickCardRsp, func() any { return new(proto.ChessPickCardRsp) })
+ c.regMsg(ChessPlayerInfoNotify, func() any { return new(proto.ChessPlayerInfoNotify) })
+ c.regMsg(ChessSelectedCardsNotify, func() any { return new(proto.ChessSelectedCardsNotify) })
+ c.regMsg(ChooseCurAvatarTeamReq, func() any { return new(proto.ChooseCurAvatarTeamReq) })
+ c.regMsg(ChooseCurAvatarTeamRsp, func() any { return new(proto.ChooseCurAvatarTeamRsp) })
+ c.regMsg(CityReputationDataNotify, func() any { return new(proto.CityReputationDataNotify) })
+ c.regMsg(CityReputationLevelupNotify, func() any { return new(proto.CityReputationLevelupNotify) })
+ c.regMsg(ClearRoguelikeCurseNotify, func() any { return new(proto.ClearRoguelikeCurseNotify) })
+ c.regMsg(ClientAIStateNotify, func() any { return new(proto.ClientAIStateNotify) })
+ c.regMsg(ClientAbilitiesInitFinishCombineNotify, func() any { return new(proto.ClientAbilitiesInitFinishCombineNotify) })
+ c.regMsg(ClientAbilityChangeNotify, func() any { return new(proto.ClientAbilityChangeNotify) })
+ c.regMsg(ClientAbilityInitBeginNotify, func() any { return new(proto.ClientAbilityInitBeginNotify) })
+ c.regMsg(ClientAbilityInitFinishNotify, func() any { return new(proto.ClientAbilityInitFinishNotify) })
+ c.regMsg(ClientBulletCreateNotify, func() any { return new(proto.ClientBulletCreateNotify) })
+ c.regMsg(ClientCollectorDataNotify, func() any { return new(proto.ClientCollectorDataNotify) })
+ c.regMsg(ClientHashDebugNotify, func() any { return new(proto.ClientHashDebugNotify) })
+ c.regMsg(ClientLoadingCostumeVerificationNotify, func() any { return new(proto.ClientLoadingCostumeVerificationNotify) })
+ c.regMsg(ClientLockGameTimeNotify, func() any { return new(proto.ClientLockGameTimeNotify) })
+ c.regMsg(ClientNewMailNotify, func() any { return new(proto.ClientNewMailNotify) })
+ c.regMsg(ClientPauseNotify, func() any { return new(proto.ClientPauseNotify) })
+ c.regMsg(ClientReconnectNotify, func() any { return new(proto.ClientReconnectNotify) })
+ c.regMsg(ClientRemoveCombatEndModifierNotify, func() any { return new(proto.ClientRemoveCombatEndModifierNotify) })
+ c.regMsg(ClientReportNotify, func() any { return new(proto.ClientReportNotify) })
+ c.regMsg(ClientScriptEventNotify, func() any { return new(proto.ClientScriptEventNotify) })
+ c.regMsg(ClientTransmitReq, func() any { return new(proto.ClientTransmitReq) })
+ c.regMsg(ClientTransmitRsp, func() any { return new(proto.ClientTransmitRsp) })
+ c.regMsg(ClientTriggerEventNotify, func() any { return new(proto.ClientTriggerEventNotify) })
+ c.regMsg(CloseCommonTipsNotify, func() any { return new(proto.CloseCommonTipsNotify) })
+ c.regMsg(ClosedItemNotify, func() any { return new(proto.ClosedItemNotify) })
+ c.regMsg(CodexDataFullNotify, func() any { return new(proto.CodexDataFullNotify) })
+ c.regMsg(CodexDataUpdateNotify, func() any { return new(proto.CodexDataUpdateNotify) })
+ c.regMsg(CombatInvocationsNotify, func() any { return new(proto.CombatInvocationsNotify) })
+ c.regMsg(CombineDataNotify, func() any { return new(proto.CombineDataNotify) })
+ c.regMsg(CombineFormulaDataNotify, func() any { return new(proto.CombineFormulaDataNotify) })
+ c.regMsg(CombineReq, func() any { return new(proto.CombineReq) })
+ c.regMsg(CombineRsp, func() any { return new(proto.CombineRsp) })
+ c.regMsg(CommonPlayerTipsNotify, func() any { return new(proto.CommonPlayerTipsNotify) })
+ c.regMsg(CompoundDataNotify, func() any { return new(proto.CompoundDataNotify) })
+ c.regMsg(CompoundUnlockNotify, func() any { return new(proto.CompoundUnlockNotify) })
+ c.regMsg(CookDataNotify, func() any { return new(proto.CookDataNotify) })
+ c.regMsg(CookGradeDataNotify, func() any { return new(proto.CookGradeDataNotify) })
+ c.regMsg(CookRecipeDataNotify, func() any { return new(proto.CookRecipeDataNotify) })
+ c.regMsg(CoopCgShowNotify, func() any { return new(proto.CoopCgShowNotify) })
+ c.regMsg(CoopCgUpdateNotify, func() any { return new(proto.CoopCgUpdateNotify) })
+ c.regMsg(CoopChapterUpdateNotify, func() any { return new(proto.CoopChapterUpdateNotify) })
+ c.regMsg(CoopDataNotify, func() any { return new(proto.CoopDataNotify) })
+ c.regMsg(CoopPointUpdateNotify, func() any { return new(proto.CoopPointUpdateNotify) })
+ c.regMsg(CoopProgressUpdateNotify, func() any { return new(proto.CoopProgressUpdateNotify) })
+ c.regMsg(CoopRewardUpdateNotify, func() any { return new(proto.CoopRewardUpdateNotify) })
+ c.regMsg(CreateMassiveEntityNotify, func() any { return new(proto.CreateMassiveEntityNotify) })
+ c.regMsg(CreateMassiveEntityReq, func() any { return new(proto.CreateMassiveEntityReq) })
+ c.regMsg(CreateMassiveEntityRsp, func() any { return new(proto.CreateMassiveEntityRsp) })
+ c.regMsg(CreateVehicleReq, func() any { return new(proto.CreateVehicleReq) })
+ c.regMsg(CreateVehicleRsp, func() any { return new(proto.CreateVehicleRsp) })
+ c.regMsg(CrystalLinkDungeonInfoNotify, func() any { return new(proto.CrystalLinkDungeonInfoNotify) })
+ c.regMsg(CrystalLinkEnterDungeonReq, func() any { return new(proto.CrystalLinkEnterDungeonReq) })
+ c.regMsg(CrystalLinkEnterDungeonRsp, func() any { return new(proto.CrystalLinkEnterDungeonRsp) })
+ c.regMsg(CrystalLinkRestartDungeonReq, func() any { return new(proto.CrystalLinkRestartDungeonReq) })
+ c.regMsg(CrystalLinkRestartDungeonRsp, func() any { return new(proto.CrystalLinkRestartDungeonRsp) })
+ c.regMsg(CustomDungeonBattleRecordNotify, func() any { return new(proto.CustomDungeonBattleRecordNotify) })
+ c.regMsg(CustomDungeonOfficialNotify, func() any { return new(proto.CustomDungeonOfficialNotify) })
+ c.regMsg(CustomDungeonRecoverNotify, func() any { return new(proto.CustomDungeonRecoverNotify) })
+ c.regMsg(CustomDungeonUpdateNotify, func() any { return new(proto.CustomDungeonUpdateNotify) })
+ c.regMsg(CutSceneBeginNotify, func() any { return new(proto.CutSceneBeginNotify) })
+ c.regMsg(CutSceneEndNotify, func() any { return new(proto.CutSceneEndNotify) })
+ c.regMsg(CutSceneFinishNotify, func() any { return new(proto.CutSceneFinishNotify) })
+ c.regMsg(DailyTaskDataNotify, func() any { return new(proto.DailyTaskDataNotify) })
+ c.regMsg(DailyTaskFilterCityReq, func() any { return new(proto.DailyTaskFilterCityReq) })
+ c.regMsg(DailyTaskFilterCityRsp, func() any { return new(proto.DailyTaskFilterCityRsp) })
+ c.regMsg(DailyTaskProgressNotify, func() any { return new(proto.DailyTaskProgressNotify) })
+ c.regMsg(DailyTaskScoreRewardNotify, func() any { return new(proto.DailyTaskScoreRewardNotify) })
+ c.regMsg(DailyTaskUnlockedCitiesNotify, func() any { return new(proto.DailyTaskUnlockedCitiesNotify) })
+ c.regMsg(DataResVersionNotify, func() any { return new(proto.DataResVersionNotify) })
+ c.regMsg(DealAddFriendReq, func() any { return new(proto.DealAddFriendReq) })
+ c.regMsg(DealAddFriendRsp, func() any { return new(proto.DealAddFriendRsp) })
+ c.regMsg(DeathZoneInfoNotify, func() any { return new(proto.DeathZoneInfoNotify) })
+ c.regMsg(DeathZoneObserveNotify, func() any { return new(proto.DeathZoneObserveNotify) })
+ c.regMsg(DebugNotify, func() any { return new(proto.DebugNotify) })
+ c.regMsg(DelBackupAvatarTeamReq, func() any { return new(proto.DelBackupAvatarTeamReq) })
+ c.regMsg(DelBackupAvatarTeamRsp, func() any { return new(proto.DelBackupAvatarTeamRsp) })
+ c.regMsg(DelMailReq, func() any { return new(proto.DelMailReq) })
+ c.regMsg(DelMailRsp, func() any { return new(proto.DelMailRsp) })
+ c.regMsg(DelScenePlayTeamEntityNotify, func() any { return new(proto.DelScenePlayTeamEntityNotify) })
+ c.regMsg(DelTeamEntityNotify, func() any { return new(proto.DelTeamEntityNotify) })
+ c.regMsg(DeleteFriendNotify, func() any { return new(proto.DeleteFriendNotify) })
+ c.regMsg(DeleteFriendReq, func() any { return new(proto.DeleteFriendReq) })
+ c.regMsg(DeleteFriendRsp, func() any { return new(proto.DeleteFriendRsp) })
+ c.regMsg(DeshretObeliskChestInfoNotify, func() any { return new(proto.DeshretObeliskChestInfoNotify) })
+ c.regMsg(DestroyMassiveEntityNotify, func() any { return new(proto.DestroyMassiveEntityNotify) })
+ c.regMsg(DestroyMaterialReq, func() any { return new(proto.DestroyMaterialReq) })
+ c.regMsg(DestroyMaterialRsp, func() any { return new(proto.DestroyMaterialRsp) })
+ c.regMsg(DigActivityChangeGadgetStateReq, func() any { return new(proto.DigActivityChangeGadgetStateReq) })
+ c.regMsg(DigActivityChangeGadgetStateRsp, func() any { return new(proto.DigActivityChangeGadgetStateRsp) })
+ c.regMsg(DigActivityMarkPointChangeNotify, func() any { return new(proto.DigActivityMarkPointChangeNotify) })
+ c.regMsg(DisableRoguelikeTrapNotify, func() any { return new(proto.DisableRoguelikeTrapNotify) })
+ c.regMsg(DoGachaReq, func() any { return new(proto.DoGachaReq) })
+ c.regMsg(DoGachaRsp, func() any { return new(proto.DoGachaRsp) })
+ c.regMsg(DoRoguelikeDungeonCardGachaReq, func() any { return new(proto.DoRoguelikeDungeonCardGachaReq) })
+ c.regMsg(DoRoguelikeDungeonCardGachaRsp, func() any { return new(proto.DoRoguelikeDungeonCardGachaRsp) })
+ c.regMsg(DoSetPlayerBornDataNotify, func() any { return new(proto.DoSetPlayerBornDataNotify) })
+ c.regMsg(DraftGuestReplyInviteNotify, func() any { return new(proto.DraftGuestReplyInviteNotify) })
+ c.regMsg(DraftGuestReplyInviteReq, func() any { return new(proto.DraftGuestReplyInviteReq) })
+ c.regMsg(DraftGuestReplyInviteRsp, func() any { return new(proto.DraftGuestReplyInviteRsp) })
+ c.regMsg(DraftGuestReplyTwiceConfirmNotify, func() any { return new(proto.DraftGuestReplyTwiceConfirmNotify) })
+ c.regMsg(DraftGuestReplyTwiceConfirmReq, func() any { return new(proto.DraftGuestReplyTwiceConfirmReq) })
+ c.regMsg(DraftGuestReplyTwiceConfirmRsp, func() any { return new(proto.DraftGuestReplyTwiceConfirmRsp) })
+ c.regMsg(DraftInviteResultNotify, func() any { return new(proto.DraftInviteResultNotify) })
+ c.regMsg(DraftOwnerInviteNotify, func() any { return new(proto.DraftOwnerInviteNotify) })
+ c.regMsg(DraftOwnerStartInviteReq, func() any { return new(proto.DraftOwnerStartInviteReq) })
+ c.regMsg(DraftOwnerStartInviteRsp, func() any { return new(proto.DraftOwnerStartInviteRsp) })
+ c.regMsg(DraftOwnerTwiceConfirmNotify, func() any { return new(proto.DraftOwnerTwiceConfirmNotify) })
+ c.regMsg(DraftTwiceConfirmResultNotify, func() any { return new(proto.DraftTwiceConfirmResultNotify) })
+ c.regMsg(DragonSpineChapterFinishNotify, func() any { return new(proto.DragonSpineChapterFinishNotify) })
+ c.regMsg(DragonSpineChapterOpenNotify, func() any { return new(proto.DragonSpineChapterOpenNotify) })
+ c.regMsg(DragonSpineChapterProgressChangeNotify, func() any { return new(proto.DragonSpineChapterProgressChangeNotify) })
+ c.regMsg(DragonSpineCoinChangeNotify, func() any { return new(proto.DragonSpineCoinChangeNotify) })
+ c.regMsg(DropHintNotify, func() any { return new(proto.DropHintNotify) })
+ c.regMsg(DropItemReq, func() any { return new(proto.DropItemReq) })
+ c.regMsg(DropItemRsp, func() any { return new(proto.DropItemRsp) })
+ c.regMsg(DungeonCandidateTeamChangeAvatarReq, func() any { return new(proto.DungeonCandidateTeamChangeAvatarReq) })
+ c.regMsg(DungeonCandidateTeamChangeAvatarRsp, func() any { return new(proto.DungeonCandidateTeamChangeAvatarRsp) })
+ c.regMsg(DungeonCandidateTeamCreateReq, func() any { return new(proto.DungeonCandidateTeamCreateReq) })
+ c.regMsg(DungeonCandidateTeamCreateRsp, func() any { return new(proto.DungeonCandidateTeamCreateRsp) })
+ c.regMsg(DungeonCandidateTeamDismissNotify, func() any { return new(proto.DungeonCandidateTeamDismissNotify) })
+ c.regMsg(DungeonCandidateTeamInfoNotify, func() any { return new(proto.DungeonCandidateTeamInfoNotify) })
+ c.regMsg(DungeonCandidateTeamInviteNotify, func() any { return new(proto.DungeonCandidateTeamInviteNotify) })
+ c.regMsg(DungeonCandidateTeamInviteReq, func() any { return new(proto.DungeonCandidateTeamInviteReq) })
+ c.regMsg(DungeonCandidateTeamInviteRsp, func() any { return new(proto.DungeonCandidateTeamInviteRsp) })
+ c.regMsg(DungeonCandidateTeamKickReq, func() any { return new(proto.DungeonCandidateTeamKickReq) })
+ c.regMsg(DungeonCandidateTeamKickRsp, func() any { return new(proto.DungeonCandidateTeamKickRsp) })
+ c.regMsg(DungeonCandidateTeamLeaveReq, func() any { return new(proto.DungeonCandidateTeamLeaveReq) })
+ c.regMsg(DungeonCandidateTeamLeaveRsp, func() any { return new(proto.DungeonCandidateTeamLeaveRsp) })
+ c.regMsg(DungeonCandidateTeamPlayerLeaveNotify, func() any { return new(proto.DungeonCandidateTeamPlayerLeaveNotify) })
+ c.regMsg(DungeonCandidateTeamRefuseNotify, func() any { return new(proto.DungeonCandidateTeamRefuseNotify) })
+ c.regMsg(DungeonCandidateTeamReplyInviteReq, func() any { return new(proto.DungeonCandidateTeamReplyInviteReq) })
+ c.regMsg(DungeonCandidateTeamReplyInviteRsp, func() any { return new(proto.DungeonCandidateTeamReplyInviteRsp) })
+ c.regMsg(DungeonCandidateTeamSetChangingAvatarReq, func() any { return new(proto.DungeonCandidateTeamSetChangingAvatarReq) })
+ c.regMsg(DungeonCandidateTeamSetChangingAvatarRsp, func() any { return new(proto.DungeonCandidateTeamSetChangingAvatarRsp) })
+ c.regMsg(DungeonCandidateTeamSetReadyReq, func() any { return new(proto.DungeonCandidateTeamSetReadyReq) })
+ c.regMsg(DungeonCandidateTeamSetReadyRsp, func() any { return new(proto.DungeonCandidateTeamSetReadyRsp) })
+ c.regMsg(DungeonChallengeBeginNotify, func() any { return new(proto.DungeonChallengeBeginNotify) })
+ c.regMsg(DungeonChallengeFinishNotify, func() any { return new(proto.DungeonChallengeFinishNotify) })
+ c.regMsg(DungeonDataNotify, func() any { return new(proto.DungeonDataNotify) })
+ c.regMsg(DungeonDieOptionReq, func() any { return new(proto.DungeonDieOptionReq) })
+ c.regMsg(DungeonDieOptionRsp, func() any { return new(proto.DungeonDieOptionRsp) })
+ c.regMsg(DungeonEntryInfoReq, func() any { return new(proto.DungeonEntryInfoReq) })
+ c.regMsg(DungeonEntryInfoRsp, func() any { return new(proto.DungeonEntryInfoRsp) })
+ c.regMsg(DungeonEntryToBeExploreNotify, func() any { return new(proto.DungeonEntryToBeExploreNotify) })
+ c.regMsg(DungeonFollowNotify, func() any { return new(proto.DungeonFollowNotify) })
+ c.regMsg(DungeonGetStatueDropReq, func() any { return new(proto.DungeonGetStatueDropReq) })
+ c.regMsg(DungeonGetStatueDropRsp, func() any { return new(proto.DungeonGetStatueDropRsp) })
+ c.regMsg(DungeonInterruptChallengeReq, func() any { return new(proto.DungeonInterruptChallengeReq) })
+ c.regMsg(DungeonInterruptChallengeRsp, func() any { return new(proto.DungeonInterruptChallengeRsp) })
+ c.regMsg(DungeonPlayerDieNotify, func() any { return new(proto.DungeonPlayerDieNotify) })
+ c.regMsg(DungeonPlayerDieReq, func() any { return new(proto.DungeonPlayerDieReq) })
+ c.regMsg(DungeonPlayerDieRsp, func() any { return new(proto.DungeonPlayerDieRsp) })
+ c.regMsg(DungeonRestartInviteNotify, func() any { return new(proto.DungeonRestartInviteNotify) })
+ c.regMsg(DungeonRestartInviteReplyNotify, func() any { return new(proto.DungeonRestartInviteReplyNotify) })
+ c.regMsg(DungeonRestartInviteReplyReq, func() any { return new(proto.DungeonRestartInviteReplyReq) })
+ c.regMsg(DungeonRestartInviteReplyRsp, func() any { return new(proto.DungeonRestartInviteReplyRsp) })
+ c.regMsg(DungeonRestartReq, func() any { return new(proto.DungeonRestartReq) })
+ c.regMsg(DungeonRestartResultNotify, func() any { return new(proto.DungeonRestartResultNotify) })
+ c.regMsg(DungeonRestartRsp, func() any { return new(proto.DungeonRestartRsp) })
+ c.regMsg(DungeonReviseLevelNotify, func() any { return new(proto.DungeonReviseLevelNotify) })
+ c.regMsg(DungeonSettleNotify, func() any { return new(proto.DungeonSettleNotify) })
+ c.regMsg(DungeonShowReminderNotify, func() any { return new(proto.DungeonShowReminderNotify) })
+ c.regMsg(DungeonSlipRevivePointActivateReq, func() any { return new(proto.DungeonSlipRevivePointActivateReq) })
+ c.regMsg(DungeonSlipRevivePointActivateRsp, func() any { return new(proto.DungeonSlipRevivePointActivateRsp) })
+ c.regMsg(DungeonWayPointActivateReq, func() any { return new(proto.DungeonWayPointActivateReq) })
+ c.regMsg(DungeonWayPointActivateRsp, func() any { return new(proto.DungeonWayPointActivateRsp) })
+ c.regMsg(DungeonWayPointNotify, func() any { return new(proto.DungeonWayPointNotify) })
+ c.regMsg(EchoNotify, func() any { return new(proto.EchoNotify) })
+ c.regMsg(EchoShellTakeRewardReq, func() any { return new(proto.EchoShellTakeRewardReq) })
+ c.regMsg(EchoShellTakeRewardRsp, func() any { return new(proto.EchoShellTakeRewardRsp) })
+ c.regMsg(EchoShellUpdateNotify, func() any { return new(proto.EchoShellUpdateNotify) })
+ c.regMsg(EffigyChallengeInfoNotify, func() any { return new(proto.EffigyChallengeInfoNotify) })
+ c.regMsg(EffigyChallengeResultNotify, func() any { return new(proto.EffigyChallengeResultNotify) })
+ c.regMsg(EffigyChallengeV2ChooseSkillReq, func() any { return new(proto.EffigyChallengeV2ChooseSkillReq) })
+ c.regMsg(EffigyChallengeV2ChooseSkillRsp, func() any { return new(proto.EffigyChallengeV2ChooseSkillRsp) })
+ c.regMsg(EffigyChallengeV2DungeonInfoNotify, func() any { return new(proto.EffigyChallengeV2DungeonInfoNotify) })
+ c.regMsg(EffigyChallengeV2EnterDungeonReq, func() any { return new(proto.EffigyChallengeV2EnterDungeonReq) })
+ c.regMsg(EffigyChallengeV2EnterDungeonRsp, func() any { return new(proto.EffigyChallengeV2EnterDungeonRsp) })
+ c.regMsg(EffigyChallengeV2RestartDungeonReq, func() any { return new(proto.EffigyChallengeV2RestartDungeonReq) })
+ c.regMsg(EffigyChallengeV2RestartDungeonRsp, func() any { return new(proto.EffigyChallengeV2RestartDungeonRsp) })
+ c.regMsg(EndCameraSceneLookNotify, func() any { return new(proto.EndCameraSceneLookNotify) })
+ c.regMsg(EnterChessDungeonReq, func() any { return new(proto.EnterChessDungeonReq) })
+ c.regMsg(EnterChessDungeonRsp, func() any { return new(proto.EnterChessDungeonRsp) })
+ c.regMsg(EnterCustomDungeonReq, func() any { return new(proto.EnterCustomDungeonReq) })
+ c.regMsg(EnterCustomDungeonRsp, func() any { return new(proto.EnterCustomDungeonRsp) })
+ c.regMsg(EnterFishingReq, func() any { return new(proto.EnterFishingReq) })
+ c.regMsg(EnterFishingRsp, func() any { return new(proto.EnterFishingRsp) })
+ c.regMsg(EnterFungusFighterPlotDungeonReq, func() any { return new(proto.EnterFungusFighterPlotDungeonReq) })
+ c.regMsg(EnterFungusFighterPlotDungeonRsp, func() any { return new(proto.EnterFungusFighterPlotDungeonRsp) })
+ c.regMsg(EnterFungusFighterTrainingDungeonReq, func() any { return new(proto.EnterFungusFighterTrainingDungeonReq) })
+ c.regMsg(EnterFungusFighterTrainingDungeonRsp, func() any { return new(proto.EnterFungusFighterTrainingDungeonRsp) })
+ c.regMsg(EnterIrodoriChessDungeonReq, func() any { return new(proto.EnterIrodoriChessDungeonReq) })
+ c.regMsg(EnterIrodoriChessDungeonRsp, func() any { return new(proto.EnterIrodoriChessDungeonRsp) })
+ c.regMsg(EnterMechanicusDungeonReq, func() any { return new(proto.EnterMechanicusDungeonReq) })
+ c.regMsg(EnterMechanicusDungeonRsp, func() any { return new(proto.EnterMechanicusDungeonRsp) })
+ c.regMsg(EnterRogueDiaryDungeonReq, func() any { return new(proto.EnterRogueDiaryDungeonReq) })
+ c.regMsg(EnterRogueDiaryDungeonRsp, func() any { return new(proto.EnterRogueDiaryDungeonRsp) })
+ c.regMsg(EnterRoguelikeDungeonNotify, func() any { return new(proto.EnterRoguelikeDungeonNotify) })
+ c.regMsg(EnterSceneDoneReq, func() any { return new(proto.EnterSceneDoneReq) })
+ c.regMsg(EnterSceneDoneRsp, func() any { return new(proto.EnterSceneDoneRsp) })
+ c.regMsg(EnterScenePeerNotify, func() any { return new(proto.EnterScenePeerNotify) })
+ c.regMsg(EnterSceneReadyReq, func() any { return new(proto.EnterSceneReadyReq) })
+ c.regMsg(EnterSceneReadyRsp, func() any { return new(proto.EnterSceneReadyRsp) })
+ c.regMsg(EnterSceneWeatherAreaNotify, func() any { return new(proto.EnterSceneWeatherAreaNotify) })
+ c.regMsg(EnterTransPointRegionNotify, func() any { return new(proto.EnterTransPointRegionNotify) })
+ c.regMsg(EnterTrialAvatarActivityDungeonReq, func() any { return new(proto.EnterTrialAvatarActivityDungeonReq) })
+ c.regMsg(EnterTrialAvatarActivityDungeonRsp, func() any { return new(proto.EnterTrialAvatarActivityDungeonRsp) })
+ c.regMsg(EnterWorldAreaReq, func() any { return new(proto.EnterWorldAreaReq) })
+ c.regMsg(EnterWorldAreaRsp, func() any { return new(proto.EnterWorldAreaRsp) })
+ c.regMsg(EntityAiKillSelfNotify, func() any { return new(proto.EntityAiKillSelfNotify) })
+ c.regMsg(EntityAiSyncNotify, func() any { return new(proto.EntityAiSyncNotify) })
+ c.regMsg(EntityAuthorityChangeNotify, func() any { return new(proto.EntityAuthorityChangeNotify) })
+ c.regMsg(EntityConfigHashNotify, func() any { return new(proto.EntityConfigHashNotify) })
+ c.regMsg(EntityFightPropChangeReasonNotify, func() any { return new(proto.EntityFightPropChangeReasonNotify) })
+ c.regMsg(EntityFightPropNotify, func() any { return new(proto.EntityFightPropNotify) })
+ c.regMsg(EntityFightPropUpdateNotify, func() any { return new(proto.EntityFightPropUpdateNotify) })
+ c.regMsg(EntityForceSyncReq, func() any { return new(proto.EntityForceSyncReq) })
+ c.regMsg(EntityForceSyncRsp, func() any { return new(proto.EntityForceSyncRsp) })
+ c.regMsg(EntityJumpNotify, func() any { return new(proto.EntityJumpNotify) })
+ c.regMsg(EntityMoveRoomNotify, func() any { return new(proto.EntityMoveRoomNotify) })
+ c.regMsg(EntityPropNotify, func() any { return new(proto.EntityPropNotify) })
+ c.regMsg(EntityTagChangeNotify, func() any { return new(proto.EntityTagChangeNotify) })
+ c.regMsg(EquipRoguelikeRuneReq, func() any { return new(proto.EquipRoguelikeRuneReq) })
+ c.regMsg(EquipRoguelikeRuneRsp, func() any { return new(proto.EquipRoguelikeRuneRsp) })
+ c.regMsg(EvtAiSyncCombatThreatInfoNotify, func() any { return new(proto.EvtAiSyncCombatThreatInfoNotify) })
+ c.regMsg(EvtAiSyncSkillCdNotify, func() any { return new(proto.EvtAiSyncSkillCdNotify) })
+ c.regMsg(EvtAnimatorParameterNotify, func() any { return new(proto.EvtAnimatorParameterNotify) })
+ c.regMsg(EvtAnimatorStateChangedNotify, func() any { return new(proto.EvtAnimatorStateChangedNotify) })
+ c.regMsg(EvtAvatarEnterFocusNotify, func() any { return new(proto.EvtAvatarEnterFocusNotify) })
+ c.regMsg(EvtAvatarExitFocusNotify, func() any { return new(proto.EvtAvatarExitFocusNotify) })
+ c.regMsg(EvtAvatarLockChairReq, func() any { return new(proto.EvtAvatarLockChairReq) })
+ c.regMsg(EvtAvatarLockChairRsp, func() any { return new(proto.EvtAvatarLockChairRsp) })
+ c.regMsg(EvtAvatarSitDownNotify, func() any { return new(proto.EvtAvatarSitDownNotify) })
+ c.regMsg(EvtAvatarStandUpNotify, func() any { return new(proto.EvtAvatarStandUpNotify) })
+ c.regMsg(EvtAvatarUpdateFocusNotify, func() any { return new(proto.EvtAvatarUpdateFocusNotify) })
+ c.regMsg(EvtBeingHealedNotify, func() any { return new(proto.EvtBeingHealedNotify) })
+ c.regMsg(EvtBeingHitNotify, func() any { return new(proto.EvtBeingHitNotify) })
+ c.regMsg(EvtBeingHitsCombineNotify, func() any { return new(proto.EvtBeingHitsCombineNotify) })
+ c.regMsg(EvtBulletDeactiveNotify, func() any { return new(proto.EvtBulletDeactiveNotify) })
+ c.regMsg(EvtBulletHitNotify, func() any { return new(proto.EvtBulletHitNotify) })
+ c.regMsg(EvtBulletMoveNotify, func() any { return new(proto.EvtBulletMoveNotify) })
+ c.regMsg(EvtCostStaminaNotify, func() any { return new(proto.EvtCostStaminaNotify) })
+ c.regMsg(EvtCreateGadgetNotify, func() any { return new(proto.EvtCreateGadgetNotify) })
+ c.regMsg(EvtDestroyGadgetNotify, func() any { return new(proto.EvtDestroyGadgetNotify) })
+ c.regMsg(EvtDestroyServerGadgetNotify, func() any { return new(proto.EvtDestroyServerGadgetNotify) })
+ c.regMsg(EvtDoSkillSuccNotify, func() any { return new(proto.EvtDoSkillSuccNotify) })
+ c.regMsg(EvtEntityRenderersChangedNotify, func() any { return new(proto.EvtEntityRenderersChangedNotify) })
+ c.regMsg(EvtEntityStartDieEndNotify, func() any { return new(proto.EvtEntityStartDieEndNotify) })
+ c.regMsg(EvtFaceToDirNotify, func() any { return new(proto.EvtFaceToDirNotify) })
+ c.regMsg(EvtFaceToEntityNotify, func() any { return new(proto.EvtFaceToEntityNotify) })
+ c.regMsg(EvtLocalGadgetOwnerLeaveSceneNotify, func() any { return new(proto.EvtLocalGadgetOwnerLeaveSceneNotify) })
+ c.regMsg(EvtRushMoveNotify, func() any { return new(proto.EvtRushMoveNotify) })
+ c.regMsg(EvtSetAttackTargetNotify, func() any { return new(proto.EvtSetAttackTargetNotify) })
+ c.regMsg(ExclusiveRuleNotify, func() any { return new(proto.ExclusiveRuleNotify) })
+ c.regMsg(ExecuteGadgetLuaReq, func() any { return new(proto.ExecuteGadgetLuaReq) })
+ c.regMsg(ExecuteGadgetLuaRsp, func() any { return new(proto.ExecuteGadgetLuaRsp) })
+ c.regMsg(ExecuteGroupTriggerReq, func() any { return new(proto.ExecuteGroupTriggerReq) })
+ c.regMsg(ExecuteGroupTriggerRsp, func() any { return new(proto.ExecuteGroupTriggerRsp) })
+ c.regMsg(ExitCustomDungeonTryReq, func() any { return new(proto.ExitCustomDungeonTryReq) })
+ c.regMsg(ExitCustomDungeonTryRsp, func() any { return new(proto.ExitCustomDungeonTryRsp) })
+ c.regMsg(ExitFishingReq, func() any { return new(proto.ExitFishingReq) })
+ c.regMsg(ExitFishingRsp, func() any { return new(proto.ExitFishingRsp) })
+ c.regMsg(ExitSceneWeatherAreaNotify, func() any { return new(proto.ExitSceneWeatherAreaNotify) })
+ c.regMsg(ExitTransPointRegionNotify, func() any { return new(proto.ExitTransPointRegionNotify) })
+ c.regMsg(ExpeditionChallengeEnterRegionNotify, func() any { return new(proto.ExpeditionChallengeEnterRegionNotify) })
+ c.regMsg(ExpeditionChallengeFinishedNotify, func() any { return new(proto.ExpeditionChallengeFinishedNotify) })
+ c.regMsg(ExpeditionRecallReq, func() any { return new(proto.ExpeditionRecallReq) })
+ c.regMsg(ExpeditionRecallRsp, func() any { return new(proto.ExpeditionRecallRsp) })
+ c.regMsg(ExpeditionStartReq, func() any { return new(proto.ExpeditionStartReq) })
+ c.regMsg(ExpeditionStartRsp, func() any { return new(proto.ExpeditionStartRsp) })
+ c.regMsg(ExpeditionTakeRewardReq, func() any { return new(proto.ExpeditionTakeRewardReq) })
+ c.regMsg(ExpeditionTakeRewardRsp, func() any { return new(proto.ExpeditionTakeRewardRsp) })
+ c.regMsg(FindHilichurlAcceptQuestNotify, func() any { return new(proto.FindHilichurlAcceptQuestNotify) })
+ c.regMsg(FindHilichurlFinishSecondQuestNotify, func() any { return new(proto.FindHilichurlFinishSecondQuestNotify) })
+ c.regMsg(FinishDeliveryNotify, func() any { return new(proto.FinishDeliveryNotify) })
+ c.regMsg(FinishLanternProjectionReq, func() any { return new(proto.FinishLanternProjectionReq) })
+ c.regMsg(FinishLanternProjectionRsp, func() any { return new(proto.FinishLanternProjectionRsp) })
+ c.regMsg(FinishMainCoopReq, func() any { return new(proto.FinishMainCoopReq) })
+ c.regMsg(FinishMainCoopRsp, func() any { return new(proto.FinishMainCoopRsp) })
+ c.regMsg(FinishedParentQuestNotify, func() any { return new(proto.FinishedParentQuestNotify) })
+ c.regMsg(FinishedParentQuestUpdateNotify, func() any { return new(proto.FinishedParentQuestUpdateNotify) })
+ c.regMsg(FinishedTalkIdListNotify, func() any { return new(proto.FinishedTalkIdListNotify) })
+ c.regMsg(FireworksLaunchDataNotify, func() any { return new(proto.FireworksLaunchDataNotify) })
+ c.regMsg(FireworksReformDataNotify, func() any { return new(proto.FireworksReformDataNotify) })
+ c.regMsg(FishAttractNotify, func() any { return new(proto.FishAttractNotify) })
+ c.regMsg(FishBaitGoneNotify, func() any { return new(proto.FishBaitGoneNotify) })
+ c.regMsg(FishBattleBeginReq, func() any { return new(proto.FishBattleBeginReq) })
+ c.regMsg(FishBattleBeginRsp, func() any { return new(proto.FishBattleBeginRsp) })
+ c.regMsg(FishBattleEndReq, func() any { return new(proto.FishBattleEndReq) })
+ c.regMsg(FishBattleEndRsp, func() any { return new(proto.FishBattleEndRsp) })
+ c.regMsg(FishBiteReq, func() any { return new(proto.FishBiteReq) })
+ c.regMsg(FishBiteRsp, func() any { return new(proto.FishBiteRsp) })
+ c.regMsg(FishCastRodReq, func() any { return new(proto.FishCastRodReq) })
+ c.regMsg(FishCastRodRsp, func() any { return new(proto.FishCastRodRsp) })
+ c.regMsg(FishChosenNotify, func() any { return new(proto.FishChosenNotify) })
+ c.regMsg(FishEscapeNotify, func() any { return new(proto.FishEscapeNotify) })
+ c.regMsg(FishPoolDataNotify, func() any { return new(proto.FishPoolDataNotify) })
+ c.regMsg(FishingGallerySettleNotify, func() any { return new(proto.FishingGallerySettleNotify) })
+ c.regMsg(FleurFairBalloonSettleNotify, func() any { return new(proto.FleurFairBalloonSettleNotify) })
+ c.regMsg(FleurFairBuffEnergyNotify, func() any { return new(proto.FleurFairBuffEnergyNotify) })
+ c.regMsg(FleurFairFallSettleNotify, func() any { return new(proto.FleurFairFallSettleNotify) })
+ c.regMsg(FleurFairFinishGalleryStageNotify, func() any { return new(proto.FleurFairFinishGalleryStageNotify) })
+ c.regMsg(FleurFairMusicGameSettleReq, func() any { return new(proto.FleurFairMusicGameSettleReq) })
+ c.regMsg(FleurFairMusicGameSettleRsp, func() any { return new(proto.FleurFairMusicGameSettleRsp) })
+ c.regMsg(FleurFairMusicGameStartReq, func() any { return new(proto.FleurFairMusicGameStartReq) })
+ c.regMsg(FleurFairMusicGameStartRsp, func() any { return new(proto.FleurFairMusicGameStartRsp) })
+ c.regMsg(FleurFairReplayMiniGameReq, func() any { return new(proto.FleurFairReplayMiniGameReq) })
+ c.regMsg(FleurFairReplayMiniGameRsp, func() any { return new(proto.FleurFairReplayMiniGameRsp) })
+ c.regMsg(FleurFairStageSettleNotify, func() any { return new(proto.FleurFairStageSettleNotify) })
+ c.regMsg(FlightActivityRestartReq, func() any { return new(proto.FlightActivityRestartReq) })
+ c.regMsg(FlightActivityRestartRsp, func() any { return new(proto.FlightActivityRestartRsp) })
+ c.regMsg(FlightActivitySettleNotify, func() any { return new(proto.FlightActivitySettleNotify) })
+ c.regMsg(FocusAvatarReq, func() any { return new(proto.FocusAvatarReq) })
+ c.regMsg(FocusAvatarRsp, func() any { return new(proto.FocusAvatarRsp) })
+ c.regMsg(ForceAddPlayerFriendReq, func() any { return new(proto.ForceAddPlayerFriendReq) })
+ c.regMsg(ForceAddPlayerFriendRsp, func() any { return new(proto.ForceAddPlayerFriendRsp) })
+ c.regMsg(ForceDragAvatarNotify, func() any { return new(proto.ForceDragAvatarNotify) })
+ c.regMsg(ForceDragBackTransferNotify, func() any { return new(proto.ForceDragBackTransferNotify) })
+ c.regMsg(ForgeDataNotify, func() any { return new(proto.ForgeDataNotify) })
+ c.regMsg(ForgeFormulaDataNotify, func() any { return new(proto.ForgeFormulaDataNotify) })
+ c.regMsg(ForgeGetQueueDataReq, func() any { return new(proto.ForgeGetQueueDataReq) })
+ c.regMsg(ForgeGetQueueDataRsp, func() any { return new(proto.ForgeGetQueueDataRsp) })
+ c.regMsg(ForgeQueueDataNotify, func() any { return new(proto.ForgeQueueDataNotify) })
+ c.regMsg(ForgeQueueManipulateReq, func() any { return new(proto.ForgeQueueManipulateReq) })
+ c.regMsg(ForgeQueueManipulateRsp, func() any { return new(proto.ForgeQueueManipulateRsp) })
+ c.regMsg(ForgeStartReq, func() any { return new(proto.ForgeStartReq) })
+ c.regMsg(ForgeStartRsp, func() any { return new(proto.ForgeStartRsp) })
+ c.regMsg(FoundationNotify, func() any { return new(proto.FoundationNotify) })
+ c.regMsg(FoundationReq, func() any { return new(proto.FoundationReq) })
+ c.regMsg(FoundationRsp, func() any { return new(proto.FoundationRsp) })
+ c.regMsg(FriendInfoChangeNotify, func() any { return new(proto.FriendInfoChangeNotify) })
+ c.regMsg(FungusCaptureSettleNotify, func() any { return new(proto.FungusCaptureSettleNotify) })
+ c.regMsg(FungusCultivateReq, func() any { return new(proto.FungusCultivateReq) })
+ c.regMsg(FungusCultivateRsp, func() any { return new(proto.FungusCultivateRsp) })
+ c.regMsg(FungusFighterClearTrainingRuntimeDataReq, func() any { return new(proto.FungusFighterClearTrainingRuntimeDataReq) })
+ c.regMsg(FungusFighterClearTrainingRuntimeDataRsp, func() any { return new(proto.FungusFighterClearTrainingRuntimeDataRsp) })
+ c.regMsg(FungusFighterPlotInfoNotify, func() any { return new(proto.FungusFighterPlotInfoNotify) })
+ c.regMsg(FungusFighterRuntimeDataNotify, func() any { return new(proto.FungusFighterRuntimeDataNotify) })
+ c.regMsg(FungusFighterTrainingGallerySettleNotify, func() any { return new(proto.FungusFighterTrainingGallerySettleNotify) })
+ c.regMsg(FungusFighterTrainingInfoNotify, func() any { return new(proto.FungusFighterTrainingInfoNotify) })
+ c.regMsg(FungusFighterTrainingSelectFungusReq, func() any { return new(proto.FungusFighterTrainingSelectFungusReq) })
+ c.regMsg(FungusFighterTrainingSelectFungusRsp, func() any { return new(proto.FungusFighterTrainingSelectFungusRsp) })
+ c.regMsg(FungusFighterUseBackupFungusReq, func() any { return new(proto.FungusFighterUseBackupFungusReq) })
+ c.regMsg(FungusFighterUseBackupFungusRsp, func() any { return new(proto.FungusFighterUseBackupFungusRsp) })
+ c.regMsg(FungusRenameReq, func() any { return new(proto.FungusRenameReq) })
+ c.regMsg(FungusRenameRsp, func() any { return new(proto.FungusRenameRsp) })
+ c.regMsg(FurnitureCurModuleArrangeCountNotify, func() any { return new(proto.FurnitureCurModuleArrangeCountNotify) })
+ c.regMsg(FurnitureMakeBeHelpedNotify, func() any { return new(proto.FurnitureMakeBeHelpedNotify) })
+ c.regMsg(FurnitureMakeCancelReq, func() any { return new(proto.FurnitureMakeCancelReq) })
+ c.regMsg(FurnitureMakeCancelRsp, func() any { return new(proto.FurnitureMakeCancelRsp) })
+ c.regMsg(FurnitureMakeFinishNotify, func() any { return new(proto.FurnitureMakeFinishNotify) })
+ c.regMsg(FurnitureMakeHelpReq, func() any { return new(proto.FurnitureMakeHelpReq) })
+ c.regMsg(FurnitureMakeHelpRsp, func() any { return new(proto.FurnitureMakeHelpRsp) })
+ c.regMsg(FurnitureMakeReq, func() any { return new(proto.FurnitureMakeReq) })
+ c.regMsg(FurnitureMakeRsp, func() any { return new(proto.FurnitureMakeRsp) })
+ c.regMsg(FurnitureMakeStartReq, func() any { return new(proto.FurnitureMakeStartReq) })
+ c.regMsg(FurnitureMakeStartRsp, func() any { return new(proto.FurnitureMakeStartRsp) })
+ c.regMsg(GCGApplyInviteBattleNotify, func() any { return new(proto.GCGApplyInviteBattleNotify) })
+ c.regMsg(GCGApplyInviteBattleReq, func() any { return new(proto.GCGApplyInviteBattleReq) })
+ c.regMsg(GCGApplyInviteBattleRsp, func() any { return new(proto.GCGApplyInviteBattleRsp) })
+ c.regMsg(GCGAskDuelReq, func() any { return new(proto.GCGAskDuelReq) })
+ c.regMsg(GCGAskDuelRsp, func() any { return new(proto.GCGAskDuelRsp) })
+ c.regMsg(GCGBasicDataNotify, func() any { return new(proto.GCGBasicDataNotify) })
+ c.regMsg(GCGBossChallengeUpdateNotify, func() any { return new(proto.GCGBossChallengeUpdateNotify) })
+ c.regMsg(GCGChallengeUpdateNotify, func() any { return new(proto.GCGChallengeUpdateNotify) })
+ c.regMsg(GCGClientSettleReq, func() any { return new(proto.GCGClientSettleReq) })
+ c.regMsg(GCGClientSettleRsp, func() any { return new(proto.GCGClientSettleRsp) })
+ c.regMsg(GCGDSCardBackUnlockNotify, func() any { return new(proto.GCGDSCardBackUnlockNotify) })
+ c.regMsg(GCGDSCardFaceUnlockNotify, func() any { return new(proto.GCGDSCardFaceUnlockNotify) })
+ c.regMsg(GCGDSCardNumChangeNotify, func() any { return new(proto.GCGDSCardNumChangeNotify) })
+ c.regMsg(GCGDSCardProficiencyNotify, func() any { return new(proto.GCGDSCardProficiencyNotify) })
+ c.regMsg(GCGDSChangeCardBackReq, func() any { return new(proto.GCGDSChangeCardBackReq) })
+ c.regMsg(GCGDSChangeCardBackRsp, func() any { return new(proto.GCGDSChangeCardBackRsp) })
+ c.regMsg(GCGDSChangeCardFaceReq, func() any { return new(proto.GCGDSChangeCardFaceReq) })
+ c.regMsg(GCGDSChangeCardFaceRsp, func() any { return new(proto.GCGDSChangeCardFaceRsp) })
+ c.regMsg(GCGDSChangeCurDeckReq, func() any { return new(proto.GCGDSChangeCurDeckReq) })
+ c.regMsg(GCGDSChangeCurDeckRsp, func() any { return new(proto.GCGDSChangeCurDeckRsp) })
+ c.regMsg(GCGDSChangeDeckNameReq, func() any { return new(proto.GCGDSChangeDeckNameReq) })
+ c.regMsg(GCGDSChangeDeckNameRsp, func() any { return new(proto.GCGDSChangeDeckNameRsp) })
+ c.regMsg(GCGDSChangeFieldReq, func() any { return new(proto.GCGDSChangeFieldReq) })
+ c.regMsg(GCGDSChangeFieldRsp, func() any { return new(proto.GCGDSChangeFieldRsp) })
+ c.regMsg(GCGDSCurDeckChangeNotify, func() any { return new(proto.GCGDSCurDeckChangeNotify) })
+ c.regMsg(GCGDSDataNotify, func() any { return new(proto.GCGDSDataNotify) })
+ c.regMsg(GCGDSDeckSaveReq, func() any { return new(proto.GCGDSDeckSaveReq) })
+ c.regMsg(GCGDSDeckSaveRsp, func() any { return new(proto.GCGDSDeckSaveRsp) })
+ c.regMsg(GCGDSDeckUnlockNotify, func() any { return new(proto.GCGDSDeckUnlockNotify) })
+ c.regMsg(GCGDSDeleteDeckReq, func() any { return new(proto.GCGDSDeleteDeckReq) })
+ c.regMsg(GCGDSDeleteDeckRsp, func() any { return new(proto.GCGDSDeleteDeckRsp) })
+ c.regMsg(GCGDSFieldUnlockNotify, func() any { return new(proto.GCGDSFieldUnlockNotify) })
+ c.regMsg(GCGGameBriefDataNotify, func() any { return new(proto.GCGGameBriefDataNotify) })
+ c.regMsg(GCGGrowthLevelNotify, func() any { return new(proto.GCGGrowthLevelNotify) })
+ c.regMsg(GCGGrowthLevelRewardNotify, func() any { return new(proto.GCGGrowthLevelRewardNotify) })
+ c.regMsg(GCGGrowthLevelTakeRewardReq, func() any { return new(proto.GCGGrowthLevelTakeRewardReq) })
+ c.regMsg(GCGGrowthLevelTakeRewardRsp, func() any { return new(proto.GCGGrowthLevelTakeRewardRsp) })
+ c.regMsg(GCGHeartBeatNotify, func() any { return new(proto.GCGHeartBeatNotify) })
+ c.regMsg(GCGInitFinishReq, func() any { return new(proto.GCGInitFinishReq) })
+ c.regMsg(GCGInitFinishRsp, func() any { return new(proto.GCGInitFinishRsp) })
+ c.regMsg(GCGInviteBattleNotify, func() any { return new(proto.GCGInviteBattleNotify) })
+ c.regMsg(GCGInviteGuestBattleReq, func() any { return new(proto.GCGInviteGuestBattleReq) })
+ c.regMsg(GCGInviteGuestBattleRsp, func() any { return new(proto.GCGInviteGuestBattleRsp) })
+ c.regMsg(GCGLevelChallengeFinishNotify, func() any { return new(proto.GCGLevelChallengeFinishNotify) })
+ c.regMsg(GCGLevelChallengeNotify, func() any { return new(proto.GCGLevelChallengeNotify) })
+ c.regMsg(GCGMessagePackNotify, func() any { return new(proto.GCGMessagePackNotify) })
+ c.regMsg(GCGOperationReq, func() any { return new(proto.GCGOperationReq) })
+ c.regMsg(GCGOperationRsp, func() any { return new(proto.GCGOperationRsp) })
+ c.regMsg(GCGResourceStateNotify, func() any { return new(proto.GCGResourceStateNotify) })
+ c.regMsg(GCGSettleNotify, func() any { return new(proto.GCGSettleNotify) })
+ c.regMsg(GCGSettleOptionReq, func() any { return new(proto.GCGSettleOptionReq) })
+ c.regMsg(GCGSettleOptionRsp, func() any { return new(proto.GCGSettleOptionRsp) })
+ c.regMsg(GCGSkillPreviewAskReq, func() any { return new(proto.GCGSkillPreviewAskReq) })
+ c.regMsg(GCGSkillPreviewAskRsp, func() any { return new(proto.GCGSkillPreviewAskRsp) })
+ c.regMsg(GCGSkillPreviewNotify, func() any { return new(proto.GCGSkillPreviewNotify) })
+ c.regMsg(GCGStartChallengeReq, func() any { return new(proto.GCGStartChallengeReq) })
+ c.regMsg(GCGStartChallengeRsp, func() any { return new(proto.GCGStartChallengeRsp) })
+ c.regMsg(GCGTCInviteReq, func() any { return new(proto.GCGTCInviteReq) })
+ c.regMsg(GCGTCInviteRsp, func() any { return new(proto.GCGTCInviteRsp) })
+ c.regMsg(GCGTCTavernChallengeDataNotify, func() any { return new(proto.GCGTCTavernChallengeDataNotify) })
+ c.regMsg(GCGTCTavernChallengeUpdateNotify, func() any { return new(proto.GCGTCTavernChallengeUpdateNotify) })
+ c.regMsg(GCGTCTavernInfoNotify, func() any { return new(proto.GCGTCTavernInfoNotify) })
+ c.regMsg(GCGTavernNpcInfoNotify, func() any { return new(proto.GCGTavernNpcInfoNotify) })
+ c.regMsg(GCGWeekChallengeInfoNotify, func() any { return new(proto.GCGWeekChallengeInfoNotify) })
+ c.regMsg(GCGWorldChallengeUnlockNotify, func() any { return new(proto.GCGWorldChallengeUnlockNotify) })
+ c.regMsg(GMShowNavMeshReq, func() any { return new(proto.GMShowNavMeshReq) })
+ c.regMsg(GMShowNavMeshRsp, func() any { return new(proto.GMShowNavMeshRsp) })
+ c.regMsg(GMShowObstacleReq, func() any { return new(proto.GMShowObstacleReq) })
+ c.regMsg(GMShowObstacleRsp, func() any { return new(proto.GMShowObstacleRsp) })
+ c.regMsg(GachaActivityCreateRobotReq, func() any { return new(proto.GachaActivityCreateRobotReq) })
+ c.regMsg(GachaActivityCreateRobotRsp, func() any { return new(proto.GachaActivityCreateRobotRsp) })
+ c.regMsg(GachaActivityNextStageReq, func() any { return new(proto.GachaActivityNextStageReq) })
+ c.regMsg(GachaActivityNextStageRsp, func() any { return new(proto.GachaActivityNextStageRsp) })
+ c.regMsg(GachaActivityPercentNotify, func() any { return new(proto.GachaActivityPercentNotify) })
+ c.regMsg(GachaActivityResetReq, func() any { return new(proto.GachaActivityResetReq) })
+ c.regMsg(GachaActivityResetRsp, func() any { return new(proto.GachaActivityResetRsp) })
+ c.regMsg(GachaActivityTakeRewardReq, func() any { return new(proto.GachaActivityTakeRewardReq) })
+ c.regMsg(GachaActivityTakeRewardRsp, func() any { return new(proto.GachaActivityTakeRewardRsp) })
+ c.regMsg(GachaActivityUpdateElemNotify, func() any { return new(proto.GachaActivityUpdateElemNotify) })
+ c.regMsg(GachaOpenWishNotify, func() any { return new(proto.GachaOpenWishNotify) })
+ c.regMsg(GachaSimpleInfoNotify, func() any { return new(proto.GachaSimpleInfoNotify) })
+ c.regMsg(GachaWishReq, func() any { return new(proto.GachaWishReq) })
+ c.regMsg(GachaWishRsp, func() any { return new(proto.GachaWishRsp) })
+ c.regMsg(GadgetAutoPickDropInfoNotify, func() any { return new(proto.GadgetAutoPickDropInfoNotify) })
+ c.regMsg(GadgetChainLevelChangeNotify, func() any { return new(proto.GadgetChainLevelChangeNotify) })
+ c.regMsg(GadgetChainLevelUpdateNotify, func() any { return new(proto.GadgetChainLevelUpdateNotify) })
+ c.regMsg(GadgetChangeLevelTagReq, func() any { return new(proto.GadgetChangeLevelTagReq) })
+ c.regMsg(GadgetChangeLevelTagRsp, func() any { return new(proto.GadgetChangeLevelTagRsp) })
+ c.regMsg(GadgetCustomTreeInfoNotify, func() any { return new(proto.GadgetCustomTreeInfoNotify) })
+ c.regMsg(GadgetGeneralRewardInfoNotify, func() any { return new(proto.GadgetGeneralRewardInfoNotify) })
+ c.regMsg(GadgetInteractReq, func() any { return new(proto.GadgetInteractReq) })
+ c.regMsg(GadgetInteractRsp, func() any { return new(proto.GadgetInteractRsp) })
+ c.regMsg(GadgetPlayDataNotify, func() any { return new(proto.GadgetPlayDataNotify) })
+ c.regMsg(GadgetPlayStartNotify, func() any { return new(proto.GadgetPlayStartNotify) })
+ c.regMsg(GadgetPlayStopNotify, func() any { return new(proto.GadgetPlayStopNotify) })
+ c.regMsg(GadgetPlayUidOpNotify, func() any { return new(proto.GadgetPlayUidOpNotify) })
+ c.regMsg(GadgetStateNotify, func() any { return new(proto.GadgetStateNotify) })
+ c.regMsg(GadgetTalkChangeNotify, func() any { return new(proto.GadgetTalkChangeNotify) })
+ c.regMsg(GalleryBalloonScoreNotify, func() any { return new(proto.GalleryBalloonScoreNotify) })
+ c.regMsg(GalleryBalloonShootNotify, func() any { return new(proto.GalleryBalloonShootNotify) })
+ c.regMsg(GalleryBounceConjuringHitNotify, func() any { return new(proto.GalleryBounceConjuringHitNotify) })
+ c.regMsg(GalleryBrokenFloorFallNotify, func() any { return new(proto.GalleryBrokenFloorFallNotify) })
+ c.regMsg(GalleryBulletHitNotify, func() any { return new(proto.GalleryBulletHitNotify) })
+ c.regMsg(GalleryCrystalLinkBuffInfoNotify, func() any { return new(proto.GalleryCrystalLinkBuffInfoNotify) })
+ c.regMsg(GalleryCrystalLinkKillMonsterNotify, func() any { return new(proto.GalleryCrystalLinkKillMonsterNotify) })
+ c.regMsg(GalleryFallCatchNotify, func() any { return new(proto.GalleryFallCatchNotify) })
+ c.regMsg(GalleryFallScoreNotify, func() any { return new(proto.GalleryFallScoreNotify) })
+ c.regMsg(GalleryFlowerCatchNotify, func() any { return new(proto.GalleryFlowerCatchNotify) })
+ c.regMsg(GalleryIslandPartyDownHillInfoNotify, func() any { return new(proto.GalleryIslandPartyDownHillInfoNotify) })
+ c.regMsg(GalleryPreStartNotify, func() any { return new(proto.GalleryPreStartNotify) })
+ c.regMsg(GalleryStartNotify, func() any { return new(proto.GalleryStartNotify) })
+ c.regMsg(GalleryStopNotify, func() any { return new(proto.GalleryStopNotify) })
+ c.regMsg(GallerySumoKillMonsterNotify, func() any { return new(proto.GallerySumoKillMonsterNotify) })
+ c.regMsg(GalleryWillStartCountdownNotify, func() any { return new(proto.GalleryWillStartCountdownNotify) })
+ c.regMsg(GearActivityFinishPlayGearReq, func() any { return new(proto.GearActivityFinishPlayGearReq) })
+ c.regMsg(GearActivityFinishPlayGearRsp, func() any { return new(proto.GearActivityFinishPlayGearRsp) })
+ c.regMsg(GearActivityFinishPlayPictureReq, func() any { return new(proto.GearActivityFinishPlayPictureReq) })
+ c.regMsg(GearActivityFinishPlayPictureRsp, func() any { return new(proto.GearActivityFinishPlayPictureRsp) })
+ c.regMsg(GearActivityStartPlayGearReq, func() any { return new(proto.GearActivityStartPlayGearReq) })
+ c.regMsg(GearActivityStartPlayGearRsp, func() any { return new(proto.GearActivityStartPlayGearRsp) })
+ c.regMsg(GearActivityStartPlayPictureReq, func() any { return new(proto.GearActivityStartPlayPictureReq) })
+ c.regMsg(GearActivityStartPlayPictureRsp, func() any { return new(proto.GearActivityStartPlayPictureRsp) })
+ c.regMsg(GetActivityInfoReq, func() any { return new(proto.GetActivityInfoReq) })
+ c.regMsg(GetActivityInfoRsp, func() any { return new(proto.GetActivityInfoRsp) })
+ c.regMsg(GetActivityScheduleReq, func() any { return new(proto.GetActivityScheduleReq) })
+ c.regMsg(GetActivityScheduleRsp, func() any { return new(proto.GetActivityScheduleRsp) })
+ c.regMsg(GetActivityShopSheetInfoReq, func() any { return new(proto.GetActivityShopSheetInfoReq) })
+ c.regMsg(GetActivityShopSheetInfoRsp, func() any { return new(proto.GetActivityShopSheetInfoRsp) })
+ c.regMsg(GetAllActivatedBargainDataReq, func() any { return new(proto.GetAllActivatedBargainDataReq) })
+ c.regMsg(GetAllActivatedBargainDataRsp, func() any { return new(proto.GetAllActivatedBargainDataRsp) })
+ c.regMsg(GetAllH5ActivityInfoReq, func() any { return new(proto.GetAllH5ActivityInfoReq) })
+ c.regMsg(GetAllH5ActivityInfoRsp, func() any { return new(proto.GetAllH5ActivityInfoRsp) })
+ c.regMsg(GetAllMailNotify, func() any { return new(proto.GetAllMailNotify) })
+ c.regMsg(GetAllMailReq, func() any { return new(proto.GetAllMailReq) })
+ c.regMsg(GetAllMailResultNotify, func() any { return new(proto.GetAllMailResultNotify) })
+ c.regMsg(GetAllMailRsp, func() any { return new(proto.GetAllMailRsp) })
+ c.regMsg(GetAllSceneGalleryInfoReq, func() any { return new(proto.GetAllSceneGalleryInfoReq) })
+ c.regMsg(GetAllSceneGalleryInfoRsp, func() any { return new(proto.GetAllSceneGalleryInfoRsp) })
+ c.regMsg(GetAllUnlockNameCardReq, func() any { return new(proto.GetAllUnlockNameCardReq) })
+ c.regMsg(GetAllUnlockNameCardRsp, func() any { return new(proto.GetAllUnlockNameCardRsp) })
+ c.regMsg(GetAreaExplorePointReq, func() any { return new(proto.GetAreaExplorePointReq) })
+ c.regMsg(GetAreaExplorePointRsp, func() any { return new(proto.GetAreaExplorePointRsp) })
+ c.regMsg(GetAuthSalesmanInfoReq, func() any { return new(proto.GetAuthSalesmanInfoReq) })
+ c.regMsg(GetAuthSalesmanInfoRsp, func() any { return new(proto.GetAuthSalesmanInfoRsp) })
+ c.regMsg(GetAuthkeyReq, func() any { return new(proto.GetAuthkeyReq) })
+ c.regMsg(GetAuthkeyRsp, func() any { return new(proto.GetAuthkeyRsp) })
+ c.regMsg(GetBargainDataReq, func() any { return new(proto.GetBargainDataReq) })
+ c.regMsg(GetBargainDataRsp, func() any { return new(proto.GetBargainDataRsp) })
+ c.regMsg(GetBattlePassProductReq, func() any { return new(proto.GetBattlePassProductReq) })
+ c.regMsg(GetBattlePassProductRsp, func() any { return new(proto.GetBattlePassProductRsp) })
+ c.regMsg(GetBlossomBriefInfoListReq, func() any { return new(proto.GetBlossomBriefInfoListReq) })
+ c.regMsg(GetBlossomBriefInfoListRsp, func() any { return new(proto.GetBlossomBriefInfoListRsp) })
+ c.regMsg(GetBonusActivityRewardReq, func() any { return new(proto.GetBonusActivityRewardReq) })
+ c.regMsg(GetBonusActivityRewardRsp, func() any { return new(proto.GetBonusActivityRewardRsp) })
+ c.regMsg(GetChatEmojiCollectionReq, func() any { return new(proto.GetChatEmojiCollectionReq) })
+ c.regMsg(GetChatEmojiCollectionRsp, func() any { return new(proto.GetChatEmojiCollectionRsp) })
+ c.regMsg(GetCityHuntingOfferReq, func() any { return new(proto.GetCityHuntingOfferReq) })
+ c.regMsg(GetCityHuntingOfferRsp, func() any { return new(proto.GetCityHuntingOfferRsp) })
+ c.regMsg(GetCityReputationInfoReq, func() any { return new(proto.GetCityReputationInfoReq) })
+ c.regMsg(GetCityReputationInfoRsp, func() any { return new(proto.GetCityReputationInfoRsp) })
+ c.regMsg(GetCityReputationMapInfoReq, func() any { return new(proto.GetCityReputationMapInfoReq) })
+ c.regMsg(GetCityReputationMapInfoRsp, func() any { return new(proto.GetCityReputationMapInfoRsp) })
+ c.regMsg(GetCompoundDataReq, func() any { return new(proto.GetCompoundDataReq) })
+ c.regMsg(GetCompoundDataRsp, func() any { return new(proto.GetCompoundDataRsp) })
+ c.regMsg(GetCustomDungeonReq, func() any { return new(proto.GetCustomDungeonReq) })
+ c.regMsg(GetCustomDungeonRsp, func() any { return new(proto.GetCustomDungeonRsp) })
+ c.regMsg(GetDailyDungeonEntryInfoReq, func() any { return new(proto.GetDailyDungeonEntryInfoReq) })
+ c.regMsg(GetDailyDungeonEntryInfoRsp, func() any { return new(proto.GetDailyDungeonEntryInfoRsp) })
+ c.regMsg(GetDungeonEntryExploreConditionReq, func() any { return new(proto.GetDungeonEntryExploreConditionReq) })
+ c.regMsg(GetDungeonEntryExploreConditionRsp, func() any { return new(proto.GetDungeonEntryExploreConditionRsp) })
+ c.regMsg(GetExpeditionAssistInfoListReq, func() any { return new(proto.GetExpeditionAssistInfoListReq) })
+ c.regMsg(GetExpeditionAssistInfoListRsp, func() any { return new(proto.GetExpeditionAssistInfoListRsp) })
+ c.regMsg(GetFriendShowAvatarInfoReq, func() any { return new(proto.GetFriendShowAvatarInfoReq) })
+ c.regMsg(GetFriendShowAvatarInfoRsp, func() any { return new(proto.GetFriendShowAvatarInfoRsp) })
+ c.regMsg(GetFriendShowNameCardInfoReq, func() any { return new(proto.GetFriendShowNameCardInfoReq) })
+ c.regMsg(GetFriendShowNameCardInfoRsp, func() any { return new(proto.GetFriendShowNameCardInfoRsp) })
+ c.regMsg(GetFurnitureCurModuleArrangeCountReq, func() any { return new(proto.GetFurnitureCurModuleArrangeCountReq) })
+ c.regMsg(GetGachaInfoReq, func() any { return new(proto.GetGachaInfoReq) })
+ c.regMsg(GetGachaInfoRsp, func() any { return new(proto.GetGachaInfoRsp) })
+ c.regMsg(GetGameplayRecommendationReq, func() any { return new(proto.GetGameplayRecommendationReq) })
+ c.regMsg(GetGameplayRecommendationRsp, func() any { return new(proto.GetGameplayRecommendationRsp) })
+ c.regMsg(GetHomeExchangeWoodInfoReq, func() any { return new(proto.GetHomeExchangeWoodInfoReq) })
+ c.regMsg(GetHomeExchangeWoodInfoRsp, func() any { return new(proto.GetHomeExchangeWoodInfoRsp) })
+ c.regMsg(GetHomeLevelUpRewardReq, func() any { return new(proto.GetHomeLevelUpRewardReq) })
+ c.regMsg(GetHomeLevelUpRewardRsp, func() any { return new(proto.GetHomeLevelUpRewardRsp) })
+ c.regMsg(GetHuntingOfferRewardReq, func() any { return new(proto.GetHuntingOfferRewardReq) })
+ c.regMsg(GetHuntingOfferRewardRsp, func() any { return new(proto.GetHuntingOfferRewardRsp) })
+ c.regMsg(GetInvestigationMonsterReq, func() any { return new(proto.GetInvestigationMonsterReq) })
+ c.regMsg(GetInvestigationMonsterRsp, func() any { return new(proto.GetInvestigationMonsterRsp) })
+ c.regMsg(GetMailItemReq, func() any { return new(proto.GetMailItemReq) })
+ c.regMsg(GetMailItemRsp, func() any { return new(proto.GetMailItemRsp) })
+ c.regMsg(GetMapAreaReq, func() any { return new(proto.GetMapAreaReq) })
+ c.regMsg(GetMapAreaRsp, func() any { return new(proto.GetMapAreaRsp) })
+ c.regMsg(GetMapMarkTipsReq, func() any { return new(proto.GetMapMarkTipsReq) })
+ c.regMsg(GetMapMarkTipsRsp, func() any { return new(proto.GetMapMarkTipsRsp) })
+ c.regMsg(GetMechanicusInfoReq, func() any { return new(proto.GetMechanicusInfoReq) })
+ c.regMsg(GetMechanicusInfoRsp, func() any { return new(proto.GetMechanicusInfoRsp) })
+ c.regMsg(GetNextResourceInfoReq, func() any { return new(proto.GetNextResourceInfoReq) })
+ c.regMsg(GetNextResourceInfoRsp, func() any { return new(proto.GetNextResourceInfoRsp) })
+ c.regMsg(GetOnlinePlayerInfoReq, func() any { return new(proto.GetOnlinePlayerInfoReq) })
+ c.regMsg(GetOnlinePlayerInfoRsp, func() any { return new(proto.GetOnlinePlayerInfoRsp) })
+ c.regMsg(GetOnlinePlayerListReq, func() any { return new(proto.GetOnlinePlayerListReq) })
+ c.regMsg(GetOnlinePlayerListRsp, func() any { return new(proto.GetOnlinePlayerListRsp) })
+ c.regMsg(GetOpActivityInfoReq, func() any { return new(proto.GetOpActivityInfoReq) })
+ c.regMsg(GetOpActivityInfoRsp, func() any { return new(proto.GetOpActivityInfoRsp) })
+ c.regMsg(GetParentQuestVideoKeyReq, func() any { return new(proto.GetParentQuestVideoKeyReq) })
+ c.regMsg(GetParentQuestVideoKeyRsp, func() any { return new(proto.GetParentQuestVideoKeyRsp) })
+ c.regMsg(GetPlayerAskFriendListReq, func() any { return new(proto.GetPlayerAskFriendListReq) })
+ c.regMsg(GetPlayerAskFriendListRsp, func() any { return new(proto.GetPlayerAskFriendListRsp) })
+ c.regMsg(GetPlayerBlacklistReq, func() any { return new(proto.GetPlayerBlacklistReq) })
+ c.regMsg(GetPlayerBlacklistRsp, func() any { return new(proto.GetPlayerBlacklistRsp) })
+ c.regMsg(GetPlayerFriendListReq, func() any { return new(proto.GetPlayerFriendListReq) })
+ c.regMsg(GetPlayerFriendListRsp, func() any { return new(proto.GetPlayerFriendListRsp) })
+ c.regMsg(GetPlayerHomeCompInfoReq, func() any { return new(proto.GetPlayerHomeCompInfoReq) })
+ c.regMsg(GetPlayerMpModeAvailabilityReq, func() any { return new(proto.GetPlayerMpModeAvailabilityReq) })
+ c.regMsg(GetPlayerMpModeAvailabilityRsp, func() any { return new(proto.GetPlayerMpModeAvailabilityRsp) })
+ c.regMsg(GetPlayerSocialDetailReq, func() any { return new(proto.GetPlayerSocialDetailReq) })
+ c.regMsg(GetPlayerSocialDetailRsp, func() any { return new(proto.GetPlayerSocialDetailRsp) })
+ c.regMsg(GetPlayerTokenReq, func() any { return new(proto.GetPlayerTokenReq) })
+ c.regMsg(GetPlayerTokenRsp, func() any { return new(proto.GetPlayerTokenRsp) })
+ c.regMsg(GetPushTipsRewardReq, func() any { return new(proto.GetPushTipsRewardReq) })
+ c.regMsg(GetPushTipsRewardRsp, func() any { return new(proto.GetPushTipsRewardRsp) })
+ c.regMsg(GetQuestLackingResourceReq, func() any { return new(proto.GetQuestLackingResourceReq) })
+ c.regMsg(GetQuestLackingResourceRsp, func() any { return new(proto.GetQuestLackingResourceRsp) })
+ c.regMsg(GetQuestTalkHistoryReq, func() any { return new(proto.GetQuestTalkHistoryReq) })
+ c.regMsg(GetQuestTalkHistoryRsp, func() any { return new(proto.GetQuestTalkHistoryRsp) })
+ c.regMsg(GetRecentMpPlayerListReq, func() any { return new(proto.GetRecentMpPlayerListReq) })
+ c.regMsg(GetRecentMpPlayerListRsp, func() any { return new(proto.GetRecentMpPlayerListRsp) })
+ c.regMsg(GetRecommendCustomDungeonReq, func() any { return new(proto.GetRecommendCustomDungeonReq) })
+ c.regMsg(GetRecommendCustomDungeonRsp, func() any { return new(proto.GetRecommendCustomDungeonRsp) })
+ c.regMsg(GetRegionSearchReq, func() any { return new(proto.GetRegionSearchReq) })
+ c.regMsg(GetReunionMissionInfoReq, func() any { return new(proto.GetReunionMissionInfoReq) })
+ c.regMsg(GetReunionMissionInfoRsp, func() any { return new(proto.GetReunionMissionInfoRsp) })
+ c.regMsg(GetReunionPrivilegeInfoReq, func() any { return new(proto.GetReunionPrivilegeInfoReq) })
+ c.regMsg(GetReunionPrivilegeInfoRsp, func() any { return new(proto.GetReunionPrivilegeInfoRsp) })
+ c.regMsg(GetReunionSignInInfoReq, func() any { return new(proto.GetReunionSignInInfoReq) })
+ c.regMsg(GetReunionSignInInfoRsp, func() any { return new(proto.GetReunionSignInInfoRsp) })
+ c.regMsg(GetRogueDairyRepairInfoReq, func() any { return new(proto.GetRogueDairyRepairInfoReq) })
+ c.regMsg(GetRogueDairyRepairInfoRsp, func() any { return new(proto.GetRogueDairyRepairInfoRsp) })
+ c.regMsg(GetSceneAreaReq, func() any { return new(proto.GetSceneAreaReq) })
+ c.regMsg(GetSceneAreaRsp, func() any { return new(proto.GetSceneAreaRsp) })
+ c.regMsg(GetSceneNpcPositionReq, func() any { return new(proto.GetSceneNpcPositionReq) })
+ c.regMsg(GetSceneNpcPositionRsp, func() any { return new(proto.GetSceneNpcPositionRsp) })
+ c.regMsg(GetScenePerformanceReq, func() any { return new(proto.GetScenePerformanceReq) })
+ c.regMsg(GetScenePerformanceRsp, func() any { return new(proto.GetScenePerformanceRsp) })
+ c.regMsg(GetScenePointReq, func() any { return new(proto.GetScenePointReq) })
+ c.regMsg(GetScenePointRsp, func() any { return new(proto.GetScenePointRsp) })
+ c.regMsg(GetShopReq, func() any { return new(proto.GetShopReq) })
+ c.regMsg(GetShopRsp, func() any { return new(proto.GetShopRsp) })
+ c.regMsg(GetShopmallDataReq, func() any { return new(proto.GetShopmallDataReq) })
+ c.regMsg(GetShopmallDataRsp, func() any { return new(proto.GetShopmallDataRsp) })
+ c.regMsg(GetSignInRewardReq, func() any { return new(proto.GetSignInRewardReq) })
+ c.regMsg(GetSignInRewardRsp, func() any { return new(proto.GetSignInRewardRsp) })
+ c.regMsg(GetStoreCustomDungeonReq, func() any { return new(proto.GetStoreCustomDungeonReq) })
+ c.regMsg(GetStoreCustomDungeonRsp, func() any { return new(proto.GetStoreCustomDungeonRsp) })
+ c.regMsg(GetUgcBriefInfoReq, func() any { return new(proto.GetUgcBriefInfoReq) })
+ c.regMsg(GetUgcBriefInfoRsp, func() any { return new(proto.GetUgcBriefInfoRsp) })
+ c.regMsg(GetUgcReq, func() any { return new(proto.GetUgcReq) })
+ c.regMsg(GetUgcRsp, func() any { return new(proto.GetUgcRsp) })
+ c.regMsg(GetWidgetSlotReq, func() any { return new(proto.GetWidgetSlotReq) })
+ c.regMsg(GetWidgetSlotRsp, func() any { return new(proto.GetWidgetSlotRsp) })
+ c.regMsg(GetWorldMpInfoReq, func() any { return new(proto.GetWorldMpInfoReq) })
+ c.regMsg(GetWorldMpInfoRsp, func() any { return new(proto.GetWorldMpInfoRsp) })
+ c.regMsg(GiveUpRoguelikeDungeonCardReq, func() any { return new(proto.GiveUpRoguelikeDungeonCardReq) })
+ c.regMsg(GiveUpRoguelikeDungeonCardRsp, func() any { return new(proto.GiveUpRoguelikeDungeonCardRsp) })
+ c.regMsg(GivingRecordChangeNotify, func() any { return new(proto.GivingRecordChangeNotify) })
+ c.regMsg(GivingRecordNotify, func() any { return new(proto.GivingRecordNotify) })
+ c.regMsg(GlobalBuildingInfoNotify, func() any { return new(proto.GlobalBuildingInfoNotify) })
+ c.regMsg(GmTalkNotify, func() any { return new(proto.GmTalkNotify) })
+ c.regMsg(GmTalkReq, func() any { return new(proto.GmTalkReq) })
+ c.regMsg(GmTalkRsp, func() any { return new(proto.GmTalkRsp) })
+ c.regMsg(GrantRewardNotify, func() any { return new(proto.GrantRewardNotify) })
+ c.regMsg(GravenInnocenceEditCarveCombinationReq, func() any { return new(proto.GravenInnocenceEditCarveCombinationReq) })
+ c.regMsg(GravenInnocenceEditCarveCombinationRsp, func() any { return new(proto.GravenInnocenceEditCarveCombinationRsp) })
+ c.regMsg(GravenInnocencePhotoFinishReq, func() any { return new(proto.GravenInnocencePhotoFinishReq) })
+ c.regMsg(GravenInnocencePhotoFinishRsp, func() any { return new(proto.GravenInnocencePhotoFinishRsp) })
+ c.regMsg(GravenInnocencePhotoReminderNotify, func() any { return new(proto.GravenInnocencePhotoReminderNotify) })
+ c.regMsg(GravenInnocenceRaceRestartReq, func() any { return new(proto.GravenInnocenceRaceRestartReq) })
+ c.regMsg(GravenInnocenceRaceRestartRsp, func() any { return new(proto.GravenInnocenceRaceRestartRsp) })
+ c.regMsg(GravenInnocenceRaceSettleNotify, func() any { return new(proto.GravenInnocenceRaceSettleNotify) })
+ c.regMsg(GroupLinkAllNotify, func() any { return new(proto.GroupLinkAllNotify) })
+ c.regMsg(GroupLinkChangeNotify, func() any { return new(proto.GroupLinkChangeNotify) })
+ c.regMsg(GroupLinkDeleteNotify, func() any { return new(proto.GroupLinkDeleteNotify) })
+ c.regMsg(GroupLinkMarkUpdateNotify, func() any { return new(proto.GroupLinkMarkUpdateNotify) })
+ c.regMsg(GroupSuiteNotify, func() any { return new(proto.GroupSuiteNotify) })
+ c.regMsg(GroupUnloadNotify, func() any { return new(proto.GroupUnloadNotify) })
+ c.regMsg(GuestBeginEnterSceneNotify, func() any { return new(proto.GuestBeginEnterSceneNotify) })
+ c.regMsg(GuestPostEnterSceneNotify, func() any { return new(proto.GuestPostEnterSceneNotify) })
+ c.regMsg(H5ActivityIdsNotify, func() any { return new(proto.H5ActivityIdsNotify) })
+ c.regMsg(HideAndSeekPlayerReadyNotify, func() any { return new(proto.HideAndSeekPlayerReadyNotify) })
+ c.regMsg(HideAndSeekPlayerSetAvatarNotify, func() any { return new(proto.HideAndSeekPlayerSetAvatarNotify) })
+ c.regMsg(HideAndSeekSelectAvatarReq, func() any { return new(proto.HideAndSeekSelectAvatarReq) })
+ c.regMsg(HideAndSeekSelectAvatarRsp, func() any { return new(proto.HideAndSeekSelectAvatarRsp) })
+ c.regMsg(HideAndSeekSelectSkillReq, func() any { return new(proto.HideAndSeekSelectSkillReq) })
+ c.regMsg(HideAndSeekSelectSkillRsp, func() any { return new(proto.HideAndSeekSelectSkillRsp) })
+ c.regMsg(HideAndSeekSetReadyReq, func() any { return new(proto.HideAndSeekSetReadyReq) })
+ c.regMsg(HideAndSeekSetReadyRsp, func() any { return new(proto.HideAndSeekSetReadyRsp) })
+ c.regMsg(HideAndSeekSettleNotify, func() any { return new(proto.HideAndSeekSettleNotify) })
+ c.regMsg(HitClientTrivialNotify, func() any { return new(proto.HitClientTrivialNotify) })
+ c.regMsg(HitTreeNotify, func() any { return new(proto.HitTreeNotify) })
+ c.regMsg(HomeAllUnlockedBgmIdListNotify, func() any { return new(proto.HomeAllUnlockedBgmIdListNotify) })
+ c.regMsg(HomeAvatarAllFinishRewardNotify, func() any { return new(proto.HomeAvatarAllFinishRewardNotify) })
+ c.regMsg(HomeAvatarCostumeChangeNotify, func() any { return new(proto.HomeAvatarCostumeChangeNotify) })
+ c.regMsg(HomeAvatarRewardEventGetReq, func() any { return new(proto.HomeAvatarRewardEventGetReq) })
+ c.regMsg(HomeAvatarRewardEventGetRsp, func() any { return new(proto.HomeAvatarRewardEventGetRsp) })
+ c.regMsg(HomeAvatarRewardEventNotify, func() any { return new(proto.HomeAvatarRewardEventNotify) })
+ c.regMsg(HomeAvatarSummonAllEventNotify, func() any { return new(proto.HomeAvatarSummonAllEventNotify) })
+ c.regMsg(HomeAvatarSummonEventReq, func() any { return new(proto.HomeAvatarSummonEventReq) })
+ c.regMsg(HomeAvatarSummonEventRsp, func() any { return new(proto.HomeAvatarSummonEventRsp) })
+ c.regMsg(HomeAvatarSummonFinishReq, func() any { return new(proto.HomeAvatarSummonFinishReq) })
+ c.regMsg(HomeAvatarSummonFinishRsp, func() any { return new(proto.HomeAvatarSummonFinishRsp) })
+ c.regMsg(HomeAvatarTalkFinishInfoNotify, func() any { return new(proto.HomeAvatarTalkFinishInfoNotify) })
+ c.regMsg(HomeAvatarTalkReq, func() any { return new(proto.HomeAvatarTalkReq) })
+ c.regMsg(HomeAvatarTalkRsp, func() any { return new(proto.HomeAvatarTalkRsp) })
+ c.regMsg(HomeAvtarAllFinishRewardNotify, func() any { return new(proto.HomeAvtarAllFinishRewardNotify) })
+ c.regMsg(HomeBalloonGalleryScoreNotify, func() any { return new(proto.HomeBalloonGalleryScoreNotify) })
+ c.regMsg(HomeBalloonGallerySettleNotify, func() any { return new(proto.HomeBalloonGallerySettleNotify) })
+ c.regMsg(HomeBasicInfoNotify, func() any { return new(proto.HomeBasicInfoNotify) })
+ c.regMsg(HomeBlockNotify, func() any { return new(proto.HomeBlockNotify) })
+ c.regMsg(HomeBlueprintInfoNotify, func() any { return new(proto.HomeBlueprintInfoNotify) })
+ c.regMsg(HomeChangeBgmNotify, func() any { return new(proto.HomeChangeBgmNotify) })
+ c.regMsg(HomeChangeBgmReq, func() any { return new(proto.HomeChangeBgmReq) })
+ c.regMsg(HomeChangeBgmRsp, func() any { return new(proto.HomeChangeBgmRsp) })
+ c.regMsg(HomeChangeEditModeReq, func() any { return new(proto.HomeChangeEditModeReq) })
+ c.regMsg(HomeChangeEditModeRsp, func() any { return new(proto.HomeChangeEditModeRsp) })
+ c.regMsg(HomeChangeModuleReq, func() any { return new(proto.HomeChangeModuleReq) })
+ c.regMsg(HomeChangeModuleRsp, func() any { return new(proto.HomeChangeModuleRsp) })
+ c.regMsg(HomeChooseModuleReq, func() any { return new(proto.HomeChooseModuleReq) })
+ c.regMsg(HomeChooseModuleRsp, func() any { return new(proto.HomeChooseModuleRsp) })
+ c.regMsg(HomeClearGroupRecordReq, func() any { return new(proto.HomeClearGroupRecordReq) })
+ c.regMsg(HomeClearGroupRecordRsp, func() any { return new(proto.HomeClearGroupRecordRsp) })
+ c.regMsg(HomeComfortInfoNotify, func() any { return new(proto.HomeComfortInfoNotify) })
+ c.regMsg(HomeCreateBlueprintReq, func() any { return new(proto.HomeCreateBlueprintReq) })
+ c.regMsg(HomeCreateBlueprintRsp, func() any { return new(proto.HomeCreateBlueprintRsp) })
+ c.regMsg(HomeCustomFurnitureInfoNotify, func() any { return new(proto.HomeCustomFurnitureInfoNotify) })
+ c.regMsg(HomeDeleteBlueprintReq, func() any { return new(proto.HomeDeleteBlueprintReq) })
+ c.regMsg(HomeDeleteBlueprintRsp, func() any { return new(proto.HomeDeleteBlueprintRsp) })
+ c.regMsg(HomeEditCustomFurnitureReq, func() any { return new(proto.HomeEditCustomFurnitureReq) })
+ c.regMsg(HomeEditCustomFurnitureRsp, func() any { return new(proto.HomeEditCustomFurnitureRsp) })
+ c.regMsg(HomeEnterEditModeFinishReq, func() any { return new(proto.HomeEnterEditModeFinishReq) })
+ c.regMsg(HomeEnterEditModeFinishRsp, func() any { return new(proto.HomeEnterEditModeFinishRsp) })
+ c.regMsg(HomeExchangeWoodReq, func() any { return new(proto.HomeExchangeWoodReq) })
+ c.regMsg(HomeExchangeWoodRsp, func() any { return new(proto.HomeExchangeWoodRsp) })
+ c.regMsg(HomeFishFarmingInfoNotify, func() any { return new(proto.HomeFishFarmingInfoNotify) })
+ c.regMsg(HomeGalleryInPlayingNotify, func() any { return new(proto.HomeGalleryInPlayingNotify) })
+ c.regMsg(HomeGetArrangementInfoReq, func() any { return new(proto.HomeGetArrangementInfoReq) })
+ c.regMsg(HomeGetArrangementInfoRsp, func() any { return new(proto.HomeGetArrangementInfoRsp) })
+ c.regMsg(HomeGetBasicInfoReq, func() any { return new(proto.HomeGetBasicInfoReq) })
+ c.regMsg(HomeGetBlueprintSlotInfoReq, func() any { return new(proto.HomeGetBlueprintSlotInfoReq) })
+ c.regMsg(HomeGetBlueprintSlotInfoRsp, func() any { return new(proto.HomeGetBlueprintSlotInfoRsp) })
+ c.regMsg(HomeGetFishFarmingInfoReq, func() any { return new(proto.HomeGetFishFarmingInfoReq) })
+ c.regMsg(HomeGetFishFarmingInfoRsp, func() any { return new(proto.HomeGetFishFarmingInfoRsp) })
+ c.regMsg(HomeGetGroupRecordReq, func() any { return new(proto.HomeGetGroupRecordReq) })
+ c.regMsg(HomeGetGroupRecordRsp, func() any { return new(proto.HomeGetGroupRecordRsp) })
+ c.regMsg(HomeGetOnlineStatusReq, func() any { return new(proto.HomeGetOnlineStatusReq) })
+ c.regMsg(HomeGetOnlineStatusRsp, func() any { return new(proto.HomeGetOnlineStatusRsp) })
+ c.regMsg(HomeKickPlayerReq, func() any { return new(proto.HomeKickPlayerReq) })
+ c.regMsg(HomeKickPlayerRsp, func() any { return new(proto.HomeKickPlayerRsp) })
+ c.regMsg(HomeLimitedShopBuyGoodsReq, func() any { return new(proto.HomeLimitedShopBuyGoodsReq) })
+ c.regMsg(HomeLimitedShopBuyGoodsRsp, func() any { return new(proto.HomeLimitedShopBuyGoodsRsp) })
+ c.regMsg(HomeLimitedShopGoodsListReq, func() any { return new(proto.HomeLimitedShopGoodsListReq) })
+ c.regMsg(HomeLimitedShopGoodsListRsp, func() any { return new(proto.HomeLimitedShopGoodsListRsp) })
+ c.regMsg(HomeLimitedShopInfoChangeNotify, func() any { return new(proto.HomeLimitedShopInfoChangeNotify) })
+ c.regMsg(HomeLimitedShopInfoNotify, func() any { return new(proto.HomeLimitedShopInfoNotify) })
+ c.regMsg(HomeLimitedShopInfoReq, func() any { return new(proto.HomeLimitedShopInfoReq) })
+ c.regMsg(HomeLimitedShopInfoRsp, func() any { return new(proto.HomeLimitedShopInfoRsp) })
+ c.regMsg(HomeMarkPointNotify, func() any { return new(proto.HomeMarkPointNotify) })
+ c.regMsg(HomeModuleSeenReq, func() any { return new(proto.HomeModuleSeenReq) })
+ c.regMsg(HomeModuleSeenRsp, func() any { return new(proto.HomeModuleSeenRsp) })
+ c.regMsg(HomeModuleUnlockNotify, func() any { return new(proto.HomeModuleUnlockNotify) })
+ c.regMsg(HomeNewUnlockedBgmIdListNotify, func() any { return new(proto.HomeNewUnlockedBgmIdListNotify) })
+ c.regMsg(HomePictureFrameInfoNotify, func() any { return new(proto.HomePictureFrameInfoNotify) })
+ c.regMsg(HomePlantFieldNotify, func() any { return new(proto.HomePlantFieldNotify) })
+ c.regMsg(HomePlantInfoNotify, func() any { return new(proto.HomePlantInfoNotify) })
+ c.regMsg(HomePlantInfoReq, func() any { return new(proto.HomePlantInfoReq) })
+ c.regMsg(HomePlantInfoRsp, func() any { return new(proto.HomePlantInfoRsp) })
+ c.regMsg(HomePlantSeedReq, func() any { return new(proto.HomePlantSeedReq) })
+ c.regMsg(HomePlantSeedRsp, func() any { return new(proto.HomePlantSeedRsp) })
+ c.regMsg(HomePlantWeedReq, func() any { return new(proto.HomePlantWeedReq) })
+ c.regMsg(HomePlantWeedRsp, func() any { return new(proto.HomePlantWeedRsp) })
+ c.regMsg(HomePreChangeEditModeNotify, func() any { return new(proto.HomePreChangeEditModeNotify) })
+ c.regMsg(HomePreviewBlueprintReq, func() any { return new(proto.HomePreviewBlueprintReq) })
+ c.regMsg(HomePreviewBlueprintRsp, func() any { return new(proto.HomePreviewBlueprintRsp) })
+ c.regMsg(HomePriorCheckNotify, func() any { return new(proto.HomePriorCheckNotify) })
+ c.regMsg(HomeRacingGallerySettleNotify, func() any { return new(proto.HomeRacingGallerySettleNotify) })
+ c.regMsg(HomeResourceNotify, func() any { return new(proto.HomeResourceNotify) })
+ c.regMsg(HomeResourceTakeFetterExpReq, func() any { return new(proto.HomeResourceTakeFetterExpReq) })
+ c.regMsg(HomeResourceTakeFetterExpRsp, func() any { return new(proto.HomeResourceTakeFetterExpRsp) })
+ c.regMsg(HomeResourceTakeHomeCoinReq, func() any { return new(proto.HomeResourceTakeHomeCoinReq) })
+ c.regMsg(HomeResourceTakeHomeCoinRsp, func() any { return new(proto.HomeResourceTakeHomeCoinRsp) })
+ c.regMsg(HomeSaveArrangementNoChangeReq, func() any { return new(proto.HomeSaveArrangementNoChangeReq) })
+ c.regMsg(HomeSaveArrangementNoChangeRsp, func() any { return new(proto.HomeSaveArrangementNoChangeRsp) })
+ c.regMsg(HomeSceneInitFinishReq, func() any { return new(proto.HomeSceneInitFinishReq) })
+ c.regMsg(HomeSceneInitFinishRsp, func() any { return new(proto.HomeSceneInitFinishRsp) })
+ c.regMsg(HomeSceneJumpReq, func() any { return new(proto.HomeSceneJumpReq) })
+ c.regMsg(HomeSceneJumpRsp, func() any { return new(proto.HomeSceneJumpRsp) })
+ c.regMsg(HomeScenePointFishFarmingInfoNotify, func() any { return new(proto.HomeScenePointFishFarmingInfoNotify) })
+ c.regMsg(HomeSearchBlueprintReq, func() any { return new(proto.HomeSearchBlueprintReq) })
+ c.regMsg(HomeSearchBlueprintRsp, func() any { return new(proto.HomeSearchBlueprintRsp) })
+ c.regMsg(HomeSeekFurnitureGalleryScoreNotify, func() any { return new(proto.HomeSeekFurnitureGalleryScoreNotify) })
+ c.regMsg(HomeSetBlueprintFriendOptionReq, func() any { return new(proto.HomeSetBlueprintFriendOptionReq) })
+ c.regMsg(HomeSetBlueprintFriendOptionRsp, func() any { return new(proto.HomeSetBlueprintFriendOptionRsp) })
+ c.regMsg(HomeSetBlueprintSlotOptionReq, func() any { return new(proto.HomeSetBlueprintSlotOptionReq) })
+ c.regMsg(HomeSetBlueprintSlotOptionRsp, func() any { return new(proto.HomeSetBlueprintSlotOptionRsp) })
+ c.regMsg(HomeTransferReq, func() any { return new(proto.HomeTransferReq) })
+ c.regMsg(HomeTransferRsp, func() any { return new(proto.HomeTransferRsp) })
+ c.regMsg(HomeUpdateArrangementInfoReq, func() any { return new(proto.HomeUpdateArrangementInfoReq) })
+ c.regMsg(HomeUpdateArrangementInfoRsp, func() any { return new(proto.HomeUpdateArrangementInfoRsp) })
+ c.regMsg(HomeUpdateFishFarmingInfoReq, func() any { return new(proto.HomeUpdateFishFarmingInfoReq) })
+ c.regMsg(HomeUpdateFishFarmingInfoRsp, func() any { return new(proto.HomeUpdateFishFarmingInfoRsp) })
+ c.regMsg(HomeUpdatePictureFrameInfoReq, func() any { return new(proto.HomeUpdatePictureFrameInfoReq) })
+ c.regMsg(HomeUpdatePictureFrameInfoRsp, func() any { return new(proto.HomeUpdatePictureFrameInfoRsp) })
+ c.regMsg(HomeUpdateScenePointFishFarmingInfoReq, func() any { return new(proto.HomeUpdateScenePointFishFarmingInfoReq) })
+ c.regMsg(HomeUpdateScenePointFishFarmingInfoRsp, func() any { return new(proto.HomeUpdateScenePointFishFarmingInfoRsp) })
+ c.regMsg(HostPlayerNotify, func() any { return new(proto.HostPlayerNotify) })
+ c.regMsg(HuntingFailNotify, func() any { return new(proto.HuntingFailNotify) })
+ c.regMsg(HuntingGiveUpReq, func() any { return new(proto.HuntingGiveUpReq) })
+ c.regMsg(HuntingGiveUpRsp, func() any { return new(proto.HuntingGiveUpRsp) })
+ c.regMsg(HuntingOngoingNotify, func() any { return new(proto.HuntingOngoingNotify) })
+ c.regMsg(HuntingRevealClueNotify, func() any { return new(proto.HuntingRevealClueNotify) })
+ c.regMsg(HuntingRevealFinalNotify, func() any { return new(proto.HuntingRevealFinalNotify) })
+ c.regMsg(HuntingStartNotify, func() any { return new(proto.HuntingStartNotify) })
+ c.regMsg(HuntingSuccessNotify, func() any { return new(proto.HuntingSuccessNotify) })
+ c.regMsg(InBattleMechanicusBuildingPointsNotify, func() any { return new(proto.InBattleMechanicusBuildingPointsNotify) })
+ c.regMsg(InBattleMechanicusCardResultNotify, func() any { return new(proto.InBattleMechanicusCardResultNotify) })
+ c.regMsg(InBattleMechanicusConfirmCardNotify, func() any { return new(proto.InBattleMechanicusConfirmCardNotify) })
+ c.regMsg(InBattleMechanicusConfirmCardReq, func() any { return new(proto.InBattleMechanicusConfirmCardReq) })
+ c.regMsg(InBattleMechanicusConfirmCardRsp, func() any { return new(proto.InBattleMechanicusConfirmCardRsp) })
+ c.regMsg(InBattleMechanicusLeftMonsterNotify, func() any { return new(proto.InBattleMechanicusLeftMonsterNotify) })
+ c.regMsg(InBattleMechanicusPickCardNotify, func() any { return new(proto.InBattleMechanicusPickCardNotify) })
+ c.regMsg(InBattleMechanicusPickCardReq, func() any { return new(proto.InBattleMechanicusPickCardReq) })
+ c.regMsg(InBattleMechanicusPickCardRsp, func() any { return new(proto.InBattleMechanicusPickCardRsp) })
+ c.regMsg(InBattleMechanicusSettleNotify, func() any { return new(proto.InBattleMechanicusSettleNotify) })
+ c.regMsg(InstableSprayEnterDungeonReq, func() any { return new(proto.InstableSprayEnterDungeonReq) })
+ c.regMsg(InstableSprayEnterDungeonRsp, func() any { return new(proto.InstableSprayEnterDungeonRsp) })
+ c.regMsg(InstableSprayGalleryInfoNotify, func() any { return new(proto.InstableSprayGalleryInfoNotify) })
+ c.regMsg(InstableSprayLevelFinishNotify, func() any { return new(proto.InstableSprayLevelFinishNotify) })
+ c.regMsg(InstableSprayRestartDungeonReq, func() any { return new(proto.InstableSprayRestartDungeonReq) })
+ c.regMsg(InstableSprayRestartDungeonRsp, func() any { return new(proto.InstableSprayRestartDungeonRsp) })
+ c.regMsg(InstableSpraySwitchTeamReq, func() any { return new(proto.InstableSpraySwitchTeamReq) })
+ c.regMsg(InstableSpraySwitchTeamRsp, func() any { return new(proto.InstableSpraySwitchTeamRsp) })
+ c.regMsg(InteractDailyDungeonInfoNotify, func() any { return new(proto.InteractDailyDungeonInfoNotify) })
+ c.regMsg(InterpretInferenceWordReq, func() any { return new(proto.InterpretInferenceWordReq) })
+ c.regMsg(InterpretInferenceWordRsp, func() any { return new(proto.InterpretInferenceWordRsp) })
+ c.regMsg(InterruptGalleryReq, func() any { return new(proto.InterruptGalleryReq) })
+ c.regMsg(InterruptGalleryRsp, func() any { return new(proto.InterruptGalleryRsp) })
+ c.regMsg(InvestigationMonsterUpdateNotify, func() any { return new(proto.InvestigationMonsterUpdateNotify) })
+ c.regMsg(InvestigationQuestDailyNotify, func() any { return new(proto.InvestigationQuestDailyNotify) })
+ c.regMsg(InvestigationReadQuestDailyNotify, func() any { return new(proto.InvestigationReadQuestDailyNotify) })
+ c.regMsg(IrodoriChessEquipCardReq, func() any { return new(proto.IrodoriChessEquipCardReq) })
+ c.regMsg(IrodoriChessEquipCardRsp, func() any { return new(proto.IrodoriChessEquipCardRsp) })
+ c.regMsg(IrodoriChessLeftMonsterNotify, func() any { return new(proto.IrodoriChessLeftMonsterNotify) })
+ c.regMsg(IrodoriChessPlayerInfoNotify, func() any { return new(proto.IrodoriChessPlayerInfoNotify) })
+ c.regMsg(IrodoriChessUnequipCardReq, func() any { return new(proto.IrodoriChessUnequipCardReq) })
+ c.regMsg(IrodoriChessUnequipCardRsp, func() any { return new(proto.IrodoriChessUnequipCardRsp) })
+ c.regMsg(IrodoriEditFlowerCombinationReq, func() any { return new(proto.IrodoriEditFlowerCombinationReq) })
+ c.regMsg(IrodoriEditFlowerCombinationRsp, func() any { return new(proto.IrodoriEditFlowerCombinationRsp) })
+ c.regMsg(IrodoriFillPoetryReq, func() any { return new(proto.IrodoriFillPoetryReq) })
+ c.regMsg(IrodoriFillPoetryRsp, func() any { return new(proto.IrodoriFillPoetryRsp) })
+ c.regMsg(IrodoriMasterGalleryCgEndNotify, func() any { return new(proto.IrodoriMasterGalleryCgEndNotify) })
+ c.regMsg(IrodoriMasterGallerySettleNotify, func() any { return new(proto.IrodoriMasterGallerySettleNotify) })
+ c.regMsg(IrodoriMasterStartGalleryReq, func() any { return new(proto.IrodoriMasterStartGalleryReq) })
+ c.regMsg(IrodoriMasterStartGalleryRsp, func() any { return new(proto.IrodoriMasterStartGalleryRsp) })
+ c.regMsg(IrodoriScanEntityReq, func() any { return new(proto.IrodoriScanEntityReq) })
+ c.regMsg(IrodoriScanEntityRsp, func() any { return new(proto.IrodoriScanEntityRsp) })
+ c.regMsg(IslandPartyRaftInfoNotify, func() any { return new(proto.IslandPartyRaftInfoNotify) })
+ c.regMsg(IslandPartySailInfoNotify, func() any { return new(proto.IslandPartySailInfoNotify) })
+ c.regMsg(IslandPartySettleNotify, func() any { return new(proto.IslandPartySettleNotify) })
+ c.regMsg(ItemAddHintNotify, func() any { return new(proto.ItemAddHintNotify) })
+ c.regMsg(ItemCdGroupTimeNotify, func() any { return new(proto.ItemCdGroupTimeNotify) })
+ c.regMsg(ItemGivingReq, func() any { return new(proto.ItemGivingReq) })
+ c.regMsg(ItemGivingRsp, func() any { return new(proto.ItemGivingRsp) })
+ c.regMsg(JoinHomeWorldFailNotify, func() any { return new(proto.JoinHomeWorldFailNotify) })
+ c.regMsg(JoinPlayerFailNotify, func() any { return new(proto.JoinPlayerFailNotify) })
+ c.regMsg(JoinPlayerSceneReq, func() any { return new(proto.JoinPlayerSceneReq) })
+ c.regMsg(JoinPlayerSceneRsp, func() any { return new(proto.JoinPlayerSceneRsp) })
+ c.regMsg(KeepAliveNotify, func() any { return new(proto.KeepAliveNotify) })
+ c.regMsg(LanternRiteDoFireworksReformReq, func() any { return new(proto.LanternRiteDoFireworksReformReq) })
+ c.regMsg(LanternRiteDoFireworksReformRsp, func() any { return new(proto.LanternRiteDoFireworksReformRsp) })
+ c.regMsg(LanternRiteEndFireworksReformReq, func() any { return new(proto.LanternRiteEndFireworksReformReq) })
+ c.regMsg(LanternRiteEndFireworksReformRsp, func() any { return new(proto.LanternRiteEndFireworksReformRsp) })
+ c.regMsg(LanternRiteStartFireworksReformReq, func() any { return new(proto.LanternRiteStartFireworksReformReq) })
+ c.regMsg(LanternRiteStartFireworksReformRsp, func() any { return new(proto.LanternRiteStartFireworksReformRsp) })
+ c.regMsg(LanternRiteTakeSkinRewardReq, func() any { return new(proto.LanternRiteTakeSkinRewardReq) })
+ c.regMsg(LanternRiteTakeSkinRewardRsp, func() any { return new(proto.LanternRiteTakeSkinRewardRsp) })
+ c.regMsg(LastPacketPrintNotify, func() any { return new(proto.LastPacketPrintNotify) })
+ c.regMsg(LaunchFireworksReq, func() any { return new(proto.LaunchFireworksReq) })
+ c.regMsg(LaunchFireworksRsp, func() any { return new(proto.LaunchFireworksRsp) })
+ c.regMsg(LeaveSceneReq, func() any { return new(proto.LeaveSceneReq) })
+ c.regMsg(LeaveSceneRsp, func() any { return new(proto.LeaveSceneRsp) })
+ c.regMsg(LeaveWorldNotify, func() any { return new(proto.LeaveWorldNotify) })
+ c.regMsg(LevelTagDataNotify, func() any { return new(proto.LevelTagDataNotify) })
+ c.regMsg(LevelupCityReq, func() any { return new(proto.LevelupCityReq) })
+ c.regMsg(LevelupCityRsp, func() any { return new(proto.LevelupCityRsp) })
+ c.regMsg(LifeStateChangeNotify, func() any { return new(proto.LifeStateChangeNotify) })
+ c.regMsg(LikeCustomDungeonReq, func() any { return new(proto.LikeCustomDungeonReq) })
+ c.regMsg(LikeCustomDungeonRsp, func() any { return new(proto.LikeCustomDungeonRsp) })
+ c.regMsg(LiveEndNotify, func() any { return new(proto.LiveEndNotify) })
+ c.regMsg(LiveStartNotify, func() any { return new(proto.LiveStartNotify) })
+ c.regMsg(LoadActivityTerrainNotify, func() any { return new(proto.LoadActivityTerrainNotify) })
+ c.regMsg(LuaEnvironmentEffectNotify, func() any { return new(proto.LuaEnvironmentEffectNotify) })
+ c.regMsg(LuaSetOptionNotify, func() any { return new(proto.LuaSetOptionNotify) })
+ c.regMsg(LuminanceStoneChallengeSettleNotify, func() any { return new(proto.LuminanceStoneChallengeSettleNotify) })
+ c.regMsg(LunaRiteAreaFinishNotify, func() any { return new(proto.LunaRiteAreaFinishNotify) })
+ c.regMsg(LunaRiteGroupBundleRegisterNotify, func() any { return new(proto.LunaRiteGroupBundleRegisterNotify) })
+ c.regMsg(LunaRiteHintPointRemoveNotify, func() any { return new(proto.LunaRiteHintPointRemoveNotify) })
+ c.regMsg(LunaRiteHintPointReq, func() any { return new(proto.LunaRiteHintPointReq) })
+ c.regMsg(LunaRiteHintPointRsp, func() any { return new(proto.LunaRiteHintPointRsp) })
+ c.regMsg(LunaRiteSacrificeReq, func() any { return new(proto.LunaRiteSacrificeReq) })
+ c.regMsg(LunaRiteSacrificeRsp, func() any { return new(proto.LunaRiteSacrificeRsp) })
+ c.regMsg(LunaRiteTakeSacrificeRewardReq, func() any { return new(proto.LunaRiteTakeSacrificeRewardReq) })
+ c.regMsg(LunaRiteTakeSacrificeRewardRsp, func() any { return new(proto.LunaRiteTakeSacrificeRewardRsp) })
+ c.regMsg(MailChangeNotify, func() any { return new(proto.MailChangeNotify) })
+ c.regMsg(MainCoopFailNotify, func() any { return new(proto.MainCoopFailNotify) })
+ c.regMsg(MainCoopUpdateNotify, func() any { return new(proto.MainCoopUpdateNotify) })
+ c.regMsg(MapAreaChangeNotify, func() any { return new(proto.MapAreaChangeNotify) })
+ c.regMsg(MarkEntityInMinMapNotify, func() any { return new(proto.MarkEntityInMinMapNotify) })
+ c.regMsg(MarkMapReq, func() any { return new(proto.MarkMapReq) })
+ c.regMsg(MarkMapRsp, func() any { return new(proto.MarkMapRsp) })
+ c.regMsg(MarkNewNotify, func() any { return new(proto.MarkNewNotify) })
+ c.regMsg(MarkTargetInvestigationMonsterNotify, func() any { return new(proto.MarkTargetInvestigationMonsterNotify) })
+ c.regMsg(MassiveEntityElementOpBatchNotify, func() any { return new(proto.MassiveEntityElementOpBatchNotify) })
+ c.regMsg(MassiveEntityStateChangedNotify, func() any { return new(proto.MassiveEntityStateChangedNotify) })
+ c.regMsg(MaterialDeleteReturnNotify, func() any { return new(proto.MaterialDeleteReturnNotify) })
+ c.regMsg(MaterialDeleteUpdateNotify, func() any { return new(proto.MaterialDeleteUpdateNotify) })
+ c.regMsg(McoinExchangeHcoinReq, func() any { return new(proto.McoinExchangeHcoinReq) })
+ c.regMsg(McoinExchangeHcoinRsp, func() any { return new(proto.McoinExchangeHcoinRsp) })
+ c.regMsg(MechanicusCandidateTeamCreateReq, func() any { return new(proto.MechanicusCandidateTeamCreateReq) })
+ c.regMsg(MechanicusCandidateTeamCreateRsp, func() any { return new(proto.MechanicusCandidateTeamCreateRsp) })
+ c.regMsg(MechanicusCloseNotify, func() any { return new(proto.MechanicusCloseNotify) })
+ c.regMsg(MechanicusCoinNotify, func() any { return new(proto.MechanicusCoinNotify) })
+ c.regMsg(MechanicusLevelupGearReq, func() any { return new(proto.MechanicusLevelupGearReq) })
+ c.regMsg(MechanicusLevelupGearRsp, func() any { return new(proto.MechanicusLevelupGearRsp) })
+ c.regMsg(MechanicusOpenNotify, func() any { return new(proto.MechanicusOpenNotify) })
+ c.regMsg(MechanicusSequenceOpenNotify, func() any { return new(proto.MechanicusSequenceOpenNotify) })
+ c.regMsg(MechanicusUnlockGearReq, func() any { return new(proto.MechanicusUnlockGearReq) })
+ c.regMsg(MechanicusUnlockGearRsp, func() any { return new(proto.MechanicusUnlockGearRsp) })
+ c.regMsg(MeetNpcReq, func() any { return new(proto.MeetNpcReq) })
+ c.regMsg(MeetNpcRsp, func() any { return new(proto.MeetNpcRsp) })
+ c.regMsg(MetNpcIdListNotify, func() any { return new(proto.MetNpcIdListNotify) })
+ c.regMsg(MichiaeMatsuriDarkPressureLevelUpdateNotify, func() any { return new(proto.MichiaeMatsuriDarkPressureLevelUpdateNotify) })
+ c.regMsg(MichiaeMatsuriGainCrystalExpUpdateNotify, func() any { return new(proto.MichiaeMatsuriGainCrystalExpUpdateNotify) })
+ c.regMsg(MichiaeMatsuriInteractStatueReq, func() any { return new(proto.MichiaeMatsuriInteractStatueReq) })
+ c.regMsg(MichiaeMatsuriInteractStatueRsp, func() any { return new(proto.MichiaeMatsuriInteractStatueRsp) })
+ c.regMsg(MichiaeMatsuriRemoveChallengeMarkNotify, func() any { return new(proto.MichiaeMatsuriRemoveChallengeMarkNotify) })
+ c.regMsg(MichiaeMatsuriRemoveChestMarkNotify, func() any { return new(proto.MichiaeMatsuriRemoveChestMarkNotify) })
+ c.regMsg(MichiaeMatsuriStartBossChallengeReq, func() any { return new(proto.MichiaeMatsuriStartBossChallengeReq) })
+ c.regMsg(MichiaeMatsuriStartBossChallengeRsp, func() any { return new(proto.MichiaeMatsuriStartBossChallengeRsp) })
+ c.regMsg(MichiaeMatsuriStartDarkChallengeReq, func() any { return new(proto.MichiaeMatsuriStartDarkChallengeReq) })
+ c.regMsg(MichiaeMatsuriStartDarkChallengeRsp, func() any { return new(proto.MichiaeMatsuriStartDarkChallengeRsp) })
+ c.regMsg(MichiaeMatsuriUnlockCrystalSkillReq, func() any { return new(proto.MichiaeMatsuriUnlockCrystalSkillReq) })
+ c.regMsg(MichiaeMatsuriUnlockCrystalSkillRsp, func() any { return new(proto.MichiaeMatsuriUnlockCrystalSkillRsp) })
+ c.regMsg(MiracleRingDataNotify, func() any { return new(proto.MiracleRingDataNotify) })
+ c.regMsg(MiracleRingDeliverItemReq, func() any { return new(proto.MiracleRingDeliverItemReq) })
+ c.regMsg(MiracleRingDeliverItemRsp, func() any { return new(proto.MiracleRingDeliverItemRsp) })
+ c.regMsg(MiracleRingDestroyNotify, func() any { return new(proto.MiracleRingDestroyNotify) })
+ c.regMsg(MiracleRingDropResultNotify, func() any { return new(proto.MiracleRingDropResultNotify) })
+ c.regMsg(MiracleRingTakeRewardReq, func() any { return new(proto.MiracleRingTakeRewardReq) })
+ c.regMsg(MiracleRingTakeRewardRsp, func() any { return new(proto.MiracleRingTakeRewardRsp) })
+ c.regMsg(MistTrialFloorLevelNotify, func() any { return new(proto.MistTrialFloorLevelNotify) })
+ c.regMsg(MistTrialGetChallengeMissionReq, func() any { return new(proto.MistTrialGetChallengeMissionReq) })
+ c.regMsg(MistTrialGetChallengeMissionRsp, func() any { return new(proto.MistTrialGetChallengeMissionRsp) })
+ c.regMsg(MistTrialGetDungeonExhibitionDataReq, func() any { return new(proto.MistTrialGetDungeonExhibitionDataReq) })
+ c.regMsg(MistTrialGetDungeonExhibitionDataRsp, func() any { return new(proto.MistTrialGetDungeonExhibitionDataRsp) })
+ c.regMsg(MistTrialSelectAvatarAndEnterDungeonReq, func() any { return new(proto.MistTrialSelectAvatarAndEnterDungeonReq) })
+ c.regMsg(MistTrialSelectAvatarAndEnterDungeonRsp, func() any { return new(proto.MistTrialSelectAvatarAndEnterDungeonRsp) })
+ c.regMsg(MistTrialSettleNotify, func() any { return new(proto.MistTrialSettleNotify) })
+ c.regMsg(MonsterAIConfigHashNotify, func() any { return new(proto.MonsterAIConfigHashNotify) })
+ c.regMsg(MonsterAlertChangeNotify, func() any { return new(proto.MonsterAlertChangeNotify) })
+ c.regMsg(MonsterForceAlertNotify, func() any { return new(proto.MonsterForceAlertNotify) })
+ c.regMsg(MonsterPointArrayRouteUpdateNotify, func() any { return new(proto.MonsterPointArrayRouteUpdateNotify) })
+ c.regMsg(MonsterSummonTagNotify, func() any { return new(proto.MonsterSummonTagNotify) })
+ c.regMsg(MpBlockNotify, func() any { return new(proto.MpBlockNotify) })
+ c.regMsg(MpPlayGuestReplyInviteReq, func() any { return new(proto.MpPlayGuestReplyInviteReq) })
+ c.regMsg(MpPlayGuestReplyInviteRsp, func() any { return new(proto.MpPlayGuestReplyInviteRsp) })
+ c.regMsg(MpPlayGuestReplyNotify, func() any { return new(proto.MpPlayGuestReplyNotify) })
+ c.regMsg(MpPlayInviteResultNotify, func() any { return new(proto.MpPlayInviteResultNotify) })
+ c.regMsg(MpPlayOwnerCheckReq, func() any { return new(proto.MpPlayOwnerCheckReq) })
+ c.regMsg(MpPlayOwnerCheckRsp, func() any { return new(proto.MpPlayOwnerCheckRsp) })
+ c.regMsg(MpPlayOwnerInviteNotify, func() any { return new(proto.MpPlayOwnerInviteNotify) })
+ c.regMsg(MpPlayOwnerStartInviteReq, func() any { return new(proto.MpPlayOwnerStartInviteReq) })
+ c.regMsg(MpPlayOwnerStartInviteRsp, func() any { return new(proto.MpPlayOwnerStartInviteRsp) })
+ c.regMsg(MpPlayPrepareInterruptNotify, func() any { return new(proto.MpPlayPrepareInterruptNotify) })
+ c.regMsg(MpPlayPrepareNotify, func() any { return new(proto.MpPlayPrepareNotify) })
+ c.regMsg(MultistagePlayEndNotify, func() any { return new(proto.MultistagePlayEndNotify) })
+ c.regMsg(MultistagePlayFinishStageReq, func() any { return new(proto.MultistagePlayFinishStageReq) })
+ c.regMsg(MultistagePlayFinishStageRsp, func() any { return new(proto.MultistagePlayFinishStageRsp) })
+ c.regMsg(MultistagePlayInfoNotify, func() any { return new(proto.MultistagePlayInfoNotify) })
+ c.regMsg(MultistagePlaySettleNotify, func() any { return new(proto.MultistagePlaySettleNotify) })
+ c.regMsg(MultistagePlayStageEndNotify, func() any { return new(proto.MultistagePlayStageEndNotify) })
+ c.regMsg(MuqadasPotionActivityEnterDungeonReq, func() any { return new(proto.MuqadasPotionActivityEnterDungeonReq) })
+ c.regMsg(MuqadasPotionActivityEnterDungeonRsp, func() any { return new(proto.MuqadasPotionActivityEnterDungeonRsp) })
+ c.regMsg(MuqadasPotionCaptureWeaknessReq, func() any { return new(proto.MuqadasPotionCaptureWeaknessReq) })
+ c.regMsg(MuqadasPotionCaptureWeaknessRsp, func() any { return new(proto.MuqadasPotionCaptureWeaknessRsp) })
+ c.regMsg(MuqadasPotionDungeonSettleNotify, func() any { return new(proto.MuqadasPotionDungeonSettleNotify) })
+ c.regMsg(MuqadasPotionRestartDungeonReq, func() any { return new(proto.MuqadasPotionRestartDungeonReq) })
+ c.regMsg(MuqadasPotionRestartDungeonRsp, func() any { return new(proto.MuqadasPotionRestartDungeonRsp) })
+ c.regMsg(MusicGameSettleReq, func() any { return new(proto.MusicGameSettleReq) })
+ c.regMsg(MusicGameSettleRsp, func() any { return new(proto.MusicGameSettleRsp) })
+ c.regMsg(MusicGameStartReq, func() any { return new(proto.MusicGameStartReq) })
+ c.regMsg(MusicGameStartRsp, func() any { return new(proto.MusicGameStartRsp) })
+ c.regMsg(NavMeshStatsNotify, func() any { return new(proto.NavMeshStatsNotify) })
+ c.regMsg(NicknameAuditConfigNotify, func() any { return new(proto.NicknameAuditConfigNotify) })
+ c.regMsg(NightCrowGadgetObservationMatchReq, func() any { return new(proto.NightCrowGadgetObservationMatchReq) })
+ c.regMsg(NightCrowGadgetObservationMatchRsp, func() any { return new(proto.NightCrowGadgetObservationMatchRsp) })
+ c.regMsg(NormalUidOpNotify, func() any { return new(proto.NormalUidOpNotify) })
+ c.regMsg(NpcTalkReq, func() any { return new(proto.NpcTalkReq) })
+ c.regMsg(NpcTalkRsp, func() any { return new(proto.NpcTalkRsp) })
+ c.regMsg(NpcTalkStateNotify, func() any { return new(proto.NpcTalkStateNotify) })
+ c.regMsg(ObstacleModifyNotify, func() any { return new(proto.ObstacleModifyNotify) })
+ c.regMsg(OfferingInteractReq, func() any { return new(proto.OfferingInteractReq) })
+ c.regMsg(OfferingInteractRsp, func() any { return new(proto.OfferingInteractRsp) })
+ c.regMsg(OpActivityDataNotify, func() any { return new(proto.OpActivityDataNotify) })
+ c.regMsg(OpActivityStateNotify, func() any { return new(proto.OpActivityStateNotify) })
+ c.regMsg(OpActivityUpdateNotify, func() any { return new(proto.OpActivityUpdateNotify) })
+ c.regMsg(OpenBlossomCircleCampGuideNotify, func() any { return new(proto.OpenBlossomCircleCampGuideNotify) })
+ c.regMsg(OpenStateChangeNotify, func() any { return new(proto.OpenStateChangeNotify) })
+ c.regMsg(OpenStateUpdateNotify, func() any { return new(proto.OpenStateUpdateNotify) })
+ c.regMsg(OrderDisplayNotify, func() any { return new(proto.OrderDisplayNotify) })
+ c.regMsg(OrderFinishNotify, func() any { return new(proto.OrderFinishNotify) })
+ c.regMsg(OtherPlayerEnterHomeNotify, func() any { return new(proto.OtherPlayerEnterHomeNotify) })
+ c.regMsg(OutStuckCustomDungeonReq, func() any { return new(proto.OutStuckCustomDungeonReq) })
+ c.regMsg(OutStuckCustomDungeonRsp, func() any { return new(proto.OutStuckCustomDungeonRsp) })
+ c.regMsg(PSNBlackListNotify, func() any { return new(proto.PSNBlackListNotify) })
+ c.regMsg(PSNFriendListNotify, func() any { return new(proto.PSNFriendListNotify) })
+ c.regMsg(PSPlayerApplyEnterMpReq, func() any { return new(proto.PSPlayerApplyEnterMpReq) })
+ c.regMsg(PSPlayerApplyEnterMpRsp, func() any { return new(proto.PSPlayerApplyEnterMpRsp) })
+ c.regMsg(ParentQuestInferenceDataNotify, func() any { return new(proto.ParentQuestInferenceDataNotify) })
+ c.regMsg(PathfindingEnterSceneReq, func() any { return new(proto.PathfindingEnterSceneReq) })
+ c.regMsg(PathfindingEnterSceneRsp, func() any { return new(proto.PathfindingEnterSceneRsp) })
+ c.regMsg(PathfindingPingNotify, func() any { return new(proto.PathfindingPingNotify) })
+ c.regMsg(PersistentDungeonSwitchAvatarReq, func() any { return new(proto.PersistentDungeonSwitchAvatarReq) })
+ c.regMsg(PersistentDungeonSwitchAvatarRsp, func() any { return new(proto.PersistentDungeonSwitchAvatarRsp) })
+ c.regMsg(PersonalLineAllDataReq, func() any { return new(proto.PersonalLineAllDataReq) })
+ c.regMsg(PersonalLineAllDataRsp, func() any { return new(proto.PersonalLineAllDataRsp) })
+ c.regMsg(PersonalLineNewUnlockNotify, func() any { return new(proto.PersonalLineNewUnlockNotify) })
+ c.regMsg(PersonalSceneJumpReq, func() any { return new(proto.PersonalSceneJumpReq) })
+ c.regMsg(PersonalSceneJumpRsp, func() any { return new(proto.PersonalSceneJumpRsp) })
+ c.regMsg(PhotoActivityClientViewReq, func() any { return new(proto.PhotoActivityClientViewReq) })
+ c.regMsg(PhotoActivityClientViewRsp, func() any { return new(proto.PhotoActivityClientViewRsp) })
+ c.regMsg(PhotoActivityFinishReq, func() any { return new(proto.PhotoActivityFinishReq) })
+ c.regMsg(PhotoActivityFinishRsp, func() any { return new(proto.PhotoActivityFinishRsp) })
+ c.regMsg(PingReq, func() any { return new(proto.PingReq) })
+ c.regMsg(PingRsp, func() any { return new(proto.PingRsp) })
+ c.regMsg(PlantFlowerAcceptAllGiveFlowerReq, func() any { return new(proto.PlantFlowerAcceptAllGiveFlowerReq) })
+ c.regMsg(PlantFlowerAcceptAllGiveFlowerRsp, func() any { return new(proto.PlantFlowerAcceptAllGiveFlowerRsp) })
+ c.regMsg(PlantFlowerAcceptGiveFlowerReq, func() any { return new(proto.PlantFlowerAcceptGiveFlowerReq) })
+ c.regMsg(PlantFlowerAcceptGiveFlowerRsp, func() any { return new(proto.PlantFlowerAcceptGiveFlowerRsp) })
+ c.regMsg(PlantFlowerEditFlowerCombinationReq, func() any { return new(proto.PlantFlowerEditFlowerCombinationReq) })
+ c.regMsg(PlantFlowerEditFlowerCombinationRsp, func() any { return new(proto.PlantFlowerEditFlowerCombinationRsp) })
+ c.regMsg(PlantFlowerGetCanGiveFriendFlowerReq, func() any { return new(proto.PlantFlowerGetCanGiveFriendFlowerReq) })
+ c.regMsg(PlantFlowerGetCanGiveFriendFlowerRsp, func() any { return new(proto.PlantFlowerGetCanGiveFriendFlowerRsp) })
+ c.regMsg(PlantFlowerGetFriendFlowerWishListReq, func() any { return new(proto.PlantFlowerGetFriendFlowerWishListReq) })
+ c.regMsg(PlantFlowerGetFriendFlowerWishListRsp, func() any { return new(proto.PlantFlowerGetFriendFlowerWishListRsp) })
+ c.regMsg(PlantFlowerGetRecvFlowerListReq, func() any { return new(proto.PlantFlowerGetRecvFlowerListReq) })
+ c.regMsg(PlantFlowerGetRecvFlowerListRsp, func() any { return new(proto.PlantFlowerGetRecvFlowerListRsp) })
+ c.regMsg(PlantFlowerGetSeedInfoReq, func() any { return new(proto.PlantFlowerGetSeedInfoReq) })
+ c.regMsg(PlantFlowerGetSeedInfoRsp, func() any { return new(proto.PlantFlowerGetSeedInfoRsp) })
+ c.regMsg(PlantFlowerGiveFriendFlowerReq, func() any { return new(proto.PlantFlowerGiveFriendFlowerReq) })
+ c.regMsg(PlantFlowerGiveFriendFlowerRsp, func() any { return new(proto.PlantFlowerGiveFriendFlowerRsp) })
+ c.regMsg(PlantFlowerHaveRecvFlowerNotify, func() any { return new(proto.PlantFlowerHaveRecvFlowerNotify) })
+ c.regMsg(PlantFlowerSetFlowerWishReq, func() any { return new(proto.PlantFlowerSetFlowerWishReq) })
+ c.regMsg(PlantFlowerSetFlowerWishRsp, func() any { return new(proto.PlantFlowerSetFlowerWishRsp) })
+ c.regMsg(PlantFlowerTakeSeedRewardReq, func() any { return new(proto.PlantFlowerTakeSeedRewardReq) })
+ c.regMsg(PlantFlowerTakeSeedRewardRsp, func() any { return new(proto.PlantFlowerTakeSeedRewardRsp) })
+ c.regMsg(PlatformChangeRouteNotify, func() any { return new(proto.PlatformChangeRouteNotify) })
+ c.regMsg(PlatformStartRouteNotify, func() any { return new(proto.PlatformStartRouteNotify) })
+ c.regMsg(PlatformStopRouteNotify, func() any { return new(proto.PlatformStopRouteNotify) })
+ c.regMsg(PlayerAllowEnterMpAfterAgreeMatchNotify, func() any { return new(proto.PlayerAllowEnterMpAfterAgreeMatchNotify) })
+ c.regMsg(PlayerApplyEnterHomeNotify, func() any { return new(proto.PlayerApplyEnterHomeNotify) })
+ c.regMsg(PlayerApplyEnterHomeResultNotify, func() any { return new(proto.PlayerApplyEnterHomeResultNotify) })
+ c.regMsg(PlayerApplyEnterHomeResultReq, func() any { return new(proto.PlayerApplyEnterHomeResultReq) })
+ c.regMsg(PlayerApplyEnterHomeResultRsp, func() any { return new(proto.PlayerApplyEnterHomeResultRsp) })
+ c.regMsg(PlayerApplyEnterMpAfterMatchAgreedNotify, func() any { return new(proto.PlayerApplyEnterMpAfterMatchAgreedNotify) })
+ c.regMsg(PlayerApplyEnterMpNotify, func() any { return new(proto.PlayerApplyEnterMpNotify) })
+ c.regMsg(PlayerApplyEnterMpReq, func() any { return new(proto.PlayerApplyEnterMpReq) })
+ c.regMsg(PlayerApplyEnterMpResultNotify, func() any { return new(proto.PlayerApplyEnterMpResultNotify) })
+ c.regMsg(PlayerApplyEnterMpResultReq, func() any { return new(proto.PlayerApplyEnterMpResultReq) })
+ c.regMsg(PlayerApplyEnterMpResultRsp, func() any { return new(proto.PlayerApplyEnterMpResultRsp) })
+ c.regMsg(PlayerApplyEnterMpRsp, func() any { return new(proto.PlayerApplyEnterMpRsp) })
+ c.regMsg(PlayerCancelMatchReq, func() any { return new(proto.PlayerCancelMatchReq) })
+ c.regMsg(PlayerCancelMatchRsp, func() any { return new(proto.PlayerCancelMatchRsp) })
+ c.regMsg(PlayerChatCDNotify, func() any { return new(proto.PlayerChatCDNotify) })
+ c.regMsg(PlayerChatNotify, func() any { return new(proto.PlayerChatNotify) })
+ c.regMsg(PlayerChatReq, func() any { return new(proto.PlayerChatReq) })
+ c.regMsg(PlayerChatRsp, func() any { return new(proto.PlayerChatRsp) })
+ c.regMsg(PlayerCompoundMaterialBoostReq, func() any { return new(proto.PlayerCompoundMaterialBoostReq) })
+ c.regMsg(PlayerCompoundMaterialBoostRsp, func() any { return new(proto.PlayerCompoundMaterialBoostRsp) })
+ c.regMsg(PlayerCompoundMaterialReq, func() any { return new(proto.PlayerCompoundMaterialReq) })
+ c.regMsg(PlayerCompoundMaterialRsp, func() any { return new(proto.PlayerCompoundMaterialRsp) })
+ c.regMsg(PlayerConfirmMatchReq, func() any { return new(proto.PlayerConfirmMatchReq) })
+ c.regMsg(PlayerConfirmMatchRsp, func() any { return new(proto.PlayerConfirmMatchRsp) })
+ c.regMsg(PlayerCookArgsReq, func() any { return new(proto.PlayerCookArgsReq) })
+ c.regMsg(PlayerCookArgsRsp, func() any { return new(proto.PlayerCookArgsRsp) })
+ c.regMsg(PlayerCookReq, func() any { return new(proto.PlayerCookReq) })
+ c.regMsg(PlayerCookRsp, func() any { return new(proto.PlayerCookRsp) })
+ c.regMsg(PlayerDataNotify, func() any { return new(proto.PlayerDataNotify) })
+ c.regMsg(PlayerDeathZoneNotify, func() any { return new(proto.PlayerDeathZoneNotify) })
+ c.regMsg(PlayerEnterDungeonReq, func() any { return new(proto.PlayerEnterDungeonReq) })
+ c.regMsg(PlayerEnterDungeonRsp, func() any { return new(proto.PlayerEnterDungeonRsp) })
+ c.regMsg(PlayerEnterSceneInfoNotify, func() any { return new(proto.PlayerEnterSceneInfoNotify) })
+ c.regMsg(PlayerEnterSceneNotify, func() any { return new(proto.PlayerEnterSceneNotify) })
+ c.regMsg(PlayerEyePointStateNotify, func() any { return new(proto.PlayerEyePointStateNotify) })
+ c.regMsg(PlayerFishingDataNotify, func() any { return new(proto.PlayerFishingDataNotify) })
+ c.regMsg(PlayerForceExitReq, func() any { return new(proto.PlayerForceExitReq) })
+ c.regMsg(PlayerForceExitRsp, func() any { return new(proto.PlayerForceExitRsp) })
+ c.regMsg(PlayerGCGMatchConfirmNotify, func() any { return new(proto.PlayerGCGMatchConfirmNotify) })
+ c.regMsg(PlayerGCGMatchDismissNotify, func() any { return new(proto.PlayerGCGMatchDismissNotify) })
+ c.regMsg(PlayerGameTimeNotify, func() any { return new(proto.PlayerGameTimeNotify) })
+ c.regMsg(PlayerGeneralMatchConfirmNotify, func() any { return new(proto.PlayerGeneralMatchConfirmNotify) })
+ c.regMsg(PlayerGeneralMatchDismissNotify, func() any { return new(proto.PlayerGeneralMatchDismissNotify) })
+ c.regMsg(PlayerGetForceQuitBanInfoReq, func() any { return new(proto.PlayerGetForceQuitBanInfoReq) })
+ c.regMsg(PlayerGetForceQuitBanInfoRsp, func() any { return new(proto.PlayerGetForceQuitBanInfoRsp) })
+ c.regMsg(PlayerHomeCompInfoNotify, func() any { return new(proto.PlayerHomeCompInfoNotify) })
+ c.regMsg(PlayerInjectFixNotify, func() any { return new(proto.PlayerInjectFixNotify) })
+ c.regMsg(PlayerInvestigationAllInfoNotify, func() any { return new(proto.PlayerInvestigationAllInfoNotify) })
+ c.regMsg(PlayerInvestigationNotify, func() any { return new(proto.PlayerInvestigationNotify) })
+ c.regMsg(PlayerInvestigationTargetNotify, func() any { return new(proto.PlayerInvestigationTargetNotify) })
+ c.regMsg(PlayerLevelRewardUpdateNotify, func() any { return new(proto.PlayerLevelRewardUpdateNotify) })
+ c.regMsg(PlayerLoginReq, func() any { return new(proto.PlayerLoginReq) })
+ c.regMsg(PlayerLoginRsp, func() any { return new(proto.PlayerLoginRsp) })
+ c.regMsg(PlayerLogoutNotify, func() any { return new(proto.PlayerLogoutNotify) })
+ c.regMsg(PlayerLogoutReq, func() any { return new(proto.PlayerLogoutReq) })
+ c.regMsg(PlayerLogoutRsp, func() any { return new(proto.PlayerLogoutRsp) })
+ c.regMsg(PlayerLuaShellNotify, func() any { return new(proto.PlayerLuaShellNotify) })
+ c.regMsg(PlayerMatchAgreedResultNotify, func() any { return new(proto.PlayerMatchAgreedResultNotify) })
+ c.regMsg(PlayerMatchInfoNotify, func() any { return new(proto.PlayerMatchInfoNotify) })
+ c.regMsg(PlayerMatchStopNotify, func() any { return new(proto.PlayerMatchStopNotify) })
+ c.regMsg(PlayerMatchSuccNotify, func() any { return new(proto.PlayerMatchSuccNotify) })
+ c.regMsg(PlayerNicknameAuditDataNotify, func() any { return new(proto.PlayerNicknameAuditDataNotify) })
+ c.regMsg(PlayerNicknameNotify, func() any { return new(proto.PlayerNicknameNotify) })
+ c.regMsg(PlayerOfferingDataNotify, func() any { return new(proto.PlayerOfferingDataNotify) })
+ c.regMsg(PlayerOfferingReq, func() any { return new(proto.PlayerOfferingReq) })
+ c.regMsg(PlayerOfferingRsp, func() any { return new(proto.PlayerOfferingRsp) })
+ c.regMsg(PlayerPreEnterMpNotify, func() any { return new(proto.PlayerPreEnterMpNotify) })
+ c.regMsg(PlayerPropChangeNotify, func() any { return new(proto.PlayerPropChangeNotify) })
+ c.regMsg(PlayerPropChangeReasonNotify, func() any { return new(proto.PlayerPropChangeReasonNotify) })
+ c.regMsg(PlayerPropNotify, func() any { return new(proto.PlayerPropNotify) })
+ c.regMsg(PlayerQuitDungeonReq, func() any { return new(proto.PlayerQuitDungeonReq) })
+ c.regMsg(PlayerQuitDungeonRsp, func() any { return new(proto.PlayerQuitDungeonRsp) })
+ c.regMsg(PlayerQuitFromHomeNotify, func() any { return new(proto.PlayerQuitFromHomeNotify) })
+ c.regMsg(PlayerQuitFromMpNotify, func() any { return new(proto.PlayerQuitFromMpNotify) })
+ c.regMsg(PlayerRandomCookReq, func() any { return new(proto.PlayerRandomCookReq) })
+ c.regMsg(PlayerRandomCookRsp, func() any { return new(proto.PlayerRandomCookRsp) })
+ c.regMsg(PlayerRechargeDataNotify, func() any { return new(proto.PlayerRechargeDataNotify) })
+ c.regMsg(PlayerReportReq, func() any { return new(proto.PlayerReportReq) })
+ c.regMsg(PlayerReportRsp, func() any { return new(proto.PlayerReportRsp) })
+ c.regMsg(PlayerRoutineDataNotify, func() any { return new(proto.PlayerRoutineDataNotify) })
+ c.regMsg(PlayerSetLanguageReq, func() any { return new(proto.PlayerSetLanguageReq) })
+ c.regMsg(PlayerSetLanguageRsp, func() any { return new(proto.PlayerSetLanguageRsp) })
+ c.regMsg(PlayerSetOnlyMPWithPSPlayerReq, func() any { return new(proto.PlayerSetOnlyMPWithPSPlayerReq) })
+ c.regMsg(PlayerSetOnlyMPWithPSPlayerRsp, func() any { return new(proto.PlayerSetOnlyMPWithPSPlayerRsp) })
+ c.regMsg(PlayerSetPauseReq, func() any { return new(proto.PlayerSetPauseReq) })
+ c.regMsg(PlayerSetPauseRsp, func() any { return new(proto.PlayerSetPauseRsp) })
+ c.regMsg(PlayerSignatureAuditDataNotify, func() any { return new(proto.PlayerSignatureAuditDataNotify) })
+ c.regMsg(PlayerSignatureNotify, func() any { return new(proto.PlayerSignatureNotify) })
+ c.regMsg(PlayerStartMatchReq, func() any { return new(proto.PlayerStartMatchReq) })
+ c.regMsg(PlayerStartMatchRsp, func() any { return new(proto.PlayerStartMatchRsp) })
+ c.regMsg(PlayerStoreNotify, func() any { return new(proto.PlayerStoreNotify) })
+ c.regMsg(PlayerTimeNotify, func() any { return new(proto.PlayerTimeNotify) })
+ c.regMsg(PlayerWorldSceneInfoListNotify, func() any { return new(proto.PlayerWorldSceneInfoListNotify) })
+ c.regMsg(PostEnterSceneReq, func() any { return new(proto.PostEnterSceneReq) })
+ c.regMsg(PostEnterSceneRsp, func() any { return new(proto.PostEnterSceneRsp) })
+ c.regMsg(PotionEnterDungeonNotify, func() any { return new(proto.PotionEnterDungeonNotify) })
+ c.regMsg(PotionEnterDungeonReq, func() any { return new(proto.PotionEnterDungeonReq) })
+ c.regMsg(PotionEnterDungeonRsp, func() any { return new(proto.PotionEnterDungeonRsp) })
+ c.regMsg(PotionResetChallengeReq, func() any { return new(proto.PotionResetChallengeReq) })
+ c.regMsg(PotionResetChallengeRsp, func() any { return new(proto.PotionResetChallengeRsp) })
+ c.regMsg(PotionRestartDungeonReq, func() any { return new(proto.PotionRestartDungeonReq) })
+ c.regMsg(PotionRestartDungeonRsp, func() any { return new(proto.PotionRestartDungeonRsp) })
+ c.regMsg(PotionSaveDungeonResultReq, func() any { return new(proto.PotionSaveDungeonResultReq) })
+ c.regMsg(PotionSaveDungeonResultRsp, func() any { return new(proto.PotionSaveDungeonResultRsp) })
+ c.regMsg(PrivateChatNotify, func() any { return new(proto.PrivateChatNotify) })
+ c.regMsg(PrivateChatReq, func() any { return new(proto.PrivateChatReq) })
+ c.regMsg(PrivateChatRsp, func() any { return new(proto.PrivateChatRsp) })
+ c.regMsg(ProfilePictureChangeNotify, func() any { return new(proto.ProfilePictureChangeNotify) })
+ c.regMsg(ProjectorOptionReq, func() any { return new(proto.ProjectorOptionReq) })
+ c.regMsg(ProjectorOptionRsp, func() any { return new(proto.ProjectorOptionRsp) })
+ c.regMsg(ProudSkillChangeNotify, func() any { return new(proto.ProudSkillChangeNotify) })
+ c.regMsg(ProudSkillExtraLevelNotify, func() any { return new(proto.ProudSkillExtraLevelNotify) })
+ c.regMsg(ProudSkillUpgradeReq, func() any { return new(proto.ProudSkillUpgradeReq) })
+ c.regMsg(ProudSkillUpgradeRsp, func() any { return new(proto.ProudSkillUpgradeRsp) })
+ c.regMsg(PublishCustomDungeonReq, func() any { return new(proto.PublishCustomDungeonReq) })
+ c.regMsg(PublishCustomDungeonRsp, func() any { return new(proto.PublishCustomDungeonRsp) })
+ c.regMsg(PublishUgcReq, func() any { return new(proto.PublishUgcReq) })
+ c.regMsg(PublishUgcRsp, func() any { return new(proto.PublishUgcRsp) })
+ c.regMsg(PullPrivateChatReq, func() any { return new(proto.PullPrivateChatReq) })
+ c.regMsg(PullPrivateChatRsp, func() any { return new(proto.PullPrivateChatRsp) })
+ c.regMsg(PullRecentChatReq, func() any { return new(proto.PullRecentChatReq) })
+ c.regMsg(PullRecentChatRsp, func() any { return new(proto.PullRecentChatRsp) })
+ c.regMsg(PushTipsAllDataNotify, func() any { return new(proto.PushTipsAllDataNotify) })
+ c.regMsg(PushTipsChangeNotify, func() any { return new(proto.PushTipsChangeNotify) })
+ c.regMsg(PushTipsReadFinishReq, func() any { return new(proto.PushTipsReadFinishReq) })
+ c.regMsg(PushTipsReadFinishRsp, func() any { return new(proto.PushTipsReadFinishRsp) })
+ c.regMsg(QueryCodexMonsterBeKilledNumReq, func() any { return new(proto.QueryCodexMonsterBeKilledNumReq) })
+ c.regMsg(QueryCodexMonsterBeKilledNumRsp, func() any { return new(proto.QueryCodexMonsterBeKilledNumRsp) })
+ c.regMsg(QueryPathReq, func() any { return new(proto.QueryPathReq) })
+ c.regMsg(QueryPathRsp, func() any { return new(proto.QueryPathRsp) })
+ c.regMsg(QuestCreateEntityReq, func() any { return new(proto.QuestCreateEntityReq) })
+ c.regMsg(QuestCreateEntityRsp, func() any { return new(proto.QuestCreateEntityRsp) })
+ c.regMsg(QuestDelNotify, func() any { return new(proto.QuestDelNotify) })
+ c.regMsg(QuestDestroyEntityReq, func() any { return new(proto.QuestDestroyEntityReq) })
+ c.regMsg(QuestDestroyEntityRsp, func() any { return new(proto.QuestDestroyEntityRsp) })
+ c.regMsg(QuestDestroyNpcReq, func() any { return new(proto.QuestDestroyNpcReq) })
+ c.regMsg(QuestDestroyNpcRsp, func() any { return new(proto.QuestDestroyNpcRsp) })
+ c.regMsg(QuestGlobalVarNotify, func() any { return new(proto.QuestGlobalVarNotify) })
+ c.regMsg(QuestListNotify, func() any { return new(proto.QuestListNotify) })
+ c.regMsg(QuestListUpdateNotify, func() any { return new(proto.QuestListUpdateNotify) })
+ c.regMsg(QuestProgressUpdateNotify, func() any { return new(proto.QuestProgressUpdateNotify) })
+ c.regMsg(QuestTransmitReq, func() any { return new(proto.QuestTransmitReq) })
+ c.regMsg(QuestTransmitRsp, func() any { return new(proto.QuestTransmitRsp) })
+ c.regMsg(QuestUpdateQuestTimeVarNotify, func() any { return new(proto.QuestUpdateQuestTimeVarNotify) })
+ c.regMsg(QuestUpdateQuestVarNotify, func() any { return new(proto.QuestUpdateQuestVarNotify) })
+ c.regMsg(QuestUpdateQuestVarReq, func() any { return new(proto.QuestUpdateQuestVarReq) })
+ c.regMsg(QuestUpdateQuestVarRsp, func() any { return new(proto.QuestUpdateQuestVarRsp) })
+ c.regMsg(QuickOpenActivityReq, func() any { return new(proto.QuickOpenActivityReq) })
+ c.regMsg(QuickOpenActivityRsp, func() any { return new(proto.QuickOpenActivityRsp) })
+ c.regMsg(QuickUseWidgetReq, func() any { return new(proto.QuickUseWidgetReq) })
+ c.regMsg(QuickUseWidgetRsp, func() any { return new(proto.QuickUseWidgetRsp) })
+ c.regMsg(ReadMailNotify, func() any { return new(proto.ReadMailNotify) })
+ c.regMsg(ReadNicknameAuditReq, func() any { return new(proto.ReadNicknameAuditReq) })
+ c.regMsg(ReadNicknameAuditRsp, func() any { return new(proto.ReadNicknameAuditRsp) })
+ c.regMsg(ReadPrivateChatReq, func() any { return new(proto.ReadPrivateChatReq) })
+ c.regMsg(ReadPrivateChatRsp, func() any { return new(proto.ReadPrivateChatRsp) })
+ c.regMsg(ReadSignatureAuditReq, func() any { return new(proto.ReadSignatureAuditReq) })
+ c.regMsg(ReadSignatureAuditRsp, func() any { return new(proto.ReadSignatureAuditRsp) })
+ c.regMsg(ReceivedTrialAvatarActivityRewardReq, func() any { return new(proto.ReceivedTrialAvatarActivityRewardReq) })
+ c.regMsg(ReceivedTrialAvatarActivityRewardRsp, func() any { return new(proto.ReceivedTrialAvatarActivityRewardRsp) })
+ c.regMsg(RechargeReq, func() any { return new(proto.RechargeReq) })
+ c.regMsg(RechargeRsp, func() any { return new(proto.RechargeRsp) })
+ c.regMsg(RedeemLegendaryKeyReq, func() any { return new(proto.RedeemLegendaryKeyReq) })
+ c.regMsg(RedeemLegendaryKeyRsp, func() any { return new(proto.RedeemLegendaryKeyRsp) })
+ c.regMsg(ReformFireworksReq, func() any { return new(proto.ReformFireworksReq) })
+ c.regMsg(ReformFireworksRsp, func() any { return new(proto.ReformFireworksRsp) })
+ c.regMsg(RefreshBackgroundAvatarReq, func() any { return new(proto.RefreshBackgroundAvatarReq) })
+ c.regMsg(RefreshBackgroundAvatarRsp, func() any { return new(proto.RefreshBackgroundAvatarRsp) })
+ c.regMsg(RefreshEntityAuthNotify, func() any { return new(proto.RefreshEntityAuthNotify) })
+ c.regMsg(RefreshRogueDiaryCardReq, func() any { return new(proto.RefreshRogueDiaryCardReq) })
+ c.regMsg(RefreshRogueDiaryCardRsp, func() any { return new(proto.RefreshRogueDiaryCardRsp) })
+ c.regMsg(RefreshRoguelikeDungeonCardReq, func() any { return new(proto.RefreshRoguelikeDungeonCardReq) })
+ c.regMsg(RefreshRoguelikeDungeonCardRsp, func() any { return new(proto.RefreshRoguelikeDungeonCardRsp) })
+ c.regMsg(RegionSearchChangeRegionNotify, func() any { return new(proto.RegionSearchChangeRegionNotify) })
+ c.regMsg(RegionSearchNotify, func() any { return new(proto.RegionSearchNotify) })
+ c.regMsg(RegionalPlayInfoNotify, func() any { return new(proto.RegionalPlayInfoNotify) })
+ c.regMsg(ReliquaryDecomposeReq, func() any { return new(proto.ReliquaryDecomposeReq) })
+ c.regMsg(ReliquaryDecomposeRsp, func() any { return new(proto.ReliquaryDecomposeRsp) })
+ c.regMsg(ReliquaryPromoteReq, func() any { return new(proto.ReliquaryPromoteReq) })
+ c.regMsg(ReliquaryPromoteRsp, func() any { return new(proto.ReliquaryPromoteRsp) })
+ c.regMsg(ReliquaryUpgradeReq, func() any { return new(proto.ReliquaryUpgradeReq) })
+ c.regMsg(ReliquaryUpgradeRsp, func() any { return new(proto.ReliquaryUpgradeRsp) })
+ c.regMsg(RemotePlayerWidgetNotify, func() any { return new(proto.RemotePlayerWidgetNotify) })
+ c.regMsg(RemoveBlacklistReq, func() any { return new(proto.RemoveBlacklistReq) })
+ c.regMsg(RemoveBlacklistRsp, func() any { return new(proto.RemoveBlacklistRsp) })
+ c.regMsg(RemoveCustomDungeonReq, func() any { return new(proto.RemoveCustomDungeonReq) })
+ c.regMsg(RemoveCustomDungeonRsp, func() any { return new(proto.RemoveCustomDungeonRsp) })
+ c.regMsg(RemoveRandTaskInfoNotify, func() any { return new(proto.RemoveRandTaskInfoNotify) })
+ c.regMsg(ReplayCustomDungeonReq, func() any { return new(proto.ReplayCustomDungeonReq) })
+ c.regMsg(ReplayCustomDungeonRsp, func() any { return new(proto.ReplayCustomDungeonRsp) })
+ c.regMsg(ReportFightAntiCheatNotify, func() any { return new(proto.ReportFightAntiCheatNotify) })
+ c.regMsg(ReportTrackingIOInfoNotify, func() any { return new(proto.ReportTrackingIOInfoNotify) })
+ c.regMsg(RequestLiveInfoReq, func() any { return new(proto.RequestLiveInfoReq) })
+ c.regMsg(RequestLiveInfoRsp, func() any { return new(proto.RequestLiveInfoRsp) })
+ c.regMsg(ReserveRogueDiaryAvatarReq, func() any { return new(proto.ReserveRogueDiaryAvatarReq) })
+ c.regMsg(ReserveRogueDiaryAvatarRsp, func() any { return new(proto.ReserveRogueDiaryAvatarRsp) })
+ c.regMsg(ResetRogueDiaryPlayReq, func() any { return new(proto.ResetRogueDiaryPlayReq) })
+ c.regMsg(ResetRogueDiaryPlayRsp, func() any { return new(proto.ResetRogueDiaryPlayRsp) })
+ c.regMsg(ResinCardDataUpdateNotify, func() any { return new(proto.ResinCardDataUpdateNotify) })
+ c.regMsg(ResinChangeNotify, func() any { return new(proto.ResinChangeNotify) })
+ c.regMsg(RestartEffigyChallengeReq, func() any { return new(proto.RestartEffigyChallengeReq) })
+ c.regMsg(RestartEffigyChallengeRsp, func() any { return new(proto.RestartEffigyChallengeRsp) })
+ c.regMsg(ResumeRogueDiaryDungeonReq, func() any { return new(proto.ResumeRogueDiaryDungeonReq) })
+ c.regMsg(ResumeRogueDiaryDungeonRsp, func() any { return new(proto.ResumeRogueDiaryDungeonRsp) })
+ c.regMsg(RetryCurRogueDiaryDungeonReq, func() any { return new(proto.RetryCurRogueDiaryDungeonReq) })
+ c.regMsg(RetryCurRogueDiaryDungeonRsp, func() any { return new(proto.RetryCurRogueDiaryDungeonRsp) })
+ c.regMsg(ReunionActivateNotify, func() any { return new(proto.ReunionActivateNotify) })
+ c.regMsg(ReunionBriefInfoReq, func() any { return new(proto.ReunionBriefInfoReq) })
+ c.regMsg(ReunionBriefInfoRsp, func() any { return new(proto.ReunionBriefInfoRsp) })
+ c.regMsg(ReunionDailyRefreshNotify, func() any { return new(proto.ReunionDailyRefreshNotify) })
+ c.regMsg(ReunionPrivilegeChangeNotify, func() any { return new(proto.ReunionPrivilegeChangeNotify) })
+ c.regMsg(ReunionSettleNotify, func() any { return new(proto.ReunionSettleNotify) })
+ c.regMsg(RobotPushPlayerDataNotify, func() any { return new(proto.RobotPushPlayerDataNotify) })
+ c.regMsg(RogueCellUpdateNotify, func() any { return new(proto.RogueCellUpdateNotify) })
+ c.regMsg(RogueDiaryCoinAddNotify, func() any { return new(proto.RogueDiaryCoinAddNotify) })
+ c.regMsg(RogueDiaryDungeonInfoNotify, func() any { return new(proto.RogueDiaryDungeonInfoNotify) })
+ c.regMsg(RogueDiaryDungeonSettleNotify, func() any { return new(proto.RogueDiaryDungeonSettleNotify) })
+ c.regMsg(RogueDiaryRepairInfoNotify, func() any { return new(proto.RogueDiaryRepairInfoNotify) })
+ c.regMsg(RogueDiaryReviveAvatarReq, func() any { return new(proto.RogueDiaryReviveAvatarReq) })
+ c.regMsg(RogueDiaryReviveAvatarRsp, func() any { return new(proto.RogueDiaryReviveAvatarRsp) })
+ c.regMsg(RogueDiaryTiredAvatarNotify, func() any { return new(proto.RogueDiaryTiredAvatarNotify) })
+ c.regMsg(RogueDungeonPlayerCellChangeNotify, func() any { return new(proto.RogueDungeonPlayerCellChangeNotify) })
+ c.regMsg(RogueFinishRepairReq, func() any { return new(proto.RogueFinishRepairReq) })
+ c.regMsg(RogueFinishRepairRsp, func() any { return new(proto.RogueFinishRepairRsp) })
+ c.regMsg(RogueHealAvatarsReq, func() any { return new(proto.RogueHealAvatarsReq) })
+ c.regMsg(RogueHealAvatarsRsp, func() any { return new(proto.RogueHealAvatarsRsp) })
+ c.regMsg(RogueResumeDungeonReq, func() any { return new(proto.RogueResumeDungeonReq) })
+ c.regMsg(RogueResumeDungeonRsp, func() any { return new(proto.RogueResumeDungeonRsp) })
+ c.regMsg(RogueSwitchAvatarReq, func() any { return new(proto.RogueSwitchAvatarReq) })
+ c.regMsg(RogueSwitchAvatarRsp, func() any { return new(proto.RogueSwitchAvatarRsp) })
+ c.regMsg(RoguelikeCardGachaNotify, func() any { return new(proto.RoguelikeCardGachaNotify) })
+ c.regMsg(RoguelikeEffectDataNotify, func() any { return new(proto.RoguelikeEffectDataNotify) })
+ c.regMsg(RoguelikeEffectViewReq, func() any { return new(proto.RoguelikeEffectViewReq) })
+ c.regMsg(RoguelikeEffectViewRsp, func() any { return new(proto.RoguelikeEffectViewRsp) })
+ c.regMsg(RoguelikeGiveUpReq, func() any { return new(proto.RoguelikeGiveUpReq) })
+ c.regMsg(RoguelikeGiveUpRsp, func() any { return new(proto.RoguelikeGiveUpRsp) })
+ c.regMsg(RoguelikeMistClearNotify, func() any { return new(proto.RoguelikeMistClearNotify) })
+ c.regMsg(RoguelikeRefreshCardCostUpdateNotify, func() any { return new(proto.RoguelikeRefreshCardCostUpdateNotify) })
+ c.regMsg(RoguelikeResourceBonusPropUpdateNotify, func() any { return new(proto.RoguelikeResourceBonusPropUpdateNotify) })
+ c.regMsg(RoguelikeRuneRecordUpdateNotify, func() any { return new(proto.RoguelikeRuneRecordUpdateNotify) })
+ c.regMsg(RoguelikeSelectAvatarAndEnterDungeonReq, func() any { return new(proto.RoguelikeSelectAvatarAndEnterDungeonReq) })
+ c.regMsg(RoguelikeSelectAvatarAndEnterDungeonRsp, func() any { return new(proto.RoguelikeSelectAvatarAndEnterDungeonRsp) })
+ c.regMsg(RoguelikeTakeStageFirstPassRewardReq, func() any { return new(proto.RoguelikeTakeStageFirstPassRewardReq) })
+ c.regMsg(RoguelikeTakeStageFirstPassRewardRsp, func() any { return new(proto.RoguelikeTakeStageFirstPassRewardRsp) })
+ c.regMsg(SalesmanDeliverItemReq, func() any { return new(proto.SalesmanDeliverItemReq) })
+ c.regMsg(SalesmanDeliverItemRsp, func() any { return new(proto.SalesmanDeliverItemRsp) })
+ c.regMsg(SalesmanTakeRewardReq, func() any { return new(proto.SalesmanTakeRewardReq) })
+ c.regMsg(SalesmanTakeRewardRsp, func() any { return new(proto.SalesmanTakeRewardRsp) })
+ c.regMsg(SalesmanTakeSpecialRewardReq, func() any { return new(proto.SalesmanTakeSpecialRewardReq) })
+ c.regMsg(SalesmanTakeSpecialRewardRsp, func() any { return new(proto.SalesmanTakeSpecialRewardRsp) })
+ c.regMsg(SalvageEscortRestartReq, func() any { return new(proto.SalvageEscortRestartReq) })
+ c.regMsg(SalvageEscortRestartRsp, func() any { return new(proto.SalvageEscortRestartRsp) })
+ c.regMsg(SalvageEscortSettleNotify, func() any { return new(proto.SalvageEscortSettleNotify) })
+ c.regMsg(SalvagePreventRestartReq, func() any { return new(proto.SalvagePreventRestartReq) })
+ c.regMsg(SalvagePreventRestartRsp, func() any { return new(proto.SalvagePreventRestartRsp) })
+ c.regMsg(SalvagePreventSettleNotify, func() any { return new(proto.SalvagePreventSettleNotify) })
+ c.regMsg(SaveCoopDialogReq, func() any { return new(proto.SaveCoopDialogReq) })
+ c.regMsg(SaveCoopDialogRsp, func() any { return new(proto.SaveCoopDialogRsp) })
+ c.regMsg(SaveCustomDungeonRoomReq, func() any { return new(proto.SaveCustomDungeonRoomReq) })
+ c.regMsg(SaveCustomDungeonRoomRsp, func() any { return new(proto.SaveCustomDungeonRoomRsp) })
+ c.regMsg(SaveMainCoopReq, func() any { return new(proto.SaveMainCoopReq) })
+ c.regMsg(SaveMainCoopRsp, func() any { return new(proto.SaveMainCoopRsp) })
+ c.regMsg(SaveUgcReq, func() any { return new(proto.SaveUgcReq) })
+ c.regMsg(SaveUgcRsp, func() any { return new(proto.SaveUgcRsp) })
+ c.regMsg(SceneAreaUnlockNotify, func() any { return new(proto.SceneAreaUnlockNotify) })
+ c.regMsg(SceneAreaWeatherNotify, func() any { return new(proto.SceneAreaWeatherNotify) })
+ c.regMsg(SceneAudioNotify, func() any { return new(proto.SceneAudioNotify) })
+ c.regMsg(SceneAvatarStaminaStepReq, func() any { return new(proto.SceneAvatarStaminaStepReq) })
+ c.regMsg(SceneAvatarStaminaStepRsp, func() any { return new(proto.SceneAvatarStaminaStepRsp) })
+ c.regMsg(SceneCreateEntityReq, func() any { return new(proto.SceneCreateEntityReq) })
+ c.regMsg(SceneCreateEntityRsp, func() any { return new(proto.SceneCreateEntityRsp) })
+ c.regMsg(SceneDataNotify, func() any { return new(proto.SceneDataNotify) })
+ c.regMsg(SceneDestroyEntityReq, func() any { return new(proto.SceneDestroyEntityReq) })
+ c.regMsg(SceneDestroyEntityRsp, func() any { return new(proto.SceneDestroyEntityRsp) })
+ c.regMsg(SceneEntitiesMoveCombineNotify, func() any { return new(proto.SceneEntitiesMoveCombineNotify) })
+ c.regMsg(SceneEntitiesMovesReq, func() any { return new(proto.SceneEntitiesMovesReq) })
+ c.regMsg(SceneEntitiesMovesRsp, func() any { return new(proto.SceneEntitiesMovesRsp) })
+ c.regMsg(SceneEntityAppearNotify, func() any { return new(proto.SceneEntityAppearNotify) })
+ c.regMsg(SceneEntityDisappearNotify, func() any { return new(proto.SceneEntityDisappearNotify) })
+ c.regMsg(SceneEntityDrownReq, func() any { return new(proto.SceneEntityDrownReq) })
+ c.regMsg(SceneEntityDrownRsp, func() any { return new(proto.SceneEntityDrownRsp) })
+ c.regMsg(SceneEntityMoveNotify, func() any { return new(proto.SceneEntityMoveNotify) })
+ c.regMsg(SceneEntityMoveReq, func() any { return new(proto.SceneEntityMoveReq) })
+ c.regMsg(SceneEntityMoveRsp, func() any { return new(proto.SceneEntityMoveRsp) })
+ c.regMsg(SceneEntityUpdateNotify, func() any { return new(proto.SceneEntityUpdateNotify) })
+ c.regMsg(SceneForceLockNotify, func() any { return new(proto.SceneForceLockNotify) })
+ c.regMsg(SceneForceUnlockNotify, func() any { return new(proto.SceneForceUnlockNotify) })
+ c.regMsg(SceneGalleryInfoNotify, func() any { return new(proto.SceneGalleryInfoNotify) })
+ c.regMsg(SceneGalleryVintageHuntingSettleNotify, func() any { return new(proto.SceneGalleryVintageHuntingSettleNotify) })
+ c.regMsg(SceneInitFinishReq, func() any { return new(proto.SceneInitFinishReq) })
+ c.regMsg(SceneInitFinishRsp, func() any { return new(proto.SceneInitFinishRsp) })
+ c.regMsg(SceneKickPlayerNotify, func() any { return new(proto.SceneKickPlayerNotify) })
+ c.regMsg(SceneKickPlayerReq, func() any { return new(proto.SceneKickPlayerReq) })
+ c.regMsg(SceneKickPlayerRsp, func() any { return new(proto.SceneKickPlayerRsp) })
+ c.regMsg(ScenePlayBattleInfoListNotify, func() any { return new(proto.ScenePlayBattleInfoListNotify) })
+ c.regMsg(ScenePlayBattleInfoNotify, func() any { return new(proto.ScenePlayBattleInfoNotify) })
+ c.regMsg(ScenePlayBattleInterruptNotify, func() any { return new(proto.ScenePlayBattleInterruptNotify) })
+ c.regMsg(ScenePlayBattleResultNotify, func() any { return new(proto.ScenePlayBattleResultNotify) })
+ c.regMsg(ScenePlayBattleUidOpNotify, func() any { return new(proto.ScenePlayBattleUidOpNotify) })
+ c.regMsg(ScenePlayGuestReplyInviteReq, func() any { return new(proto.ScenePlayGuestReplyInviteReq) })
+ c.regMsg(ScenePlayGuestReplyInviteRsp, func() any { return new(proto.ScenePlayGuestReplyInviteRsp) })
+ c.regMsg(ScenePlayGuestReplyNotify, func() any { return new(proto.ScenePlayGuestReplyNotify) })
+ c.regMsg(ScenePlayInfoListNotify, func() any { return new(proto.ScenePlayInfoListNotify) })
+ c.regMsg(ScenePlayInviteResultNotify, func() any { return new(proto.ScenePlayInviteResultNotify) })
+ c.regMsg(ScenePlayOutofRegionNotify, func() any { return new(proto.ScenePlayOutofRegionNotify) })
+ c.regMsg(ScenePlayOwnerCheckReq, func() any { return new(proto.ScenePlayOwnerCheckReq) })
+ c.regMsg(ScenePlayOwnerCheckRsp, func() any { return new(proto.ScenePlayOwnerCheckRsp) })
+ c.regMsg(ScenePlayOwnerInviteNotify, func() any { return new(proto.ScenePlayOwnerInviteNotify) })
+ c.regMsg(ScenePlayOwnerStartInviteReq, func() any { return new(proto.ScenePlayOwnerStartInviteReq) })
+ c.regMsg(ScenePlayOwnerStartInviteRsp, func() any { return new(proto.ScenePlayOwnerStartInviteRsp) })
+ c.regMsg(ScenePlayerBackgroundAvatarRefreshNotify, func() any { return new(proto.ScenePlayerBackgroundAvatarRefreshNotify) })
+ c.regMsg(ScenePlayerInfoNotify, func() any { return new(proto.ScenePlayerInfoNotify) })
+ c.regMsg(ScenePlayerLocationNotify, func() any { return new(proto.ScenePlayerLocationNotify) })
+ c.regMsg(ScenePlayerSoundNotify, func() any { return new(proto.ScenePlayerSoundNotify) })
+ c.regMsg(ScenePointUnlockNotify, func() any { return new(proto.ScenePointUnlockNotify) })
+ c.regMsg(SceneRouteChangeNotify, func() any { return new(proto.SceneRouteChangeNotify) })
+ c.regMsg(SceneTeamUpdateNotify, func() any { return new(proto.SceneTeamUpdateNotify) })
+ c.regMsg(SceneTimeNotify, func() any { return new(proto.SceneTimeNotify) })
+ c.regMsg(SceneTransToPointReq, func() any { return new(proto.SceneTransToPointReq) })
+ c.regMsg(SceneTransToPointRsp, func() any { return new(proto.SceneTransToPointRsp) })
+ c.regMsg(SeaLampCoinNotify, func() any { return new(proto.SeaLampCoinNotify) })
+ c.regMsg(SeaLampContributeItemReq, func() any { return new(proto.SeaLampContributeItemReq) })
+ c.regMsg(SeaLampContributeItemRsp, func() any { return new(proto.SeaLampContributeItemRsp) })
+ c.regMsg(SeaLampFlyLampNotify, func() any { return new(proto.SeaLampFlyLampNotify) })
+ c.regMsg(SeaLampFlyLampReq, func() any { return new(proto.SeaLampFlyLampReq) })
+ c.regMsg(SeaLampFlyLampRsp, func() any { return new(proto.SeaLampFlyLampRsp) })
+ c.regMsg(SeaLampPopularityNotify, func() any { return new(proto.SeaLampPopularityNotify) })
+ c.regMsg(SeaLampTakeContributionRewardReq, func() any { return new(proto.SeaLampTakeContributionRewardReq) })
+ c.regMsg(SeaLampTakeContributionRewardRsp, func() any { return new(proto.SeaLampTakeContributionRewardRsp) })
+ c.regMsg(SeaLampTakePhaseRewardReq, func() any { return new(proto.SeaLampTakePhaseRewardReq) })
+ c.regMsg(SeaLampTakePhaseRewardRsp, func() any { return new(proto.SeaLampTakePhaseRewardRsp) })
+ c.regMsg(SealBattleBeginNotify, func() any { return new(proto.SealBattleBeginNotify) })
+ c.regMsg(SealBattleEndNotify, func() any { return new(proto.SealBattleEndNotify) })
+ c.regMsg(SealBattleProgressNotify, func() any { return new(proto.SealBattleProgressNotify) })
+ c.regMsg(SearchCustomDungeonReq, func() any { return new(proto.SearchCustomDungeonReq) })
+ c.regMsg(SearchCustomDungeonRsp, func() any { return new(proto.SearchCustomDungeonRsp) })
+ c.regMsg(SeeMonsterReq, func() any { return new(proto.SeeMonsterReq) })
+ c.regMsg(SeeMonsterRsp, func() any { return new(proto.SeeMonsterRsp) })
+ c.regMsg(SelectAsterMidDifficultyReq, func() any { return new(proto.SelectAsterMidDifficultyReq) })
+ c.regMsg(SelectAsterMidDifficultyRsp, func() any { return new(proto.SelectAsterMidDifficultyRsp) })
+ c.regMsg(SelectEffigyChallengeConditionReq, func() any { return new(proto.SelectEffigyChallengeConditionReq) })
+ c.regMsg(SelectEffigyChallengeConditionRsp, func() any { return new(proto.SelectEffigyChallengeConditionRsp) })
+ c.regMsg(SelectRoguelikeDungeonCardReq, func() any { return new(proto.SelectRoguelikeDungeonCardReq) })
+ c.regMsg(SelectRoguelikeDungeonCardRsp, func() any { return new(proto.SelectRoguelikeDungeonCardRsp) })
+ c.regMsg(SelectWorktopOptionReq, func() any { return new(proto.SelectWorktopOptionReq) })
+ c.regMsg(SelectWorktopOptionRsp, func() any { return new(proto.SelectWorktopOptionRsp) })
+ c.regMsg(ServerAnnounceNotify, func() any { return new(proto.ServerAnnounceNotify) })
+ c.regMsg(ServerAnnounceRevokeNotify, func() any { return new(proto.ServerAnnounceRevokeNotify) })
+ c.regMsg(ServerBuffChangeNotify, func() any { return new(proto.ServerBuffChangeNotify) })
+ c.regMsg(ServerCombatEndNotify, func() any { return new(proto.ServerCombatEndNotify) })
+ c.regMsg(ServerCondMeetQuestListUpdateNotify, func() any { return new(proto.ServerCondMeetQuestListUpdateNotify) })
+ c.regMsg(ServerDisconnectClientNotify, func() any { return new(proto.ServerDisconnectClientNotify) })
+ c.regMsg(ServerGlobalValueChangeNotify, func() any { return new(proto.ServerGlobalValueChangeNotify) })
+ c.regMsg(ServerLogNotify, func() any { return new(proto.ServerLogNotify) })
+ c.regMsg(ServerMessageNotify, func() any { return new(proto.ServerMessageNotify) })
+ c.regMsg(ServerTimeNotify, func() any { return new(proto.ServerTimeNotify) })
+ c.regMsg(ServerTryCancelGeneralMatchNotify, func() any { return new(proto.ServerTryCancelGeneralMatchNotify) })
+ c.regMsg(ServerUpdateGlobalValueNotify, func() any { return new(proto.ServerUpdateGlobalValueNotify) })
+ c.regMsg(SetBattlePassViewedReq, func() any { return new(proto.SetBattlePassViewedReq) })
+ c.regMsg(SetBattlePassViewedRsp, func() any { return new(proto.SetBattlePassViewedRsp) })
+ c.regMsg(SetChatEmojiCollectionReq, func() any { return new(proto.SetChatEmojiCollectionReq) })
+ c.regMsg(SetChatEmojiCollectionRsp, func() any { return new(proto.SetChatEmojiCollectionRsp) })
+ c.regMsg(SetCodexPushtipsReadReq, func() any { return new(proto.SetCodexPushtipsReadReq) })
+ c.regMsg(SetCodexPushtipsReadRsp, func() any { return new(proto.SetCodexPushtipsReadRsp) })
+ c.regMsg(SetCoopChapterViewedReq, func() any { return new(proto.SetCoopChapterViewedReq) })
+ c.regMsg(SetCoopChapterViewedRsp, func() any { return new(proto.SetCoopChapterViewedRsp) })
+ c.regMsg(SetCurExpeditionChallengeIdReq, func() any { return new(proto.SetCurExpeditionChallengeIdReq) })
+ c.regMsg(SetCurExpeditionChallengeIdRsp, func() any { return new(proto.SetCurExpeditionChallengeIdRsp) })
+ c.regMsg(SetEntityClientDataNotify, func() any { return new(proto.SetEntityClientDataNotify) })
+ c.regMsg(SetEquipLockStateReq, func() any { return new(proto.SetEquipLockStateReq) })
+ c.regMsg(SetEquipLockStateRsp, func() any { return new(proto.SetEquipLockStateRsp) })
+ c.regMsg(SetFriendEnterHomeOptionReq, func() any { return new(proto.SetFriendEnterHomeOptionReq) })
+ c.regMsg(SetFriendEnterHomeOptionRsp, func() any { return new(proto.SetFriendEnterHomeOptionRsp) })
+ c.regMsg(SetFriendRemarkNameReq, func() any { return new(proto.SetFriendRemarkNameReq) })
+ c.regMsg(SetFriendRemarkNameRsp, func() any { return new(proto.SetFriendRemarkNameRsp) })
+ c.regMsg(SetH5ActivityRedDotTimestampReq, func() any { return new(proto.SetH5ActivityRedDotTimestampReq) })
+ c.regMsg(SetH5ActivityRedDotTimestampRsp, func() any { return new(proto.SetH5ActivityRedDotTimestampRsp) })
+ c.regMsg(SetIsAutoUnlockSpecificEquipReq, func() any { return new(proto.SetIsAutoUnlockSpecificEquipReq) })
+ c.regMsg(SetIsAutoUnlockSpecificEquipRsp, func() any { return new(proto.SetIsAutoUnlockSpecificEquipRsp) })
+ c.regMsg(SetLimitOptimizationNotify, func() any { return new(proto.SetLimitOptimizationNotify) })
+ c.regMsg(SetNameCardReq, func() any { return new(proto.SetNameCardReq) })
+ c.regMsg(SetNameCardRsp, func() any { return new(proto.SetNameCardRsp) })
+ c.regMsg(SetOpenStateReq, func() any { return new(proto.SetOpenStateReq) })
+ c.regMsg(SetOpenStateRsp, func() any { return new(proto.SetOpenStateRsp) })
+ c.regMsg(SetPlayerBirthdayReq, func() any { return new(proto.SetPlayerBirthdayReq) })
+ c.regMsg(SetPlayerBirthdayRsp, func() any { return new(proto.SetPlayerBirthdayRsp) })
+ c.regMsg(SetPlayerBornDataReq, func() any { return new(proto.SetPlayerBornDataReq) })
+ c.regMsg(SetPlayerBornDataRsp, func() any { return new(proto.SetPlayerBornDataRsp) })
+ c.regMsg(SetPlayerHeadImageReq, func() any { return new(proto.SetPlayerHeadImageReq) })
+ c.regMsg(SetPlayerHeadImageRsp, func() any { return new(proto.SetPlayerHeadImageRsp) })
+ c.regMsg(SetPlayerNameReq, func() any { return new(proto.SetPlayerNameReq) })
+ c.regMsg(SetPlayerNameRsp, func() any { return new(proto.SetPlayerNameRsp) })
+ c.regMsg(SetPlayerPropReq, func() any { return new(proto.SetPlayerPropReq) })
+ c.regMsg(SetPlayerPropRsp, func() any { return new(proto.SetPlayerPropRsp) })
+ c.regMsg(SetPlayerSignatureReq, func() any { return new(proto.SetPlayerSignatureReq) })
+ c.regMsg(SetPlayerSignatureRsp, func() any { return new(proto.SetPlayerSignatureRsp) })
+ c.regMsg(SetSceneWeatherAreaReq, func() any { return new(proto.SetSceneWeatherAreaReq) })
+ c.regMsg(SetSceneWeatherAreaRsp, func() any { return new(proto.SetSceneWeatherAreaRsp) })
+ c.regMsg(SetUpAvatarTeamReq, func() any { return new(proto.SetUpAvatarTeamReq) })
+ c.regMsg(SetUpAvatarTeamRsp, func() any { return new(proto.SetUpAvatarTeamRsp) })
+ c.regMsg(SetUpLunchBoxWidgetReq, func() any { return new(proto.SetUpLunchBoxWidgetReq) })
+ c.regMsg(SetUpLunchBoxWidgetRsp, func() any { return new(proto.SetUpLunchBoxWidgetRsp) })
+ c.regMsg(SetWidgetSlotReq, func() any { return new(proto.SetWidgetSlotReq) })
+ c.regMsg(SetWidgetSlotRsp, func() any { return new(proto.SetWidgetSlotRsp) })
+ c.regMsg(ShowClientGuideNotify, func() any { return new(proto.ShowClientGuideNotify) })
+ c.regMsg(ShowClientTutorialNotify, func() any { return new(proto.ShowClientTutorialNotify) })
+ c.regMsg(ShowCommonTipsNotify, func() any { return new(proto.ShowCommonTipsNotify) })
+ c.regMsg(ShowMessageNotify, func() any { return new(proto.ShowMessageNotify) })
+ c.regMsg(ShowTemplateReminderNotify, func() any { return new(proto.ShowTemplateReminderNotify) })
+ c.regMsg(SignInInfoReq, func() any { return new(proto.SignInInfoReq) })
+ c.regMsg(SignInInfoRsp, func() any { return new(proto.SignInInfoRsp) })
+ c.regMsg(SignatureAuditConfigNotify, func() any { return new(proto.SignatureAuditConfigNotify) })
+ c.regMsg(SkyCrystalDetectorDataUpdateNotify, func() any { return new(proto.SkyCrystalDetectorDataUpdateNotify) })
+ c.regMsg(SocialDataNotify, func() any { return new(proto.SocialDataNotify) })
+ c.regMsg(SpiceActivityFinishMakeSpiceReq, func() any { return new(proto.SpiceActivityFinishMakeSpiceReq) })
+ c.regMsg(SpiceActivityFinishMakeSpiceRsp, func() any { return new(proto.SpiceActivityFinishMakeSpiceRsp) })
+ c.regMsg(SpiceActivityGivingRecordNotify, func() any { return new(proto.SpiceActivityGivingRecordNotify) })
+ c.regMsg(SpiceActivityProcessFoodReq, func() any { return new(proto.SpiceActivityProcessFoodReq) })
+ c.regMsg(SpiceActivityProcessFoodRsp, func() any { return new(proto.SpiceActivityProcessFoodRsp) })
+ c.regMsg(SpringUseReq, func() any { return new(proto.SpringUseReq) })
+ c.regMsg(SpringUseRsp, func() any { return new(proto.SpringUseRsp) })
+ c.regMsg(StartArenaChallengeLevelReq, func() any { return new(proto.StartArenaChallengeLevelReq) })
+ c.regMsg(StartArenaChallengeLevelRsp, func() any { return new(proto.StartArenaChallengeLevelRsp) })
+ c.regMsg(StartBuoyantCombatGalleryReq, func() any { return new(proto.StartBuoyantCombatGalleryReq) })
+ c.regMsg(StartBuoyantCombatGalleryRsp, func() any { return new(proto.StartBuoyantCombatGalleryRsp) })
+ c.regMsg(StartCoopPointReq, func() any { return new(proto.StartCoopPointReq) })
+ c.regMsg(StartCoopPointRsp, func() any { return new(proto.StartCoopPointRsp) })
+ c.regMsg(StartEffigyChallengeReq, func() any { return new(proto.StartEffigyChallengeReq) })
+ c.regMsg(StartEffigyChallengeRsp, func() any { return new(proto.StartEffigyChallengeRsp) })
+ c.regMsg(StartFishingReq, func() any { return new(proto.StartFishingReq) })
+ c.regMsg(StartFishingRsp, func() any { return new(proto.StartFishingRsp) })
+ c.regMsg(StartRogueDiaryPlayReq, func() any { return new(proto.StartRogueDiaryPlayReq) })
+ c.regMsg(StartRogueDiaryPlayRsp, func() any { return new(proto.StartRogueDiaryPlayRsp) })
+ c.regMsg(StartRogueDiaryRoomReq, func() any { return new(proto.StartRogueDiaryRoomReq) })
+ c.regMsg(StartRogueDiaryRoomRsp, func() any { return new(proto.StartRogueDiaryRoomRsp) })
+ c.regMsg(StartRogueEliteCellChallengeReq, func() any { return new(proto.StartRogueEliteCellChallengeReq) })
+ c.regMsg(StartRogueEliteCellChallengeRsp, func() any { return new(proto.StartRogueEliteCellChallengeRsp) })
+ c.regMsg(StartRogueNormalCellChallengeReq, func() any { return new(proto.StartRogueNormalCellChallengeReq) })
+ c.regMsg(StartRogueNormalCellChallengeRsp, func() any { return new(proto.StartRogueNormalCellChallengeRsp) })
+ c.regMsg(StopReminderNotify, func() any { return new(proto.StopReminderNotify) })
+ c.regMsg(StoreCustomDungeonReq, func() any { return new(proto.StoreCustomDungeonReq) })
+ c.regMsg(StoreCustomDungeonRsp, func() any { return new(proto.StoreCustomDungeonRsp) })
+ c.regMsg(StoreItemChangeNotify, func() any { return new(proto.StoreItemChangeNotify) })
+ c.regMsg(StoreItemDelNotify, func() any { return new(proto.StoreItemDelNotify) })
+ c.regMsg(StoreWeightLimitNotify, func() any { return new(proto.StoreWeightLimitNotify) })
+ c.regMsg(SubmitInferenceWordReq, func() any { return new(proto.SubmitInferenceWordReq) })
+ c.regMsg(SubmitInferenceWordRsp, func() any { return new(proto.SubmitInferenceWordRsp) })
+ c.regMsg(SummerTimeFloatSignalPositionNotify, func() any { return new(proto.SummerTimeFloatSignalPositionNotify) })
+ c.regMsg(SummerTimeFloatSignalUpdateNotify, func() any { return new(proto.SummerTimeFloatSignalUpdateNotify) })
+ c.regMsg(SummerTimeSprintBoatRestartReq, func() any { return new(proto.SummerTimeSprintBoatRestartReq) })
+ c.regMsg(SummerTimeSprintBoatRestartRsp, func() any { return new(proto.SummerTimeSprintBoatRestartRsp) })
+ c.regMsg(SummerTimeSprintBoatSettleNotify, func() any { return new(proto.SummerTimeSprintBoatSettleNotify) })
+ c.regMsg(SummerTimeV2BoatSettleNotify, func() any { return new(proto.SummerTimeV2BoatSettleNotify) })
+ c.regMsg(SummerTimeV2RestartBoatGalleryReq, func() any { return new(proto.SummerTimeV2RestartBoatGalleryReq) })
+ c.regMsg(SummerTimeV2RestartBoatGalleryRsp, func() any { return new(proto.SummerTimeV2RestartBoatGalleryRsp) })
+ c.regMsg(SummerTimeV2RestartDungeonReq, func() any { return new(proto.SummerTimeV2RestartDungeonReq) })
+ c.regMsg(SummerTimeV2RestartDungeonRsp, func() any { return new(proto.SummerTimeV2RestartDungeonRsp) })
+ c.regMsg(SumoDungeonSettleNotify, func() any { return new(proto.SumoDungeonSettleNotify) })
+ c.regMsg(SumoEnterDungeonNotify, func() any { return new(proto.SumoEnterDungeonNotify) })
+ c.regMsg(SumoLeaveDungeonNotify, func() any { return new(proto.SumoLeaveDungeonNotify) })
+ c.regMsg(SumoRestartDungeonReq, func() any { return new(proto.SumoRestartDungeonReq) })
+ c.regMsg(SumoRestartDungeonRsp, func() any { return new(proto.SumoRestartDungeonRsp) })
+ c.regMsg(SumoSaveTeamReq, func() any { return new(proto.SumoSaveTeamReq) })
+ c.regMsg(SumoSaveTeamRsp, func() any { return new(proto.SumoSaveTeamRsp) })
+ c.regMsg(SumoSelectTeamAndEnterDungeonReq, func() any { return new(proto.SumoSelectTeamAndEnterDungeonReq) })
+ c.regMsg(SumoSelectTeamAndEnterDungeonRsp, func() any { return new(proto.SumoSelectTeamAndEnterDungeonRsp) })
+ c.regMsg(SumoSetNoSwitchPunishTimeNotify, func() any { return new(proto.SumoSetNoSwitchPunishTimeNotify) })
+ c.regMsg(SumoSwitchTeamReq, func() any { return new(proto.SumoSwitchTeamReq) })
+ c.regMsg(SumoSwitchTeamRsp, func() any { return new(proto.SumoSwitchTeamRsp) })
+ c.regMsg(SyncScenePlayTeamEntityNotify, func() any { return new(proto.SyncScenePlayTeamEntityNotify) })
+ c.regMsg(SyncTeamEntityNotify, func() any { return new(proto.SyncTeamEntityNotify) })
+ c.regMsg(TakeAchievementGoalRewardReq, func() any { return new(proto.TakeAchievementGoalRewardReq) })
+ c.regMsg(TakeAchievementGoalRewardRsp, func() any { return new(proto.TakeAchievementGoalRewardRsp) })
+ c.regMsg(TakeAchievementRewardReq, func() any { return new(proto.TakeAchievementRewardReq) })
+ c.regMsg(TakeAchievementRewardRsp, func() any { return new(proto.TakeAchievementRewardRsp) })
+ c.regMsg(TakeAsterSpecialRewardReq, func() any { return new(proto.TakeAsterSpecialRewardReq) })
+ c.regMsg(TakeAsterSpecialRewardRsp, func() any { return new(proto.TakeAsterSpecialRewardRsp) })
+ c.regMsg(TakeBackGivingItemReq, func() any { return new(proto.TakeBackGivingItemReq) })
+ c.regMsg(TakeBackGivingItemRsp, func() any { return new(proto.TakeBackGivingItemRsp) })
+ c.regMsg(TakeBattlePassMissionPointReq, func() any { return new(proto.TakeBattlePassMissionPointReq) })
+ c.regMsg(TakeBattlePassMissionPointRsp, func() any { return new(proto.TakeBattlePassMissionPointRsp) })
+ c.regMsg(TakeBattlePassRewardReq, func() any { return new(proto.TakeBattlePassRewardReq) })
+ c.regMsg(TakeBattlePassRewardRsp, func() any { return new(proto.TakeBattlePassRewardRsp) })
+ c.regMsg(TakeCityReputationExploreRewardReq, func() any { return new(proto.TakeCityReputationExploreRewardReq) })
+ c.regMsg(TakeCityReputationExploreRewardRsp, func() any { return new(proto.TakeCityReputationExploreRewardRsp) })
+ c.regMsg(TakeCityReputationLevelRewardReq, func() any { return new(proto.TakeCityReputationLevelRewardReq) })
+ c.regMsg(TakeCityReputationLevelRewardRsp, func() any { return new(proto.TakeCityReputationLevelRewardRsp) })
+ c.regMsg(TakeCityReputationParentQuestReq, func() any { return new(proto.TakeCityReputationParentQuestReq) })
+ c.regMsg(TakeCityReputationParentQuestRsp, func() any { return new(proto.TakeCityReputationParentQuestRsp) })
+ c.regMsg(TakeCompoundOutputReq, func() any { return new(proto.TakeCompoundOutputReq) })
+ c.regMsg(TakeCompoundOutputRsp, func() any { return new(proto.TakeCompoundOutputRsp) })
+ c.regMsg(TakeCoopRewardReq, func() any { return new(proto.TakeCoopRewardReq) })
+ c.regMsg(TakeCoopRewardRsp, func() any { return new(proto.TakeCoopRewardRsp) })
+ c.regMsg(TakeDeliveryDailyRewardReq, func() any { return new(proto.TakeDeliveryDailyRewardReq) })
+ c.regMsg(TakeDeliveryDailyRewardRsp, func() any { return new(proto.TakeDeliveryDailyRewardRsp) })
+ c.regMsg(TakeEffigyFirstPassRewardReq, func() any { return new(proto.TakeEffigyFirstPassRewardReq) })
+ c.regMsg(TakeEffigyFirstPassRewardRsp, func() any { return new(proto.TakeEffigyFirstPassRewardRsp) })
+ c.regMsg(TakeEffigyRewardReq, func() any { return new(proto.TakeEffigyRewardReq) })
+ c.regMsg(TakeEffigyRewardRsp, func() any { return new(proto.TakeEffigyRewardRsp) })
+ c.regMsg(TakeFirstShareRewardReq, func() any { return new(proto.TakeFirstShareRewardReq) })
+ c.regMsg(TakeFirstShareRewardRsp, func() any { return new(proto.TakeFirstShareRewardRsp) })
+ c.regMsg(TakeFurnitureMakeReq, func() any { return new(proto.TakeFurnitureMakeReq) })
+ c.regMsg(TakeFurnitureMakeRsp, func() any { return new(proto.TakeFurnitureMakeRsp) })
+ c.regMsg(TakeHuntingOfferReq, func() any { return new(proto.TakeHuntingOfferReq) })
+ c.regMsg(TakeHuntingOfferRsp, func() any { return new(proto.TakeHuntingOfferRsp) })
+ c.regMsg(TakeInvestigationRewardReq, func() any { return new(proto.TakeInvestigationRewardReq) })
+ c.regMsg(TakeInvestigationRewardRsp, func() any { return new(proto.TakeInvestigationRewardRsp) })
+ c.regMsg(TakeInvestigationTargetRewardReq, func() any { return new(proto.TakeInvestigationTargetRewardReq) })
+ c.regMsg(TakeInvestigationTargetRewardRsp, func() any { return new(proto.TakeInvestigationTargetRewardRsp) })
+ c.regMsg(TakeMaterialDeleteReturnReq, func() any { return new(proto.TakeMaterialDeleteReturnReq) })
+ c.regMsg(TakeMaterialDeleteReturnRsp, func() any { return new(proto.TakeMaterialDeleteReturnRsp) })
+ c.regMsg(TakeOfferingLevelRewardReq, func() any { return new(proto.TakeOfferingLevelRewardReq) })
+ c.regMsg(TakeOfferingLevelRewardRsp, func() any { return new(proto.TakeOfferingLevelRewardRsp) })
+ c.regMsg(TakePlayerLevelRewardReq, func() any { return new(proto.TakePlayerLevelRewardReq) })
+ c.regMsg(TakePlayerLevelRewardRsp, func() any { return new(proto.TakePlayerLevelRewardRsp) })
+ c.regMsg(TakeRegionSearchRewardReq, func() any { return new(proto.TakeRegionSearchRewardReq) })
+ c.regMsg(TakeRegionSearchRewardRsp, func() any { return new(proto.TakeRegionSearchRewardRsp) })
+ c.regMsg(TakeResinCardDailyRewardReq, func() any { return new(proto.TakeResinCardDailyRewardReq) })
+ c.regMsg(TakeResinCardDailyRewardRsp, func() any { return new(proto.TakeResinCardDailyRewardRsp) })
+ c.regMsg(TakeReunionFirstGiftRewardReq, func() any { return new(proto.TakeReunionFirstGiftRewardReq) })
+ c.regMsg(TakeReunionFirstGiftRewardRsp, func() any { return new(proto.TakeReunionFirstGiftRewardRsp) })
+ c.regMsg(TakeReunionMissionRewardReq, func() any { return new(proto.TakeReunionMissionRewardReq) })
+ c.regMsg(TakeReunionMissionRewardRsp, func() any { return new(proto.TakeReunionMissionRewardRsp) })
+ c.regMsg(TakeReunionSignInRewardReq, func() any { return new(proto.TakeReunionSignInRewardReq) })
+ c.regMsg(TakeReunionSignInRewardRsp, func() any { return new(proto.TakeReunionSignInRewardRsp) })
+ c.regMsg(TakeReunionWatcherRewardReq, func() any { return new(proto.TakeReunionWatcherRewardReq) })
+ c.regMsg(TakeReunionWatcherRewardRsp, func() any { return new(proto.TakeReunionWatcherRewardRsp) })
+ c.regMsg(TakeoffEquipReq, func() any { return new(proto.TakeoffEquipReq) })
+ c.regMsg(TakeoffEquipRsp, func() any { return new(proto.TakeoffEquipRsp) })
+ c.regMsg(TanukiTravelFinishGuideQuestNotify, func() any { return new(proto.TanukiTravelFinishGuideQuestNotify) })
+ c.regMsg(TaskVarNotify, func() any { return new(proto.TaskVarNotify) })
+ c.regMsg(TeamResonanceChangeNotify, func() any { return new(proto.TeamResonanceChangeNotify) })
+ c.regMsg(ToTheMoonAddObstacleReq, func() any { return new(proto.ToTheMoonAddObstacleReq) })
+ c.regMsg(ToTheMoonAddObstacleRsp, func() any { return new(proto.ToTheMoonAddObstacleRsp) })
+ c.regMsg(ToTheMoonEnterSceneReq, func() any { return new(proto.ToTheMoonEnterSceneReq) })
+ c.regMsg(ToTheMoonEnterSceneRsp, func() any { return new(proto.ToTheMoonEnterSceneRsp) })
+ c.regMsg(ToTheMoonObstaclesModifyNotify, func() any { return new(proto.ToTheMoonObstaclesModifyNotify) })
+ c.regMsg(ToTheMoonPingNotify, func() any { return new(proto.ToTheMoonPingNotify) })
+ c.regMsg(ToTheMoonQueryPathReq, func() any { return new(proto.ToTheMoonQueryPathReq) })
+ c.regMsg(ToTheMoonQueryPathRsp, func() any { return new(proto.ToTheMoonQueryPathRsp) })
+ c.regMsg(ToTheMoonRemoveObstacleReq, func() any { return new(proto.ToTheMoonRemoveObstacleReq) })
+ c.regMsg(ToTheMoonRemoveObstacleRsp, func() any { return new(proto.ToTheMoonRemoveObstacleRsp) })
+ c.regMsg(TowerAllDataReq, func() any { return new(proto.TowerAllDataReq) })
+ c.regMsg(TowerAllDataRsp, func() any { return new(proto.TowerAllDataRsp) })
+ c.regMsg(TowerBriefDataNotify, func() any { return new(proto.TowerBriefDataNotify) })
+ c.regMsg(TowerBuffSelectReq, func() any { return new(proto.TowerBuffSelectReq) })
+ c.regMsg(TowerBuffSelectRsp, func() any { return new(proto.TowerBuffSelectRsp) })
+ c.regMsg(TowerCurLevelRecordChangeNotify, func() any { return new(proto.TowerCurLevelRecordChangeNotify) })
+ c.regMsg(TowerDailyRewardProgressChangeNotify, func() any { return new(proto.TowerDailyRewardProgressChangeNotify) })
+ c.regMsg(TowerEnterLevelReq, func() any { return new(proto.TowerEnterLevelReq) })
+ c.regMsg(TowerEnterLevelRsp, func() any { return new(proto.TowerEnterLevelRsp) })
+ c.regMsg(TowerFloorRecordChangeNotify, func() any { return new(proto.TowerFloorRecordChangeNotify) })
+ c.regMsg(TowerGetFloorStarRewardReq, func() any { return new(proto.TowerGetFloorStarRewardReq) })
+ c.regMsg(TowerGetFloorStarRewardRsp, func() any { return new(proto.TowerGetFloorStarRewardRsp) })
+ c.regMsg(TowerLevelEndNotify, func() any { return new(proto.TowerLevelEndNotify) })
+ c.regMsg(TowerLevelStarCondNotify, func() any { return new(proto.TowerLevelStarCondNotify) })
+ c.regMsg(TowerMiddleLevelChangeTeamNotify, func() any { return new(proto.TowerMiddleLevelChangeTeamNotify) })
+ c.regMsg(TowerRecordHandbookReq, func() any { return new(proto.TowerRecordHandbookReq) })
+ c.regMsg(TowerRecordHandbookRsp, func() any { return new(proto.TowerRecordHandbookRsp) })
+ c.regMsg(TowerSurrenderReq, func() any { return new(proto.TowerSurrenderReq) })
+ c.regMsg(TowerSurrenderRsp, func() any { return new(proto.TowerSurrenderRsp) })
+ c.regMsg(TowerTeamSelectReq, func() any { return new(proto.TowerTeamSelectReq) })
+ c.regMsg(TowerTeamSelectRsp, func() any { return new(proto.TowerTeamSelectRsp) })
+ c.regMsg(TreasureMapBonusChallengeNotify, func() any { return new(proto.TreasureMapBonusChallengeNotify) })
+ c.regMsg(TreasureMapCurrencyNotify, func() any { return new(proto.TreasureMapCurrencyNotify) })
+ c.regMsg(TreasureMapDetectorDataNotify, func() any { return new(proto.TreasureMapDetectorDataNotify) })
+ c.regMsg(TreasureMapGuideTaskDoneNotify, func() any { return new(proto.TreasureMapGuideTaskDoneNotify) })
+ c.regMsg(TreasureMapHostInfoNotify, func() any { return new(proto.TreasureMapHostInfoNotify) })
+ c.regMsg(TreasureMapMpChallengeNotify, func() any { return new(proto.TreasureMapMpChallengeNotify) })
+ c.regMsg(TreasureMapPreTaskDoneNotify, func() any { return new(proto.TreasureMapPreTaskDoneNotify) })
+ c.regMsg(TreasureMapRegionActiveNotify, func() any { return new(proto.TreasureMapRegionActiveNotify) })
+ c.regMsg(TreasureMapRegionInfoNotify, func() any { return new(proto.TreasureMapRegionInfoNotify) })
+ c.regMsg(TreasureSeelieCollectOrbsNotify, func() any { return new(proto.TreasureSeelieCollectOrbsNotify) })
+ c.regMsg(TrialAvatarFirstPassDungeonNotify, func() any { return new(proto.TrialAvatarFirstPassDungeonNotify) })
+ c.regMsg(TrialAvatarInDungeonIndexNotify, func() any { return new(proto.TrialAvatarInDungeonIndexNotify) })
+ c.regMsg(TriggerCreateGadgetToEquipPartNotify, func() any { return new(proto.TriggerCreateGadgetToEquipPartNotify) })
+ c.regMsg(TriggerRoguelikeCurseNotify, func() any { return new(proto.TriggerRoguelikeCurseNotify) })
+ c.regMsg(TriggerRoguelikeRuneReq, func() any { return new(proto.TriggerRoguelikeRuneReq) })
+ c.regMsg(TriggerRoguelikeRuneRsp, func() any { return new(proto.TriggerRoguelikeRuneRsp) })
+ c.regMsg(TryCustomDungeonReq, func() any { return new(proto.TryCustomDungeonReq) })
+ c.regMsg(TryCustomDungeonRsp, func() any { return new(proto.TryCustomDungeonRsp) })
+ c.regMsg(TryEnterHomeReq, func() any { return new(proto.TryEnterHomeReq) })
+ c.regMsg(TryEnterHomeRsp, func() any { return new(proto.TryEnterHomeRsp) })
+ c.regMsg(TryEnterNextRogueDiaryDungeonReq, func() any { return new(proto.TryEnterNextRogueDiaryDungeonReq) })
+ c.regMsg(TryEnterNextRogueDiaryDungeonRsp, func() any { return new(proto.TryEnterNextRogueDiaryDungeonRsp) })
+ c.regMsg(TryInterruptRogueDiaryDungeonReq, func() any { return new(proto.TryInterruptRogueDiaryDungeonReq) })
+ c.regMsg(TryInterruptRogueDiaryDungeonRsp, func() any { return new(proto.TryInterruptRogueDiaryDungeonRsp) })
+ c.regMsg(UgcNotify, func() any { return new(proto.UgcNotify) })
+ c.regMsg(UnfreezeGroupLimitNotify, func() any { return new(proto.UnfreezeGroupLimitNotify) })
+ c.regMsg(UnionCmdNotify, func() any { return new(proto.UnionCmdNotify) })
+ c.regMsg(UnlockAvatarTalentReq, func() any { return new(proto.UnlockAvatarTalentReq) })
+ c.regMsg(UnlockAvatarTalentRsp, func() any { return new(proto.UnlockAvatarTalentRsp) })
+ c.regMsg(UnlockCoopChapterReq, func() any { return new(proto.UnlockCoopChapterReq) })
+ c.regMsg(UnlockCoopChapterRsp, func() any { return new(proto.UnlockCoopChapterRsp) })
+ c.regMsg(UnlockNameCardNotify, func() any { return new(proto.UnlockNameCardNotify) })
+ c.regMsg(UnlockPersonalLineReq, func() any { return new(proto.UnlockPersonalLineReq) })
+ c.regMsg(UnlockPersonalLineRsp, func() any { return new(proto.UnlockPersonalLineRsp) })
+ c.regMsg(UnlockTransPointReq, func() any { return new(proto.UnlockTransPointReq) })
+ c.regMsg(UnlockTransPointRsp, func() any { return new(proto.UnlockTransPointRsp) })
+ c.regMsg(UnlockedFurnitureFormulaDataNotify, func() any { return new(proto.UnlockedFurnitureFormulaDataNotify) })
+ c.regMsg(UnlockedFurnitureSuiteDataNotify, func() any { return new(proto.UnlockedFurnitureSuiteDataNotify) })
+ c.regMsg(UnmarkEntityInMinMapNotify, func() any { return new(proto.UnmarkEntityInMinMapNotify) })
+ c.regMsg(UpdateAbilityCreatedMovingPlatformNotify, func() any { return new(proto.UpdateAbilityCreatedMovingPlatformNotify) })
+ c.regMsg(UpdatePS4BlockListReq, func() any { return new(proto.UpdatePS4BlockListReq) })
+ c.regMsg(UpdatePS4BlockListRsp, func() any { return new(proto.UpdatePS4BlockListRsp) })
+ c.regMsg(UpdatePS4FriendListNotify, func() any { return new(proto.UpdatePS4FriendListNotify) })
+ c.regMsg(UpdatePS4FriendListReq, func() any { return new(proto.UpdatePS4FriendListReq) })
+ c.regMsg(UpdatePS4FriendListRsp, func() any { return new(proto.UpdatePS4FriendListRsp) })
+ c.regMsg(UpdatePlayerShowAvatarListReq, func() any { return new(proto.UpdatePlayerShowAvatarListReq) })
+ c.regMsg(UpdatePlayerShowAvatarListRsp, func() any { return new(proto.UpdatePlayerShowAvatarListRsp) })
+ c.regMsg(UpdatePlayerShowNameCardListReq, func() any { return new(proto.UpdatePlayerShowNameCardListReq) })
+ c.regMsg(UpdatePlayerShowNameCardListRsp, func() any { return new(proto.UpdatePlayerShowNameCardListRsp) })
+ c.regMsg(UpdateRedPointNotify, func() any { return new(proto.UpdateRedPointNotify) })
+ c.regMsg(UpdateReunionWatcherNotify, func() any { return new(proto.UpdateReunionWatcherNotify) })
+ c.regMsg(UpdateSalvageBundleMarkReq, func() any { return new(proto.UpdateSalvageBundleMarkReq) })
+ c.regMsg(UpdateSalvageBundleMarkRsp, func() any { return new(proto.UpdateSalvageBundleMarkRsp) })
+ c.regMsg(UpgradeRoguelikeShikigamiReq, func() any { return new(proto.UpgradeRoguelikeShikigamiReq) })
+ c.regMsg(UpgradeRoguelikeShikigamiRsp, func() any { return new(proto.UpgradeRoguelikeShikigamiRsp) })
+ c.regMsg(UseItemReq, func() any { return new(proto.UseItemReq) })
+ c.regMsg(UseItemRsp, func() any { return new(proto.UseItemRsp) })
+ c.regMsg(UseMiracleRingReq, func() any { return new(proto.UseMiracleRingReq) })
+ c.regMsg(UseMiracleRingRsp, func() any { return new(proto.UseMiracleRingRsp) })
+ c.regMsg(UseWidgetCreateGadgetReq, func() any { return new(proto.UseWidgetCreateGadgetReq) })
+ c.regMsg(UseWidgetCreateGadgetRsp, func() any { return new(proto.UseWidgetCreateGadgetRsp) })
+ c.regMsg(UseWidgetRetractGadgetReq, func() any { return new(proto.UseWidgetRetractGadgetReq) })
+ c.regMsg(UseWidgetRetractGadgetRsp, func() any { return new(proto.UseWidgetRetractGadgetRsp) })
+ c.regMsg(VehicleInteractReq, func() any { return new(proto.VehicleInteractReq) })
+ c.regMsg(VehicleInteractRsp, func() any { return new(proto.VehicleInteractRsp) })
+ c.regMsg(VehicleStaminaNotify, func() any { return new(proto.VehicleStaminaNotify) })
+ c.regMsg(ViewCodexReq, func() any { return new(proto.ViewCodexReq) })
+ c.regMsg(ViewCodexRsp, func() any { return new(proto.ViewCodexRsp) })
+ c.regMsg(ViewLanternProjectionLevelTipsReq, func() any { return new(proto.ViewLanternProjectionLevelTipsReq) })
+ c.regMsg(ViewLanternProjectionLevelTipsRsp, func() any { return new(proto.ViewLanternProjectionLevelTipsRsp) })
+ c.regMsg(ViewLanternProjectionTipsReq, func() any { return new(proto.ViewLanternProjectionTipsReq) })
+ c.regMsg(ViewLanternProjectionTipsRsp, func() any { return new(proto.ViewLanternProjectionTipsRsp) })
+ c.regMsg(VintageCampGroupBundleRegisterNotify, func() any { return new(proto.VintageCampGroupBundleRegisterNotify) })
+ c.regMsg(VintageCampStageFinishNotify, func() any { return new(proto.VintageCampStageFinishNotify) })
+ c.regMsg(VintageDecorateBoothReq, func() any { return new(proto.VintageDecorateBoothReq) })
+ c.regMsg(VintageDecorateBoothRsp, func() any { return new(proto.VintageDecorateBoothRsp) })
+ c.regMsg(VintageHuntingStartGalleryReq, func() any { return new(proto.VintageHuntingStartGalleryReq) })
+ c.regMsg(VintageHuntingStartGalleryRsp, func() any { return new(proto.VintageHuntingStartGalleryRsp) })
+ c.regMsg(VintageMarketDeliverItemReq, func() any { return new(proto.VintageMarketDeliverItemReq) })
+ c.regMsg(VintageMarketDeliverItemRsp, func() any { return new(proto.VintageMarketDeliverItemRsp) })
+ c.regMsg(VintageMarketDividendFinishNotify, func() any { return new(proto.VintageMarketDividendFinishNotify) })
+ c.regMsg(VintageMarketFinishStorePlayReq, func() any { return new(proto.VintageMarketFinishStorePlayReq) })
+ c.regMsg(VintageMarketFinishStorePlayRsp, func() any { return new(proto.VintageMarketFinishStorePlayRsp) })
+ c.regMsg(VintageMarketNpcEventFinishNotify, func() any { return new(proto.VintageMarketNpcEventFinishNotify) })
+ c.regMsg(VintageMarketStartStorePlayReq, func() any { return new(proto.VintageMarketStartStorePlayReq) })
+ c.regMsg(VintageMarketStartStorePlayRsp, func() any { return new(proto.VintageMarketStartStorePlayRsp) })
+ c.regMsg(VintageMarketStoreChooseStrategyReq, func() any { return new(proto.VintageMarketStoreChooseStrategyReq) })
+ c.regMsg(VintageMarketStoreChooseStrategyRsp, func() any { return new(proto.VintageMarketStoreChooseStrategyRsp) })
+ c.regMsg(VintageMarketStoreUnlockSlotReq, func() any { return new(proto.VintageMarketStoreUnlockSlotReq) })
+ c.regMsg(VintageMarketStoreUnlockSlotRsp, func() any { return new(proto.VintageMarketStoreUnlockSlotRsp) })
+ c.regMsg(VintageMarketStoreViewStrategyReq, func() any { return new(proto.VintageMarketStoreViewStrategyReq) })
+ c.regMsg(VintageMarketStoreViewStrategyRsp, func() any { return new(proto.VintageMarketStoreViewStrategyRsp) })
+ c.regMsg(VintagePresentFinishNoify, func() any { return new(proto.VintagePresentFinishNoify) })
+ c.regMsg(VintagePresentFinishNotify, func() any { return new(proto.VintagePresentFinishNotify) })
+ c.regMsg(WatcherAllDataNotify, func() any { return new(proto.WatcherAllDataNotify) })
+ c.regMsg(WatcherChangeNotify, func() any { return new(proto.WatcherChangeNotify) })
+ c.regMsg(WatcherEventNotify, func() any { return new(proto.WatcherEventNotify) })
+ c.regMsg(WatcherEventStageNotify, func() any { return new(proto.WatcherEventStageNotify) })
+ c.regMsg(WatcherEventTypeNotify, func() any { return new(proto.WatcherEventTypeNotify) })
+ c.regMsg(WaterSpritePhaseFinishNotify, func() any { return new(proto.WaterSpritePhaseFinishNotify) })
+ c.regMsg(WeaponAwakenReq, func() any { return new(proto.WeaponAwakenReq) })
+ c.regMsg(WeaponAwakenRsp, func() any { return new(proto.WeaponAwakenRsp) })
+ c.regMsg(WeaponPromoteReq, func() any { return new(proto.WeaponPromoteReq) })
+ c.regMsg(WeaponPromoteRsp, func() any { return new(proto.WeaponPromoteRsp) })
+ c.regMsg(WeaponUpgradeReq, func() any { return new(proto.WeaponUpgradeReq) })
+ c.regMsg(WeaponUpgradeRsp, func() any { return new(proto.WeaponUpgradeRsp) })
+ c.regMsg(WearEquipReq, func() any { return new(proto.WearEquipReq) })
+ c.regMsg(WearEquipRsp, func() any { return new(proto.WearEquipRsp) })
+ c.regMsg(WidgetActiveChangeNotify, func() any { return new(proto.WidgetActiveChangeNotify) })
+ c.regMsg(WidgetCaptureAnimalReq, func() any { return new(proto.WidgetCaptureAnimalReq) })
+ c.regMsg(WidgetCaptureAnimalRsp, func() any { return new(proto.WidgetCaptureAnimalRsp) })
+ c.regMsg(WidgetCoolDownNotify, func() any { return new(proto.WidgetCoolDownNotify) })
+ c.regMsg(WidgetDoBagReq, func() any { return new(proto.WidgetDoBagReq) })
+ c.regMsg(WidgetDoBagRsp, func() any { return new(proto.WidgetDoBagRsp) })
+ c.regMsg(WidgetGadgetAllDataNotify, func() any { return new(proto.WidgetGadgetAllDataNotify) })
+ c.regMsg(WidgetGadgetDataNotify, func() any { return new(proto.WidgetGadgetDataNotify) })
+ c.regMsg(WidgetGadgetDestroyNotify, func() any { return new(proto.WidgetGadgetDestroyNotify) })
+ c.regMsg(WidgetQuickHitTreeReq, func() any { return new(proto.WidgetQuickHitTreeReq) })
+ c.regMsg(WidgetQuickHitTreeRsp, func() any { return new(proto.WidgetQuickHitTreeRsp) })
+ c.regMsg(WidgetReportReq, func() any { return new(proto.WidgetReportReq) })
+ c.regMsg(WidgetReportRsp, func() any { return new(proto.WidgetReportRsp) })
+ c.regMsg(WidgetSlotChangeNotify, func() any { return new(proto.WidgetSlotChangeNotify) })
+ c.regMsg(WidgetUpdateExtraCDReq, func() any { return new(proto.WidgetUpdateExtraCDReq) })
+ c.regMsg(WidgetUpdateExtraCDRsp, func() any { return new(proto.WidgetUpdateExtraCDRsp) })
+ c.regMsg(WidgetUseAttachAbilityGroupChangeNotify, func() any { return new(proto.WidgetUseAttachAbilityGroupChangeNotify) })
+ c.regMsg(WindFieldGalleryChallengeInfoNotify, func() any { return new(proto.WindFieldGalleryChallengeInfoNotify) })
+ c.regMsg(WindFieldGalleryInfoNotify, func() any { return new(proto.WindFieldGalleryInfoNotify) })
+ c.regMsg(WindFieldRestartDungeonReq, func() any { return new(proto.WindFieldRestartDungeonReq) })
+ c.regMsg(WindFieldRestartDungeonRsp, func() any { return new(proto.WindFieldRestartDungeonRsp) })
+ c.regMsg(WindSeedClientNotify, func() any { return new(proto.WindSeedClientNotify) })
+ c.regMsg(WinterCampAcceptAllGiveItemReq, func() any { return new(proto.WinterCampAcceptAllGiveItemReq) })
+ c.regMsg(WinterCampAcceptAllGiveItemRsp, func() any { return new(proto.WinterCampAcceptAllGiveItemRsp) })
+ c.regMsg(WinterCampAcceptGiveItemReq, func() any { return new(proto.WinterCampAcceptGiveItemReq) })
+ c.regMsg(WinterCampAcceptGiveItemRsp, func() any { return new(proto.WinterCampAcceptGiveItemRsp) })
+ c.regMsg(WinterCampEditSnowmanCombinationReq, func() any { return new(proto.WinterCampEditSnowmanCombinationReq) })
+ c.regMsg(WinterCampEditSnowmanCombinationRsp, func() any { return new(proto.WinterCampEditSnowmanCombinationRsp) })
+ c.regMsg(WinterCampGetCanGiveFriendItemReq, func() any { return new(proto.WinterCampGetCanGiveFriendItemReq) })
+ c.regMsg(WinterCampGetCanGiveFriendItemRsp, func() any { return new(proto.WinterCampGetCanGiveFriendItemRsp) })
+ c.regMsg(WinterCampGetFriendWishListReq, func() any { return new(proto.WinterCampGetFriendWishListReq) })
+ c.regMsg(WinterCampGetFriendWishListRsp, func() any { return new(proto.WinterCampGetFriendWishListRsp) })
+ c.regMsg(WinterCampGetRecvItemListReq, func() any { return new(proto.WinterCampGetRecvItemListReq) })
+ c.regMsg(WinterCampGetRecvItemListRsp, func() any { return new(proto.WinterCampGetRecvItemListRsp) })
+ c.regMsg(WinterCampGiveFriendItemReq, func() any { return new(proto.WinterCampGiveFriendItemReq) })
+ c.regMsg(WinterCampGiveFriendItemRsp, func() any { return new(proto.WinterCampGiveFriendItemRsp) })
+ c.regMsg(WinterCampRaceScoreNotify, func() any { return new(proto.WinterCampRaceScoreNotify) })
+ c.regMsg(WinterCampRecvItemNotify, func() any { return new(proto.WinterCampRecvItemNotify) })
+ c.regMsg(WinterCampSetWishListReq, func() any { return new(proto.WinterCampSetWishListReq) })
+ c.regMsg(WinterCampSetWishListRsp, func() any { return new(proto.WinterCampSetWishListRsp) })
+ c.regMsg(WinterCampStageInfoChangeNotify, func() any { return new(proto.WinterCampStageInfoChangeNotify) })
+ c.regMsg(WinterCampTakeBattleRewardReq, func() any { return new(proto.WinterCampTakeBattleRewardReq) })
+ c.regMsg(WinterCampTakeBattleRewardRsp, func() any { return new(proto.WinterCampTakeBattleRewardRsp) })
+ c.regMsg(WinterCampTakeExploreRewardReq, func() any { return new(proto.WinterCampTakeExploreRewardReq) })
+ c.regMsg(WinterCampTakeExploreRewardRsp, func() any { return new(proto.WinterCampTakeExploreRewardRsp) })
+ c.regMsg(WinterCampTriathlonRestartReq, func() any { return new(proto.WinterCampTriathlonRestartReq) })
+ c.regMsg(WinterCampTriathlonRestartRsp, func() any { return new(proto.WinterCampTriathlonRestartRsp) })
+ c.regMsg(WinterCampTriathlonSettleNotify, func() any { return new(proto.WinterCampTriathlonSettleNotify) })
+ c.regMsg(WorktopOptionNotify, func() any { return new(proto.WorktopOptionNotify) })
+ c.regMsg(WorldAllRoutineTypeNotify, func() any { return new(proto.WorldAllRoutineTypeNotify) })
+ c.regMsg(WorldChestOpenNotify, func() any { return new(proto.WorldChestOpenNotify) })
+ c.regMsg(WorldDataNotify, func() any { return new(proto.WorldDataNotify) })
+ c.regMsg(WorldOwnerBlossomBriefInfoNotify, func() any { return new(proto.WorldOwnerBlossomBriefInfoNotify) })
+ c.regMsg(WorldOwnerBlossomScheduleInfoNotify, func() any { return new(proto.WorldOwnerBlossomScheduleInfoNotify) })
+ c.regMsg(WorldOwnerDailyTaskNotify, func() any { return new(proto.WorldOwnerDailyTaskNotify) })
+ c.regMsg(WorldPlayerDieNotify, func() any { return new(proto.WorldPlayerDieNotify) })
+ c.regMsg(WorldPlayerInfoNotify, func() any { return new(proto.WorldPlayerInfoNotify) })
+ c.regMsg(WorldPlayerLocationNotify, func() any { return new(proto.WorldPlayerLocationNotify) })
+ c.regMsg(WorldPlayerRTTNotify, func() any { return new(proto.WorldPlayerRTTNotify) })
+ c.regMsg(WorldPlayerReviveReq, func() any { return new(proto.WorldPlayerReviveReq) })
+ c.regMsg(WorldPlayerReviveRsp, func() any { return new(proto.WorldPlayerReviveRsp) })
+ c.regMsg(WorldRoutineChangeNotify, func() any { return new(proto.WorldRoutineChangeNotify) })
+ c.regMsg(WorldRoutineTypeCloseNotify, func() any { return new(proto.WorldRoutineTypeCloseNotify) })
+ c.regMsg(WorldRoutineTypeRefreshNotify, func() any { return new(proto.WorldRoutineTypeRefreshNotify) })
+}
+
const (
GCGDSBanCardNotify = 65001
GCGStartChallengeByCheckRewardReq = 65002
diff --git a/protocol/cmd/cmd_id_proto_obj_map.go b/protocol/cmd/cmd_id_proto_obj_map.go
index c89ef05a..c5b3bfc1 100644
--- a/protocol/cmd/cmd_id_proto_obj_map.go
+++ b/protocol/cmd/cmd_id_proto_obj_map.go
@@ -4,6 +4,7 @@ import (
"reflect"
"sync"
+ "hk4e/common/config"
"hk4e/pkg/logger"
"hk4e/protocol/proto"
@@ -29,11 +30,15 @@ func NewCmdProtoMap() (r *CmdProtoMap) {
r.cmdNameCmdIdMap = make(map[string]uint16)
r.cmdIdProtoObjCacheMap = make(map[uint16]*sync.Pool)
r.cmdIdProtoObjFastNewMap = make(map[uint16]func() any)
- r.registerAllMessage()
+ if !config.GetConfig().Hk4e.ForwardModeEnable {
+ r.registerMessage()
+ } else {
+ r.registerAllMessage()
+ }
return r
}
-func (c *CmdProtoMap) registerAllMessage() {
+func (c *CmdProtoMap) registerMessage() {
// 登录
c.regMsg(DoSetPlayerBornDataNotify, func() any { return new(proto.DoSetPlayerBornDataNotify) }) // 注册账号通知 新号播放开场动画
c.regMsg(SetPlayerBornDataReq, func() any { return new(proto.SetPlayerBornDataReq) }) // 注册账号请求
diff --git a/protocol/proto_hk4e/cmd/cmd_player.proto b/protocol/proto_hk4e/cmd/cmd_player.proto
index f5fe637f..cc833765 100644
--- a/protocol/proto_hk4e/cmd/cmd_player.proto
+++ b/protocol/proto_hk4e/cmd/cmd_player.proto
@@ -43,6 +43,8 @@ message GetPlayerTokenReq {
string country_code = 5;
uint32 lang = 892;
string psn_id = 13;
+ string gate_ticket = 9998;
+ uint32 un_x = 9999;
}
message GetPlayerTokenRsp {
diff --git a/protocol/proto_hk4e/define.proto b/protocol/proto_hk4e/define.proto
index 0080e74b..268d88ee 100644
--- a/protocol/proto_hk4e/define.proto
+++ b/protocol/proto_hk4e/define.proto
@@ -1200,6 +1200,7 @@ message QueryCurrRegionHttpRsp {
bytes client_secret_key = 11;
bytes region_custom_config_encrypted = 12;
bytes client_region_custom_config_encrypted = 13;
+ string gate_ticket = 14;
oneof detail {
ForceUpdateInfo force_udpate = 4;
StopServerInfo stop_server = 5;
diff --git a/robot/client/client.go b/robot/client/client.go
new file mode 100644
index 00000000..5deb6f12
--- /dev/null
+++ b/robot/client/client.go
@@ -0,0 +1,168 @@
+package client
+
+import (
+ "math"
+ "time"
+
+ "hk4e/common/config"
+ hk4egatenet "hk4e/gate/net"
+ "hk4e/pkg/logger"
+ "hk4e/pkg/object"
+ "hk4e/pkg/random"
+ "hk4e/protocol/cmd"
+ "hk4e/protocol/proto"
+ "hk4e/robot/net"
+
+ pb "google.golang.org/protobuf/proto"
+)
+
+func Logic(account string, session *net.Session) {
+ ticker := time.NewTicker(time.Second)
+ tickCounter := uint64(0)
+ pingSeq := uint32(0)
+ enterSceneDone := false
+ sceneBeginTime := uint32(0)
+ bornPos := new(proto.Vector)
+ currPos := new(proto.Vector)
+ avatarEntityId := uint32(0)
+ moveRot := random.GetRandomFloat32(0.0, 359.9)
+ moveReliableSeq := uint32(0)
+ for {
+ select {
+ case protoMsg := <-session.RecvChan:
+ // 从这个管道接收服务器发来的消息
+ switch protoMsg.CmdId {
+ case cmd.PlayerLoginRsp:
+ rsp := protoMsg.PayloadMessage.(*proto.PlayerLoginRsp)
+ if rsp.Retcode != 0 {
+ logger.Error("login fail, retCode: %v, account: %v", rsp.Retcode, account)
+ return
+ }
+ logger.Info("robot gs login ok, account: %v", account)
+ case cmd.DoSetPlayerBornDataNotify:
+ session.SendMsg(cmd.SetPlayerBornDataReq, &proto.SetPlayerBornDataReq{
+ AvatarId: 10000007,
+ NickName: account,
+ })
+ case cmd.PlayerDataNotify:
+ ntf := protoMsg.PayloadMessage.(*proto.PlayerDataNotify)
+ logger.Info("player name: %v", ntf.NickName)
+ case cmd.PlayerEnterSceneNotify:
+ ntf := protoMsg.PayloadMessage.(*proto.PlayerEnterSceneNotify)
+ bornPos.X, bornPos.Y, bornPos.Z = ntf.Pos.X, ntf.Pos.Y, ntf.Pos.Z
+ currPos.X, currPos.Y, currPos.Z = ntf.Pos.X, ntf.Pos.Y, ntf.Pos.Z
+ session.SendMsg(cmd.EnterSceneReadyReq, &proto.EnterSceneReadyReq{EnterSceneToken: ntf.EnterSceneToken})
+ case cmd.EnterSceneReadyRsp:
+ ntf := protoMsg.PayloadMessage.(*proto.EnterSceneReadyRsp)
+ session.SendMsg(cmd.SceneInitFinishReq, &proto.SceneInitFinishReq{EnterSceneToken: ntf.EnterSceneToken})
+ case cmd.SceneInitFinishRsp:
+ ntf := protoMsg.PayloadMessage.(*proto.SceneInitFinishRsp)
+ session.SendMsg(cmd.EnterSceneDoneReq, &proto.EnterSceneDoneReq{EnterSceneToken: ntf.EnterSceneToken})
+ case cmd.EnterSceneDoneRsp:
+ ntf := protoMsg.PayloadMessage.(*proto.EnterSceneDoneRsp)
+ enterSceneDone = true
+ sceneBeginTime = uint32(time.Now().UnixMilli())
+ session.SendMsg(cmd.PostEnterSceneReq, &proto.PostEnterSceneReq{EnterSceneToken: ntf.EnterSceneToken})
+ if config.GetConfig().Hk4eRobot.DosLoopLogin {
+ session.Close()
+ }
+ case cmd.SceneEntityAppearNotify:
+ ntf := protoMsg.PayloadMessage.(*proto.SceneEntityAppearNotify)
+ for _, sceneEntityInfo := range ntf.EntityList {
+ if sceneEntityInfo.EntityType != proto.ProtEntityType_PROT_ENTITY_AVATAR {
+ continue
+ }
+ avatarEntityId = sceneEntityInfo.EntityId
+ }
+ }
+ case <-session.DeadEvent:
+ logger.Info("robot exit, account: %v", account)
+ close(session.SendChan)
+ return
+ case <-ticker.C:
+ tickCounter++
+ if config.GetConfig().Hk4eRobot.ClientMoveEnable {
+ if enterSceneDone {
+ for {
+ dx := float32(float64(config.GetConfig().Hk4eRobot.ClientMoveSpeed) * math.Cos(float64(moveRot/360.0*2*math.Pi)))
+ dz := float32(float64(config.GetConfig().Hk4eRobot.ClientMoveSpeed) * math.Sin(float64(moveRot/360.0*2*math.Pi)))
+ if currPos.X-dx > bornPos.X+float32(config.GetConfig().Hk4eRobot.ClientMoveRangeExt) ||
+ currPos.Z-dz > bornPos.Z+float32(config.GetConfig().Hk4eRobot.ClientMoveRangeExt) ||
+ currPos.X-dx < bornPos.X-float32(config.GetConfig().Hk4eRobot.ClientMoveRangeExt) ||
+ currPos.Z-dz < bornPos.Z-float32(config.GetConfig().Hk4eRobot.ClientMoveRangeExt) {
+ moveRot = random.GetRandomFloat32(0.0, 359.9)
+ continue
+ }
+ currPos.X -= dx
+ currPos.Z -= dz
+ break
+ }
+ moveReliableSeq += 100
+ entityMoveInfo := &proto.EntityMoveInfo{
+ EntityId: avatarEntityId,
+ MotionInfo: &proto.MotionInfo{
+ Pos: currPos,
+ Rot: &proto.Vector{X: 0.0, Y: moveRot, Z: 0.0},
+ Speed: new(proto.Vector),
+ State: proto.MotionState_MOTION_RUN,
+ RefPos: new(proto.Vector),
+ },
+ SceneTime: uint32(time.Now().UnixMilli()) - sceneBeginTime,
+ ReliableSeq: moveReliableSeq,
+ IsReliable: true,
+ }
+ logger.Debug("EntityMoveInfo: %v, account: %v", entityMoveInfo, account)
+ combatData, err := pb.Marshal(entityMoveInfo)
+ if err != nil {
+ logger.Error("marshal EntityMoveInfo error: %v, account: %v", err, account)
+ continue
+ }
+ combatInvocationsNotify := &proto.CombatInvocationsNotify{
+ InvokeList: []*proto.CombatInvokeEntry{{
+ CombatData: combatData,
+ ForwardType: proto.ForwardType_FORWARD_TO_ALL_EXCEPT_CUR,
+ ArgumentType: proto.CombatTypeArgument_ENTITY_MOVE,
+ }},
+ }
+ var combatInvocationsNotifyPb pb.Message = combatInvocationsNotify
+ if config.GetConfig().Hk4e.ClientProtoProxyEnable {
+ clientProtoObj := hk4egatenet.GetClientProtoObjByName("CombatInvocationsNotify", session.ClientCmdProtoMap)
+ if clientProtoObj == nil {
+ continue
+ }
+ err := object.CopyProtoBufSameField(clientProtoObj, combatInvocationsNotify)
+ if err != nil {
+ continue
+ }
+ hk4egatenet.ConvServerPbDataToClient(clientProtoObj, session.ClientCmdProtoMap)
+ combatInvocationsNotifyPb = clientProtoObj
+ }
+ body, err := pb.Marshal(combatInvocationsNotifyPb)
+ if err != nil {
+ logger.Error("marshal CombatInvocationsNotify error: %v, account: %v", err, account)
+ continue
+ }
+ unionCmdNotify := &proto.UnionCmdNotify{
+ CmdList: []*proto.UnionCmd{{
+ Body: body,
+ MessageId: cmd.CombatInvocationsNotify,
+ }},
+ }
+ if config.GetConfig().Hk4e.ClientProtoProxyEnable {
+ unionCmdNotify.CmdList[0].MessageId = uint32(session.ClientCmdProtoMap.GetClientCmdIdByCmdName("CombatInvocationsNotify"))
+ }
+ session.SendMsg(cmd.UnionCmdNotify, unionCmdNotify)
+ }
+ }
+ if tickCounter%5 != 0 {
+ continue
+ }
+ pingSeq++
+ // 通过这个接口发消息给服务器
+ session.SendMsg(cmd.PingReq, &proto.PingReq{
+ ClientTime: uint32(time.Now().Unix()),
+ Seq: pingSeq,
+ })
+ }
+ }
+}
diff --git a/robot/cmd/application.toml b/robot/cmd/application.toml
index 73e1ac82..c16a3a72 100644
--- a/robot/cmd/application.toml
+++ b/robot/cmd/application.toml
@@ -6,6 +6,7 @@ max_size = 10485760
[hk4e]
client_proto_proxy_enable = false
+forward_mode_enable = false
[hk4e_robot]
region_list_url = "https://hk4e.flswld.com" # 一级dispatch地址
@@ -25,3 +26,6 @@ dos_loop_login = false # 压力测试是否循环登录退出
client_move_enable = false # 是否开启客户端模拟移动
client_move_speed = 10 # 客户端模拟移动速度
client_move_range_ext = 100 # 客户端模拟移动区域半径
+
+[mq]
+nats_url = "nats://nats:4222"
diff --git a/robot/cmd/main.go b/robot/cmd/main.go
index e2b6ef24..a3b822cd 100644
--- a/robot/cmd/main.go
+++ b/robot/cmd/main.go
@@ -1,9 +1,10 @@
package main
import (
+ "context"
"encoding/base64"
"encoding/hex"
- "math"
+ "encoding/json"
"os"
"os/signal"
"strconv"
@@ -12,21 +13,23 @@ import (
"syscall"
"time"
- hk4egatenet "hk4e/gate/net"
- "hk4e/pkg/endec"
- "hk4e/pkg/object"
- "hk4e/pkg/random"
- "hk4e/robot/net"
-
- pb "google.golang.org/protobuf/proto"
-
"hk4e/common/config"
+ "hk4e/common/mq"
+ "hk4e/common/rpc"
+ "hk4e/node/api"
+ "hk4e/pkg/endec"
"hk4e/pkg/logger"
"hk4e/protocol/cmd"
"hk4e/protocol/proto"
+ "hk4e/robot/client"
"hk4e/robot/login"
+ "hk4e/robot/net"
+
+ pb "google.golang.org/protobuf/proto"
)
+var APPID string
+
func main() {
config.InitConfig("application.toml")
logger.InitLogger("robot")
@@ -42,29 +45,49 @@ func main() {
// engine.RunEngine([]int{0, 1, 2, 3}, 4, 1, "0.0.0.0")
// time.Sleep(time.Second * 30)
- dispatchInfo, err := login.GetDispatchInfo(config.GetConfig().Hk4eRobot.RegionListUrl,
- config.GetConfig().Hk4eRobot.RegionListParam,
- config.GetConfig().Hk4eRobot.CurRegionUrl,
- config.GetConfig().Hk4eRobot.CurRegionParam,
- config.GetConfig().Hk4eRobot.KeyId)
- if err != nil {
- logger.Error("get dispatch info error: %v", err)
- time.Sleep(time.Second)
- return
- }
-
- if config.GetConfig().Hk4eRobot.DosEnable {
- dosBatchNum := int(config.GetConfig().Hk4eRobot.DosBatchNum)
- for i := 0; i < int(config.GetConfig().Hk4eRobot.DosTotalNum); i += dosBatchNum {
- wg := new(sync.WaitGroup)
- wg.Add(dosBatchNum)
- for j := 0; j < dosBatchNum; j++ {
- go httpLogin(config.GetConfig().Hk4eRobot.Account+"_"+strconv.Itoa(i+j), dispatchInfo, wg)
- }
- wg.Wait()
+ if config.GetConfig().Hk4e.ForwardModeEnable {
+ // natsrpc client
+ discoveryClient, err := rpc.NewDiscoveryClient()
+ if err != nil {
+ logger.Error("find discovery service error: %v", err)
+ return
}
+
+ // 注册到节点服务器
+ rsp, err := discoveryClient.RegisterServer(context.TODO(), &api.RegisterServerReq{
+ ServerType: api.ROBOT,
+ })
+ if err != nil {
+ logger.Error("register to node server error: %v", err)
+ return
+ }
+ APPID = rsp.GetAppId()
+ go func() {
+ ticker := time.NewTicker(time.Second * 15)
+ for {
+ <-ticker.C
+ _, err := discoveryClient.KeepaliveServer(context.TODO(), &api.KeepaliveServerReq{
+ ServerType: api.ROBOT,
+ AppId: APPID,
+ })
+ if err != nil {
+ logger.Error("keepalive error: %v", err)
+ }
+ }
+ }()
+ defer func() {
+ _, _ = discoveryClient.CancelServer(context.TODO(), &api.CancelServerReq{
+ ServerType: api.ROBOT,
+ AppId: APPID,
+ })
+ }()
+
+ messageQueue := mq.NewMessageQueue(api.ROBOT, APPID, discoveryClient)
+ defer messageQueue.Close()
+
+ go runForward(messageQueue)
} else {
- httpLogin(config.GetConfig().Hk4eRobot.Account, dispatchInfo, nil)
+ go runRobot()
}
c := make(chan os.Signal, 1)
@@ -83,6 +106,157 @@ func main() {
}
}
+func runForward(messageQueue *mq.MessageQueue) {
+ for {
+ netMsg := <-messageQueue.GetNetMsg()
+ if netMsg.OriginServerType != api.DISPATCH {
+ continue
+ }
+ if netMsg.MsgType != mq.MsgTypeServer || netMsg.EventId != mq.ServerForwardDispatchInfoNotify {
+ continue
+ }
+ serverMsg := netMsg.ServerMsg
+ dispatchInfo := &login.DispatchInfo{
+ GateIp: serverMsg.ForwardDispatchInfo.GateIp,
+ GatePort: serverMsg.ForwardDispatchInfo.GatePort,
+ DispatchKey: serverMsg.ForwardDispatchInfo.DispatchKey,
+ }
+ logger.Info("get forward dispatch info ok, gate addr: %v:%v", dispatchInfo.GateIp, dispatchInfo.GatePort)
+ waitClientConn(messageQueue, dispatchInfo)
+ }
+}
+
+func waitClientConn(messageQueue *mq.MessageQueue, dispatchInfo *login.DispatchInfo) {
+ for {
+ netMsg := <-messageQueue.GetNetMsg()
+ if netMsg.OriginServerType != api.GATE {
+ continue
+ }
+ if netMsg.MsgType != mq.MsgTypeServer || netMsg.EventId != mq.ServerForwardModeClientConnNotify {
+ continue
+ }
+ gateAppId := netMsg.OriginServerAppId
+ logger.Info("client connect, gateAppId: %v", gateAppId)
+ for {
+ netMsg = <-messageQueue.GetNetMsg()
+ if netMsg.OriginServerType != api.GATE || netMsg.OriginServerAppId != gateAppId {
+ continue
+ }
+ if netMsg.MsgType != mq.MsgTypeGame || netMsg.EventId != mq.NormalMsg {
+ continue
+ }
+ gameMsg := netMsg.GameMsg
+ if gameMsg.CmdId != cmd.GetPlayerTokenReq {
+ continue
+ }
+ req := gameMsg.PayloadMessage.(*proto.GetPlayerTokenReq)
+ session, err, rsp := login.GateLogin(dispatchInfo, nil, config.GetConfig().Hk4eRobot.KeyId, req, gameMsg.ClientSeq)
+ if err != nil {
+ logger.Error("remote gate login error: %v", err)
+ continue
+ }
+ logger.Info("remote gate login ok, uid: %v", session.Uid)
+ messageQueue.SendToGate(gateAppId, &mq.NetMsg{
+ MsgType: mq.MsgTypeGame,
+ EventId: mq.NormalMsg,
+ GameMsg: &mq.GameMsg{
+ UserId: rsp.Uid,
+ CmdId: cmd.GetPlayerTokenRsp,
+ ClientSeq: gameMsg.ClientSeq,
+ PayloadMessage: rsp,
+ },
+ })
+ forwardLoop(session, messageQueue, gateAppId)
+ return
+ }
+ }
+}
+
+func forwardLoop(session *net.Session, messageQueue *mq.MessageQueue, gateAppId string) {
+ for {
+ select {
+ case netMsg := <-messageQueue.GetNetMsg():
+ if netMsg.OriginServerType != api.GATE || netMsg.OriginServerAppId != gateAppId {
+ continue
+ }
+ switch netMsg.MsgType {
+ case mq.MsgTypeGame:
+ if netMsg.EventId != mq.NormalMsg {
+ continue
+ }
+ gameMsg := netMsg.GameMsg
+ session.SendMsgFwd(gameMsg.CmdId, gameMsg.ClientSeq, gameMsg.PayloadMessage)
+ if gameMsg.CmdId == cmd.PlayerLoginReq {
+ data, _ := json.Marshal(gameMsg.PayloadMessage)
+ logger.Debug("PlayerLoginReq: %v", string(data))
+ }
+ case mq.MsgTypeServer:
+ switch netMsg.EventId {
+ case mq.ServerForwardModeClientCloseNotify:
+ logger.Info("client conn close, uid: %v", session.Uid)
+ session.Close()
+ }
+ }
+ case protoMsg := <-session.RecvChan:
+ gameMsg := new(mq.GameMsg)
+ gameMsg.UserId = session.Uid
+ gameMsg.CmdId = protoMsg.CmdId
+ if protoMsg.HeadMessage != nil {
+ gameMsg.ClientSeq = protoMsg.HeadMessage.ClientSequenceId
+ }
+ // 在这里直接序列化成二进制数据 防止发送的消息内包含各种游戏数据指针 而造成并发读写的问题
+ payloadMessageData, err := pb.Marshal(protoMsg.PayloadMessage)
+ if err != nil {
+ logger.Error("parse payload msg to bin error: %v", err)
+ continue
+ }
+ gameMsg.PayloadMessageData = payloadMessageData
+ messageQueue.SendToGate(gateAppId, &mq.NetMsg{
+ MsgType: mq.MsgTypeGame,
+ EventId: mq.NormalMsg,
+ GameMsg: gameMsg,
+ })
+ if gameMsg.CmdId == cmd.PlayerLoginRsp {
+ data, _ := json.Marshal(protoMsg.PayloadMessage)
+ logger.Debug("PlayerLoginRsp: %v", string(data))
+ }
+ case <-session.DeadEvent:
+ logger.Info("remote gate conn close, uid: %v", session.Uid)
+ close(session.SendChan)
+ messageQueue.SendToGate(gateAppId, &mq.NetMsg{
+ MsgType: mq.MsgTypeServer,
+ EventId: mq.ServerForwardModeServerCloseNotify,
+ })
+ return
+ }
+ }
+}
+
+func runRobot() {
+ dispatchInfo, err := login.GetDispatchInfo(config.GetConfig().Hk4eRobot.RegionListUrl,
+ config.GetConfig().Hk4eRobot.RegionListParam,
+ config.GetConfig().Hk4eRobot.CurRegionUrl,
+ config.GetConfig().Hk4eRobot.CurRegionParam,
+ config.GetConfig().Hk4eRobot.KeyId)
+ if err != nil {
+ logger.Error("get dispatch info error: %v", err)
+ return
+ }
+ if config.GetConfig().Hk4eRobot.DosEnable {
+ dosBatchNum := int(config.GetConfig().Hk4eRobot.DosBatchNum)
+ for i := 0; i < int(config.GetConfig().Hk4eRobot.DosTotalNum); i += dosBatchNum {
+ wg := new(sync.WaitGroup)
+ wg.Add(dosBatchNum)
+ for j := 0; j < dosBatchNum; j++ {
+ go httpLogin(config.GetConfig().Hk4eRobot.Account+"_"+strconv.Itoa(i+j), dispatchInfo, wg)
+ }
+ wg.Wait()
+ }
+ } else {
+ httpLogin(config.GetConfig().Hk4eRobot.Account, dispatchInfo, nil)
+ }
+}
+
func httpLogin(account string, dispatchInfo *login.DispatchInfo, wg *sync.WaitGroup) {
defer func() {
if config.GetConfig().Hk4eRobot.DosEnable {
@@ -108,7 +282,7 @@ func httpLogin(account string, dispatchInfo *login.DispatchInfo, wg *sync.WaitGr
}
func gateLogin(account string, dispatchInfo *login.DispatchInfo, accountInfo *login.AccountInfo) {
- session, err := login.GateLogin(dispatchInfo, accountInfo, config.GetConfig().Hk4eRobot.KeyId)
+ session, err, _ := login.GateLogin(dispatchInfo, accountInfo, config.GetConfig().Hk4eRobot.KeyId, nil, 1)
if err != nil {
logger.Error("gate login error: %v", err)
return
@@ -136,152 +310,5 @@ func gateLogin(account string, dispatchInfo *login.DispatchInfo, accountInfo *lo
SecurityLibraryMd5: "574a507ffee2eb6f997d11f71c8ae1fa",
Token: accountInfo.ComboToken,
})
- clientLogic(account, session)
-}
-
-func clientLogic(account string, session *net.Session) {
- ticker := time.NewTicker(time.Second)
- tickCounter := uint64(0)
- pingSeq := uint32(0)
- enterSceneDone := false
- sceneBeginTime := uint32(0)
- bornPos := new(proto.Vector)
- currPos := new(proto.Vector)
- avatarEntityId := uint32(0)
- moveRot := random.GetRandomFloat32(0.0, 359.9)
- moveReliableSeq := uint32(0)
- for {
- select {
- case <-ticker.C:
- tickCounter++
- if config.GetConfig().Hk4eRobot.ClientMoveEnable {
- if enterSceneDone {
- for {
- dx := float32(float64(config.GetConfig().Hk4eRobot.ClientMoveSpeed) * math.Cos(float64(moveRot/360.0*2*math.Pi)))
- dz := float32(float64(config.GetConfig().Hk4eRobot.ClientMoveSpeed) * math.Sin(float64(moveRot/360.0*2*math.Pi)))
- if currPos.X-dx > bornPos.X+float32(config.GetConfig().Hk4eRobot.ClientMoveRangeExt) ||
- currPos.Z-dz > bornPos.Z+float32(config.GetConfig().Hk4eRobot.ClientMoveRangeExt) ||
- currPos.X-dx < bornPos.X-float32(config.GetConfig().Hk4eRobot.ClientMoveRangeExt) ||
- currPos.Z-dz < bornPos.Z-float32(config.GetConfig().Hk4eRobot.ClientMoveRangeExt) {
- moveRot = random.GetRandomFloat32(0.0, 359.9)
- continue
- }
- currPos.X -= dx
- currPos.Z -= dz
- break
- }
- moveReliableSeq += 100
- entityMoveInfo := &proto.EntityMoveInfo{
- EntityId: avatarEntityId,
- MotionInfo: &proto.MotionInfo{
- Pos: currPos,
- Rot: &proto.Vector{X: 0.0, Y: moveRot, Z: 0.0},
- Speed: new(proto.Vector),
- State: proto.MotionState_MOTION_RUN,
- RefPos: new(proto.Vector),
- },
- SceneTime: uint32(time.Now().UnixMilli()) - sceneBeginTime,
- ReliableSeq: moveReliableSeq,
- IsReliable: true,
- }
- logger.Debug("EntityMoveInfo: %v, account: %v", entityMoveInfo, account)
- combatData, err := pb.Marshal(entityMoveInfo)
- if err != nil {
- logger.Error("marshal EntityMoveInfo error: %v, account: %v", err, account)
- continue
- }
- combatInvocationsNotify := &proto.CombatInvocationsNotify{
- InvokeList: []*proto.CombatInvokeEntry{{
- CombatData: combatData,
- ForwardType: proto.ForwardType_FORWARD_TO_ALL_EXCEPT_CUR,
- ArgumentType: proto.CombatTypeArgument_ENTITY_MOVE,
- }},
- }
- var combatInvocationsNotifyPb pb.Message = combatInvocationsNotify
- if config.GetConfig().Hk4e.ClientProtoProxyEnable {
- clientProtoObj := hk4egatenet.GetClientProtoObjByName("CombatInvocationsNotify", session.ClientCmdProtoMap)
- if clientProtoObj == nil {
- continue
- }
- err := object.CopyProtoBufSameField(clientProtoObj, combatInvocationsNotify)
- if err != nil {
- continue
- }
- hk4egatenet.ConvServerPbDataToClient(clientProtoObj, session.ClientCmdProtoMap)
- combatInvocationsNotifyPb = clientProtoObj
- }
- body, err := pb.Marshal(combatInvocationsNotifyPb)
- if err != nil {
- logger.Error("marshal CombatInvocationsNotify error: %v, account: %v", err, account)
- continue
- }
- unionCmdNotify := &proto.UnionCmdNotify{
- CmdList: []*proto.UnionCmd{{
- Body: body,
- MessageId: cmd.CombatInvocationsNotify,
- }},
- }
- if config.GetConfig().Hk4e.ClientProtoProxyEnable {
- unionCmdNotify.CmdList[0].MessageId = uint32(session.ClientCmdProtoMap.GetClientCmdIdByCmdName("CombatInvocationsNotify"))
- }
- session.SendMsg(cmd.UnionCmdNotify, unionCmdNotify)
- }
- }
- if tickCounter%5 != 0 {
- continue
- }
- pingSeq++
- // 通过这个接口发消息给服务器
- session.SendMsg(cmd.PingReq, &proto.PingReq{
- ClientTime: uint32(time.Now().Unix()),
- Seq: pingSeq,
- })
- case protoMsg := <-session.RecvChan:
- // 从这个管道接收服务器发来的消息
- switch protoMsg.CmdId {
- case cmd.PlayerLoginRsp:
- rsp := protoMsg.PayloadMessage.(*proto.PlayerLoginRsp)
- if rsp.Retcode != 0 {
- logger.Error("login fail, retCode: %v, account: %v", rsp.Retcode, account)
- return
- }
- logger.Info("robot gs login ok, account: %v", account)
- case cmd.DoSetPlayerBornDataNotify:
- session.SendMsg(cmd.SetPlayerBornDataReq, &proto.SetPlayerBornDataReq{
- AvatarId: 10000007,
- NickName: account,
- })
- case cmd.PlayerEnterSceneNotify:
- ntf := protoMsg.PayloadMessage.(*proto.PlayerEnterSceneNotify)
- bornPos.X, bornPos.Y, bornPos.Z = ntf.Pos.X, ntf.Pos.Y, ntf.Pos.Z
- currPos.X, currPos.Y, currPos.Z = ntf.Pos.X, ntf.Pos.Y, ntf.Pos.Z
- session.SendMsg(cmd.EnterSceneReadyReq, &proto.EnterSceneReadyReq{EnterSceneToken: ntf.EnterSceneToken})
- case cmd.EnterSceneReadyRsp:
- ntf := protoMsg.PayloadMessage.(*proto.EnterSceneReadyRsp)
- session.SendMsg(cmd.SceneInitFinishReq, &proto.SceneInitFinishReq{EnterSceneToken: ntf.EnterSceneToken})
- case cmd.SceneInitFinishRsp:
- ntf := protoMsg.PayloadMessage.(*proto.SceneInitFinishRsp)
- session.SendMsg(cmd.EnterSceneDoneReq, &proto.EnterSceneDoneReq{EnterSceneToken: ntf.EnterSceneToken})
- case cmd.EnterSceneDoneRsp:
- ntf := protoMsg.PayloadMessage.(*proto.EnterSceneDoneRsp)
- enterSceneDone = true
- sceneBeginTime = uint32(time.Now().UnixMilli())
- session.SendMsg(cmd.PostEnterSceneReq, &proto.PostEnterSceneReq{EnterSceneToken: ntf.EnterSceneToken})
- if config.GetConfig().Hk4eRobot.DosLoopLogin {
- return
- }
- case cmd.SceneEntityAppearNotify:
- ntf := protoMsg.PayloadMessage.(*proto.SceneEntityAppearNotify)
- for _, sceneEntityInfo := range ntf.EntityList {
- if sceneEntityInfo.EntityType != proto.ProtEntityType_PROT_ENTITY_AVATAR {
- continue
- }
- avatarEntityId = sceneEntityInfo.EntityId
- }
- }
- case <-session.DeadEvent:
- logger.Info("robot exit, account: %v", account)
- return
- }
- }
+ client.Logic(account, session)
}
diff --git a/robot/login/gate_login.go b/robot/login/gate_login.go
index b1ace93d..3458af82 100644
--- a/robot/login/gate_login.go
+++ b/robot/login/gate_login.go
@@ -4,93 +4,133 @@ import (
"bytes"
"encoding/base64"
"encoding/binary"
+ "encoding/json"
"errors"
+ "fmt"
+ "os"
"strconv"
"hk4e/common/region"
"hk4e/pkg/endec"
"hk4e/pkg/logger"
"hk4e/pkg/random"
+ "hk4e/pkg/reflection"
"hk4e/protocol/cmd"
"hk4e/protocol/proto"
"hk4e/robot/net"
)
-func GateLogin(dispatchInfo *DispatchInfo, accountInfo *AccountInfo, keyId string) (*net.Session, error) {
+func GateLogin(dispatchInfo *DispatchInfo, accountInfo *AccountInfo, keyId string, req *proto.GetPlayerTokenReq, clientSeq uint32) (*net.Session, error, *proto.GetPlayerTokenRsp) {
gateAddr := dispatchInfo.GateIp + ":" + strconv.Itoa(int(dispatchInfo.GatePort))
+ logger.Debug("connect gate addr: %v", gateAddr)
session, err := net.NewSession(gateAddr, dispatchInfo.DispatchKey, 30000)
if err != nil {
- return nil, err
+ return nil, err, nil
}
+ logger.Debug("connect gate ok")
timeRand := random.GetTimeRand()
clientSeedUint64 := timeRand.Uint64()
clientSeedBuf := new(bytes.Buffer)
err = binary.Write(clientSeedBuf, binary.BigEndian, &clientSeedUint64)
if err != nil {
- return nil, err
+ return nil, err, nil
}
clientSeed := clientSeedBuf.Bytes()
+ logger.Debug("clientSeed: %v, clientSeedUint64: %v", clientSeed, clientSeedUint64)
signRsaKey, encRsaKeyMap, _ := region.LoadRsaKey()
+ if signRsaKey == nil || encRsaKeyMap == nil {
+ return nil, errors.New("load key error"), nil
+ }
signPubkey, err := endec.RsaParsePubKeyByPrivKey(signRsaKey)
if err != nil {
logger.Error("parse rsa pub key error: %v", err)
- return nil, err
+ return nil, err, nil
+ }
+ signRsaKey, err = os.ReadFile("key/region_sign_key_pub.pem")
+ if err == nil {
+ logger.Debug("use pub key")
+ signPubkey, err = endec.RsaParsePubKey(signRsaKey)
+ if err != nil {
+ logger.Error("parse rsa pub key error: %v", err)
+ return nil, err, nil
+ }
}
clientSeedEnc, err := endec.RsaEncrypt(clientSeed, signPubkey)
if err != nil {
- logger.Error("rsa dec error: %v", err)
- return nil, err
+ logger.Error("rsa enc error: %v", err)
+ return nil, err, nil
}
clientSeedBase64 := base64.StdEncoding.EncodeToString(clientSeedEnc)
+ getPlayerTokenReq := new(proto.GetPlayerTokenReq)
keyIdInt, err := strconv.Atoi(keyId)
if err != nil {
logger.Error("parse key id error: %v", err)
- return nil, err
+ return nil, err, nil
}
- session.SendMsg(cmd.GetPlayerTokenReq, &proto.GetPlayerTokenReq{
- AccountToken: accountInfo.ComboToken,
- AccountUid: strconv.Itoa(int(accountInfo.AccountId)),
- KeyId: uint32(keyIdInt),
- ClientRandKey: clientSeedBase64,
- AccountType: 1,
- ChannelId: 1,
- SubChannelId: 1,
- PlatformType: 3,
- })
+ if req == nil {
+ getPlayerTokenReq = &proto.GetPlayerTokenReq{
+ AccountToken: accountInfo.ComboToken,
+ AccountUid: strconv.Itoa(int(accountInfo.AccountId)),
+ KeyId: uint32(keyIdInt),
+ ClientRandKey: clientSeedBase64,
+ AccountType: 1,
+ ChannelId: 1,
+ SubChannelId: 1,
+ PlatformType: 3,
+ }
+ } else {
+ ok := reflection.CopyStructSameField(getPlayerTokenReq, req)
+ if !ok {
+ return nil, errors.New("copy field error"), nil
+ }
+ getPlayerTokenReq.KeyId = uint32(keyIdInt)
+ getPlayerTokenReq.ClientRandKey = clientSeedBase64
+ }
+ session.SendMsgFwd(cmd.GetPlayerTokenReq, clientSeq, getPlayerTokenReq)
+ getPlayerTokenReqJson, _ := json.Marshal(getPlayerTokenReq)
+ logger.Debug("GetPlayerTokenReq: %v", string(getPlayerTokenReqJson))
protoMsg := <-session.RecvChan
if protoMsg.CmdId != cmd.GetPlayerTokenRsp {
- return nil, errors.New("recv pkt is not GetPlayerTokenRsp")
+ return nil, errors.New("recv pkt is not GetPlayerTokenRsp"), nil
}
getPlayerTokenRsp := protoMsg.PayloadMessage.(*proto.GetPlayerTokenRsp)
+ getPlayerTokenRspJson, _ := json.Marshal(getPlayerTokenRsp)
+ logger.Debug("GetPlayerTokenRsp: %v", string(getPlayerTokenRspJson))
+ if getPlayerTokenRsp.Retcode != 0 {
+ return nil, errors.New(fmt.Sprintf("gate login error, retCode: %v", getPlayerTokenRsp.Retcode)), nil
+ }
logger.Info("gate login ok, uid: %v", getPlayerTokenRsp.Uid)
+ session.Uid = getPlayerTokenRsp.Uid
// XOR密钥切换
seedEnc, err := base64.StdEncoding.DecodeString(getPlayerTokenRsp.ServerRandKey)
if err != nil {
logger.Error("base64 decode error: %v", err)
- return nil, err
+ return nil, err, nil
}
encPubPrivKey, exist := encRsaKeyMap[keyId]
if !exist {
logger.Error("can not found key id: %v", keyId)
- return nil, err
+ return nil, err, nil
}
privKey, err := endec.RsaParsePrivKey(encPubPrivKey)
if err != nil {
logger.Error("parse rsa pub key error: %v", err)
- return nil, err
+ return nil, err, nil
}
seed, err := endec.RsaDecrypt(seedEnc, privKey)
if err != nil {
- logger.Error("rsa enc error: %v", err)
- return nil, err
+ logger.Error("rsa dec error: %v", err)
+ return nil, err, nil
}
seedUint64 := uint64(0)
err = binary.Read(bytes.NewReader(seed), binary.BigEndian, &seedUint64)
if err != nil {
logger.Error("parse seed error: %v", err)
- return nil, err
+ return nil, err, nil
}
serverSeedUint64 := seedUint64 ^ clientSeedUint64
+ logger.Debug("seed: %v, seedUint64: %v", seed, seedUint64)
+ logger.Debug("serverSeedUint64: %v", serverSeedUint64)
logger.Info("change session xor key")
keyBlock := random.NewKeyBlock(serverSeedUint64, true)
xorKey := keyBlock.XorKey()
@@ -99,5 +139,5 @@ func GateLogin(dispatchInfo *DispatchInfo, accountInfo *AccountInfo, keyId strin
session.XorKey = key
session.ClientVersionRandomKey = getPlayerTokenRsp.ClientVersionRandomKey
session.SecurityCmdBuffer = getPlayerTokenRsp.SecurityCmdBuffer
- return session, nil
+ return session, nil, getPlayerTokenRsp
}
diff --git a/robot/login/http_login.go b/robot/login/http_login.go
index e414fa18..830ee9a7 100644
--- a/robot/login/http_login.go
+++ b/robot/login/http_login.go
@@ -98,7 +98,7 @@ func GetDispatchInfo(regionListUrl string, regionListParam string, curRegionUrl
if regionInfo == nil {
return nil, errors.New("region info is nil")
}
- ec2b, err := random.LoadEc2bKey(regionInfo.SecretKey)
+ ec2b, err := random.LoadEc2bKey(queryCurrRegionHttpRsp.ClientSecretKey)
if err != nil {
return nil, err
}
diff --git a/robot/net/session.go b/robot/net/session.go
index ec44cf09..8ec54c13 100644
--- a/robot/net/session.go
+++ b/robot/net/session.go
@@ -27,6 +27,8 @@ type Session struct {
DeadEvent chan bool
ClientVersionRandomKey string
SecurityCmdBuffer []byte
+ Uid uint32
+ IsClose bool
}
func NewSession(gateAddr string, dispatchKey []byte, localPort int) (*Session, error) {
@@ -40,7 +42,7 @@ func NewSession(gateAddr string, dispatchKey []byte, localPort int) (*Session, e
}
conn.SetACKNoDelay(true)
conn.SetWriteDelay(false)
- conn.SetWindowSize(255, 255)
+ conn.SetWindowSize(256, 256)
r := &Session{
Conn: conn,
XorKey: dispatchKey,
@@ -49,9 +51,11 @@ func NewSession(gateAddr string, dispatchKey []byte, localPort int) (*Session, e
ServerCmdProtoMap: cmd.NewCmdProtoMap(),
ClientCmdProtoMap: nil,
ClientSeq: 0,
- DeadEvent: make(chan bool, 10),
+ DeadEvent: make(chan bool, 1),
ClientVersionRandomKey: "",
SecurityCmdBuffer: nil,
+ Uid: 0,
+ IsClose: false,
}
if config.GetConfig().Hk4e.ClientProtoProxyEnable {
r.ClientCmdProtoMap = client_proto.NewClientCmdProtoMap()
@@ -62,18 +66,40 @@ func NewSession(gateAddr string, dispatchKey []byte, localPort int) (*Session, e
}
func (s *Session) SendMsg(cmdId uint16, msg pb.Message) {
- atomic.AddUint32(&s.ClientSeq, 1)
s.SendChan <- &hk4egatenet.ProtoMsg{
ConvId: 0,
CmdId: cmdId,
HeadMessage: &proto.PacketHead{
- ClientSequenceId: s.ClientSeq,
+ ClientSequenceId: atomic.AddUint32(&s.ClientSeq, 1),
SentMs: uint64(time.Now().UnixMilli()),
+ EnetIsReliable: 1,
},
PayloadMessage: msg,
}
}
+func (s *Session) SendMsgFwd(cmdId uint16, clientSeq uint32, msg pb.Message) {
+ s.SendChan <- &hk4egatenet.ProtoMsg{
+ ConvId: 0,
+ CmdId: cmdId,
+ HeadMessage: &proto.PacketHead{
+ ClientSequenceId: clientSeq,
+ SentMs: uint64(time.Now().UnixMilli()),
+ EnetIsReliable: 1,
+ },
+ PayloadMessage: msg,
+ }
+}
+
+func (s *Session) Close() {
+ if s.IsClose {
+ return
+ }
+ s.IsClose = true
+ _ = s.Conn.Close()
+ s.DeadEvent <- true
+}
+
func (s *Session) recvHandle() {
logger.Info("recv handle start")
conn := s.Conn
@@ -84,7 +110,7 @@ func (s *Session) recvHandle() {
recvLen, err := conn.Read(recvBuf)
if err != nil {
logger.Error("exit recv loop, conn read err: %v, convId: %v", err, convId)
- _ = conn.Close()
+ s.Close()
break
}
recvData := recvBuf[:recvLen]
@@ -97,7 +123,6 @@ func (s *Session) recvHandle() {
}
}
}
- s.DeadEvent <- true
}
func (s *Session) sendHandle() {
@@ -108,7 +133,7 @@ func (s *Session) sendHandle() {
protoMsg, ok := <-s.SendChan
if !ok {
logger.Error("exit send loop, send chan close, convId: %v", convId)
- _ = conn.Close()
+ s.Close()
break
}
kcpMsg := hk4egatenet.ProtoEncode(protoMsg, s.ServerCmdProtoMap, s.ClientCmdProtoMap)
@@ -121,9 +146,8 @@ func (s *Session) sendHandle() {
_, err := conn.Write(bin)
if err != nil {
logger.Error("exit send loop, conn write err: %v, convId: %v", err, convId)
- _ = conn.Close()
+ s.Close()
break
}
}
- s.DeadEvent <- true
}