Inheritance: kOS.Suffixed.SpecialValue
Beispiel #1
0
 public override void Execute(SharedObjects shared)
 {
     string bodyName = PopValueAssert(shared).ToString();
     AssertArgBottomAndConsume(shared);
     var result = new BodyAtmosphere(VesselUtils.GetBodyByName(bodyName));
     ReturnValue = result;
 }
Beispiel #2
0
 public override void Execute(SharedObjects shared)
 {
     string bodyName = shared.Cpu.PopValue().ToString();
     var result = new BodyAtmosphere(VesselUtils.GetBodyByName(bodyName));
     shared.Cpu.PushStack(result);
 }