2022-12-16 21:24:13 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "Behavior.h"
|
2024-11-18 00:39:44 +00:00
|
|
|
#include "eAnimationFlags.h"
|
2022-12-16 21:24:13 +00:00
|
|
|
|
|
|
|
class ChangeIdleFlagsBehavior final : public Behavior {
|
|
|
|
public:
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Inherited
|
|
|
|
*/
|
|
|
|
explicit ChangeIdleFlagsBehavior(const uint32_t behaviorId) : Behavior(behaviorId) {}
|
|
|
|
|
2024-02-27 07:25:44 +00:00
|
|
|
void Calculate(BehaviorContext* context, RakNet::BitStream& bitStream, BehaviorBranchContext branch) override;
|
|
|
|
void Handle(BehaviorContext* context, RakNet::BitStream& bitStream, BehaviorBranchContext branch) override;
|
2022-12-16 21:24:13 +00:00
|
|
|
void Timer(BehaviorContext* context, BehaviorBranchContext branch, LWOOBJID second) override;
|
|
|
|
void End(BehaviorContext* context, BehaviorBranchContext branch, LWOOBJID second) override;
|
|
|
|
void Load() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
eAnimationFlags m_FlagsOff;
|
|
|
|
eAnimationFlags m_FlagsOn;
|
|
|
|
};
|