mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
22 lines
423 B
C++
22 lines
423 B
C++
#ifndef __IBEHAVIORS__H__
|
|
#define __IBEHAVIORS__H__
|
|
|
|
#include <cstdint>
|
|
|
|
#include "dCommonVars.h"
|
|
|
|
class IBehaviors {
|
|
public:
|
|
struct Info {
|
|
LWOOBJID behaviorId{};
|
|
uint32_t characterId{};
|
|
std::string behaviorInfo;
|
|
};
|
|
|
|
// This Add also takes care of updating if it exists.
|
|
virtual void AddBehavior(const Info& info) = 0;
|
|
virtual void RemoveBehavior(const uint32_t behaviorId) = 0;
|
|
};
|
|
|
|
#endif //!__IBEHAVIORS__H__
|