mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
refactor: derive turtle opcodes from classic
This commit is contained in:
parent
0b6265bc55
commit
6ede9a2968
12 changed files with 428 additions and 394 deletions
|
|
@ -33,7 +33,10 @@ class OpcodeTable {
|
|||
public:
|
||||
/**
|
||||
* Load opcode mappings from a JSON file.
|
||||
* Format: { "CMSG_PING": "0x1DC", "SMSG_AUTH_CHALLENGE": "0x1EC", ... }
|
||||
* Format:
|
||||
* { "CMSG_PING": "0x1DC", "SMSG_AUTH_CHALLENGE": "0x1EC", ... }
|
||||
* or a delta file with:
|
||||
* { "_extends": "../classic/opcodes.json", "_remove": ["MSG_FOO"], ...overrides }
|
||||
*/
|
||||
bool loadFromJson(const std::string& path);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue