mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-14 12:18:22 +00:00
26 lines
416 B
C++
26 lines
416 B
C++
#pragma once
|
|
#include "Behavior.h"
|
|
|
|
class VerifyBehavior final : public Behavior
|
|
{
|
|
public:
|
|
bool m_rangeCheck;
|
|
|
|
bool m_blockCheck;
|
|
|
|
float m_range;
|
|
|
|
Behavior* m_action;
|
|
|
|
/*
|
|
* Inherited
|
|
*/
|
|
|
|
explicit VerifyBehavior(const uint32_t behaviorId) : Behavior(behaviorId) {
|
|
}
|
|
|
|
void Calculate(BehaviorContext* context, RakNet::BitStream* bitStream, BehaviorBranchContext branch) override;
|
|
|
|
void Load() override;
|
|
};
|