2023-02-16 17:30:33 +00:00
|
|
|
#ifndef __STRIPUIPOSITION__H__
|
|
|
|
#define __STRIPUIPOSITION__H__
|
|
|
|
|
|
|
|
class AMFArrayValue;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief The position of the first Action in a Strip
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
class StripUiPosition {
|
|
|
|
public:
|
2024-02-18 06:38:26 +00:00
|
|
|
StripUiPosition() noexcept = default;
|
|
|
|
StripUiPosition(const AMFArrayValue* arguments, const std::string& uiKeyName = "ui");
|
2024-01-03 13:34:38 +00:00
|
|
|
void SendBehaviorBlocksToClient(AMFArrayValue& args) const;
|
2024-02-18 06:38:26 +00:00
|
|
|
[[nodiscard]] double GetX() const noexcept { return m_XPosition; }
|
|
|
|
[[nodiscard]] double GetY() const noexcept { return m_YPosition; }
|
|
|
|
|
2023-02-16 17:30:33 +00:00
|
|
|
private:
|
2024-02-18 06:38:26 +00:00
|
|
|
double m_XPosition{ 0.0 };
|
|
|
|
double m_YPosition{ 0.0 };
|
2023-02-16 17:30:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //!__STRIPUIPOSITION__H__
|