@@ -94,7 +94,7 @@ |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
97 | - * @return int |
|
97 | + * @return string |
|
98 | 98 | */ |
99 | 99 | public function getType() |
100 | 100 | { |
@@ -3,14 +3,10 @@ |
||
3 | 3 | namespace Asylamba\Modules\Hephaistos\Routine; |
4 | 4 | |
5 | 5 | use Asylamba\Classes\Entity\EntityManager; |
6 | - |
|
7 | 6 | use Asylamba\Modules\Zeus\Manager\PlayerManager; |
8 | - |
|
9 | 7 | use Asylamba\Classes\Worker\API; |
10 | - |
|
11 | 8 | use Asylamba\Modules\Hermes\Model\Notification; |
12 | 9 | use Asylamba\Modules\Zeus\Model\Player; |
13 | - |
|
14 | 10 | use Asylamba\Classes\Library\Utils; |
15 | 11 | |
16 | 12 | class DailyRoutine |
@@ -539,6 +539,10 @@ |
||
539 | 539 | $this->entityManager->commit(); |
540 | 540 | } |
541 | 541 | |
542 | + /** |
|
543 | + * @param PlayerBonus $playerBonus |
|
544 | + * @param \Asylamba\Classes\Worker\ManagerSession $rsmSession |
|
545 | + */ |
|
542 | 546 | public function uCredit(Player $player, $playerBases, $playerBonus, $commanders, $rsmSession, &$factions, $transactions) { |
543 | 547 | |
544 | 548 | $popTax = 0; $nationTax = 0; |
@@ -14,7 +14,6 @@ discard block |
||
14 | 14 | use Asylamba\Classes\Library\Utils; |
15 | 15 | use Asylamba\Classes\Entity\EntityManager; |
16 | 16 | use Asylamba\Classes\Library\Session\SessionWrapper; |
17 | - |
|
18 | 17 | use Asylamba\Modules\Zeus\Model\Player; |
19 | 18 | use Asylamba\Modules\Zeus\Model\PlayerBonus; |
20 | 19 | use Asylamba\Modules\Promethee\Model\Technology; |
@@ -22,7 +21,6 @@ discard block |
||
22 | 21 | use Asylamba\Modules\Hermes\Model\Notification; |
23 | 22 | use Asylamba\Modules\Ares\Model\Commander; |
24 | 23 | use Asylamba\Modules\Athena\Model\Transaction; |
25 | - |
|
26 | 24 | use Asylamba\Modules\Demeter\Manager\ColorManager; |
27 | 25 | use Asylamba\Modules\Ares\Manager\CommanderManager; |
28 | 26 | use Asylamba\Modules\Gaia\Manager\GalaxyColorManager; |
@@ -36,12 +34,9 @@ discard block |
||
36 | 34 | use Asylamba\Modules\Promethee\Manager\TechnologyManager; |
37 | 35 | use Asylamba\Modules\Athena\Resource\ShipResource; |
38 | 36 | use Asylamba\Modules\Demeter\Model\Color; |
39 | - |
|
40 | 37 | use Asylamba\Classes\Worker\API; |
41 | - |
|
42 | 38 | use Asylamba\Classes\Library\Game; |
43 | 39 | use Asylamba\Classes\Container\ArrayList; |
44 | - |
|
45 | 40 | use Asylamba\Classes\Exception\ErrorException; |
46 | 41 | |
47 | 42 | class PlayerManager { |
@@ -84,6 +84,9 @@ discard block |
||
84 | 84 | return $this->synchronized; |
85 | 85 | } |
86 | 86 | |
87 | + /** |
|
88 | + * @param integer $v |
|
89 | + */ |
|
87 | 90 | public function setId($v) { |
88 | 91 | $this->id = $v; |
89 | 92 | return $this; |
@@ -92,6 +95,10 @@ discard block |
||
92 | 95 | $this->bind = $v; |
93 | 96 | return $this; |
94 | 97 | } |
98 | + |
|
99 | + /** |
|
100 | + * @param integer $v |
|
101 | + */ |
|
95 | 102 | public function setRColor($v) { |
96 | 103 | $this->rColor = $v; |
97 | 104 | return $this; |
@@ -104,32 +111,59 @@ discard block |
||
104 | 111 | $this->avatar = $v; |
105 | 112 | return $this; |
106 | 113 | } |
114 | + |
|
115 | + /** |
|
116 | + * @param integer $v |
|
117 | + */ |
|
107 | 118 | public function setStatus($v) |
108 | 119 | { |
109 | 120 | $this->status = $v; |
110 | 121 | return $this; |
111 | 122 | } |
112 | 123 | |
124 | + /** |
|
125 | + * @param integer $v |
|
126 | + */ |
|
113 | 127 | public function setCredit($v) { |
114 | 128 | $this->credit = $v; |
115 | 129 | return $this; |
116 | 130 | } |
131 | + |
|
132 | + /** |
|
133 | + * @param integer $v |
|
134 | + */ |
|
117 | 135 | public function setExperience($v) { |
118 | 136 | $this->experience = $v; |
119 | 137 | return $this; |
120 | 138 | } |
139 | + |
|
140 | + /** |
|
141 | + * @param integer $v |
|
142 | + */ |
|
121 | 143 | public function setLevel($v) { |
122 | 144 | $this->level = $v; |
123 | 145 | return $this; |
124 | 146 | } |
147 | + |
|
148 | + /** |
|
149 | + * @param integer $v |
|
150 | + */ |
|
125 | 151 | public function setVictory($v) { |
126 | 152 | $this->victory = $v; |
127 | 153 | return $this; |
128 | 154 | } |
155 | + |
|
156 | + /** |
|
157 | + * @param integer $v |
|
158 | + */ |
|
129 | 159 | public function setDefeat($v) { |
130 | 160 | $this->defeat = $v; |
131 | 161 | return $this; |
132 | 162 | } |
163 | + |
|
164 | + /** |
|
165 | + * @param integer $v |
|
166 | + */ |
|
133 | 167 | public function setStepTutorial($v) { |
134 | 168 | $this->stepTutorial = $v; |
135 | 169 | return $this; |