Starsector API
Loading...
Searching...
No Matches
MessagePriority.java
Go to the documentation of this file.
1
4package com.fs.starfarer.api.campaign.comm;
5
6
7public enum MessagePriority {
8 DELIVER_IMMEDIATELY(1000, 10000),
9 ENSURE_DELIVERY(1000, 10000),
10 SECTOR(1000, 28),
11 CLUSTER(10, 14),
12 SYSTEM(0, 7),
13 ;
14
15 private float maxRangeLightYears;
16 private float broadcastDurationDays;
17
18 private MessagePriority(float maxRangeLightYears, float broadcastDurationDays) {
19 this.maxRangeLightYears = maxRangeLightYears;
20 this.broadcastDurationDays = broadcastDurationDays;
21 }
22
23 public float getMaxRangeLightYears() {
24 return maxRangeLightYears;
25 }
26 public float getBroadcastDurationDays() {
27 return broadcastDurationDays;
28 }
29
30}