protected PackingProcess Process; // Process to report to #endregion Fields #region Constructors protected Step(PackingProcess proc, int start, int total) { IsDisposed = false; Process = proc; StartPercent = start; TotalPercent = total; CurrentPercent = start; }
private List<string> _requiredTags; // List of required tags that must be in the station xml file #endregion Fields #region Constructors public StationXMLStep(PackingProcess proc, int start, int total) : base(proc, start, total) { StationXmlPath = Path.Combine(IOUtil.SourceFolder, "station.xml"); _requiredTags = new List<string>(new string[]{ "Name", "Version", "LoadClass" }); StationName = "Invalid"; StationVersion = "Invalid"; StationLoadClass = "Invalid"; }
public CodeCompilationStep(PackingProcess proc, int start, int total) : base(proc, start, total) { BaseCodePath = Path.Combine(IOUtil.SourceFolder, "code"); DefinitionFilePath = Path.Combine(IOUtil.SourceFolder, "Build", "Projects", "station.definition"); OutputCodePath = Path.Combine(IOUtil.IntermediateFolder, "station.dll"); referencedAssemblies = new List<string>(new string[] { "../ThirdParty/Lidgren.Network.dll", (System.Environment.OSVersion.Platform == PlatformID.Unix) ? "../ThirdParty/Linux/Monogame.Framework.dll" : "../ThirdParty/Windows/Monogame.Framework.dll", (System.Environment.OSVersion.Platform == PlatformID.Unix) ? "../ThirdParty/Linux/SSCore.dll" : "../ThirdParty/Windows/SSCore.dll", }); }
public ItemPackingStep(PackingProcess proc, int start, int total) : base(proc, start, total) { TexturePacker = new TexturePacker(this, "items"); }
public TilePackingStep(PackingProcess proc, int start, int total) : base(proc, start, total) { TexturePacker = new TexturePacker(this, "tiles"); }
public ZippingStep(PackingProcess proc, int start, int total) : base(proc, start, total) { }