Наследование: kOS.Suffixed.SpecialValue
Пример #1
0
 public override void Execute(SharedObjects shared)
 {
     string bodyName = PopValueAssert(shared).ToString();
     AssertArgBottomAndConsume(shared);
     var result = new BodyAtmosphere(VesselUtils.GetBodyByName(bodyName));
     ReturnValue = result;
 }
Пример #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);
 }