2017-04-07 18:30:48 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Created by PhpStorm.
|
|
|
|
* User: Lukas
|
|
|
|
* Date: 07. Apr. 2017
|
|
|
|
* Time: 17:56
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace ManiaControl\Callbacks\Structures\Common;
|
|
|
|
|
|
|
|
|
|
|
|
use ManiaControl\ManiaControl;
|
|
|
|
|
|
|
|
class BaseResponseStructure extends BaseStructure {
|
|
|
|
protected $responseId;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the Response Id
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getResponseId() {
|
|
|
|
return $this->responseId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function __construct(ManiaControl $maniaControl, $data) {
|
|
|
|
parent::__construct($maniaControl, $data);
|
2017-04-07 22:30:55 +02:00
|
|
|
|
|
|
|
$this->responseId = $this->getPlainJsonObject()->responseid;
|
2017-04-07 18:30:48 +02:00
|
|
|
}
|
|
|
|
}
|