[General] Add ActorList class

0.6.1
David Cernat 8 years ago
parent 070c6a3bd4
commit 4f3d05eed2

@ -65,6 +65,7 @@ Networking::~Networking()
sThis = 0;
delete playerPacketController;
delete actorPacketController;
delete worldPacketController;
LOG_QUIT();
}

@ -3,6 +3,7 @@
#include <components/esm/loadcell.hpp>
#include <components/openmw-mp/Base/BaseStructs.hpp>
#include <RakNetTypes.h>
namespace mwmp
{
@ -33,6 +34,23 @@ namespace mwmp
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

@ -2,7 +2,6 @@
#define OPENMW_BASEEVENT_HPP
#include <components/esm/loadcell.hpp>
#include <components/esm/cellref.hpp>
#include <components/openmw-mp/Base/BaseStructs.hpp>
#include <RakNetTypes.h>

Loading…
Cancel
Save