Exemplo n.º 1
0
 /**
  * Constructor.
  *
  * @param int $bpCopyId ID of the blueprint being copied
  * @param int $copyQuantity the number of copies being made
  * @param int $outputRuns the number of runs per copy
  * @param int $copyTime the time the copy process takes
  * @param float $processCost the cost of performing this reseach process
  * @param int $solarSystemId ID of the SolarSystem the research is performed
  * @param int $assemblyLineId ID of the AssemblyLine where the research is being performed
  */
 public function __construct($bpCopyId, $copyQuantity, $outputRuns, $copyTime, $processCost, $solarSystemId, $assemblyLineId)
 {
     parent::__construct($bpCopyId, $copyQuantity, $copyTime, $processCost);
     $this->outputRuns = (int) $outputRuns;
     $this->solarSystemId = (int) $solarSystemId;
     $this->assemblyLineId = (int) $assemblyLineId;
 }
 /**
  * Constructor.
  *
  * @param int $researchedBpId of the Blueprint being researched
  * @param int $researchTime the time the process takes
  * @param float $processCost the cost of performing this reseach process
  * @param int $startMELevel the initial ME level of the Blueprint
  * @param int $endMELevel the ME level of the Blueprint after the research
  * @param int $solarSystemId ID of the SolarSystem the research is performed
  * @param int $assemblyLineId ID of the AssemblyLine where the research is being performed
  */
 public function __construct($researchedBpId, $researchTime, $processCost, $startMELevel, $endMELevel, $solarSystemId, $assemblyLineId)
 {
     parent::__construct($researchedBpId, 1, $researchTime, $processCost);
     $this->startMELevel = (int) $startMELevel;
     $this->endMELevel = (int) $endMELevel;
     $this->solarSystemId = (int) $solarSystemId;
     $this->assemblyLineId = (int) $assemblyLineId;
 }
 /**
  * Constructor.
  *
  * @param int $producesTypeId typeId of the item manufactured in this process
  * @param int $producesQuantity the number of produces items
  * @param int $processTime the time this process takes in seconds
  * @param float $processCost the cost of performing this reseach process
  * @param int $bpMeLevel the ME level of the blueprint used in this process
  * @param int $bpTeLevel the TE level of the blueprint used in this process
  * @param int $solarSystemId ID of the SolarSystem the research is performed
  * @param int $assemblyLineId ID of the AssemblyLine where the research is being performed
  */
 public function __construct($producesTypeId, $producesQuantity, $processTime, $processCost, $bpMeLevel, $bpTeLevel, $solarSystemId, $assemblyLineId)
 {
     parent::__construct($producesTypeId, $producesQuantity, $processTime, $processCost);
     $this->bpMeLevel = (int) $bpMeLevel;
     $this->bpTeLevel = (int) $bpTeLevel;
     $this->solarSystemId = (int) $solarSystemId;
     $this->assemblyLineId = (int) $assemblyLineId;
 }
 /**
  * Constructor.
  *
  * @param int $inventedBpId typeId of the invented blueprint
  * @param int $inventTime the invention takes in seconds
  * @param float $processCost the cost of performing this reseach process
  * @param float $probability  chance of success for invention
  * @param int $resultRuns the number of runs on the resulting T2 BPC if invention is successful
  * @param int $resultME the ME level on the resulting T2 BPC if invention is successful
  * @param int $resultTE the TE level on the resulting T2 BPC if invention is successful
  * @param int $solarSystemId ID of the SolarSystem the research is performed
  * @param int $assemblyLineId ID of the AssemblyLine where the research is being performed
  */
 public function __construct($inventedBpId, $inventTime, $processCost, $probability, $resultRuns, $resultME, $resultTE, $solarSystemId, $assemblyLineId)
 {
     parent::__construct($inventedBpId, 1, $inventTime, $processCost);
     $this->probability = (double) $probability;
     $this->resultRuns = (int) $resultRuns;
     $this->resultME = (int) $resultME;
     $this->resultTE = (int) $resultTE;
     $this->solarSystemId = (int) $solarSystemId;
     $this->assemblyLineId = (int) $assemblyLineId;
 }
Exemplo n.º 5
0
 /**
  * Constructor
  * 
  * @param int $bpCopyID typeID of the blueprint being copied
  * @param int $copyQuantity the number of copies being made
  * @param int $outputRuns the number of runs per copy
  * @param int $copyTime the time the copy process takes
  * @param float $processCost the cost of performing this reseach process
  * @param int $solarSystemID ID of the SolarSystem the research is performed
  * @param int $assemblyLineID ID of the AssemblyLine where the research is being performed
  * @param int $teamID the ID of the Team being used, if at all
  * 
  * @return \iveeCore\CopyProcessData
  */
 public function __construct($bpCopyID, $copyQuantity, $outputRuns, $copyTime, $processCost, $solarSystemID, $assemblyLineID, $teamID = null)
 {
     parent::__construct($bpCopyID, $copyQuantity, $copyTime, $processCost);
     $this->outputRuns = (int) $outputRuns;
     $this->solarSystemID = (int) $solarSystemID;
     $this->assemblyLineID = (int) $assemblyLineID;
     if (isset($teamID)) {
         $this->teamID = (int) $teamID;
     }
 }
 /**
  * Constructor
  *
  * @param int $researchedBpID of the Blueprint being researched
  * @param int $researchTime the time the process takes
  * @param float $processCost the cost of performing this reseach process
  * @param int $startTELevel the initial TE level of the Blueprint
  * @param int $endTELevel the TE level of the Blueprint after the research
  * @param int $solarSystemID ID of the SolarSystem the research is performed
  * @param int $assemblyLineID ID of the AssemblyLine where the research is being performed
  * @param int $teamID the ID of the Team being used, if at all
  *
  * @return \iveeCore\ResearchTEProcessData
  */
 public function __construct($researchedBpID, $researchTime, $processCost, $startTELevel, $endTELevel, $solarSystemID, $assemblyLineID, $teamID = null)
 {
     parent::__construct($researchedBpID, 1, $researchTime, $processCost);
     $this->startTELevel = (int) $startTELevel;
     $this->endTELevel = (int) $endTELevel;
     $this->solarSystemID = (int) $solarSystemID;
     $this->assemblyLineID = (int) $assemblyLineID;
     if (isset($teamID)) {
         $this->teamID = (int) $teamID;
     }
 }
 /**
  * Constructor.
  * 
  * @param int $producesTypeID typeID of the item manufactured in this process
  * @param int $producesQuantity the number of produces items
  * @param int $processTime the time this process takes in seconds
  * @param float $processCost the cost of performing this reseach process
  * @param int $bpMeLevel the ME level of the blueprint used in this process
  * @param int $bpTeLevel the TE level of the blueprint used in this process
  * @param int $solarSystemID ID of the SolarSystem the research is performed
  * @param int $assemblyLineID ID of the AssemblyLine where the research is being performed
  * @param int $teamID the ID of the Team being used, if at all
  * 
  * @return ProcessData
  */
 public function __construct($producesTypeID, $producesQuantity, $processTime, $processCost, $bpMeLevel, $bpTeLevel, $solarSystemID, $assemblyLineID, $teamID = null)
 {
     parent::__construct($producesTypeID, $producesQuantity, $processTime, $processCost);
     $this->bpMeLevel = (int) $bpMeLevel;
     $this->bpTeLevel = (int) $bpTeLevel;
     $this->solarSystemID = (int) $solarSystemID;
     $this->assemblyLineID = (int) $assemblyLineID;
     if (isset($teamID)) {
         $this->teamID = (int) $teamID;
     }
 }
 /**
  * Constructor.
  * 
  * @param int $inventedBpID typeID of the invented blueprint
  * @param int $inventTime the invention takes in seconds
  * @param float $processCost the cost of performing this reseach process
  * @param float $inventionChance  chance of success for invention
  * @param int $resultRuns the number of runs on the resulting T2 BPC if invention is successful
  * @param int $resultME the ME level on the resulting T2 BPC if invention is successful
  * @param int $resultTE the TE level on the resulting T2 BPC if invention is successful
  * @param int $solarSystemID ID of the SolarSystem the research is performed
  * @param int $assemblyLineID ID of the AssemblyLine where the research is being performed
  * @param int $teamID the ID of the Team being used, if at all
  * 
  * @return InventionProcessData
  */
 public function __construct($inventedBpID, $inventTime, $processCost, $inventionChance, $resultRuns, $resultME, $resultTE, $solarSystemID, $assemblyLineID, $teamID = null)
 {
     parent::__construct($inventedBpID, 1, $inventTime, $processCost);
     $this->probability = (double) $inventionChance;
     $this->resultRuns = (int) $resultRuns;
     $this->resultME = (int) $resultME;
     $this->resultTE = (int) $resultTE;
     $this->solarSystemID = (int) $solarSystemID;
     $this->assemblyLineID = (int) $assemblyLineID;
     if (isset($teamID)) {
         $this->teamID = (int) $teamID;
     }
 }