DarkflameServer/dGame/dBehaviors/VerifyBehavior.h
2021-12-05 18:54:36 +01:00

27 lines
421 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;
};