Searched refs:IsValidTownEffect (Results 1 – 3 of 3) sorted by relevance
85 static bool IsValidTownEffect(TownEffect towneffect_type);
124 if (!ScriptCargo::IsValidTownEffect(towneffect_id)) return -1; in GetLastMonthReceived()134 EnforcePrecondition(false, ScriptCargo::IsValidTownEffect(towneffect_id)); in SetCargoGoal()142 if (!ScriptCargo::IsValidTownEffect(towneffect_id)) return UINT32_MAX; in GetCargoGoal()
25 /* static */ bool ScriptCargo::IsValidTownEffect(TownEffect towneffect_type) in IsValidTownEffect() function in ScriptCargo