Added RakLib port checking option

This commit is contained in:
Shoghi Cervantes
2014-08-24 17:16:37 +02:00
parent c47e359262
commit 1ea0531ec7
3 changed files with 6 additions and 2 deletions

View File

@ -190,6 +190,10 @@ class RakLibInterface implements ServerInstance, SourceInterface{
$this->interface->sendOption("name", "MCCPP;Demo;$name");
}
public function setPortCheck($name){
$this->interface->sendOption("portChecking", (bool) $name);
}
public function handleOption($name, $value){
if($name === "bandwidth"){
$v = unserialize($value);