From 2528e02b98530f713469b05ae35678c74bfd9971 Mon Sep 17 00:00:00 2001 From: David Markowitz Date: Sun, 9 Jul 2023 19:48:23 -0700 Subject: [PATCH] add final --- dGame/dComponents/MissionComponent.h | 2 +- dGame/dComponents/MissionOfferComponent.h | 2 +- dGame/dComponents/ModelBehaviorComponent.h | 2 +- dGame/dComponents/ModuleAssemblyComponent.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dGame/dComponents/MissionComponent.h b/dGame/dComponents/MissionComponent.h index b49f19d9..1576c086 100644 --- a/dGame/dComponents/MissionComponent.h +++ b/dGame/dComponents/MissionComponent.h @@ -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 * progression of each of the mission task types (see eMissionTaskType). */ -class MissionComponent : public Component +class MissionComponent final : public Component { public: inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MISSION; diff --git a/dGame/dComponents/MissionOfferComponent.h b/dGame/dComponents/MissionOfferComponent.h index 78da8fd9..32a51967 100644 --- a/dGame/dComponents/MissionOfferComponent.h +++ b/dGame/dComponents/MissionOfferComponent.h @@ -66,7 +66,7 @@ private: /** * Allows entities to offer missions to other entities, depending on their mission inventory progression. */ -class MissionOfferComponent : public Component { +class MissionOfferComponent final : public Component { public: inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MISSION_OFFER; diff --git a/dGame/dComponents/ModelBehaviorComponent.h b/dGame/dComponents/ModelBehaviorComponent.h index a85ec2e3..989bdab9 100644 --- a/dGame/dComponents/ModelBehaviorComponent.h +++ b/dGame/dComponents/ModelBehaviorComponent.h @@ -12,7 +12,7 @@ enum class ePhysicsBehaviorType : int32_t; /** * 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: inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MODEL_BEHAVIOR; diff --git a/dGame/dComponents/ModuleAssemblyComponent.h b/dGame/dComponents/ModuleAssemblyComponent.h index 7845fc19..1e94eab7 100644 --- a/dGame/dComponents/ModuleAssemblyComponent.h +++ b/dGame/dComponents/ModuleAssemblyComponent.h @@ -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 * renders the entity into the world. */ -class ModuleAssemblyComponent : public Component { +class ModuleAssemblyComponent final : public Component { public: inline static const eReplicaComponentType ComponentType = eReplicaComponentType::MODULE_ASSEMBLY;