2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-10-01 19:00:16 +00:00
|
|
|
|
|
|
|
#include "CActor.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CGameLight : public CActor
|
|
|
|
{
|
|
|
|
TUniqueId xe8_parentId;
|
|
|
|
CLight xec_light;
|
2018-02-09 07:12:26 +00:00
|
|
|
u32 x13c_lightId;
|
2017-05-18 10:58:15 +00:00
|
|
|
u32 x140_priority;
|
2017-01-21 06:03:37 +00:00
|
|
|
float x144_lifeTime;
|
2016-10-01 19:00:16 +00:00
|
|
|
|
|
|
|
public:
|
2018-02-09 07:12:26 +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
|
|
|
|
2017-01-21 06:03:37 +00:00
|
|
|
void Accept(IVisitor &visitor);
|
2016-10-01 19:00:16 +00:00
|
|
|
void Think(float, CStateManager&);
|
|
|
|
void SetLightPriorityAndId();
|
|
|
|
void SetLight(const CLight&);
|
|
|
|
CLight GetLight() const;
|
2017-04-13 19:28:31 +00:00
|
|
|
TUniqueId GetParentId() const { return xe8_parentId; }
|
2016-10-01 19:00:16 +00:00
|
|
|
};
|
|
|
|
}
|