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

Class GDScriptDecomp_custom

bytecode/bytecode_custom.h:6–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "bytecode_base.h"
5
6class GDScriptDecomp_custom : public GDScriptDecomp {
7 GDCLASS(GDScriptDecomp_custom, GDScriptDecomp);
8
9protected:
10 static void _bind_methods() {}
11 int bytecode_version;
12 int bytecode_rev;
13 int engine_ver_major;
14 int variant_ver_major;
15 String engine_version;
16 String max_engine_version;
17 String date;
18 int parent;
19 Vector<GlobalToken> tokens;
20 Vector<String> functions;
21 GDScriptDecomp_custom(Dictionary p_custom_def);
22
23public:
24 virtual String get_function_name(int p_func) const override;
25 virtual int get_function_count() const override;
26 virtual Pair<int, int> get_function_arg_count(int p_func) const override;
27 virtual int get_token_max() const override;
28 virtual int get_function_index(const String &p_func) const override;
29 virtual GDScriptDecomp::GlobalToken get_global_token(int p_token) const override;
30 virtual int get_local_token_val(GDScriptDecomp::GlobalToken p_token) const override;
31 virtual int get_bytecode_version() const override { return bytecode_version; }
32 virtual int get_bytecode_rev() const override { return bytecode_rev; }
33 virtual int get_engine_ver_major() const override { return engine_ver_major; }
34 virtual int get_variant_ver_major() const override { return variant_ver_major; }
35 virtual int get_parent() const override { return parent; }
36 virtual String get_engine_version() const override { return engine_version; }
37 virtual String get_max_engine_version() const override { return max_engine_version; }
38 virtual String get_date() const override { return date; }
39 virtual bool is_custom() const override { return true; }
40 GDScriptDecomp_custom() {}
41
42 static Ref<GDScriptDecomp_custom> create_from_json(Dictionary p_custom_def);
43};

Callers 1

create_from_jsonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected