Files
WT-Offline/dev-docs/templates/native/local_mp_example.jsonc
N0VAN0M4LY 39228c6e75 docs(repo): add contributor development guides
Document development rules, patch formats, and PR review checks. Include reusable patch and PR templates, and correct the README development commands.

Verified Markdown links, all three patch template types, root and launcher type checks, and exe and GUI checks on client 2.61.0.37.
2026-11-30 20:40:20 +08:00

27 lines
823 B
JSON

// Describe the values a fictional native module reads for the local copy.
// This example locates a settings marker in read-only data and captures its mode byte.
// The module would otherwise lack the value required for its example behavior.
{
"module": "local_mp_example",
"features": ["Replace with an existing feature tag"],
"requires": [],
"sites": {
"example_label_mode": {
"variants": [
// The fictional WTO_EXAMPLE marker ends before the one-byte mode.
{
"written_for": "0.0.0.0",
"locate": {
"method": "signature",
"section": ".rdata",
"pattern": "57 54 4f 5f 45 58 41 4d 50 4c 45 00 ??",
"captures": {
"mode": { "offset": 12, "type": "u8" }
}
}
}
]
}
}
}