enum | TransactionReasons {
TransactionReasons.None = 0,
TransactionReasons.ContractAdvance = 1 << 1,
TransactionReasons.ContractReward = 1 << 2,
TransactionReasons.ContractPenalty = 1 << 3,
TransactionReasons.Contracts = ContractAdvance | ContractPenalty | ContractReward | ContractDecline,
TransactionReasons.VesselRollout = 1 << 4,
TransactionReasons.VesselRecovery = 1 << 5,
TransactionReasons.VesselLoss = 1 << 6,
TransactionReasons.Vessels = VesselRollout | VesselRecovery | VesselLoss,
TransactionReasons.StrategyInput = 1 << 7,
TransactionReasons.StrategyOutput = 1 << 8,
TransactionReasons.StrategySetup = 1 << 9,
TransactionReasons.Strategies = StrategyInput | StrategyOutput | StrategySetup,
TransactionReasons.ScienceTransmission = 1 << 10,
TransactionReasons.StructureRepair = 1 << 11,
TransactionReasons.StructureCollapse = 1 << 12,
TransactionReasons.StructureConstruction = 1 << 13,
TransactionReasons.Structures = StructureRepair | StructureCollapse | StructureConstruction,
TransactionReasons.RnDTechResearch = 1 << 14,
TransactionReasons.RnDPartPurchase = 1 << 15,
TransactionReasons.RnDs = RnDTechResearch | RnDPartPurchase,
TransactionReasons.Cheating = 1 << 16,
TransactionReasons.CrewRecruited = 1 << 17,
TransactionReasons.ContractDecline = 1 << 18,
TransactionReasons.Progression = 1 << 19,
TransactionReasons.Mission = 1 << 20,
TransactionReasons.Any = ~0
} |