mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
[General] Add ActorList class
This commit is contained in:
parent
070c6a3bd4
commit
4f3d05eed2
3 changed files with 19 additions and 1 deletions
|
@ -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…
Reference in a new issue