2017-04-09 09:28:38 +00:00
|
|
|
#ifndef OPENMW_ACTORAPI_HPP
|
|
|
|
#define OPENMW_ACTORAPI_HPP
|
2017-04-09 09:24:33 +00:00
|
|
|
|
|
|
|
#define ACTORAPI \
|
|
|
|
{"InitActorList", ActorFunctions::InitActorList},\
|
|
|
|
\
|
2017-04-09 13:32:44 +00:00
|
|
|
{"GetActorListSize", ActorFunctions::GetActorListSize},\
|
|
|
|
\
|
|
|
|
{"SendActorList", ActorFunctions::SendActorList},\
|
|
|
|
{"SendActorAuthority", ActorFunctions::SendActorAuthority}\
|
2017-04-09 09:24:33 +00:00
|
|
|
|
|
|
|
class ActorFunctions
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
static void InitActorList(unsigned short pid) noexcept;
|
|
|
|
|
|
|
|
static unsigned int GetActorListSize() noexcept;
|
2017-04-09 13:32:44 +00:00
|
|
|
|
|
|
|
static void SendActorList() noexcept;
|
|
|
|
static void SendActorAuthority() noexcept;
|
2017-04-09 09:24:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2017-04-09 09:28:38 +00:00
|
|
|
#endif //OPENMW_ACTORAPI_HPP
|