X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=BotLoader%2FBot.class.php;h=c24e51e8248033fd19f90ba5fca6324fc9f800e1;hp=1fdbc416ff4761c853cc5a752e57a7f80e444d1e;hb=7f51193ddac01b0540000c756c50167ff015e02a;hpb=412e324075de1312fbc5f49b735180b46cdff82c diff --git a/BotLoader/Bot.class.php b/BotLoader/Bot.class.php index 1fdbc41..c24e51e 100644 --- a/BotLoader/Bot.class.php +++ b/BotLoader/Bot.class.php @@ -1,12 +1,10 @@ . * * * ************************************************************************ - * + * * BotLoader/Bot.class.php * * bots' parent class. @@ -27,27 +24,35 @@ */ class Bot { - + private $db_section = NULL; + public function load($uplink, $oldDatas = null) { - + } - + public function unload($rehash = false) { - + } - + public function loop() { - + } - + public function writeDB() { - + } - + public function readDB($value) { - + } + public function getDBSection() { + return $this->db_section; + } + + public function setDBSection($section) { + $this->db_section = $section; + } } ?> \ No newline at end of file