MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / GDScriptDecompVersion

Class GDScriptDecompVersion

bytecode/bytecode_versions.h:6–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5void register_decomp_versions();
6struct GDScriptDecompVersion {
7 // automatically updated by `bytecode_generator.py`
8 static constexpr int LATEST_GDSCRIPT_COMMIT = 0xebc36a7;
9
10 static Vector<GDScriptDecompVersion> decomp_versions;
11 static int number_of_custom_versions;
12 int commit = 0;
13 String name;
14 int bytecode_version;
15 bool is_dev;
16 String min_version;
17 String max_version;
18 int parent;
19 Dictionary custom;
20
21 bool is_custom() const;
22
23 Ref<GodotVer> get_min_version() const;
24 Ref<GodotVer> get_max_version() const;
25
26 int get_major_version() const;
27
28 static Ref<GDScriptDecomp> create_decomp_for_commit(int p_commit_hash);
29 static Vector<Ref<GDScriptDecomp>> get_decomps_for_bytecode_ver(int bytecode_version, bool include_dev = false);
30 static Vector<GDScriptDecompVersion> get_decomp_versions(bool include_dev = true, int ver_major = 0);
31
32 static GDScriptDecompVersion create_version_from_custom_def(Dictionary p_custom_def);
33 static GDScriptDecompVersion create_derived_version_from_custom_def(int revision, Dictionary p_custom_def);
34 static int register_decomp_version_custom(Dictionary p_custom_def);
35 static int register_derived_decomp_version_custom(int revision, Dictionary p_custom_def);
36
37 Ref<GDScriptDecomp> create_decomp() const;
38};

Calls

no outgoing calls

Tested by

no test coverage detected