mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-06 10:44:08 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
23
dGame/dBehaviors/ClearTargetBehavior.h
Normal file
23
dGame/dBehaviors/ClearTargetBehavior.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
#include "Behavior.h"
|
||||
|
||||
class ClearTargetBehavior final : public Behavior
|
||||
{
|
||||
public:
|
||||
Behavior* m_action;
|
||||
|
||||
bool m_clearIfCaster;
|
||||
|
||||
/*
|
||||
* Inherited
|
||||
*/
|
||||
explicit ClearTargetBehavior(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;
|
||||
};
|
Reference in New Issue
Block a user