Linux multi-monitor fullscreen support
[ryzomcore.git] / web / public_php / ring / mail_forum_itf.php
blob8250c4bb8201d3e6e53a4c054d6e4b4af9724bbe
1 <?php
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)
13 $msg = new CMessage;
14 $msg->setName("MFS_NM");
17 $msg->serialUint32($charId);
19 return parent::sendMessage($msg);
24 function notifyForumMessage($guildId, $forumId)
26 $msg = new CMessage;
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)
44 return false;
46 switch($message->MsgName)
48 case "MFS_RET":
49 $this->invokeResult_skel($message);
50 break;
51 default:
52 return false;
55 return true;
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)