mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-08-26 13:35:52 +00:00
23 lines
680 B
C++
23 lines
680 B
C++
#ifndef CPOINTOFINTERESTEXTRA_H
|
|
#define CPOINTOFINTERESTEXTRA_H
|
|
|
|
#include "CScriptExtra.h"
|
|
#include "Core/Resource/Scan/CScan.h"
|
|
#include <Common/CColor.h>
|
|
|
|
class CPointOfInterestExtra : public CScriptExtra
|
|
{
|
|
// Tint POI billboard orange/red depending on scan importance
|
|
CAssetRef mScanProperty;
|
|
TResPtr<CScan> mpScanData;
|
|
CBoolRef mScanIsCritical;
|
|
|
|
public:
|
|
explicit CPointOfInterestExtra(CScriptObject *pInstance, CScene *pScene, CScriptNode *pParent = nullptr);
|
|
void PropertyModified(IProperty* pProperty) override;
|
|
void ModifyTintColor(CColor& Color) override;
|
|
CScan* GetScan() const { return mpScanData; }
|
|
};
|
|
|
|
#endif // CPOINTOFINTERESTEXTRA_H
|