mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
29 lines
556 B
C++
29 lines
556 B
C++
#ifndef OPENMW_MECHANICS_SUMMONING_H
|
|
#define OPENMW_MECHANICS_SUMMONING_H
|
|
|
|
#include <string_view>
|
|
#include <utility>
|
|
namespace ESM
|
|
{
|
|
class RefId;
|
|
}
|
|
namespace MWWorld
|
|
{
|
|
class Ptr;
|
|
}
|
|
|
|
namespace MWMechanics
|
|
{
|
|
bool isSummoningEffect(int effectId);
|
|
|
|
const ESM::RefId& getSummonedCreature(int effectId);
|
|
|
|
void purgeSummonEffect(const MWWorld::Ptr& summoner, const std::pair<int, int>& summon);
|
|
|
|
int summonCreature(int effectId, const MWWorld::Ptr& summoner);
|
|
|
|
void updateSummons(const MWWorld::Ptr& summoner, bool cleanup);
|
|
}
|
|
|
|
#endif
|