Exemple #1
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);
 }
 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);
 }
 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);
 }
 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;
 }
 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;
 }
Exemple #6
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.ItemDefinition = m_reactorDefinition.FuelId;
     return pullInformation;
 }
 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;
 }