Function is_progress_pass_tier_unlocked

Source
pub fn is_progress_pass_tier_unlocked(
    tier_template: &ProgressPassTierTemplate,
    progress_pass_quests: &[QuestInstance],
    quest_templates: &[QuestTemplate],
) -> bool
Expand description

Authoritative check: are all quests that gate tier_template complete?

The ProgressPassTierState.is_unlocked field is a cached view of this over the wire; the server must not trust it for gating — it derives fresh from quest_groups.progress_pass.