dedi-api update
This commit is contained in:
parent
9943c1e808
commit
0af057fd28
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user