2023-02-14 02:55:44 +00:00
|
|
|
#ifndef __MIGRATEACTIONSMESSAGE__H__
|
|
|
|
#define __MIGRATEACTIONSMESSAGE__H__
|
|
|
|
|
2023-02-16 17:30:33 +00:00
|
|
|
#include "ActionContext.h"
|
2023-02-14 02:55:44 +00:00
|
|
|
#include "BehaviorMessageBase.h"
|
|
|
|
|
|
|
|
class AMFArrayValue;
|
|
|
|
|
2023-02-16 17:30:33 +00:00
|
|
|
/**
|
|
|
|
* @brief Sent when a player moves an Action after the first Action to a different Strip
|
|
|
|
*
|
|
|
|
*/
|
2023-02-14 02:55:44 +00:00
|
|
|
class MigrateActionsMessage : public BehaviorMessageBase {
|
|
|
|
public:
|
|
|
|
MigrateActionsMessage(AMFArrayValue* arguments);
|
|
|
|
const uint32_t GetSrcActionIndex() { return srcActionIndex; };
|
|
|
|
const uint32_t GetDstActionIndex() { return dstActionIndex; };
|
2023-02-16 17:30:33 +00:00
|
|
|
ActionContext GetSourceActionContext() { return sourceActionContext; };
|
|
|
|
ActionContext GetDestinationActionContext() { return destinationActionContext; };
|
2023-02-14 02:55:44 +00:00
|
|
|
private:
|
2023-02-16 17:30:33 +00:00
|
|
|
ActionContext sourceActionContext;
|
|
|
|
ActionContext destinationActionContext;
|
2023-02-14 02:55:44 +00:00
|
|
|
uint32_t srcActionIndex;
|
|
|
|
uint32_t dstActionIndex;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //!__MIGRATEACTIONSMESSAGE__H__
|