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
Ananta-ps/pkg/protocol/methods/job_app_methods.go
T

35 lines
1.8 KiB
Go
Raw 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
//
// Profession phone-app return bodies (build 4229938) — 清洁工 Washer / 赛车手 Racer.
// Ported from the Lyco donor build on 2026-09-26.
// ⭐⭐ Wire provenance: the donor transcribed these from RPCDeserializeAuto.lua, and they
// were then checked byte-for-byte against our own DefaultReturnCatalog4229938
// typed-default bodies before porting:
// <list>
// <item>AskGetWasherMissionInfo (63615574) — catalog body is 98 bytes and this layout
// serializes to exactly 98: FF + 6×u32/float(24) + FF/count0(5) + FF+Complex292(37)
// + FF/count0(5) + FF/count0(5) + u32 + i32 + i32 + FF/count0(5) + u32.</item>
// <item>AskRacingCompetitionGroupInfo (63832346) — catalog body is 17 bytes and this layout
// serializes to exactly 17: FF + FF/01 + FF/01 + FF/01 + u32 + i32 + FF/01.</item>
// </list>
// That matters because 漏尾字段 makes the client hard-crash (硬规则 22), and the catalog's own
// shape string for Reader[634] is truncated, so the tail could not be confirmed any other way.
//
// ---------------------------------------------------------------------------
// Washer (清洁工) — Auto.Reader[634] + [292] + [1650] + [1649]
// ---------------------------------------------------------------------------
// Auto.Reader[292]
// Auto.Reader[1650]
// Auto.Reader[1649]
//
// Return body of AskGetWasherMissionInfo (63615574). ReadComplex, so the frame carries the 0xFF
// mark — that is exactly what a non-inline [UxContract] emits.
//
// ---------------------------------------------------------------------------
// Racer (赛车手) — Auto.Reader[645] + [1399] + [1400]
// ---------------------------------------------------------------------------
// Auto.Reader[1400]
// Auto.Reader[1399]
// Return body of AskRacingCompetitionGroupInfo (63832346) — ReadComplex, so 0xFF.