mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 21:49:55 +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;
|
sThis = 0;
|
||||||
delete playerPacketController;
|
delete playerPacketController;
|
||||||
|
delete actorPacketController;
|
||||||
delete worldPacketController;
|
delete worldPacketController;
|
||||||
LOG_QUIT();
|
LOG_QUIT();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
#include <components/esm/loadcell.hpp>
|
#include <components/esm/loadcell.hpp>
|
||||||
#include <components/openmw-mp/Base/BaseStructs.hpp>
|
#include <components/openmw-mp/Base/BaseStructs.hpp>
|
||||||
|
#include <RakNetTypes.h>
|
||||||
|
|
||||||
namespace mwmp
|
namespace mwmp
|
||||||
{
|
{
|
||||||
|
@ -33,6 +34,23 @@ namespace mwmp
|
||||||
Movement movement;
|
Movement movement;
|
||||||
bool hasMovement;
|
bool hasMovement;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class ActorList
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
ActorList()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
RakNet::RakNetGUID guid;
|
||||||
|
|
||||||
|
std::vector<BaseActor> baseActors;
|
||||||
|
unsigned int count;
|
||||||
|
|
||||||
|
ESM::Cell cell;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif //OPENMW_BASEACTOR_HPP
|
#endif //OPENMW_BASEACTOR_HPP
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
#define OPENMW_BASEEVENT_HPP
|
#define OPENMW_BASEEVENT_HPP
|
||||||
|
|
||||||
#include <components/esm/loadcell.hpp>
|
#include <components/esm/loadcell.hpp>
|
||||||
#include <components/esm/cellref.hpp>
|
|
||||||
#include <components/openmw-mp/Base/BaseStructs.hpp>
|
#include <components/openmw-mp/Base/BaseStructs.hpp>
|
||||||
#include <RakNetTypes.h>
|
#include <RakNetTypes.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue