Merge pull request #51 from sekjun9878/master

Added chat() function in ChatAPI. Also PlayerAPI Documentation
This commit is contained in:
shoghicp
2013-01-12 02:00:22 -08:00
3 changed files with 145 additions and 2 deletions

View File

@ -26,6 +26,17 @@ the Free Software Foundation, either version 3 of the License, or
*/
class ChatAPI{
private $server;
function __construct(PocketMinecraftServer $server){
$this->server = $server;
}
public function init(){
}
public function send($a, $b){//a == name of owner. b == message
$this->server->chat($a, $b);
return true;
}
}