-
Notifications
You must be signed in to change notification settings - Fork 0
DotNet.Astronomy.Class.PermitLocks
EliteDangerousAlmanac / Astronomy / PermitLocks
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/PermitLocks.cs:61
Which systems and regions ask a commander for a permit.
No game data file, journal event or API states a permit lock. Even Sol, locked since the game opened, reports no permit of any kind. The list is therefore kept by hand, and it has two halves. LockedSystems holds the systems that carry a lock of their own. LockedRegions holds the regions whose permit covers every system inside them, which are read from the start of a name because the game names every system in a region after it.
Reading a region from a position is exact, and reading it from the start of a name is the best a name alone allows. Where a position is at hand, take HandAuthoredRegions.FindAt and then IsLockedRegionName.
The list covers systems alone. A body that asks for a permit inside a system that does not, such as Lave 2, is left out, because a system-wide answer would be wrong for it.
The list comes from the community permit database. See ATTRIBUTIONS.md for credit and licence terms.
staticLockedRegions:IReadOnlyList<string>
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/PermitLocks.cs:82
Every region whose permit covers the systems inside it, by name.
Each name is both a region the game names by hand and the opening of the names of the systems inside it.
staticLockedSystems:IReadOnlyList<PermitLockedSystem>
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/PermitLocks.cs:75
Every system that asks for a permit of its own, by name.
staticFindSystemByAddress(id64):PermitLockedSystem?
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/PermitLocks.cs:98
Finds a system that asks for a permit of its own, by its address.
ulong
The system address, as a journal event reports it.
The record, or null where the address carries no lock of its own.
staticFindSystemByName(name):PermitLockedSystem?
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/PermitLocks.cs:90
Finds a system that asks for a permit of its own, by its exact name.
string?
The system name, in any casing, with any surrounding whitespace.
The record, or null where the system carries no lock of its own. A region is not read here.
staticForSystemName(name):PermitLock?
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/PermitLocks.cs:153
Reads the permit one system name asks for.
string?
The system name, in any casing, with any surrounding whitespace.
The lock and what carries it, or null where the system is open.
The systems are read first, so a system that carries a lock of its own and also sits inside a locked region answers with its own.
staticIsLocked(name):bool
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/PermitLocks.cs:172
Reads whether one system name asks for a permit at all.
string?
The system name, in any casing, with any surrounding whitespace.
bool
true where the system or its region asks for one.
Take ForSystemName instead where the commander is to be told which permit they want.
staticIsLockedRegionName(name):bool
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/PermitLocks.cs:107
Reads whether one region asks for a permit, by its exact name.
string?
The region name, in any casing, with any surrounding whitespace.
bool
true where that exact region asks for one. A system name inside the region is not the region's name.
staticRegionForSystemName(systemName):string?
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/PermitLocks.cs:125
Reads the region whose permit covers one system name.
string?
The system name, in any casing, with any surrounding whitespace.
string?
The region name as the catalogue writes it, or null where no locked region opens the name.
Guides
Astronomy
Classes (16)
Records (29)
- AbsoluteBoxel
- AtmosphereComponent
- BodyComposition
- BodyParent
- BodyProperties
- BodyRing
- BodyScanEvent
- BoxelCodexRegion
- BoxelLetters
- CodexRegion
- CodexRegionBounds
- DecodedSystemAddress
- GalacticPlanePosition
- GalacticPosition
- HandAuthoredRegion
- HandAuthoredSphere
- MassStabilityAssessment
- NamingRegionOrigin
- Nebula
- NebulaNearby
- OrbitExtents
- PermitLock
- PermitLockedSystem
- RingDynamics
- RocheLimits
- SectorGridPosition
- SpinOrbitResonance
- SurfaceMaterial
- SystemNameParts
Commodities
Classes (2)
Records (1)
Enumerations (1)
Equipment
Classes (8)
Records (19)
- FittedPersonalModification
- FittedPersonalWeapon
- PersonalEngineeringIngredient
- PersonalModification
- PersonalModifier
- PersonalMount
- PersonalTool
- PersonalWeapon
- PersonalWeaponGrade
- PersonalWeaponMetrics
- ReloadTime
- ScopeMagnification
- Suit
- SuitGrade
- SuitIdentity
- SuitLoadout
- SuitLoadoutEvent
- SuitLoadoutImportOutcome
- SuitLoadoutModuleEvent
Materials
Classes (5)
Records (2)
Enumerations (4)
Ships
Classes (42)
- Ammunition
- Armour
- BlueprintCatalogue
- BlueprintCosts
- BlueprintJournal
- BuildMetrics
- BuildSlots
- CalculationResult\<T\>
- CalculationResult
- DefaultLoadouts
- Distributor
- Engineering
- EngineeringOptions
- ExperimentalEffectCatalogue
- ExperimentalEffectCosts
- Gunsights
- Heat
- JumpRange
- LoadoutCalculations
- LoadoutEditException
- LoadoutValidator
- Mobility
- MobilityCapacitor
- ModuleCapabilities
- ModuleCatalogue
- ModuleLimits
- ModuleStats
- OutfittingFamilies
- Power
- PreEngineeredCatalogue
- PreEngineeredStats
- Resistances
- ShieldCapacitor
- ShieldRecovery
- Shields
- ShipCatalogue
- ShipLoadout
- Slef
- SlotRestrictions
- SourcePurchase
- Weapons
- WeaponsCapacitor
Records (115)
- AmmunitionCapacity
- ApplyBlueprintOptions
- ArmourInput
- ArmourMetrics
- AvailableBlueprint
- Blueprint
- BlueprintCost
- BlueprintFeature
- BlueprintGrade
- BuildCost
- BuildCredits
- BuildLoad
- BuildMass
- BuildSlot
- BuildWeaponMetrics
- BulkheadParams
- CalculationIssue
- CellBankInput
- CellBankMetrics
- CellBankSummary
- CoreSlots
- DamageComponents
- DamageDistribution
- DamageSplit
- DamageTypeValues
- DefaultLoadout
- DefaultLoadoutModule
- DistributorCapacitorMetrics
- DistributorInput
- DistributorMetrics
- DistributorPips
- EngineeringAmbiguous
- EngineeringEditDetail
- EngineeringGradeEdit
- EngineeringMaterial
- EngineeringModifier
- EngineeringOptionGroup
- EngineeringRerolled
- EngineeringUnresolved
- ExperimentalContribution
- ExperimentalEffect
- ExperimentalEffectEdit
- FittedModule
- FittedWeaponMetrics
- FixedMountRepair
- FrameShiftDriveParams
- GunsightOffset
- GunsightPoint
- HardpointSlotSpec
- HeatInput
- HeatMetrics
- HeatState
- HeatWeapon
- HullReinforcementParams
- JumpRangeSummary
- LoadoutCalculationModule
- LoadoutEvent
- LoadoutExportOptions
- LoadoutFuelCapacity
- LoadoutImportOutcome
- LoadoutIssue
- LoadoutMass
- LoadoutModule
- LoadoutSlot
- LoadoutValidation
- LoadoutValidationInput
- MobilityCapacitorMetrics
- MobilityInput
- MobilityMetrics
- ModuleDefaulted
- ModuleEmptied
- ModuleEngineering
- ModuleFitProblem
- ModuleLimitEntry
- ModuleLimitIncrease
- ModuleLimitUsage
- ModuleReinforcementParams
- OptionalSlotSpec
- OutfittingModule
- ParsedSlot
- PowerBand
- PowerBudget
- PowerConsumer
- PowerConsumerResult
- PreEngineeredModifier
- PreEngineeredVariant
- ProjectileRangeBoundaries
- ShieldBoosterParams
- ShieldCapacitorInput
- ShieldCapacitorMetrics
- ShieldGeneratorParams
- ShieldInput
- ShieldMetrics
- ShieldRecoveryInput
- ShieldRecoveryMetrics
- Ship
- ShipSlots
- SlefDiagnostic
- SlefEntry
- SlefExportOptions
- SlefHeader
- SlefInspection
- SourceModuleValue
- SourcePurchaseRecord
- StandardLoadFigures
- ThrusterCurveParams
- ThrusterParams
- TotalRangeDetails
- UnpricedModule
- ValidationModule
- WeaponMetrics
- WeaponsCapacitorInput
- WeaponsCapacitorMetrics
- WeaponStats
- WeaponTotals
Interfaces (1)
Enumerations (35)
- BlueprintRoute
- CalculationField
- CalculationIssueReason
- CoreSlotType
- DamageType
- EngineeringEditCode
- EngineeringEditKind
- EngineeringGroupId
- FixedMountRepairStatus
- ImmovableReason
- LoadoutCredits
- LoadoutEditErrorCode
- LoadoutImportAction
- LoadoutIssueCode
- LoadoutIssueSeverity
- LoadoutModuleOrder
- ModifierMethod
- ModuleCategory
- ModuleExclusionGroup
- ModuleFitConstraint
- ModuleGuidance
- ModuleLimitGroup
- ModuleMount
- ModuleRating
- ModuleSlot
- ModuleStat
- OutfittingFamilyId
- PreEngineeredAcquisition
- ShipSize
- SlefConstraint
- SlefDiagnosticCode
- SlotKind
- SlotRestriction
- StandardLoad
- ThrusterLoad