// Function from file: datum_pipeline.dm public override dynamic Destroy( ) { Obj_Machinery_Atmospherics_Pipe P = null; Obj_Machinery_Atmospherics_Components C = null; GlobalVars.SSair.networks.Remove(this); if (this.air != null && Lang13.Bool(this.air.volume)) { this.temporarily_store_air(); } foreach (dynamic _a in Lang13.Enumerate(this.members, typeof(Obj_Machinery_Atmospherics_Pipe))) { P = _a; P.parent = null; } foreach (dynamic _b in Lang13.Enumerate(this.other_atmosmch, typeof(Obj_Machinery_Atmospherics_Components))) { C = _b; C.nullifyPipenet(this); } return(base.Destroy()); }
// Function from file: datum_pipeline.dm public void merge(Pipeline E = null) { Obj_Machinery_Atmospherics_Pipe S = null; Obj_Machinery_Atmospherics_Components C = null; this.air.volume += E.air.volume ?? 0; this.members.Add(E.members); foreach (dynamic _a in Lang13.Enumerate(E.members, typeof(Obj_Machinery_Atmospherics_Pipe))) { S = _a; S.parent = this; } this.air.merge(E.air); foreach (dynamic _b in Lang13.Enumerate(E.other_atmosmch, typeof(Obj_Machinery_Atmospherics_Components))) { C = _b; C.replacePipenet(E, this); } this.other_atmosmch.Add(E.other_atmosmch); this.other_airs.Add(E.other_airs); E.members.Cut(); E.other_atmosmch.Cut(); GlobalFuncs.qdel(E); return; }