add final

This commit is contained in:
David Markowitz 2023-07-09 19:48:23 -07:00
parent 1b7be5d7db
commit 2528e02b98
4 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ class AchievementCacheKey;
* The mission inventory of an entity. Tracks mission state for each mission that can be accepted and allows for * The mission inventory of an entity. Tracks mission state for each mission that can be accepted and allows for
* progression of each of the mission task types (see eMissionTaskType). * progression of each of the mission task types (see eMissionTaskType).
*/ */
class MissionComponent : public Component class MissionComponent final : public Component
{ {
public: public:
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MISSION; inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MISSION;

View File

@ -66,7 +66,7 @@ private:
/** /**
* Allows entities to offer missions to other entities, depending on their mission inventory progression. * Allows entities to offer missions to other entities, depending on their mission inventory progression.
*/ */
class MissionOfferComponent : public Component { class MissionOfferComponent final : public Component {
public: public:
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MISSION_OFFER; inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MISSION_OFFER;

View File

@ -12,7 +12,7 @@ enum class ePhysicsBehaviorType : int32_t;
/** /**
* Component that represents entities that are a model, e.g. collectible models and BBB models. * Component that represents entities that are a model, e.g. collectible models and BBB models.
*/ */
class ModelBehaviorComponent : public Component { class ModelBehaviorComponent final : public Component {
public: public:
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MODEL_BEHAVIOR; inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MODEL_BEHAVIOR;

View File

@ -15,7 +15,7 @@ namespace RakNet {
* same as having said items in your inventory (the subkey for this component) this component is the one that * same as having said items in your inventory (the subkey for this component) this component is the one that
* renders the entity into the world. * renders the entity into the world.
*/ */
class ModuleAssemblyComponent : public Component { class ModuleAssemblyComponent final : public Component {
public: public:
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MODULE_ASSEMBLY; inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MODULE_ASSEMBLY;