CFlaahgra: Add Accept

This commit is contained in:
Luke Street 2020-08-17 03:07:43 -04:00
parent 970aac39a5
commit 7833b9532b
2 changed files with 3 additions and 0 deletions

View File

@ -119,6 +119,8 @@ CFlaahgra::CFlaahgra(TUniqueId uid, std::string_view name, const CEntityInfo& in
} }
} }
void CFlaahgra::Accept(IVisitor& visitor) { visitor.Visit(this); }
void CFlaahgra::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr) { void CFlaahgra::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr) {
switch (msg) { switch (msg) {
case EScriptObjectMessage::InitializedInArea: { case EScriptObjectMessage::InitializedInArea: {

View File

@ -193,6 +193,7 @@ public:
CFlaahgra(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, const CAnimRes&, CFlaahgra(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, const CAnimRes&,
const CPatternedInfo&, const CActorParameters&, const CFlaahgraData&); const CPatternedInfo&, const CActorParameters&, const CFlaahgraData&);
void Accept(IVisitor& visitor) override;
void Think(float, CStateManager&) override; void Think(float, CStateManager&) override;
void PreThink(float, CStateManager&) override; void PreThink(float, CStateManager&) override;
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override; void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;