c2ephp
|
00001 <?php 00002 /* 0 = Main directory 00003 1 = Sounds directory 00004 2 = Images directory 00005 3 = Genetics Directory 00006 4 = Body Data Directory (ATT files) 00007 5 = Overlay Directory 00008 6 = Backgrounds Directory 00009 7 = Catalogue Directory 00010 8 = Bootstrap Directory (Denied) 00011 9 = Worlds Directory (Denied) 00012 10 = Creatures Directory 00013 11 = Pray Files Directory (Denied) */ 00014 00021 00022 00023 define('PRAY_DEPENDENCY_SOUND',1); 00025 define('PRAY_DEPENDENCY_IMAGE',2); 00027 define('PRAY_DEPENDENCY_GENE',3); 00029 define('PRAY_DEPENDENCY_BODYDATA',4); 00031 define('PRAY_DEPENDENCY_OVERLAY',5); 00033 define('PRAY_DEPENDENCY_BACKGROUND',6); 00035 define('PRAY_DEPENDENCY_CATALOGUE',7); 00037 define('PRAY_DEPENDENCY_CREATURE',10); 00039 00041 00044 class PrayDependency { 00046 00047 private $category; 00048 private $filename; 00049 00051 00053 00057 public function PrayDependency($category,$filename) { 00058 $this->category = $category; 00059 $this->filename = $filename; 00060 } 00061 public function GetCategory() { 00062 return $this->category; 00063 } 00064 public function GetFileName() { 00065 return $this->filename; 00066 } 00067 } 00068 ?>