2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 14:31:20 +00:00
metaforce/Runtime/World/CGameLight.hpp
Lioncash 2059535b55 RuntimeCommonB: Use the override specifier where applicable
Applies the override keyword where applicable to indicate visually where
member function overriding is occurring. This only targets
the RuntimeCommonB target as a starting point, which resolves around
900+ cases where the keyword could be used.
2019-08-09 09:13:26 -04:00

25 lines
617 B
C++

#pragma once
#include "CActor.hpp"
namespace urde {
class CGameLight : public CActor {
TUniqueId xe8_parentId;
CLight xec_light;
u32 x13c_lightId;
u32 x140_priority;
float x144_lifeTime;
public:
CGameLight(TUniqueId, TAreaId, bool, std::string_view, const zeus::CTransform&, TUniqueId, const CLight&,
u32 sourceId, u32, float);
void Accept(IVisitor& visitor) override;
void Think(float, CStateManager&) override;
void SetLightPriorityAndId();
void SetLight(const CLight&);
CLight GetLight() const;
TUniqueId GetParentId() const { return xe8_parentId; }
};
} // namespace urde