class
Lapis::Editor::StatePreserver
- Lapis::Editor::StatePreserver
- Reference
- Object
Defined in:
libgodot/editor/state_preserver.crConstant Summary
-
RECORD_META_KEY =
"__lapis_reload_state__"
Class Method Summary
-
.deserialize_variant_value(json_str : String, expected_type : String) : Godot::Variant | Nil
Deserializes JSON representation back to Godot::Variant
-
.restore_edited_scene : Int32
Phase 5-6: Hydrates reloaded nodes from Engine metadata with schema reconciliation
-
.serialize_variant_value(v : Godot::Variant) : String
Serializes a Godot::Variant into JSON representation
-
.snapshot_edited_scene : Int32
Phase 1-3: Snapshots live Crystal nodes in edited scene and stores in Engine metadata
Instance methods inherited from class Object
try?(&)try? try?
Class Method Detail
def self.deserialize_variant_value(json_str : String, expected_type : String) : Godot::Variant | Nil
#
Deserializes JSON representation back to Godot::Variant
def self.restore_edited_scene : Int32
#
Phase 5-6: Hydrates reloaded nodes from Engine metadata with schema reconciliation
Serializes a Godot::Variant into JSON representation
def self.snapshot_edited_scene : Int32
#
Phase 1-3: Snapshots live Crystal nodes in edited scene and stores in Engine metadata