Exemple #1
0
 public UIOverallStatus(UIMode.MajorModeType mm, UIMode.ModeType mt, List <UITypeEnum> list, int focus, UIPips.Pips pips, int fg, double fuel, double res, int cargo,
                        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)
 {
     MajorMode                = mm;
     Mode                     = mt;
     Flags                    = list;
     Focus                    = (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 UIFuel(double value, double res, UIMode.ModeType shiptype, DateTime time, bool refresh) : this(time, refresh)
 {
     Fuel    = value;
     FuelRes = res;
     Mode    = shiptype;
 }
Exemple #3
0
 public UICargo(int value, UIMode.ModeType shiptype, DateTime time, bool refresh) : this(time, refresh)
 {
     Count = value;
     Mode  = shiptype;
 }