mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-09-21 10:01:31 +00:00
![David Markowitz](/assets/img/avatar_default.png)
* Make case consistent * How modular can you go? Holy modular * Add comments * Initialize values
27 lines
639 B
C++
27 lines
639 B
C++
#ifndef __UPDATEACTIONMESSAGE__H__
|
|
#define __UPDATEACTIONMESSAGE__H__
|
|
|
|
#include "Action.h"
|
|
#include "ActionContext.h"
|
|
#include "BehaviorMessageBase.h"
|
|
|
|
class AMFArrayValue;
|
|
|
|
/**
|
|
* @brief Sent when a player updates the value in an Action
|
|
*
|
|
*/
|
|
class UpdateActionMessage : public BehaviorMessageBase {
|
|
public:
|
|
UpdateActionMessage(AMFArrayValue* arguments);
|
|
const uint32_t GetActionIndex() { return actionIndex; };
|
|
ActionContext GetActionContext() { return actionContext; };
|
|
Action GetAction() { return action; };
|
|
private:
|
|
uint32_t actionIndex;
|
|
ActionContext actionContext;
|
|
Action action;
|
|
};
|
|
|
|
#endif //!__UPDATEACTIONMESSAGE__H__
|