X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;ds=sidebyside;f=Uplink%2FEventHandler.interface.php;h=e5b1ab58ba237fa379aa551b9c56002af69ec294;hb=811bc0c7a1f583fb624a0f8c3601146e063c5a25;hp=01eb98a94058eb10224981e54e63fc1376ac63a9;hpb=75006029f289768c0eedf6d324e330df5c06f734;p=PHP-P10.git diff --git a/Uplink/EventHandler.interface.php b/Uplink/EventHandler.interface.php index 01eb98a..e5b1ab5 100644 --- a/Uplink/EventHandler.interface.php +++ b/Uplink/EventHandler.interface.php @@ -1,22 +1,19 @@ . * * * ************************************************************************ * @@ -28,21 +25,32 @@ interface EventHandler { - public function event_newserver($server); + public function event_newserver($server, $isBurst); public function event_squit($server); public function event_connect($user, $isBurst); + public function event_nick($user, $newNick); + public function event_usermode($user, $modes); public function event_quit($user, $reason); + public function event_away($user, $away); public function event_join($user, $channel, $isBurst); public function event_part($user, $channel, $reason); public function event_kick($user, $target, $channel, $reason); - public function event_mode($user, $channel, $modes); + public function event_chanmode($user, $channel, $modes); public function event_chanmessage($user, $channel, $message); - public function event_channotice($user, $channel, $message); - public function event_privmessage($user, $channel, $message); - public function event_privnotice($user, $channel, $message); + public function event_channotice($user, $channel, $message); + public function event_chanctcp($user, $channel, $command, $text); + public function event_chanctcpreply($user, $target, $command, $text); + public function event_privmessage($user, $target, $message); + public function event_privnotice($user, $target, $message); + public function event_privctcp($user, $target, $command, $text); + public function event_privctcpreply($user, $target, $command, $text); + + + public function event_preparse($from, $command, $arguments); + public function event_unknown_cmd($from, $command, $arguments); }