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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
521 B
C++
Raw Normal View History

#ifndef OPENMW_MECHANICS_SUMMONING_H
#define OPENMW_MECHANICS_SUMMONING_H
2022-08-27 13:07:59 +02:00
#include <string_view>
2022-08-05 00:00:49 +02:00
#include <utility>
2022-08-05 00:00:49 +02:00
namespace MWWorld
{
class Ptr;
}
2016-06-17 23:07:16 +09:00
namespace MWMechanics
{
2020-04-04 17:45:03 +03:00
bool isSummoningEffect(int effectId);
2022-08-27 13:07:59 +02:00
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