feat(currency_wars): complete systems, settlement Rank SS, damage report, camera and recovery fixes
This commit is contained in:
1 parent
c008243f11
commit
0995055296
78 files changed
+33840
-9525
No files matched your search
@@ -64,8 +64,11 @@ func handle[ReqT any, RspT any](name string, fn func(s *Session, req *ReqT, rsp
|
||||
func handleNamed[ReqT any, RspT any](name, rspName string, fn func(s *Session, req *ReqT, rsp *RspT) error) {
|
||||
reqID, ok := goproto.CmdIDByName[name+"CsReq"]
|
||||
if !ok {
|
||||
Log("[DISPATCH] loaded protocol has no " + name + "CsReq; handler skipped")
|
||||
return
|
||||
reqID, ok = goproto.CmdIDByName[name]
|
||||
if !ok {
|
||||
Log("[DISPATCH] loaded protocol has no " + name + "CsReq or " + name + "; handler skipped")
|
||||
return
|
||||
}
|
||||
}
|
||||
rspID, ok := goproto.CmdIDByName[rspName]
|
||||
if !ok {
|
||||
|
||||
Reference in new issue
Block a user