mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-05-23 15:22:28 +00:00
Fix compilation error; add final specifiers
This commit is contained in:
parent
c22040c6eb
commit
8ede5b87ca
@ -17,7 +17,7 @@ enum class eStateChangeType : uint32_t;
|
|||||||
* Represents the stats of an entity, for example its health, imagination and armor. Also handles factions, which
|
* Represents the stats of an entity, for example its health, imagination and armor. Also handles factions, which
|
||||||
* indicate which enemies this entity has.
|
* indicate which enemies this entity has.
|
||||||
*/
|
*/
|
||||||
class DestroyableComponent : public Component {
|
class DestroyableComponent final : public Component {
|
||||||
public:
|
public:
|
||||||
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::DESTROYABLE;
|
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::DESTROYABLE;
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
class Entity;
|
class Entity;
|
||||||
|
|
||||||
class DonationVendorComponent : public VendorComponent {
|
class DonationVendorComponent final : public VendorComponent {
|
||||||
public:
|
public:
|
||||||
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::DONATION_VENDOR;
|
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::DONATION_VENDOR;
|
||||||
DonationVendorComponent(Entity* parent);
|
DonationVendorComponent(Entity* parent);
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
class Entity;
|
class Entity;
|
||||||
|
|
||||||
class GateRushComponent : public RacingControlComponent {
|
class GateRushComponent final : public RacingControlComponent {
|
||||||
public:
|
public:
|
||||||
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::GATE_RUSH_CONTROL;
|
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::GATE_RUSH_CONTROL;
|
||||||
GateRushComponent(Entity* parent, int32_t componentId);
|
GateRushComponent(Entity* parent, int32_t componentId);
|
||||||
|
@ -26,7 +26,7 @@ struct RemoteInputInfo {
|
|||||||
/**
|
/**
|
||||||
* Physics component for vehicles.
|
* Physics component for vehicles.
|
||||||
*/
|
*/
|
||||||
class HavokVehiclePhysicsComponent : public Component {
|
class HavokVehiclePhysicsComponent final : public Component {
|
||||||
public:
|
public:
|
||||||
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::HAVOK_VEHICLE_PHYSICS;
|
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::HAVOK_VEHICLE_PHYSICS;
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ enum class eItemType : int32_t;
|
|||||||
* of different types, each type representing a different group of items, see `eInventoryType` for a list of
|
* of different types, each type representing a different group of items, see `eInventoryType` for a list of
|
||||||
* inventories.
|
* inventories.
|
||||||
*/
|
*/
|
||||||
class InventoryComponent : public Component
|
class InventoryComponent final : public Component
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::INVENTORY;
|
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::INVENTORY;
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
class Entity;
|
class Entity;
|
||||||
enum class eUgcModerationStatus : uint32_t;
|
enum class eUgcModerationStatus : uint32_t;
|
||||||
|
|
||||||
class ItemComponent : public Component {
|
class ItemComponent final : public Component {
|
||||||
public:
|
public:
|
||||||
static const eReplicaComponentType ComponentType = eReplicaComponentType::ITEM;
|
static const eReplicaComponentType ComponentType = eReplicaComponentType::ITEM;
|
||||||
|
|
||||||
|
@ -379,7 +379,7 @@ protected:
|
|||||||
std::vector<LWOOBJID> m_TargetsInPhantom;
|
std::vector<LWOOBJID> m_TargetsInPhantom;
|
||||||
|
|
||||||
static const std::vector<ComponentWhitelist> m_ComponentWhitelists;
|
static const std::vector<ComponentWhitelist> m_ComponentWhitelists;
|
||||||
static const std::array<eReplicaComponentType> m_ComponentOrder;
|
static const std::array<eReplicaComponentType, 80> m_ComponentOrder;
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "Entity.tcc"
|
#include "Entity.tcc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user