2023-02-14 02:55:44 +00:00
|
|
|
#ifndef __SPLITSTRIPMESSAGE__H__
|
|
|
|
#define __SPLITSTRIPMESSAGE__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
|
|
|
#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 takes an Action from Strip A and does not add it to an existing strip
|
|
|
|
*
|
|
|
|
*/
|
2023-02-14 02:55:44 +00:00
|
|
|
class SplitStripMessage : public BehaviorMessageBase {
|
|
|
|
public:
|
|
|
|
SplitStripMessage(AMFArrayValue* arguments);
|
2023-02-16 17:30:33 +00:00
|
|
|
ActionContext GetSourceActionContext() { return sourceActionContext; };
|
|
|
|
ActionContext GetDestinationActionContext() { return destinationActionContext; };
|
2023-02-14 02:55:44 +00:00
|
|
|
const uint32_t GetSrcActionIndex() { return srcActionIndex; };
|
2023-02-16 17:30:33 +00:00
|
|
|
StripUiPosition GetPosition() { return destinationPosition; };
|
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;
|
2023-02-16 17:30:33 +00:00
|
|
|
StripUiPosition destinationPosition;
|
2023-02-14 02:55:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //!__SPLITSTRIPMESSAGE__H__
|