mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-18 17:40:48 +02:00
52 lines
1.1 KiB
C
52 lines
1.1 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"
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|