28 lines
700 B
C++
28 lines
700 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
enum class SchematicType
|
|
{
|
|
Ship,
|
|
Module,
|
|
Recipe,
|
|
Artifact
|
|
};
|
|
|
|
// One option presented to the player in the schematic choice dialog
|
|
// (REQ-DEF-SCHEMATIC-DROP). Built by the simulation when enemy stations are
|
|
// destroyed; the UI reads these to populate the dialog.
|
|
struct SchematicChoiceOption
|
|
{
|
|
std::string schematicId;
|
|
SchematicType type;
|
|
std::string displayName;
|
|
|
|
// Ids of miner/assembler recipes that would newly become implicitly
|
|
// unlocked (REQ-LOCK-IMPLICIT) if this option is selected. Sorted
|
|
// alphabetically by display name; empty if none.
|
|
std::vector<std::string> newlyUnlockedRecipeIds;
|
|
};
|