diff --git a/core/Callbacks/Structures/ManiaPlanet/StartEndStructure.php b/core/Callbacks/Structures/ManiaPlanet/StartEndStructure.php index 88da64dc..cca3edbf 100644 --- a/core/Callbacks/Structures/ManiaPlanet/StartEndStructure.php +++ b/core/Callbacks/Structures/ManiaPlanet/StartEndStructure.php @@ -17,6 +17,7 @@ use ManiaControl\ManiaControl; */ class StartEndStructure extends BaseTimeStructure { private $count; + private $valid; /** * StartEndStructure constructor. @@ -28,6 +29,7 @@ class StartEndStructure extends BaseTimeStructure { parent::__construct($maniaControl, $data); $this->count = $this->getPlainJsonObject()->count; + $this->valid = $this->getPlainJsonObject()->valid; } /** @@ -39,4 +41,14 @@ class StartEndStructure extends BaseTimeStructure { public function getCount() { return $this->count; } + + /** + * Get the Valid Round Count of this Section + * + * @api + * @return int + */ + public function getValidRoundCount() { + return $this->valid; + } } \ No newline at end of file