mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 10:18:21 +00:00
72c93c8913
Further implements the ControlBehavior processing and adds preparations for cheat detection
33 lines
1.0 KiB
C++
33 lines
1.0 KiB
C++
#ifndef __ADDSTRIPMESSAGE__H__
|
|
#define __ADDSTRIPMESSAGE__H__
|
|
|
|
#include "BehaviorMessageBase.h"
|
|
|
|
class AMFArrayValue;
|
|
|
|
class AddStripMessage : public BehaviorMessageBase {
|
|
public:
|
|
AddStripMessage(AMFArrayValue* arguments);
|
|
const StripId GetStripId() { return stripId; };
|
|
const BehaviorState GetStateId() { return stateId; };
|
|
const std::string& GetType() { return type; };
|
|
const std::string& GetValueParameterName() { return valueParameterName; };
|
|
const std::string& GetValueParameterString() { return valueParameterString; };
|
|
const double GetXPosition() { return xPosition; };
|
|
const double GetYPosition() { return yPosition; };
|
|
const double GetValueParameterDouble() { return valueParameterDouble; };
|
|
const uint32_t GetBehaviorId() { return behaviorId; };
|
|
private:
|
|
double xPosition;
|
|
double yPosition;
|
|
StripId stripId;
|
|
BehaviorState stateId;
|
|
uint32_t behaviorId;
|
|
std::string type;
|
|
std::string valueParameterName;
|
|
std::string valueParameterString;
|
|
double valueParameterDouble;
|
|
};
|
|
|
|
#endif //!__ADDSTRIPMESSAGE__H__
|