mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-14 10:12:59 +02:00
54 lines
1.2 KiB
C++
54 lines
1.2 KiB
C++
/*
|
|
* GenericEvents.h, part of VCMI engine
|
|
*
|
|
* Authors: listed in file AUTHORS in main folder
|
|
*
|
|
* License: GNU General Public License v2.0 or later
|
|
* Full text of license available in license.txt file, in main folder
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <vcmi/events/GenericEvents.h>
|
|
|
|
#include "../../LuaWrapper.h"
|
|
|
|
#include "EventBusProxy.h"
|
|
|
|
VCMI_LIB_NAMESPACE_BEGIN
|
|
|
|
namespace scripting
|
|
{
|
|
namespace api
|
|
{
|
|
namespace events
|
|
{
|
|
|
|
class GameResumedProxy : public OpaqueWrapper<::events::GameResumed, GameResumedProxy>
|
|
{
|
|
public:
|
|
using Wrapper = OpaqueWrapper<::events::GameResumed, GameResumedProxy>;
|
|
static const std::vector<typename Wrapper::CustomRegType> REGISTER_CUSTOM;
|
|
};
|
|
|
|
class PlayerGotTurnProxy : public OpaqueWrapper<::events::PlayerGotTurn, PlayerGotTurnProxy>
|
|
{
|
|
public:
|
|
using Wrapper = OpaqueWrapper<::events::PlayerGotTurn, PlayerGotTurnProxy>;
|
|
static const std::vector<typename Wrapper::CustomRegType> REGISTER_CUSTOM;
|
|
};
|
|
|
|
class TurnStartedProxy : public OpaqueWrapper<::events::TurnStarted, TurnStartedProxy>
|
|
{
|
|
public:
|
|
using Wrapper = OpaqueWrapper<::events::TurnStarted, TurnStartedProxy>;
|
|
static const std::vector<typename Wrapper::CustomRegType> REGISTER_CUSTOM;
|
|
};
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
VCMI_LIB_NAMESPACE_END
|