Structs§
- Barracks
- Config
- Dojo
- Forge
- Game
- Referral
- Scenes
- Shogun
- Shogun helpers. Barracks.slots store packed (rarity, element, level, prestige); fodder in Dojo.
- Slot
Cache - Ore-relevant cache per slot. Updated by seat/replace/dine/level_up; read by claim_shards.
- Tasks
- Treasury
Enums§
Constants§
- BARRACKS_
SLOT_ EMPTY - Empty slot sentinel. Barracks uses u64::MAX for empty slots.
Functions§
- barracks_
pda - Barracks PDA.
- config_
pda - Config PDA.
- dojo_
pda - Dojo PDA.
- forge_
pda - Forge PDA.
- game_
pda - Game PDA (total_spirit_power, total_shards_burned).
- pack_
slot - Pack (rarity, element, level, prestige) into u64. BARRACKS_SLOT_EMPTY = u64::MAX.
- referral_
pda - Referral PDA (keyed by referrer dojo).
- scenes_
pda - Scenes PDA (keyed by dojo).
- tasks_
pda - Tasks PDA (one per dojo).
- treasury_
pda - Treasury PDA.
- unpack_
slot