DarkflameServer/dGame/dPropertyBehaviors/ControlBehaviorMessages/MergeStripsMessage.h
David Markowitz d138b7b878
Make ControlBehavior messages far more modular (#991)
* Make case consistent

* How modular can you go?

Holy modular

* Add comments

* Initialize values
2023-02-16 11:30:33 -06:00

26 lines
723 B
C++

#ifndef __MERGESTRIPSMESSAGE__H__
#define __MERGESTRIPSMESSAGE__H__
#include "ActionContext.h"
#include "BehaviorMessageBase.h"
class AMFArrayValue;
/**
* @brief Sent when a player adds the first Action of Strip A to a Strip B
*
*/
class MergeStripsMessage : public BehaviorMessageBase {
public:
MergeStripsMessage(AMFArrayValue* arguments);
const uint32_t GetDstActionIndex() { return dstActionIndex; };
ActionContext GetSourceActionContext() { return sourceActionContext; };
ActionContext GetDestinationActionContext() { return destinationActionContext; };
private:
ActionContext sourceActionContext;
ActionContext destinationActionContext;
uint32_t dstActionIndex;
};
#endif //!__MERGESTRIPSMESSAGE__H__