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

18 lines
930 B
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 methods
//
// GM 控制台(ALT+F1)职业命令族的 C2S 契约,build 4229938。
// 字段布局照抄客户端自己的 writer —— LuaGen\AutoGen\ClientToGameGMDelegate.lua 里的
// SerializerHelper.<Name>_Serializer:字段直接裸写进 RPC body,没有 type mark,
// 所以每条都是 Inline = true。
// ⛑ 这一族是 GM 命令里少见的「有返回值」的:GmJob* 的返回目录就是一条
// SpiritJob 记录,所以 handler 要用 ReturnAsync 回答一条职业记录,
// 不能像任务族那样只回 EmptyOk。
//
//
// GmJobTake(65091612) / GmJobStart(65783301) / GmJobQuit(65797945) /
// GmJobPromote(65430772) —— 四条各自的序列化器都只有一个 uint32 jobclassid。
// (GmJobEnd(65110787) 的序列化器是空的,不带参数,因此没有对应契约。)
//
// GmSetJobLevel(65875858) —— uint32 jobclassid + byte level,共 5 字节。