From 09c2c1b2ee4f80b3571e44e289b88a672457029b Mon Sep 17 00:00:00 2001 From: Michael Yoo Date: Fri, 11 Jan 2013 21:34:21 +0900 Subject: [PATCH] Changed chat to send. Documentation included --- documentation/BlockAPI.txt | 40 +++++++++++++++++++ .../PlayerAPI.txt | 0 src/API/ChatAPI.php | 2 +- 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 documentation/BlockAPI.txt rename PlayerAPI Documentation.txt => documentation/PlayerAPI.txt (100%) diff --git a/documentation/BlockAPI.txt b/documentation/BlockAPI.txt new file mode 100644 index 00000000..69bedeaa --- /dev/null +++ b/documentation/BlockAPI.txt @@ -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 + \ No newline at end of file diff --git a/PlayerAPI Documentation.txt b/documentation/PlayerAPI.txt similarity index 100% rename from PlayerAPI Documentation.txt rename to documentation/PlayerAPI.txt diff --git a/src/API/ChatAPI.php b/src/API/ChatAPI.php index 079f6a74..14e9d5c1 100644 --- a/src/API/ChatAPI.php +++ b/src/API/ChatAPI.php @@ -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; }