Exemple #1
0
 public function __construct($APIItem)
 {
     parent::__construct($APIItem);
     $this->infusion_slots = $APIItem['back']['infusion_slots'];
     $this->infix_upgrade = isset($APIItem['back']['infix_upgrade']) ? $APIItem['back']['infix_upgrade'] : array();
     $this->suffix_item_id = $APIItem['back']['suffix_item_id'];
 }
Exemple #2
0
 public function __construct($APIItem)
 {
     parent::__construct($APIItem);
     $this->sub_type = $APIItem['consumable']['type'];
     $this->duration_ms = isset($APIItem['consumable']['duration_ms']) ? $APIItem['consumable']['duration_ms'] : null;
     $this->sub_description = isset($APIItem['consumable']['description']) ? $APIItem['consumable']['description'] : null;
 }
Exemple #3
0
 public function __construct($APIItem)
 {
     parent::__construct($APIItem);
     $this->sub_type = $APIItem['armor']['type'];
     $this->weight_class = $APIItem['armor']['weight_class'];
     $this->defense = (int) $APIItem['armor']['defense'];
     $this->infusion_slots = $APIItem['armor']['infusion_slots'];
     $this->infix_upgrade = isset($APIItem['armor']['infix_upgrade']) ? $APIItem['armor']['infix_upgrade'] : array();
     $this->suffix_item_id = $APIItem['armor']['suffix_item_id'];
 }
 public function __construct($APIItem)
 {
     parent::__construct($APIItem);
     $this->sub_type = $APIItem['upgrade_component']['type'];
     $this->sub_flags = $APIItem['upgrade_component']['flags'];
     $this->infusion_upgrade_flags = $APIItem['upgrade_component']['infusion_upgrade_flags'];
     $this->bonuses = isset($APIItem['upgrade_component']['bonuses']) ? $APIItem['upgrade_component']['bonuses'] : array();
     $this->infix_upgrade = isset($APIItem['upgrade_component']['infix_upgrade']) ? $APIItem['upgrade_component']['infix_upgrade'] : array();
     $this->suffix = $APIItem['upgrade_component']['suffix'];
 }
Exemple #5
0
 public function __construct($APIItem)
 {
     parent::__construct($APIItem);
     $this->sub_type = $APIItem['weapon']['type'];
     $this->damage_type = $APIItem['weapon']['damage_type'];
     $this->min_power = (int) $APIItem['weapon']['min_power'];
     $this->max_power = (int) $APIItem['weapon']['max_power'];
     $this->defense = (int) $APIItem['weapon']['defense'];
     $this->infusion_slots = $APIItem['weapon']['infusion_slots'];
     $this->infix_upgrade = isset($APIItem['weapon']['infix_upgrade']) ? $APIItem['weapon']['infix_upgrade'] : array();
     $this->suffix_item_id = $APIItem['weapon']['suffix_item_id'];
 }
Exemple #6
0
 public function __construct($APIItem)
 {
     parent::__construct($APIItem);
     $this->sub_type = $APIItem['gizmo']['type'];
 }
Exemple #7
0
 public function __construct($APIItem)
 {
     parent::__construct($APIItem);
     $this->no_sell_or_sort = $APIItem['bag']['no_sell_or_sort'];
     $this->size = $APIItem['bag']['size'];
 }
Exemple #8
0
 public function __construct($APIItem)
 {
     parent::__construct($APIItem);
     $this->sub_type = $APIItem['tool']['type'];
     $this->charges = $APIItem['tool']['charges'];
 }
Exemple #9
0
 public function __construct($APIItem)
 {
     parent::__construct($APIItem);
 }