mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 21:47:24 +00:00
23 lines
470 B
C++
23 lines
470 B
C++
#ifndef IBEHAVIORS_H
|
|
#define IBEHAVIORS_H
|
|
|
|
#include <cstdint>
|
|
|
|
#include "dCommonVars.h"
|
|
|
|
class IBehaviors {
|
|
public:
|
|
struct Info {
|
|
int32_t 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 std::string GetBehavior(const int32_t behaviorId) = 0;
|
|
virtual void RemoveBehavior(const int32_t behaviorId) = 0;
|
|
};
|
|
|
|
#endif //!IBEHAVIORS_H
|