PresenterNameDispatch (#137)

* PresenterNameDispatch

* Use reference for PresenterNameDispatch param
- fix or add const markers so we can use a const reference
This commit is contained in:
MS
2023-09-22 17:42:23 -04:00
committed by GitHub
parent b4258da0f5
commit 6dd94d3626
5 changed files with 69 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ class MxDSAction : public MxDSObject
public:
enum
{
Flag_Looping = 0x01,
Flag_Enabled = 0x20,
Flag_Parsed = 0x80,
};
@@ -55,6 +56,8 @@ public:
inline const MxVector3Data &GetLocation() const { return m_location; }
inline void SetOmni(MxOmni *p_omni) { m_omni = p_omni; }
inline MxBool IsLooping() const { return this->m_flags & Flag_Looping; }
private:
MxU32 m_sizeOnDisk;
MxU32 m_flags;