2023-02-14 02:55:44 +00:00
|
|
|
#ifndef __REARRANGESTRIPMESSAGE__H__
|
|
|
|
#define __REARRANGESTRIPMESSAGE__H__
|
|
|
|
|
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
|
|
|
/**
|
|
|
|
* @brief Sent when a player moves an Action around in the same strip
|
|
|
|
*
|
|
|
|
*/
|
2023-02-14 02:55:44 +00:00
|
|
|
class RearrangeStripMessage : public BehaviorMessageBase {
|
|
|
|
public:
|
|
|
|
RearrangeStripMessage(AMFArrayValue* arguments);
|
2024-01-03 13:34:38 +00:00
|
|
|
int32_t GetSrcActionIndex() const { return srcActionIndex; };
|
|
|
|
int32_t GetDstActionIndex() const { return dstActionIndex; };
|
|
|
|
ActionContext GetActionContext() const { return actionContext; };
|
2023-02-14 02:55:44 +00:00
|
|
|
private:
|
2023-02-16 17:30:33 +00:00
|
|
|
ActionContext actionContext;
|
2024-01-03 13:34:38 +00:00
|
|
|
int32_t srcActionIndex;
|
|
|
|
int32_t dstActionIndex;
|
2023-02-14 02:55:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //!__REARRANGESTRIPMESSAGE__H__
|