public override void Execute(SharedObjects shared) { string bodyName = PopValueAssert(shared).ToString(); AssertArgBottomAndConsume(shared); var result = new BodyAtmosphere(VesselUtils.GetBodyByName(bodyName)); ReturnValue = result; }
public override void Execute(SharedObjects shared) { string bodyName = shared.Cpu.PopValue().ToString(); var result = new BodyAtmosphere(VesselUtils.GetBodyByName(bodyName)); shared.Cpu.PushStack(result); }