Changed chat to send. Documentation included

This commit is contained in:
Michael Yoo 2013-01-11 21:34:21 +09:00
parent f3e9d4df31
commit 09c2c1b2ee
3 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,40 @@
-
/ \
/ \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |
| .. | .. |
| .. | .. |
\ | /
\ | /
\ | /
\ | /
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
#Authored By: sekjun9878
#Author's Email: sekjun9878@gmail.com
#
#BlokAPI Function Documentation.
#
#Version Alpha
#Revision Alpha
public function blockBreak($data, $event)
Description:
Breajs a block on the map.
Parameters:
$name = Array of
$data["x"] = x coordinate
$data["y"] = y coordinate
$data["z"] = z coordinate
$event //
Return Values:
true = If the block is unbreakable

View File

@ -35,7 +35,7 @@ class ChatAPI{
}
public function chat($a, $b){//a == name of owner. b == message
public function send($a, $b){//a == name of owner. b == message
$this->server->chat($a, $b);
return true;
}