2 /////////////////////////////////////////////////////////////////
3 // WARNING : this is a generated file, don't change it !
4 /////////////////////////////////////////////////////////////////
6 require_once('../tools/nel_message.php');
8 class CMailForumWeb
extends CCallbackClient
11 function notifyMail($charId)
14 $msg->setName("MFS_NM");
17 $msg->serialUint32($charId);
19 return parent
::sendMessage($msg);
24 function notifyForumMessage($guildId, $forumId)
27 $msg->setName("MFS_NFM");
30 $msg->serialUint32($guildId);
31 $msg->serialUint32($forumId);
33 return parent
::sendMessage($msg);
39 function waitCallback()
41 $message = parent
::waitMessage();
43 if ($message == false)
46 switch($message->MsgName
)
49 $this->invokeResult_skel($message);
59 function invokeResult_skel(&$message)
61 $message->serialUint32($resultCode);
62 $message->serialString($resultString);
64 $this->invokeResult($resultCode, $resultString);
68 /////////////////////////////////////////////////////////////////
69 // Copy paste this part of code in your derived class
70 // and implement code to ract to incoming message
71 /////////////////////////////////////////////////////////////////
72 // Generic response to invoke.
73 // result contains 0 if no error, more than 0 in case of error
75 function invokeResult($resultCode, $resultString)