58 lines
2.9 KiB
Go
58 lines
2.9 KiB
Go
package routers
|
||
|
||
import (
|
||
"context"
|
||
"sync"
|
||
)
|
||
|
||
var _ = sync.Mutex{}
|
||
var _ = context.Background
|
||
|
||
//
|
||
// Build-4229938 RPC-surface compatibility. Semantic handlers still win. Any other Invoke uses
|
||
// the exact generated return reader shape from the matching client Lua so callbacks receive a
|
||
// valid default value (empty list/dict, zero primitive, empty string, or non-null empty object)
|
||
// instead of a zero-byte body.
|
||
//
|
||
func GameRouter_Compatibility4229938_DefaultUnknownInvoke4229938(ctx context.Context, rpcCtx *RpcContext) any {
|
||
// Router implementation for GameRouter_Compatibility4229938_DefaultUnknownInvoke4229938
|
||
var zero any; return zero
|
||
}
|
||
|
||
func GameRouter_Compatibility4229938_DefaultUnknownNotify4229938(ctx context.Context, rpcCtx *RpcContext) any {
|
||
// Router implementation for GameRouter_Compatibility4229938_DefaultUnknownNotify4229938
|
||
var zero any; return zero
|
||
}
|
||
|
||
// High-frequency/UI RPCs seen in stock 4229938 are made explicit so they no longer appear as
|
||
// unknown traffic. The server does not emulate production economy/social services here; it
|
||
// returns the exact neutral value expected by the generated client callback.
|
||
// AskTradeGetMarketList is handled for real by GameRouter.Trade.cs (synthesised market buckets);
|
||
// it must not stay in this neutral list or registration reports a duplicate invoke handler.
|
||
func GameRouter_Compatibility4229938_KnownNeutralInvoke4229938(ctx context.Context, conn any, msg any) any {
|
||
// Router implementation for GameRouter_Compatibility4229938_KnownNeutralInvoke4229938
|
||
var zero any; return zero
|
||
}
|
||
|
||
func GameRouter_Compatibility4229938_OnParkourStateChange4229938(ctx context.Context, conn any, msg any) any {
|
||
// Router implementation for GameRouter_Compatibility4229938_OnParkourStateChange4229938
|
||
var zero any; return zero
|
||
}
|
||
|
||
//
|
||
// ★ gameplay.webTraversal.parkourStateGates:**严格跟状态**的临时能力门。
|
||
// 客户端每上报一次 OnParkourStateChange(67897801) 就进一次,但只在
|
||
// 0→1 / 1→0 的边沿各发一个 SyncPaokuLimitChange(68974941):
|
||
// 进入配置里的 ParkourState ⇒ isAdd=true;一旦离开 ⇒ 立刻 isAdd=false 撤回,
|
||
// 没有宽限期(用户 2026-10-01 23:3x 定:大跳 5052 走这条,连跳 5040 走常驻)。
|
||
// 当前配置:"10081": [5052] —— ParkourState 10081「八步赶蝉jump」即璎珑的虐杀原形跑酷
|
||
// (TOPIC §11.10:全量 604 份日志里只在下发 3040 门之后的两个会话出现过)。
|
||
// ⛑ 高频 RPC(实测 ~1.2 次/秒),靠 WorldEntryState.ActiveParkourGateStates 去重,
|
||
// 否则每次上报都 add/remove 抖动。规则 238:这里不做 per-item 日志,只在边沿打一行。
|
||
//
|
||
func GameRouter_Compatibility4229938_SyncParkourStateGates4229938(ctx context.Context, rpcCtx *RpcContext, parkourState uint32) any {
|
||
// Router implementation for GameRouter_Compatibility4229938_SyncParkourStateGates4229938
|
||
var zero any; return zero
|
||
}
|
||
|