Exemple #1
0
 public UIOverallStatus(UIEvents.UIShipType.Shiptype st, List <UITypeEnum> list, int focus, UIEvents.UIPips.Pips pips, int fg, double fuel, double res, int cargo,
                        UIEvents.UIPosition.Position pos, double heading, double radius, string legalstate, string bodyname,
                        double health, bool lowh, double gravity, double temp, UITemperature.TempState tempstate, double oxygen, bool lowox,
                        string selw, string selwloc,
                        FSDStateType fsd, bool breathableatmosphere,
                        DateTime time, bool refresh) : this(time, refresh)
 {
     ShipType                 = st;
     Flags                    = list;
     Focus                    = (UIEvents.UIGUIFocus.Focus)focus;
     Pips                     = pips;
     Firegroup                = fg;
     Fuel                     = fuel;
     Reserve                  = res;
     Cargo                    = cargo;
     Pos                      = pos;
     Heading                  = heading;
     PlanetRadius             = radius;
     LegalState               = legalstate;
     BodyName                 = bodyname;
     Health                   = health;
     LowHealth                = lowh;
     Gravity                  = gravity;
     Temperature              = temp;
     TemperatureState         = tempstate;
     Oxygen                   = oxygen;
     LowOxygen                = lowox;
     FSDState                 = fsd;
     BreathableAtmosphere     = breathableatmosphere;
     SelectedWeapon           = selw;
     SelectedWeapon_Localised = selwloc;
 }
 public UIOverallStatus(UIEvents.UIShipType.Shiptype st, List <UITypeEnum> list, int focus, UIEvents.UIPips.Pips pips, int fg, double fuel, double res, int cargo,
                        UIEvents.UIPosition.Position pos, double heading,
                        DateTime time, bool refresh) : base(UITypeEnum.OverallStatus, time, refresh)
 {
     ShipType  = st;
     Flags     = list;
     Focus     = focus;
     Pips      = pips;
     Firegroup = fg;
     Fuel      = fuel;
     Reserve   = res;
     Cargo     = cargo;
     Pos       = pos;
     Heading   = heading;
 }
Exemple #3
0
 public UIOverallStatus(UIEvents.UIShipType.Shiptype st, List <UITypeEnum> list, int focus, UIEvents.UIPips.Pips pips, int fg, double fuel, double res, int cargo,
                        UIEvents.UIPosition.Position pos, double heading, double radius, string legalstate,
                        DateTime time, bool refresh) : this(time, refresh)
 {
     ShipType     = st;
     Flags        = list;
     Focus        = (UIEvents.UIGUIFocus.Focus)focus;
     Pips         = pips;
     Firegroup    = fg;
     Fuel         = fuel;
     Reserve      = res;
     Cargo        = cargo;
     Pos          = pos;
     Heading      = heading;
     PlanetRadius = radius;
     LegalState   = legalstate;
 }