當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Armor::__construct方法代碼示例

本文整理匯總了PHP中Armor::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP Armor::__construct方法的具體用法?PHP Armor::__construct怎麽用?PHP Armor::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Armor的用法示例。


在下文中一共展示了Armor::__construct方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::DIAMOND_BOOTS, $meta, $count, "Diamond Boots");
 }
開發者ID:mattiasaxelsson,項目名稱:PocketMine-MP,代碼行數:4,代碼來源:DiamondBoots.php

示例2: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::DIAMOND_LEGGINGS, $meta, $count, "Diamond Leggings");
 }
開發者ID:gitter-badger,項目名稱:BukkitPE,代碼行數:4,代碼來源:DiamondLeggings.php

示例3: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::CHAIN_LEGGINGS, $meta, $count, "Chain Leggings");
 }
開發者ID:orlando092,項目名稱:ImagicalMine,代碼行數:4,代碼來源:ChainLeggings.php

示例4: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::IRON_CHESTPLATE, $meta, $count, "Iron Chestplate");
 }
開發者ID:Cecil107,項目名稱:PocketMine-0.13.0,代碼行數:4,代碼來源:IronChestplate.php

示例5: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::DIAMOND_CHESTPLATE, $meta, $count, "Diamond Chestplate");
 }
開發者ID:MunkySkunk,項目名稱:BukkitPE,代碼行數:4,代碼來源:DiamondChestplate.php

示例6: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::GOLD_LEGGINGS, $meta, $count, "Gold Leggings");
 }
開發者ID:ecoron,項目名稱:MinionsLandPE,代碼行數:4,代碼來源:GoldLeggings.php

示例7: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::GOLD_BOOTS, $meta, $count, "Gold Boots");
 }
開發者ID:mattiasaxelsson,項目名稱:PocketMine-MP,代碼行數:4,代碼來源:GoldBoots.php

示例8: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::IRON_LEGGINGS, $meta, $count, "Iron Leggings");
 }
開發者ID:MunkySkunk,項目名稱:BukkitPE,代碼行數:4,代碼來源:IronLeggings.php

示例9: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::LEATHER_PANTS, $meta, $count, "Leather Pants");
 }
開發者ID:TexusDark,項目名稱:Ananas-MP,代碼行數:4,代碼來源:LeatherPants.php

示例10: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::IRON_BOOTS, $meta, $count, "Iron Boots");
 }
開發者ID:ClearSkyTeam,項目名稱:ClearSky,代碼行數:4,代碼來源:IronBoots.php

示例11: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::GOLD_HELMET, $meta, $count, "Gold Helmet");
 }
開發者ID:gitter-badger,項目名稱:BukkitPE,代碼行數:4,代碼來源:GoldHelmet.php

示例12: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::LEATHER_CAP, $meta, $count, "Leather Cap");
 }
開發者ID:iTXTech,項目名稱:Genisys,代碼行數:4,代碼來源:LeatherCap.php

示例13: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::LEATHER_TUNIC, $meta, $count, "Leather Tunic");
 }
開發者ID:robozeri,項目名稱:Yuriko-MP,代碼行數:4,代碼來源:LeatherTunic.php

示例14: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::DIAMOND_HELMET, $meta, $count, "Diamond Helmet");
 }
開發者ID:mattiasaxelsson,項目名稱:PocketMine-MP,代碼行數:4,代碼來源:DiamondHelmet.php

示例15: __construct

 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::GOLD_CHESTPLATE, $meta, $count, "Gold Chestplate");
 }
開發者ID:ClearSkyTeam,項目名稱:ClearSky,代碼行數:4,代碼來源:GoldChestplate.php


注:本文中的Armor::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。