mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-06 07:18:42 +00:00
Saving to database working
This commit is contained in:
20
dDatabase/GameDatabase/ITables/IBehaviors.h
Normal file
20
dDatabase/GameDatabase/ITables/IBehaviors.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef __IBEHAVIORS__H__
|
||||
#define __IBEHAVIORS__H__
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "dCommonVars.h"
|
||||
|
||||
class IBehaviors {
|
||||
public:
|
||||
struct Info {
|
||||
LWOOBJID behaviorId{};
|
||||
uint32_t characterId{};
|
||||
std::string behaviorInfo;
|
||||
};
|
||||
|
||||
virtual void AddBehavior(const Info& info) = 0;
|
||||
virtual void RemoveBehavior(const uint32_t behaviorId) = 0;
|
||||
};
|
||||
|
||||
#endif //!__IBEHAVIORS__H__
|
Reference in New Issue
Block a user