@@ -119,12 +119,12 @@ discard block |
||
| 119 | 119 | * (number of seconds passed since 1st Jan, 1970) |
| 120 | 120 | * @param $lifestage The lifestage this creature had achieved at |
| 121 | 121 | * the time of this event. |
| 122 | - * @param $moniker1 The first moniker associated with this event. |
|
| 123 | - * @param $moniker2 The second moniker associated with this event. |
|
| 124 | - * @param $usertext The user text assosciated with this event. |
|
| 125 | - * @param $photograph The photograph associated with this event. |
|
| 126 | - * @param $worldname The name of the world the creature was inhabiting at the time of this event |
|
| 127 | - * @param $worldUID The UID of the world the creature was inhabiting at the the time of this event |
|
| 122 | + * @param false|string $moniker1 The first moniker associated with this event. |
|
| 123 | + * @param false|string $moniker2 The second moniker associated with this event. |
|
| 124 | + * @param false|string $usertext The user text assosciated with this event. |
|
| 125 | + * @param false|string $photograph The photograph associated with this event. |
|
| 126 | + * @param false|string $worldname The name of the world the creature was inhabiting at the time of this event |
|
| 127 | + * @param false|string $worldUID The UID of the world the creature was inhabiting at the the time of this event |
|
| 128 | 128 | */ |
| 129 | 129 | public function CreatureHistoryEvent($eventtype, $worldtime, $creatureage, $timestamp, $lifestage, $moniker1, $moniker2, $usertext, $photograph, $worldname, $worldUID) { |
| 130 | 130 | $this->eventtype = $eventtype; |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | |
| 143 | 143 | /// @brief Add DS-specific information to the CreatureHistoryEvent |
| 144 | 144 | /** |
| 145 | - * @param $DSUserID The UID of the Docking Station user whose world the creature was in at the time of the event |
|
| 145 | + * @param false|string $DSUserID The UID of the Docking Station user whose world the creature was in at the time of the event |
|
| 146 | 146 | * @param $unknown1 I don't know! But it comes right after the DSUID in the GLST format. |
| 147 | 147 | * @param $unknown2 I don't know! But it comes right after unknown1. |
| 148 | 148 | */ |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | * will be read from the PRAYFile. |
| 14 | 14 | * @param PRAYFile $prayfile The PRAYFile associated with this AGNT block. |
| 15 | 15 | * It is allowed to be null. |
| 16 | - * @param $name The name of this block. |
|
| 16 | + * @param string $name The name of this block. |
|
| 17 | 17 | * @param $content This block's content. |
| 18 | 18 | * @param $flags Any flags this block may have. I think this is a |
| 19 | 19 | * single byte. Check http://www.creatureswiki.net/wiki/PRAY |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | /** |
| 27 | 27 | * Sometimes this ends in .agnt or .dsag, because some people |
| 28 | 28 | * don't do their PRAYING properly. |
| 29 | - * @return The agent name |
|
| 29 | + * @return string agent name |
|
| 30 | 30 | */ |
| 31 | 31 | public function GetAgentName() { |
| 32 | 32 | return $this->GetName(); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * will be read from the PRAYFile. |
| 13 | 13 | * @param PRAYFile $prayfile The PRAYFile associated with this CREA block. |
| 14 | 14 | * It is allowed to be null. |
| 15 | - * @param $name The name of this block. |
|
| 15 | + * @param string $name The name of this block. |
|
| 16 | 16 | * @param $content This block's content. |
| 17 | 17 | * @param $flags Any flags this block may have |
| 18 | 18 | */ |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | |
| 12 | 12 | /// @brief Instantiates a new CreaturesArchiveBlock |
| 13 | 13 | /** |
| 14 | - * @param $prayfile The PRAYFile this CreaturesArchive belongs to. May be null. |
|
| 14 | + * @param PRAYFile $prayfile The PRAYFile this CreaturesArchive belongs to. May be null. |
|
| 15 | 15 | * @param $name The name of this block |
| 16 | 16 | * @param $content This block's binary data. |
| 17 | 17 | * @param $flags the flags of this block |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * If $prayfile is not null, all the data for this block |
| 13 | 13 | * will be read from the PRAYFile. |
| 14 | 14 | * @param PRAYFile $prayfile The PRAYFile that this DSAG block belongs to. |
| 15 | - * @param $name The block's name. |
|
| 15 | + * @param string $name The block's name. |
|
| 16 | 16 | * @param $content The binary data of this block. May be null. |
| 17 | 17 | * @param $flags The block's flags |
| 18 | 18 | */ |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | * If $prayfile is not null, all the data for this block |
| 14 | 14 | * will be read from the PRAYFile. |
| 15 | 15 | * @param PRAYFile $prayfile The PRAYFile that this DFAM block belongs to. |
| 16 | - * @param $name The block's name. |
|
| 16 | + * @param string $name The block's name. |
|
| 17 | 17 | * @param $content The binary data of this block. May be null. |
| 18 | 18 | * @param $flags The block's flags |
| 19 | 19 | */ |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | * will be read from the PRAYFile. |
| 15 | 15 | * @param PRAYFile $prayfile The PRAYFile associated with this AGNT block. |
| 16 | 16 | * It is allowed to be null. |
| 17 | - * @param $name The name of this block. |
|
| 17 | + * @param string $name The name of this block. |
|
| 18 | 18 | * @param $content This block's content. |
| 19 | 19 | * @param $flags Any flags this block may have. I think this is a |
| 20 | 20 | * single byte. Check http://www.creatureswiki.net/wiki/PRAY |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * will be read from the PRAYFile. |
| 20 | 20 | * @param PRAYFile $prayfile The PRAYFile this FILEBlock belongs to. Can |
| 21 | 21 | * be null. |
| 22 | - * @param $name The name of this file block (also the file's |
|
| 22 | + * @param string $name The name of this file block (also the file's |
|
| 23 | 23 | * name) |
| 24 | 24 | * @param $content The binary data of this file block. |
| 25 | 25 | * @param $flags The block's flags. See PrayBlock. |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | * If $prayfile is not null, all the data for this block |
| 16 | 16 | * will be read from the PRAYFile. |
| 17 | 17 | * @param PRAYFile $prayfile The PRAYFile object this block belongs to. Can be null. |
| 18 | - * @param $name The block's name. This is a creature's moniker with .genetics appended. |
|
| 18 | + * @param string $name The block's name. This is a creature's moniker with .genetics appended. |
|
| 19 | 19 | * @param $content The block's binary data. Used when constructing from a PrayFile |
| 20 | 20 | * @param $flags The block's flags, which apply to the binary data as-is. |
| 21 | 21 | */ |