Engine¶
- class Game¶
-
mapgen_data:
MapgenData¶ undocumented
-
localization:
string¶ undocumented
-
build_string:
string¶ undocumented
-
mapgen_data:
-
class GameSessionData:
Instance¶ -
infinite_ore:
boolean¶ undocumented
-
all_research_completed:
boolean¶ undocumented
-
creative_mode:
boolean¶ undocumented
-
creative_allowed:
boolean¶ undocumented
-
total_game_time:
number¶ undocumented
-
total_game_ticks:
integer¶ undocumented
-
seed:
string¶ undocumented
-
version:
string¶ undocumented
-
generator:
string¶ undocumented
-
save_name:
string¶ undocumented
-
cloud:
boolean¶ undocumented
-
world_time:
number¶ undocumented
-
world_time_freeze:
boolean¶ undocumented
-
staticmethod new(parent:
Object, name:string):GameSessionData¶ Creates a new GameSessionData instance
- Parameters:
parent (
Object) – Object of parentname (
string) – The name of the instance
-
staticmethod new_simple():
GameSessionData¶ Creates a new GameSessionData instance
-
staticmethod get_class():
Class¶ Return GameSessionData class object
-
staticmethod cast(object:
Object):GameSessionData¶ Trying to cast Object into GameSessionData
- Parameters:
object (
Object) – to cast
-
infinite_ore:
- class EngineData¶
-
props_mul:
number¶ undocumented
-
dpi:
number¶ undocumented
-
mouse_sensitivity_x:
number¶ undocumented
-
mouse_sensitivity_y:
number¶ undocumented
-
mouse_inversion_x:
boolean¶ undocumented
-
mouse_inversion_y:
boolean¶ undocumented
-
props_quality:
number¶ undocumented
-
reflection_preset:
integer¶ undocumented
-
transparency_preset:
integer¶ undocumented
-
gi_preset:
integer¶ undocumented
-
detail_shadows:
boolean¶ undocumented
-
fps:
integer¶ undocumented
-
res_x:
integer¶ undocumented
-
res_y:
integer¶ undocumented
-
loading_range:
integer¶ undocumented
-
performance:
boolean¶ undocumented
-
performance_graph:
boolean¶ undocumented
-
ctrl_hotbar:
boolean¶ undocumented
-
alt_hotbar:
boolean¶ undocumented
-
shift_hotbar:
boolean¶ undocumented
-
fov:
number¶ undocumented
-
fog:
number¶ undocumented
-
window_mode:
integer¶ undocumented
-
autosave_period:
integer¶ undocumented
-
memory_stats:
boolean¶ undocumented
-
props_mul:
-
class Console:
Instance¶ Engine console
-
staticmethod run(command:
string)¶ Executes engine console command
-
staticmethod get_string(variable:
string):string¶ Get engine console variable
-
staticmethod get_float(variable:
string):number¶ Get engine console variable
-
staticmethod get_int(variable:
string):integer¶ Get engine console variable
-
staticmethod run(command:
-
EngineConsole.new(parent:
Object, name:string):EngineConsole¶ Creates a new EngineConsole instance
- Parameters:
parent (
Object) – Object of parentname (
string) – The name of the instance
-
EngineConsole.new_simple():
EngineConsole¶ Creates a new EngineConsole instance
-
EngineConsole.get_class():
Class¶ Return EngineConsole class object
-
EngineConsole.cast(object:
Object):EngineConsole¶ Trying to cast Object into EngineConsole
- Parameters:
object (
Object) – to cast
-
class Setting:
Prototype¶ -
restart:
boolean¶ undocumented
-
set_action:
function¶ undocumented
-
label:
string¶ undocumented
-
type:
string¶ undocumented
-
category:
string¶ undocumented
-
bool_value:
boolean¶ undocumented
-
bool_default_value:
boolean¶ undocumented
-
string_value:
string¶ undocumented
-
string_options:
string[]¶ undocumented
-
int_value:
integer¶ undocumented
-
int_default_value:
integer¶ undocumented
-
max_value:
integer¶ undocumented
-
min_value:
integer¶ undocumented
-
key_binding:
string¶ undocumented
-
default_key:
string¶ undocumented
-
staticmethod reg(name:
string):Setting¶ Register a new Setting static object
- Parameters:
name (
string) – The name of the object
-
staticmethod find(name:
string):Setting¶ Searching for Setting in db
- Parameters:
name (
string) – The name of the object
-
staticmethod get_class():
Class¶ Return Setting class object
-
restart:
-
class SettingsCategory:
Prototype¶ -
-
label:
string¶ undocumented
-
file_name:
string¶ undocumented
-
staticmethod reg(name:
string):SettingsCategory¶ Register a new SettingsCategory static object
- Parameters:
name (
string) – The name of the object
-
staticmethod find(name:
string):SettingsCategory¶ Searching for SettingsCategory in db
- Parameters:
name (
string) – The name of the object
-
staticmethod get_class():
Class¶ Return SettingsCategory class object
-
staticmethod cast(object:
Object):SettingsCategory¶ Trying to cast Object into SettingsCategory
- Parameters:
object (
Object) – to cast
-
label: