2019-11-24 15:01:07 +00:00
|
|
|
#include "Runtime/World/CDestroyableRock.hpp"
|
2017-03-31 19:51:40 +00:00
|
|
|
|
2019-11-24 15:01:07 +00:00
|
|
|
#include "TCastTo.hpp" // Generated file, do not modify include path
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2017-03-31 19:51:40 +00:00
|
|
|
|
2017-11-13 06:19:18 +00:00
|
|
|
CDestroyableRock::CDestroyableRock(TUniqueId id, bool active, std::string_view name, const CEntityInfo& info,
|
2018-12-08 05:30:43 +00:00
|
|
|
const zeus::CTransform& xf, CModelData&& modelData, float mass,
|
|
|
|
const CHealthInfo& health, const CDamageVulnerability& vulnerability,
|
|
|
|
const CMaterialList& matList, CAssetId fsm, const CActorParameters& actParams,
|
2019-11-24 15:01:07 +00:00
|
|
|
const CModelData& modelData2, s32)
|
2018-12-08 05:30:43 +00:00
|
|
|
: CAi(id, active, name, info, xf, std::move(modelData), modelData.GetBounds(), mass, health, vulnerability, matList,
|
|
|
|
fsm, actParams, 0.3f, 0.8f) {}
|
|
|
|
|
2019-11-24 15:01:07 +00:00
|
|
|
void CDestroyableRock::Accept(urde::IVisitor& visitor) {
|
|
|
|
visitor.Visit(this);
|
|
|
|
}
|
|
|
|
void CDestroyableRock::Death(CStateManager& mgr, const zeus::CVector3f& direction, EScriptObjectState state) {}
|
|
|
|
void CDestroyableRock::KnockBack(const zeus::CVector3f&, CStateManager&, const CDamageInfo& info, EKnockBackType type,
|
|
|
|
bool inDeferred, float magnitude) {}
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|