1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-06 09:39:49 +00:00
OpenMW/apps/openmw/mwmechanics/summoning.hpp
2022-10-09 16:44:18 +02:00

26 lines
521 B
C++

#ifndef OPENMW_MECHANICS_SUMMONING_H
#define OPENMW_MECHANICS_SUMMONING_H
#include <string_view>
#include <utility>
namespace MWWorld
{
class Ptr;
}
namespace MWMechanics
{
bool isSummoningEffect(int effectId);
std::string_view 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