c2ephp
|
00001 <?php 00002 00003 require_once(dirname(__FILE__).'/TagBlock.php'); 00005 00028 class EXPCBlock extends TagBlock { 00029 00031 00039 public function EXPCBlock($prayfile,$name,$content,$flags) { 00040 parent::TagBlock($prayfile,$name,$content,$flags,PRAY_BLOCK_EXPC); 00041 } 00042 00044 00047 public function GetAgeInTicks() { 00048 return $this->GetTag('Creature Age In Ticks'); 00049 } 00050 00052 00055 public function GetLifeStage() { 00056 return $this->GetTag('Creature Life Stage'); 00057 } 00058 00060 00063 public function GetExportUNIXTime() { 00064 return $this->GetTag('Exported At Real Time'); 00065 } 00067 00070 public function GetExportWorldTime() { 00071 return $this->GetTag('Exported At World Time'); 00072 } 00074 /* 00075 * 1 = male \n 00076 * 2 = female 00077 */ 00078 public function GetGender() { 00079 return $this->GetTag('Gender'); 00080 } 00081 00083 00087 public function GetGenus() { 00088 return $this->GetTag('Genus'); 00089 } 00090 00092 00095 public function GetPregnancyStatus() { 00096 return $this->GetTag('Pregnancy Status'); 00097 } 00098 00100 00104 public function GetVariant() { 00105 return $this->GetTag('Variant'); 00106 } 00107 00109 public function GetCreatureName() { 00110 return $this->GetTag('Creature Name'); 00111 } 00112 00114 public function GetWorldName() { 00115 return $this->GetTag('Exported From World Name'); 00116 } 00117 00119 public function GetWorldUID() { 00120 return $this->GetTag('Exported From World UID'); 00121 } 00122 00124 00127 public function GetHeadGallery() { 00128 return $this->GetTag('Head Gallery'); 00129 } 00130 } 00131 ?>