示例#1
0
文件: Monster.php 项目: riki343/game1
 public function getInArray()
 {
     return array('id' => $this->id, 'name' => $this->name, 'modelID' => $this->modelID, 'model' => $this->model->getInArray(), 'agility' => $this->agility, 'energyRegeneration' => $this->energyRegeneration, 'fractionID' => $this->fractionID, 'fraction' => $this->fraction->getInArray(), 'hp' => $this->hp, 'strength' => $this->strength, 'typeID' => $this->typeID, 'hpRegeneration' => $this->hpRegeneration, 'intelligence' => $this->intelligence, 'level' => $this->level, 'location' => $this->location->getInArray(), 'locationID' => $this->locationID, 'mpRegeneration' => $this->mpRegeneration, 'mp' => $this->mp);
 }
示例#2
0
文件: Quest.php 项目: riki343/game1
 public function getInArray()
 {
     return array('id' => $this->id, 'name' => $this->name, 'completeLocation' => $this->completeLocation->getInArray(), 'completeLocationID' => $this->completeLocationID, 'completeNPC' => $this->completeNPC->getInArray(), 'completeNPCID' => $this->completeNPCID, 'description' => $this->description, 'levelRequired' => $this->levelRequired, 'parentQuestID' => $this->parentQuestID, 'takeLocation' => $this->takeLocation->getInArray(), 'takeLocationID' => $this->takeLocationID, 'takeNPC' => $this->takeNPC->getInArray(), 'takeNPCID' => $this->takeNPCID);
 }
示例#3
0
 public function getInArray()
 {
     return array('id' => $this->id, 'name' => $this->name, 'destroyable' => $this->destroyable, 'height' => $this->height, 'width' => $this->width, 'location' => $this->location->getInArray(), 'locationID' => $this->locationID, 'model' => $this->model->getInArray(), 'modelID' => $this->modelID);
 }