RapidGameFramework
Reusable Godot managers for data-driven small games
Loading...
Searching...
No Matches
unlock_manager Namespace Reference

Variables

 ConditionEvaluator
 
 DataCacheManager
 
 condition_evaluator
 
 data_cache_manager
 
 data
 Load unlock rules from JSON containing unlocks: [].
 
 Dictionary
 Return cache diagnostics for file-based convenience loads.
 
 unlocked = state.get("unlocked", {}).duplicate(true) if state.get("unlocked", {}) is Dictionary else unlocked
 Saveable unlock state.
 
 entry
 
 target
 
 bool
 Return whether a target is unlocked.
 
 row
 

Variable Documentation

◆ bool

unlock_manager.bool

Return whether a target is unlocked.

Manually lock/unlock one target.

Definition at line 65 of file unlock_manager.gd.

◆ condition_evaluator

unlock_manager.condition_evaluator

Definition at line 13 of file unlock_manager.gd.

◆ ConditionEvaluator

unlock_manager.ConditionEvaluator

Definition at line 8 of file unlock_manager.gd.

◆ data

unlock_manager.data

Load unlock rules from JSON containing unlocks: [].

Definition at line 20 of file unlock_manager.gd.

◆ data_cache_manager

unlock_manager.data_cache_manager

Definition at line 14 of file unlock_manager.gd.

◆ DataCacheManager

unlock_manager.DataCacheManager

Definition at line 9 of file unlock_manager.gd.

◆ Dictionary

unlock_manager.Dictionary

Return cache diagnostics for file-based convenience loads.

Return unlock rows, optionally filtered by category or state.

Evaluate unlock rules and return newly unlocked rows.

Configure unlock rules from dictionaries.

Definition at line 31 of file unlock_manager.gd.

◆ entry

unlock_manager.entry

Definition at line 37 of file unlock_manager.gd.

◆ row

unlock_manager.row

Definition at line 73 of file unlock_manager.gd.

◆ target

unlock_manager.target

Definition at line 50 of file unlock_manager.gd.

◆ unlocked

unlock_manager.unlocked = state.get("unlocked", {}).duplicate(true) if state.get("unlocked", {}) is Dictionary else unlocked

Saveable unlock state.

Restore unlock state.

Definition at line 33 of file unlock_manager.gd.