class

Godot::ResourceFormatSaverCrystal

Inherits Godot::ResourceFormatSaver < Godot::RefCounted < Godot::Object < Reference < Object

Saver that persists modified CrystalScript source code back to .cr files on disk

Constructors

instance
Source
new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Class methods

_godot_has_virtual_method(method_name : String) : Bool
Source
clear_instance
Source
ensure_registered
Source
godot_class_name
Source
godot_parent_class_name
Source
resolve_save_path(target_path : String) : String
Source
unregister
Source

Instance methods

_godot_call_tool_button(button_name : String) : Void

Dispatches inspector tool button clicks on this object.

Source
_godot_call_virtual(method_name : String, delta : Float64) : Void

Virtual method and property dispatch hooks overridden by class registration macros. Delta timestep is received with 64-bit precision (Float64).

Source
_godot_call_virtual_with_data(method_name : String, args : Pointer(Pointer(Void)), ret : Pointer(Void)) : Void

Dispatches generic virtual methods with raw arguments and return buffer.

Source
_godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void

Invoked by the GDExtension bridge when retrieving an exposed @export property.

Source
_godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void

Invoked by the GDExtension bridge when setting an exposed @export property.

Source
call(method : String, *args) : Pointer(Void)

Calls the named method on the object with variable arguments.

Source
get_recognized_extensions
Source
recognize(type : String) : Bool
Source
save(script : CrystalScript, path : String) : Int32
Source