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
31 lines
919 B
C++
31 lines
919 B
C++
#ifndef __SPLITSTRIPMESSAGE__H__
|
|
#define __SPLITSTRIPMESSAGE__H__
|
|
|
|
#include "BehaviorMessageBase.h"
|
|
|
|
class AMFArrayValue;
|
|
|
|
class SplitStripMessage : public BehaviorMessageBase {
|
|
public:
|
|
SplitStripMessage(AMFArrayValue* arguments);
|
|
const uint32_t GetSrcActionIndex() { return srcActionIndex; };
|
|
const StripId GetSrcStripId() { return srcStripId; };
|
|
const BehaviorState GetSrcStateId() { return srcStateId; };
|
|
const StripId GetDstStripId() { return dstStripId; };
|
|
const BehaviorState GetDstStateId() { return dstStateId; };
|
|
const double GetYPosition() { return yPosition; };
|
|
const double GetXPosition() { return xPosition; };
|
|
const uint32_t GetBehaviorId() { return behaviorId; };
|
|
private:
|
|
uint32_t srcActionIndex;
|
|
StripId srcStripId;
|
|
BehaviorState srcStateId;
|
|
StripId dstStripId;
|
|
BehaviorState dstStateId;
|
|
double yPosition;
|
|
double xPosition;
|
|
uint32_t behaviorId;
|
|
};
|
|
|
|
#endif //!__SPLITSTRIPMESSAGE__H__
|