Skip to main content

Module instruction

Module instruction 

Source
Expand description

Instruction enum and data structs.

Structs§

BuyBundle
BuyChest
BuyFlashSale
BuyScene
BuySceneDojo
Buy scene (6/7/8) with mixed payment: spend all amethyst, cover shortfall with DOJO.
BuyStarterPack
BuyTicketsWithShards
ClaimCollectionReward
ClaimDailyReward
ClaimDineReward
ClaimForgeReward
ClaimRecruitReward
ClaimReferralReward
ClaimShards
ClearForgeCooldown
Dine
Dine: restore chakra for seated shogun. tier 0=24h, 1=48h, 2=72h.
Initialize
LevelUpShogun
Level up: increase level of seated shogun. Burns shards.
Log
MergeShogun
Merge: consume from fodder_counts, add new. seed from BSM /merge.
PrestigeUpgrade
Prestige: consume 2 from fodder_counts[rarity], upgrade seated shogun in slot.
RecruitShogunSol
RecruitShogunTickets
ReplaceShogun
Replace: return old to fodder, promote new from fodder. Same slot.
RollSceneSectionAmethyst
RollSceneSectionShards
SalvageItem
Single salvage entry: (scene_id, section_id) + count to salvage. scene_id: 0–8, section_id: 0–11, count: 1–65535.
SalvageSceneSection
Salvage duplicate scene sections for Amethyst refund. Single ix handles any amount. item_count: number of valid entries in items (1–64).
SeatShogun
Seat: promote one from fodder to barracks slot. rarity 0-4, element 0-4.
SeatShogunFillAll
Batch seat: up to 12 shoguns into empty slots. Slots inferred: first empty, second empty, …
SeatShogunFillAllEntry
Per-seat entry for fill-all. Promotes from fodder to first empty slot.
SetGenesisSlot
UpdateActiveScene
UpgradeBarracksShards
UpgradeBarracksSol
UpgradeForge

Enums§

DojosInstruction