MCPcopy Create free account
hub / github.com/OpenVicProject/OpenVic / _bind_methods

Method _bind_methods

extension/src/LoadLocalisation.cpp:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11LoadLocalisation* LoadLocalisation::singleton = nullptr;
12
13void LoadLocalisation::_bind_methods() {
14 ClassDB::bind_method(D_METHOD("load_file", "file_path", "locale"), &LoadLocalisation::load_file);
15 ClassDB::bind_method(D_METHOD("load_locale_dir", "dir_path", "locale"), &LoadLocalisation::load_locale_dir);
16 ClassDB::bind_method(D_METHOD("load_localisation_dir", "dir_path"), &LoadLocalisation::load_localisation_dir);
17}
18
19LoadLocalisation* LoadLocalisation::get_singleton() {
20 return singleton;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected