This repository has been archived on 2026-10-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

53 lines
2.3 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package routers
import (
"context"
"sync"
)
var _ = sync.Mutex{}
var _ = context.Background
//
// 迷雾 / 探索 POI / Aether 氛围层 —— SyncEnterFogMapPoiId(63491307)、
// GmUnlockAllFogMap(65914419)、GmSetAmbianceEnabled(69166506)、
// GmGetAmbianceEnabled(69384152)。
// 移植自捐赠端 DremkaPS(2026-09-24)。
// ★★ 这一组是抓包筛出来的,不是照单全收。捐赠端比本服多的 handler 一共有 66 个,
// 拿 16.5 万行 unknown-methods.log 逐个数下来,只有 6 个真的被客户端发过:
// SyncEnterFogMapPoiId 49 次(活跃到 09-23)、GmUnlockAllFogMap 5 次、
// ForceSubmitTask 5 次、GmSwitchSpiritHere 3 次、GmSubmitEvent 2 次、
// GmGetAmbianceEnabled 2 次。剩下 60 个零次,注册它们只是增加维护面 —— 已剔除。
// 剔除的三条(虽然日志里出现过):
// · ForceSubmitTask / GmSubmitEvent —— 任务族。本服
// GameRouter.Tasks.cs 已经四次证明任务面板在 4229938 下渲染不出来
// (TaskPublishEnabled = false),捐赠端自己也只拿它们记账,搬过来是死代码。
// · GmSwitchSpiritHere —— 切角色。本服已有 AskSwitchSpirit 这条正规路径,
// GM 版只是控制台的快捷方式,09-16 之后再没被用过。
// ⛑ GmGetAmbianceEnabled 是 0 字节的 INVOKE:客户端在 await 一个返回值。
// 不接它,控制台按下去会一直卡到超时(规则 94)。这里回一个 bool。
//
func GameRouter_GmFog_EnterFogMapPoiId(ctx context.Context, conn any, msg any) any {
// Router implementation for GameRouter_GmFog_EnterFogMapPoiId
var zero any; return zero
}
func GameRouter_GmFog_GmUnlockAllFogMap(ctx context.Context, conn any, msg any) any {
// Router implementation for GameRouter_GmFog_GmUnlockAllFogMap
var zero any; return zero
}
func GameRouter_GmFog_GmSetAmbianceEnabled(ctx context.Context, conn any, msg any) any {
// Router implementation for GameRouter_GmFog_GmSetAmbianceEnabled
var zero any; return zero
}
//
// 0 字节 INVOKE —— 必须回一个 bool,否则客户端这次调用会 await 到超时。
//
func GameRouter_GmFog_GmGetAmbianceEnabled(ctx context.Context, conn any, msg any) any {
// Router implementation for GameRouter_GmFog_GmGetAmbianceEnabled
var zero any; return zero
}