PointClickEngine::Core::SaveData
Inherits YAML::Serializable < Reference < Object
Game save data structure
Constructors
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
completed_dialogs
Sourcecompleted_dialogs=(completed_dialogs : Array(String))
Sourcecurrent_scene_name
Sourcecurrent_scene_name=(current_scene_name : String)
Sourcegame_variables
Sourcegame_variables=(game_variables : Hash(String, String))
Sourceinventory_items
Sourceinventory_items=(inventory_items : Array(Inventory::InventoryItem))
Sourceplay_time
Sourceplay_time=(play_time : Float32 | Nil)
Sourceplayer_position_x
Sourceplayer_position_x=(player_position_x : Float32)
Sourceplayer_position_y
Sourceplayer_position_y=(player_position_y : Float32)
Sourcescene_states
Sourcescene_states=(scene_states : Hash(String, Hash(String, String)))
Sourcetimestamp
Sourcetimestamp=(timestamp : Time)
Sourceversion
Sourceversion=(version : String)
Source