Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ryzom/common/src/game_share/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ if (WITH_RYZOM_XSLT)
r2_modules_itf.xml
r2_share_itf.xml
ring_session_manager_itf.xml
welcome_service_itf.xml
)
endif ()

Expand Down
72 changes: 35 additions & 37 deletions ryzom/common/src/game_share/welcome_service_itf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.



#include "stdpch.h"

/////////////////////////////////////////////////////////////////
// WARNING : this is a generated file, don't change it !
/////////////////////////////////////////////////////////////////

#include "stdpch.h"

#include "welcome_service_itf.h"

namespace WS
Expand All @@ -30,7 +28,7 @@ namespace WS
/////////////////////////////////////////////////////////////////
// WARNING : this is a generated file, don't change it !
/////////////////////////////////////////////////////////////////


const CWelcomeServiceSkel::TMessageHandlerMap &CWelcomeServiceSkel::getMessageHandlers() const
{
Expand All @@ -40,19 +38,19 @@ namespace WS
if (!init)
{
std::pair < TMessageHandlerMap::iterator, bool > res;

res = handlers.insert(std::make_pair(std::string("WU"), &CWelcomeServiceSkel::welcomeUser_skel));
// if this assert, you have a doubly message name in your interface definition !
nlassert(res.second);

res = handlers.insert(std::make_pair(std::string("DU"), &CWelcomeServiceSkel::disconnectUser_skel));
// if this assert, you have a doubly message name in your interface definition !
nlassert(res.second);

init = true;
}

return handlers;
return handlers;
}
bool CWelcomeServiceSkel::fwdOnProcessModuleMessage(NLNET::IModuleProxy *sender, const NLNET::CMessage &message)
{
Expand All @@ -71,7 +69,7 @@ namespace WS
return true;
}


void CWelcomeServiceSkel::welcomeUser_skel(NLNET::IModuleProxy *sender, const NLNET::CMessage &__message)
{
H_AUTO(CWelcomeServiceSkel_welcomeUser_WU);
Expand Down Expand Up @@ -109,9 +107,9 @@ namespace WS
}
else
{
// send the message for remote dispatching and execution or local queing
// send the message for remote dispatching and execution or local queing
NLNET::CMessage __message;

buildMessageFor_welcomeUser(__message, charId, userName, cookie, priviledge, exPriviledge, mode, instanceId);

_ModuleProxy->sendModuleMessage(sender, __message);
Expand All @@ -127,9 +125,9 @@ namespace WS
}
else
{
// send the message for remote dispatching and execution or local queing
// send the message for remote dispatching and execution or local queing
NLNET::CMessage __message;

buildMessageFor_disconnectUser(__message, userId);

_ModuleProxy->sendModuleMessage(sender, __message);
Expand Down Expand Up @@ -165,7 +163,7 @@ namespace WS
/////////////////////////////////////////////////////////////////
// WARNING : this is a generated file, don't change it !
/////////////////////////////////////////////////////////////////


const CLoginServiceSkel::TMessageHandlerMap &CLoginServiceSkel::getMessageHandlers() const
{
Expand All @@ -175,15 +173,15 @@ namespace WS
if (!init)
{
std::pair < TMessageHandlerMap::iterator, bool > res;

res = handlers.insert(std::make_pair(std::string("PUL"), &CLoginServiceSkel::pendingUserLost_skel));
// if this assert, you have a doubly message name in your interface definition !
nlassert(res.second);

init = true;
}

return handlers;
return handlers;
}
bool CLoginServiceSkel::fwdOnProcessModuleMessage(NLNET::IModuleProxy *sender, const NLNET::CMessage &message)
{
Expand All @@ -202,7 +200,7 @@ namespace WS
return true;
}


void CLoginServiceSkel::pendingUserLost_skel(NLNET::IModuleProxy *sender, const NLNET::CMessage &__message)
{
H_AUTO(CLoginServiceSkel_pendingUserLost_PUL);
Expand All @@ -220,9 +218,9 @@ namespace WS
}
else
{
// send the message for remote dispatching and execution or local queing
// send the message for remote dispatching and execution or local queing
NLNET::CMessage __message;

buildMessageFor_pendingUserLost(__message, cookie);

_ModuleProxy->sendModuleMessage(sender, __message);
Expand All @@ -242,7 +240,7 @@ namespace WS
/////////////////////////////////////////////////////////////////
// WARNING : this is a generated file, don't change it !
/////////////////////////////////////////////////////////////////


const CWelcomeServiceClientSkel::TMessageHandlerMap &CWelcomeServiceClientSkel::getMessageHandlers() const
{
Expand All @@ -252,27 +250,27 @@ namespace WS
if (!init)
{
std::pair < TMessageHandlerMap::iterator, bool > res;

res = handlers.insert(std::make_pair(std::string("RWS"), &CWelcomeServiceClientSkel::registerWS_skel));
// if this assert, you have a doubly message name in your interface definition !
nlassert(res.second);

res = handlers.insert(std::make_pair(std::string("RWSOS"), &CWelcomeServiceClientSkel::reportWSOpenState_skel));
// if this assert, you have a doubly message name in your interface definition !
nlassert(res.second);

res = handlers.insert(std::make_pair(std::string("WUR"), &CWelcomeServiceClientSkel::welcomeUserResult_skel));
// if this assert, you have a doubly message name in your interface definition !
nlassert(res.second);

res = handlers.insert(std::make_pair(std::string("UCP"), &CWelcomeServiceClientSkel::updateConnectedPlayerCount_skel));
// if this assert, you have a doubly message name in your interface definition !
nlassert(res.second);

init = true;
}

return handlers;
return handlers;
}
bool CWelcomeServiceClientSkel::fwdOnProcessModuleMessage(NLNET::IModuleProxy *sender, const NLNET::CMessage &message)
{
Expand All @@ -291,7 +289,7 @@ namespace WS
return true;
}


void CWelcomeServiceClientSkel::registerWS_skel(NLNET::IModuleProxy *sender, const NLNET::CMessage &__message)
{
H_AUTO(CWelcomeServiceClientSkel_registerWS_RWS);
Expand Down Expand Up @@ -346,9 +344,9 @@ namespace WS
}
else
{
// send the message for remote dispatching and execution or local queing
// send the message for remote dispatching and execution or local queing
NLNET::CMessage __message;

buildMessageFor_registerWS(__message, shardId, fixedSessionId, isOnline);

_ModuleProxy->sendModuleMessage(sender, __message);
Expand All @@ -364,9 +362,9 @@ namespace WS
}
else
{
// send the message for remote dispatching and execution or local queing
// send the message for remote dispatching and execution or local queing
NLNET::CMessage __message;

buildMessageFor_reportWSOpenState(__message, isOnline);

_ModuleProxy->sendModuleMessage(sender, __message);
Expand All @@ -382,9 +380,9 @@ namespace WS
}
else
{
// send the message for remote dispatching and execution or local queing
// send the message for remote dispatching and execution or local queing
NLNET::CMessage __message;

buildMessageFor_welcomeUserResult(__message, userId, ok, shardAddr, errorMsg);

_ModuleProxy->sendModuleMessage(sender, __message);
Expand All @@ -400,9 +398,9 @@ namespace WS
}
else
{
// send the message for remote dispatching and execution or local queing
// send the message for remote dispatching and execution or local queing
NLNET::CMessage __message;

buildMessageFor_updateConnectedPlayerCount(__message, nbOnlinePlayers, nbPendingPlayers);

_ModuleProxy->sendModuleMessage(sender, __message);
Expand Down
Loading
Loading