mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-26 23:43:34 +00:00
21 lines
588 B
C
21 lines
588 B
C
|
#ifndef __ICHARXML__H__
|
||
|
#define __ICHARXML__H__
|
||
|
|
||
|
#include <cstdint>
|
||
|
#include <string>
|
||
|
#include <string_view>
|
||
|
|
||
|
class ICharXml {
|
||
|
public:
|
||
|
// Get the character xml for the given character id.
|
||
|
virtual std::string GetCharacterXml(const uint32_t charId) = 0;
|
||
|
|
||
|
// Update the character xml for the given character id.
|
||
|
virtual void UpdateCharacterXml(const uint32_t charId, const std::string_view lxfml) = 0;
|
||
|
|
||
|
// Insert the character xml for the given character id.
|
||
|
virtual void InsertCharacterXml(const uint32_t characterId, const std::string_view lxfml) = 0;
|
||
|
};
|
||
|
|
||
|
#endif //!__ICHARXML__H__
|