2024-10-30 07:30:20 +00:00
|
|
|
#ifndef UPDATESTRIPUIMESSAGE_H
|
|
|
|
#define UPDATESTRIPUIMESSAGE_H
|
2023-02-14 02:55:44 +00:00
|
|
|
|
2023-02-16 17:30:33 +00:00
|
|
|
#include "ActionContext.h"
|
2023-02-14 02:55:44 +00:00
|
|
|
#include "BehaviorMessageBase.h"
|
2023-02-16 17:30:33 +00:00
|
|
|
#include "StripUiPosition.h"
|
2023-02-14 02:55:44 +00:00
|
|
|
|
|
|
|
class AMFArrayValue;
|
|
|
|
|
2023-02-16 17:30:33 +00:00
|
|
|
/**
|
|
|
|
* @brief Sent when a player moves the first Action in a Strip
|
|
|
|
*
|
|
|
|
*/
|
2023-02-14 02:55:44 +00:00
|
|
|
class UpdateStripUiMessage : public BehaviorMessageBase {
|
|
|
|
public:
|
2024-02-27 07:29:51 +00:00
|
|
|
UpdateStripUiMessage(const AMFArrayValue& arguments);
|
2024-02-18 06:38:26 +00:00
|
|
|
|
|
|
|
[[nodiscard]] const StripUiPosition& GetPosition() const noexcept { return m_Position; };
|
|
|
|
|
|
|
|
[[nodiscard]] const ActionContext& GetActionContext() const noexcept { return m_ActionContext; };
|
|
|
|
|
2023-02-14 02:55:44 +00:00
|
|
|
private:
|
2024-02-18 06:38:26 +00:00
|
|
|
StripUiPosition m_Position;
|
|
|
|
ActionContext m_ActionContext;
|
2023-02-14 02:55:44 +00:00
|
|
|
};
|
|
|
|
|
2024-10-30 07:30:20 +00:00
|
|
|
#endif //!UPDATESTRIPUIMESSAGE_H
|