CnC_Remastered_Collection

Command and Conquer: Red Alert
Log | Files | Refs | README | LICENSE

BasicSection.cs (3739B)


      1 //
      2 // Copyright 2020 Electronic Arts Inc.
      3 //
      4 // The Command & Conquer Map Editor and corresponding source code is free 
      5 // software: you can redistribute it and/or modify it under the terms of 
      6 // the GNU General Public License as published by the Free Software Foundation, 
      7 // either version 3 of the License, or (at your option) any later version.
      8 
      9 // The Command & Conquer Map Editor and corresponding source code is distributed 
     10 // in the hope that it will be useful, but with permitted additional restrictions 
     11 // under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT 
     12 // distributed with this program. You should have received a copy of the 
     13 // GNU General Public License along with permitted additional restrictions 
     14 // with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
     15 using MobiusEditor.Model;
     16 using System.ComponentModel;
     17 
     18 namespace MobiusEditor.RedAlert
     19 {
     20     public class BasicSection : Model.BasicSection
     21     {
     22         private string win2;
     23         [DefaultValue("x")]
     24         public string Win2 { get => win2; set => SetField(ref win2, value); }
     25 
     26         private string win3;
     27         [DefaultValue("x")]
     28         public string Win3 { get => win3; set => SetField(ref win3, value); }
     29 
     30         private string win4;
     31         [DefaultValue("x")]
     32         public string Win4 { get => win4; set => SetField(ref win4, value); }
     33 
     34         private bool toCarryOver;
     35         [TypeConverter(typeof(BooleanTypeConverter))]
     36         [DefaultValue(false)]
     37         public bool ToCarryOver { get => toCarryOver; set => SetField(ref toCarryOver, value); }
     38 
     39         private bool toInherit;
     40         [TypeConverter(typeof(BooleanTypeConverter))]
     41         [DefaultValue(false)]
     42         public bool ToInherit { get => toInherit; set => SetField(ref toInherit, value); }
     43 
     44         private bool timerInherit;
     45         [TypeConverter(typeof(BooleanTypeConverter))]
     46         [DefaultValue(false)]
     47         public bool TimerInherit { get => timerInherit; set => SetField(ref timerInherit, value); }
     48 
     49         private bool endOfGame;
     50         [TypeConverter(typeof(BooleanTypeConverter))]
     51         [DefaultValue(false)]
     52         public bool EndOfGame { get => endOfGame; set => SetField(ref endOfGame, value); }
     53 
     54         private bool civEvac;
     55         [TypeConverter(typeof(BooleanTypeConverter))]
     56         [DefaultValue(false)]
     57         public bool CivEvac { get => civEvac; set => SetField(ref civEvac, value); }
     58 
     59         private bool noSpyPlane;
     60         [TypeConverter(typeof(BooleanTypeConverter))]
     61         [DefaultValue(false)]
     62         public bool NoSpyPlane { get => noSpyPlane; set => SetField(ref noSpyPlane, value); }
     63 
     64         private bool skipScore;
     65         [TypeConverter(typeof(BooleanTypeConverter))]
     66         [DefaultValue(false)]
     67         public bool SkipScore { get => skipScore; set => SetField(ref skipScore, value); }
     68 
     69         private bool oneTimeOnly;
     70         [TypeConverter(typeof(BooleanTypeConverter))]
     71         [DefaultValue(false)]
     72         public bool OneTimeOnly { get => oneTimeOnly; set => SetField(ref oneTimeOnly, value); }
     73 
     74         private bool skipMapSelect;
     75         [TypeConverter(typeof(BooleanTypeConverter))]
     76         [DefaultValue(false)]
     77         public bool SkipMapSelect { get => skipMapSelect; set => SetField(ref skipMapSelect, value); }
     78 
     79         private bool truckCrate;
     80         [TypeConverter(typeof(BooleanTypeConverter))]
     81         [DefaultValue(false)]
     82         public bool TruckCrate { get => truckCrate; set => SetField(ref truckCrate, value); }
     83 
     84         private bool fillSilos;
     85         [TypeConverter(typeof(BooleanTypeConverter))]
     86         [DefaultValue(false)]
     87         public bool FillSilos { get => fillSilos; set => SetField(ref fillSilos, value); }
     88     }
     89 }