mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 15:43:19 +02:00
Client
- Added TODOs for comments
This commit is contained in:
parent
512eff727b
commit
7c8208182f
@ -80,21 +80,51 @@ public class Client : Thread
|
|||||||
/**
|
/**
|
||||||
* User overridable handler functions below
|
* User overridable handler functions below
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// TODO: comment
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Params:
|
||||||
|
* fullMessage =
|
||||||
|
* channel =
|
||||||
|
* msgBody =
|
||||||
|
*/
|
||||||
public void onChannelMessage(Message fullMessage, string channel, string msgBody)
|
public void onChannelMessage(Message fullMessage, string channel, string msgBody)
|
||||||
{
|
{
|
||||||
/* Default implementation */
|
/* Default implementation */
|
||||||
logger.log("Channel("~channel~"): "~msgBody);
|
logger.log("Channel("~channel~"): "~msgBody);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: comment
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Params:
|
||||||
|
* message =
|
||||||
|
*/
|
||||||
public void onDirectMessage(Message fullMessage, string nickname, string msgBody)
|
public void onDirectMessage(Message fullMessage, string nickname, string msgBody)
|
||||||
{
|
{
|
||||||
/* Default implementation */
|
/* Default implementation */
|
||||||
logger.log("DirectMessage("~nickname~"): "~msgBody);
|
logger.log("DirectMessage("~nickname~"): "~msgBody);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: comment
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Params:
|
||||||
|
* commandReply =
|
||||||
|
*/
|
||||||
public void onGenericCommand(Message message)
|
public void onGenericCommand(Message message)
|
||||||
{
|
{
|
||||||
/* Default implementation */
|
/* Default implementation */
|
||||||
logger.log("Generic("~message.getCommand()~", "~message.getFrom()~"): "~message.getParams());
|
logger.log("Generic("~message.getCommand()~", "~message.getFrom()~"): "~message.getParams());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: comment
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Params:
|
||||||
|
* commandReply =
|
||||||
|
*/
|
||||||
public void onCommandReply(Message commandReply)
|
public void onCommandReply(Message commandReply)
|
||||||
{
|
{
|
||||||
/* Default implementation */
|
/* Default implementation */
|
||||||
|
Loading…
Reference in New Issue
Block a user