41#define STATION_MAX_POLICE 8
43#define STATION_DELAY_BETWEEN_LAUNCHES 6.0
45#define STATION_LAUNCH_RETRY_INTERVAL 2.0
47#define MAX_DOCKING_STAGES 16
49#define DOCKING_CLEARANCE_WINDOW 126.0
116- (NSArray *) marketDefinition;
117- (NSString *) marketScriptName;
118- (BOOL) marketMonitored;
119- (BOOL) marketBroadcast;
123- (void) setLocalMarket:(NSArray *)market;
124- (NSDictionary *) localMarketForScripting;
132- (NSMutableArray *) localShipyard;
133- (void) setLocalShipyard:(NSArray *)market;
134- (void) generateShipyard;
136- (NSMutableDictionary *) localInterfaces;
144- (NSEnumerator *) dockSubEntityEnumerator;
145- (Vector) virtualPortDimensions;
148- (HPVector) beaconPosition;
150- (float) equipmentPriceFactor;
152- (void) setPlanet:(OOPlanetEntity *)planet;
154- (OOPlanetEntity *) planet;
156- (void) setAllegiance:(NSString *)newAllegiance;
157- (NSString *)allegiance;
159- (unsigned) countOfDockedContractors;
160- (unsigned) countOfDockedPolice;
161- (unsigned) countOfDockedDefenders;
163- (void) sanityCheckShipsOnApproach;
165- (void) autoDockShipsOnApproach;
167- (Vector) portUpVectorForShip:(
ShipEntity *)ship;
169- (NSDictionary *) dockingInstructionsForShip:(
ShipEntity *)ship;
171- (BOOL) shipIsInDockingCorridor:(
ShipEntity *)ship;
173- (BOOL) dockingCorridorIsEmpty;
175- (void) clearDockingCorridor;
180- (void) abortAllDockings;
182- (void) abortDockingForShip:(
ShipEntity *)ship;
184- (BOOL) hasMultipleDocks;
185- (BOOL) hasClearDock;
186- (BOOL) hasLaunchDock;
188- (unsigned) currentlyInLaunchingQueues;
189- (unsigned) currentlyInDockingQueues;
194- (
ShipEntity *) launchIndependentShip:(NSString *)role;
198- (BOOL) interstellarUndockingAllowed;
199- (BOOL) hasNPCTraffic;
200- (void) setHasNPCTraffic:(BOOL)flag;
207- (void) increaseAlertLevel;
208- (void) decreaseAlertLevel;
210- (NSArray *) launchPolice;
220- (void) launchShipWithRole:(NSString *)role;
222- (void) acceptPatrolReportFrom:(
ShipEntity *)patrol_ship;
224- (NSString *) acceptDockingClearanceRequestFrom:(
ShipEntity *)other;
225- (BOOL) requiresDockingClearance;
226- (void) setRequiresDockingClearance:(BOOL)newValue;
228- (BOOL) allowsFastDocking;
229- (void) setAllowsFastDocking:(BOOL)newValue;
231- (BOOL) allowsAutoDocking;
232- (void) setAllowsAutoDocking:(BOOL)newValue;
234- (BOOL) allowsSaving;
237- (NSString *) marketOverrideName;
238- (BOOL) isRotatingStation;
241- (BOOL) suppressArrivalReports;
242- (void) setSuppressArrivalReports:(BOOL)newValue;
244- (BOOL) hasBreakPattern;
245- (void) setHasBreakPattern:(BOOL)newValue;
248- (BOOL) fitsInDock:(
ShipEntity *)ship andLogNoFit:(BOOL)logNoFit;
NSString * OOCommodityType
uint64_t OOCreditsQuantity
NSDictionary * OOMakeDockingInstructions(StationEntity *station, HPVector coords, float speed, float range, NSString *ai_message, NSString *comms_message, BOOL match_rotation, int docking_stage)
@ STATION_ALERT_LEVEL_RED
@ STATION_ALERT_LEVEL_YELLOW
@ STATION_ALERT_LEVEL_GREEN
OOCommodityMarket * localMarket
double patrol_launch_interval
double last_trader_launch_time
NSMutableDictionary * localInterfaces
DockEntity * player_reserved_dock
NSMutableArray * localShipyard
unsigned allowsAutoDocking
unsigned defenders_launched
unsigned no_docking_while_launching
OOCargoQuantity marketCapacity
OOTechLevelID equivalentTechLevel
OOStationAlertLevel alertLevel
double last_shuttle_launch_time
unsigned interstellarUndockingAllowed
unsigned scavengers_launched
unsigned suppress_arrival_reports
unsigned allowsFastDocking
double shuttle_launch_interval
unsigned max_defense_ships
NSArray * marketDefinition
float equipmentPriceFactor
double last_patrol_report_time
NSString * marketScriptName
unsigned requiresDockingClearance
double trader_launch_interval