mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 10:18:21 +00:00
d138b7b878
* Make case consistent * How modular can you go? Holy modular * Add comments * Initialize values
28 lines
842 B
C++
28 lines
842 B
C++
#ifndef __MIGRATEACTIONSMESSAGE__H__
|
|
#define __MIGRATEACTIONSMESSAGE__H__
|
|
|
|
#include "ActionContext.h"
|
|
#include "BehaviorMessageBase.h"
|
|
|
|
class AMFArrayValue;
|
|
|
|
/**
|
|
* @brief Sent when a player moves an Action after the first Action to a different Strip
|
|
*
|
|
*/
|
|
class MigrateActionsMessage : public BehaviorMessageBase {
|
|
public:
|
|
MigrateActionsMessage(AMFArrayValue* arguments);
|
|
const uint32_t GetSrcActionIndex() { return srcActionIndex; };
|
|
const uint32_t GetDstActionIndex() { return dstActionIndex; };
|
|
ActionContext GetSourceActionContext() { return sourceActionContext; };
|
|
ActionContext GetDestinationActionContext() { return destinationActionContext; };
|
|
private:
|
|
ActionContext sourceActionContext;
|
|
ActionContext destinationActionContext;
|
|
uint32_t srcActionIndex;
|
|
uint32_t dstActionIndex;
|
|
};
|
|
|
|
#endif //!__MIGRATEACTIONSMESSAGE__H__
|