dedi-api update

This commit is contained in:
Steffen Schröder 2014-07-19 21:50:54 +02:00
parent 9943c1e808
commit 0af057fd28
2 changed files with 3 additions and 3 deletions

View File

@ -2176,7 +2176,7 @@ class Connection
/**
* Set new server options using the struct passed as parameters.
* Mandatory fields:
* Name, Comment, Password, PasswordForSpectator and CallVoteRatio.
* Name, Comment, Password, PasswordForSpectator, NextCallVoteTimeOut and CallVoteRatio.
* Ignored fields:
* LadderServerLimitMin, LadderServerLimitMax and those starting with Current.
* All other fields are optional and can be set to null to be ignored.

View File

@ -82,8 +82,8 @@ class ServerOptions extends AbstractStructure
&& is_string($this->comment)
&& is_string($this->password)
&& is_string($this->passwordForSpectator)
&& VoteRatio::isRatio($this->callVoteRatio)
&& is_int($this->nextCallVoteTimeOut);
&& is_int($this->nextCallVoteTimeOut)
&& VoteRatio::isRatio($this->callVoteRatio);
}
/**