2018-10-11 22:57:05 +00:00
|
|
|
#pragma once
|
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include "Runtime/CToken.hpp"
|
|
|
|
#include "Runtime/GCNTypes.hpp"
|
|
|
|
#include "Runtime/rstl.hpp"
|
|
|
|
#include "Runtime/World/CPatterned.hpp"
|
|
|
|
|
|
|
|
#include <zeus/CVector3f.hpp>
|
2018-10-11 22:57:05 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde::MP1 {
|
|
|
|
class CPuffer : public CPatterned {
|
|
|
|
zeus::CVector3f x568_face;
|
|
|
|
TToken<CGenDescription> x574_cloudEffect;
|
|
|
|
CDamageInfo x57c_cloudDamage;
|
|
|
|
bool x598_24_ : 1;
|
|
|
|
bool x598_25_ : 1;
|
|
|
|
bool x598_26_ : 1;
|
|
|
|
s16 x59a_;
|
|
|
|
CDamageInfo x59c_explosionDamage;
|
|
|
|
float x5b8_;
|
|
|
|
CAssetId x5bc_cloudSteam;
|
|
|
|
zeus::CVector3f x5c0_move;
|
|
|
|
TUniqueId x5cc_ = kInvalidUniqueId;
|
2020-03-04 00:49:13 +00:00
|
|
|
s32 x5d0_enabledParticles = 0;
|
2018-12-08 05:30:43 +00:00
|
|
|
rstl::reserved_vector<zeus::CVector3f, 14> x5d4_gasLocators;
|
|
|
|
|
|
|
|
void sub8025bfa4(CStateManager&);
|
2018-11-14 04:16:11 +00:00
|
|
|
|
2018-10-11 22:57:05 +00:00
|
|
|
public:
|
2020-08-23 19:03:33 +00:00
|
|
|
DEFINE_PATTERNED(Puffer);
|
2018-10-11 22:57:05 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
CPuffer(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, CModelData&&,
|
|
|
|
const CActorParameters&, const CPatternedInfo&, float, CAssetId, const CDamageInfo&, CAssetId, float, bool,
|
|
|
|
bool, bool, const CDamageInfo&, s16);
|
2018-11-14 04:16:11 +00:00
|
|
|
|
2019-08-09 19:46:49 +00:00
|
|
|
void Accept(IVisitor&) override;
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
|
|
|
|
void Think(float, CStateManager&) override;
|
|
|
|
std::optional<zeus::CAABox> GetTouchBounds() const override;
|
|
|
|
void Touch(CActor&, CStateManager&) override;
|
|
|
|
void Death(CStateManager&, const zeus::CVector3f&, EScriptObjectState) override;
|
2018-10-11 22:57:05 +00:00
|
|
|
};
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde::MP1
|