mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
af6f489657
This sets up the extractor for jak 2. I was expecting that I'd have to make some more significant changes to the decompiler/compiler path stuff, but this was not the case! The only real change is that you can now provide multiple ISO hashes for an entry in `ISOMetadata`. This is needed for the two different NTSC versions, which have the same configs, serials, and ELF hashes, but slightly different contents. I also didn't add the korean version because I don't have the info for it. --------- Co-authored-by: ManDude <7569514+ManDude@users.noreply.github.com>
15 lines
472 B
C++
15 lines
472 B
C++
#include "completion.h"
|
|
|
|
void LSPSpec::to_json(json& j, const CompletionParams& obj) {
|
|
j = json{{"textDocument", obj.m_textDocument}, {"position", obj.m_position}};
|
|
}
|
|
|
|
void LSPSpec::from_json(const json& j, CompletionParams& obj) {
|
|
j.at("textDocument").get_to(obj.m_textDocument);
|
|
j.at("position").get_to(obj.m_position);
|
|
}
|
|
|
|
void LSPSpec::to_json(json& /*j*/, const CompletionList& /*obj*/) {}
|
|
|
|
void LSPSpec::from_json(const json& /*j*/, CompletionList& /*obj*/) {}
|