DarkflameServer/dGame/dBehaviors/VerifyBehavior.h

26 lines
416 B
C
Raw Permalink Normal View History

2022-08-06 03:01:59 +00:00
#pragma once
#include "Behavior.h"
class VerifyBehavior final : public Behavior
{
public:
bool m_rangeCheck;
bool m_blockCheck;
float m_range;
Behavior* m_action;
/*
* Inherited
*/
2022-07-28 13:39:57 +00:00
explicit VerifyBehavior(const uint32_t behaviorId) : Behavior(behaviorId) {
}
2022-07-28 13:39:57 +00:00
void Calculate(BehaviorContext* context, RakNet::BitStream* bitStream, BehaviorBranchContext branch) override;
void Load() override;
};