mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
0545adfac3
Have fun!
30 lines
582 B
C++
30 lines
582 B
C++
#pragma once
|
|
#include "Behavior.h"
|
|
|
|
class AreaOfEffectBehavior final : public Behavior
|
|
{
|
|
public:
|
|
Behavior* m_action;
|
|
|
|
uint32_t m_maxTargets;
|
|
|
|
float m_radius;
|
|
|
|
int32_t m_ignoreFaction;
|
|
|
|
int32_t m_includeFaction;
|
|
|
|
/*
|
|
* Inherited
|
|
*/
|
|
explicit AreaOfEffectBehavior(const uint32_t behaviorId) : Behavior(behaviorId)
|
|
{
|
|
}
|
|
|
|
void Handle(BehaviorContext* context, RakNet::BitStream* bitStream, BehaviorBranchContext branch) override;
|
|
|
|
void Calculate(BehaviorContext* context, RakNet::BitStream* bitStream, BehaviorBranchContext branch) override;
|
|
|
|
void Load() override;
|
|
};
|