Inheritance: kOS.Suffixed.SpecialValue
示例#1
0
文件: Suffixed.cs 项目: CalebJ2/KOS
 public override void Execute(SharedObjects shared)
 {
     string bodyName = PopValueAssert(shared).ToString();
     AssertArgBottomAndConsume(shared);
     var result = new BodyAtmosphere(VesselUtils.GetBodyByName(bodyName));
     ReturnValue = result;
 }
示例#2
0
文件: Suffixed.cs 项目: EbbiDos/KOS
 public override void Execute(SharedObjects shared)
 {
     string bodyName = shared.Cpu.PopValue().ToString();
     var result = new BodyAtmosphere(VesselUtils.GetBodyByName(bodyName));
     shared.Cpu.PushStack(result);
 }