openmw-tes3coop/components/openmw-mp/Base/BaseActor.hpp
2017-04-09 10:50:35 +03:00

56 lines
858 B
C++

#ifndef OPENMW_BASEACTOR_HPP
#define OPENMW_BASEACTOR_HPP
#include <components/esm/loadcell.hpp>
#include <components/openmw-mp/Base/BaseStructs.hpp>
#include <RakNetTypes.h>
namespace mwmp
{
class BaseActor
{
public:
BaseActor()
{
}
char drawState;
bool isFlying;
ESM::Position position;
ESM::Cell cell;
float headPitch;
float headYaw;
Animation animation;
bool hasAnimation;
AnimStates animStates;
bool hasAnimStates;
Movement movement;
bool hasMovement;
};
class ActorList
{
public:
ActorList()
{
}
RakNet::RakNetGUID guid;
std::vector<BaseActor> baseActors;
unsigned int count;
ESM::Cell cell;
};
}
#endif //OPENMW_BASEACTOR_HPP