Files
ForeverCore/src/server/bnetserver/Services/GameUtilitiesService.cpp
T

34 lines
1.4 KiB
C++
Raw Normal View History

2014-10-04 15:45:33 +02:00
/*
2016-01-01 00:34:25 +01:00
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
2014-10-04 15:45:33 +02:00
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
2016-03-28 17:12:57 +02:00
#include "GameUtilitiesService.h"
2014-10-12 02:02:40 +02:00
#include "Session.h"
2014-10-04 15:45:33 +02:00
2016-03-28 17:12:57 +02:00
Battlenet::Services::GameUtilities::GameUtilities(Session* session) : GameUtilitiesService(session)
2014-10-04 15:45:33 +02:00
{
}
2016-03-28 17:12:57 +02:00
uint32 Battlenet::Services::GameUtilities::HandleProcessClientRequest(game_utilities::v1::ClientRequest const* request, game_utilities::v1::ClientResponse* response)
2014-10-04 15:45:33 +02:00
{
2016-03-28 17:12:57 +02:00
return _session->HandleProcessClientRequest(request, response);
2014-10-04 15:45:33 +02:00
}
2016-03-28 17:12:57 +02:00
uint32 Battlenet::Services::GameUtilities::HandleGetAllValuesForAttribute(game_utilities::v1::GetAllValuesForAttributeRequest const* request, game_utilities::v1::GetAllValuesForAttributeResponse* response)
2014-10-04 15:45:33 +02:00
{
2016-03-28 17:12:57 +02:00
return _session->HandleGetAllValuesForAttribute(request, response);
2014-10-11 22:45:01 +02:00
}