mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Merge CPrivilegedInfoCallback into CGameInfoCallback
This commit is contained in:
@@ -23,7 +23,7 @@ class DLL_LINKAGE TownBuildingInstance : public IObjectInterface
|
||||
///basic class for town structures handled as map objects
|
||||
public:
|
||||
TownBuildingInstance(CGTownInstance * town, const BuildingID & index);
|
||||
TownBuildingInstance(CPrivilegedInfoCallback *cb);
|
||||
TownBuildingInstance(CGameInfoCallback *cb);
|
||||
|
||||
CGTownInstance * town;
|
||||
|
||||
@@ -78,7 +78,7 @@ public:
|
||||
void blockingDialogAnswered(IGameEventCallback & gameEvents, const CGHeroInstance *hero, int32_t answer) const override;
|
||||
|
||||
TownRewardableBuildingInstance(CGTownInstance * town, const BuildingID & index, vstd::RNG & rand);
|
||||
TownRewardableBuildingInstance(CPrivilegedInfoCallback *cb);
|
||||
TownRewardableBuildingInstance(CGameInfoCallback *cb);
|
||||
|
||||
template <typename Handler> void serialize(Handler &h)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user