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

Variables

 RARITY_WEIGHTS
 
 DEFAULT_EVENT_PACK_DIR
 
 DataCacheManager
 
 all_events
 
 events_by_pack
 
 current_event = {}
 
 data_cache_manager
 
 String
 Load all event packs from a directory.
 
 dir
 
 f = dir.get_next()
 
 pack_id
 
 event
 Restore current event by id, usually from save state.
 
 Dictionary
 Return events that match optional filter constraints.
 
 events
 
 event_pool
 
 total
 
 roll
 
 running
 
 bool
 
 drawn_events
 

Variable Documentation

◆ all_events

event_manager.all_events

Definition at line 13 of file event_manager.gd.

◆ bool

event_manager.bool

Definition at line 119 of file event_manager.gd.

◆ current_event

dict event_manager.current_event = {}

Definition at line 15 of file event_manager.gd.

◆ data_cache_manager

event_manager.data_cache_manager

Definition at line 16 of file event_manager.gd.

◆ DataCacheManager

event_manager.DataCacheManager

Definition at line 11 of file event_manager.gd.

◆ DEFAULT_EVENT_PACK_DIR

event_manager.DEFAULT_EVENT_PACK_DIR

Definition at line 10 of file event_manager.gd.

◆ Dictionary

event_manager.Dictionary

Return events that match optional filter constraints.

Draw several weighted events, optionally without duplicates.

Draw and store the next current event.

Draw one event using rarity weights.

Definition at line 55 of file event_manager.gd.

◆ dir

event_manager.dir

Definition at line 26 of file event_manager.gd.

◆ drawn_events

event_manager.drawn_events

Definition at line 120 of file event_manager.gd.

◆ event

event_manager.event

Restore current event by id, usually from save state.

Definition at line 48 of file event_manager.gd.

◆ event_pool

event_manager.event_pool

Definition at line 83 of file event_manager.gd.

◆ events

event_manager.events

Definition at line 56 of file event_manager.gd.

◆ events_by_pack

event_manager.events_by_pack

Definition at line 14 of file event_manager.gd.

◆ f

event_manager.f = dir.get_next()

Definition at line 29 of file event_manager.gd.

◆ pack_id

event_manager.pack_id

Definition at line 32 of file event_manager.gd.

◆ RARITY_WEIGHTS

event_manager.RARITY_WEIGHTS

Definition at line 9 of file event_manager.gd.

◆ roll

event_manager.roll

Definition at line 91 of file event_manager.gd.

◆ running

event_manager.running

Definition at line 92 of file event_manager.gd.

◆ String

event_manager.String

Load all event packs from a directory.

Definition at line 19 of file event_manager.gd.

◆ total

event_manager.total

Definition at line 86 of file event_manager.gd.