2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-10-01 19:00:16 +00:00
|
|
|
|
|
|
|
#include "CActor.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
|
|
|
class CGameLight : public CActor {
|
|
|
|
TUniqueId xe8_parentId;
|
|
|
|
CLight xec_light;
|
|
|
|
u32 x13c_lightId;
|
|
|
|
u32 x140_priority;
|
|
|
|
float x144_lifeTime;
|
2016-10-01 19:00:16 +00:00
|
|
|
|
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CGameLight(TUniqueId, TAreaId, bool, std::string_view, const zeus::CTransform&, TUniqueId, const CLight&,
|
|
|
|
u32 sourceId, u32, float);
|
2016-10-01 19:00:16 +00:00
|
|
|
|
2019-08-09 12:45:18 +00:00
|
|
|
void Accept(IVisitor& visitor) override;
|
|
|
|
void Think(float, CStateManager&) override;
|
2018-12-08 05:30:43 +00:00
|
|
|
void SetLightPriorityAndId();
|
|
|
|
void SetLight(const CLight&);
|
|
|
|
CLight GetLight() const;
|
|
|
|
TUniqueId GetParentId() const { return xe8_parentId; }
|
2016-10-01 19:00:16 +00:00
|
|
|
};
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|