2023-02-14 02:55:44 +00:00
|
|
|
#ifndef __REMOVEACTIONSMESSAGE__H__
|
|
|
|
#define __REMOVEACTIONSMESSAGE__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 removes any Action after the first one from a Strip
|
|
|
|
*
|
|
|
|
*/
|
2023-02-14 02:55:44 +00:00
|
|
|
class RemoveActionsMessage : public BehaviorMessageBase {
|
|
|
|
public:
|
|
|
|
RemoveActionsMessage(AMFArrayValue* arguments);
|
2024-01-03 13:34:38 +00:00
|
|
|
int32_t GetActionIndex() const { return actionIndex; };
|
|
|
|
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 actionIndex;
|
2023-02-14 02:55:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //!__REMOVEACTIONSMESSAGE__H__
|