Add infos into target window
[ryzomcore.git] / ryzom / server / src / server_share / login_service_itf.php
blob97353f173da6c5cd1e2fb9e0b51bf1d94c72ed4c
3 <?php
4 /////////////////////////////////////////////////////////////////
5 // WARNING : this is a generated file, don't change it !
6 /////////////////////////////////////////////////////////////////
8 require_once('tools/nel_message.php');
10 class CLoginServiceWebProxy
13 function login($userId, $ipAddress, $callbackClient)
15 $msg = new CMessage;
16 $msg->setName("LG");
17 $msg->serialUint32($userId);
18 $msg->serialUint32($ipAddress);
20 $callbackClient->sendMessage($msg);
24 class CLoginServiceWebSkel
26 function waitCallback($callbackClient)
28 $message = $callbackClient->waitMessage();
30 switch($message->MsgName)
32 case "LGR":
33 $this->loginResult_skel($message);
34 break;
38 // Return the cookie generated for this user session
39 // Eventualy, return an empty string as cookie in case of error
41 function loginResult_skel($message)
43 $msg->serialUint32($userId);
44 $msg->serialString($cookie);
46 loginResult($userId, $cookie);