mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-24 22:47:25 +00:00
26 lines
670 B
C
26 lines
670 B
C
|
#ifndef __ACTION__H__
|
||
|
#define __ACTION__H__
|
||
|
|
||
|
#include "BehaviorMessageBase.h"
|
||
|
|
||
|
/**
|
||
|
* @brief Sent if a ControlBehavior message has an Action associated with it
|
||
|
*
|
||
|
*/
|
||
|
class Action {
|
||
|
public:
|
||
|
Action();
|
||
|
Action(AMFArrayValue* arguments);
|
||
|
const std::string& GetType() { return type; };
|
||
|
const std::string& GetValueParameterName() { return valueParameterName; };
|
||
|
const std::string& GetValueParameterString() { return valueParameterString; };
|
||
|
const double GetValueParameterDouble() { return valueParameterDouble; };
|
||
|
private:
|
||
|
std::string type;
|
||
|
std::string valueParameterName;
|
||
|
std::string valueParameterString;
|
||
|
double valueParameterDouble;
|
||
|
};
|
||
|
|
||
|
#endif //!__ACTION__H__
|