コード例 #1
0
ファイル: MyGasGenerator.cs プロジェクト: feiyuren233/vrage
 public Sandbox.Game.GameSystems.Conveyors.PullInformation GetPullInformation()
 {
     Sandbox.Game.GameSystems.Conveyors.PullInformation pullInformation = new Sandbox.Game.GameSystems.Conveyors.PullInformation();
     pullInformation.Inventory  = this.GetInventory();
     pullInformation.OwnerID    = OwnerId;
     pullInformation.Constraint = pullInformation.Inventory.Constraint;
     return(pullInformation);
 }
コード例 #2
0
 public virtual Sandbox.Game.GameSystems.Conveyors.PullInformation GetPushInformation()
 {
     Sandbox.Game.GameSystems.Conveyors.PullInformation pullInformation = new Sandbox.Game.GameSystems.Conveyors.PullInformation();
     pullInformation.Inventory  = OutputInventory;
     pullInformation.OwnerID    = OwnerId;
     pullInformation.Constraint = OutputInventory.Constraint;
     return(pullInformation);
 }
コード例 #3
0
ファイル: MyReactor.cs プロジェクト: Pharap/GetOreMarkersInPB
 public Sandbox.Game.GameSystems.Conveyors.PullInformation GetPullInformation()
 {
     Sandbox.Game.GameSystems.Conveyors.PullInformation pullInformation = new Sandbox.Game.GameSystems.Conveyors.PullInformation();
     pullInformation.Inventory      = this.GetInventory();
     pullInformation.OwnerID        = OwnerId;
     pullInformation.ItemDefinition = m_reactorDefinition.FuelId;
     return(pullInformation);
 }
コード例 #4
0
 public Sandbox.Game.GameSystems.Conveyors.PullInformation GetPullInformation()
 {
     Sandbox.Game.GameSystems.Conveyors.PullInformation pullInformation = new Sandbox.Game.GameSystems.Conveyors.PullInformation();
     pullInformation.Inventory = this.GetInventory();
     pullInformation.OwnerID = OwnerId;
     pullInformation.Constraint = pullInformation.Inventory.Constraint;
     return pullInformation;
 }
コード例 #5
0
 public Sandbox.Game.GameSystems.Conveyors.PullInformation GetPullInformation()
 {
     Sandbox.Game.GameSystems.Conveyors.PullInformation pullInformation = new PullInformation();
     pullInformation.Inventory = this.GetInventory(0);
     pullInformation.OwnerID = OwnerId;
     pullInformation.Constraint = new MyInventoryConstraint("Empty Constraint");
     return pullInformation;
 }
コード例 #6
0
ファイル: MyReactor.cs プロジェクト: rem02/SpaceEngineers
 public Sandbox.Game.GameSystems.Conveyors.PullInformation GetPullInformation()
 {
     Sandbox.Game.GameSystems.Conveyors.PullInformation pullInformation = new Sandbox.Game.GameSystems.Conveyors.PullInformation();
     pullInformation.Inventory = this.GetInventory();
     pullInformation.OwnerID = OwnerId;
     pullInformation.ItemDefinition = m_reactorDefinition.FuelId;
     return pullInformation;
 }
コード例 #7
0
 public virtual Sandbox.Game.GameSystems.Conveyors.PullInformation GetPushInformation()
 {
     Sandbox.Game.GameSystems.Conveyors.PullInformation pullInformation = new Sandbox.Game.GameSystems.Conveyors.PullInformation();
     pullInformation.Inventory = OutputInventory;
     pullInformation.OwnerID = OwnerId;
     pullInformation.Constraint = OutputInventory.Constraint;
     return pullInformation;
 }