mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-26 15:33:34 +00:00
9655f0ee45
fix compile issues
22 lines
487 B
C++
22 lines
487 B
C++
#ifndef IPETNAMES_H
|
|
#define IPETNAMES_H
|
|
|
|
#include <cstdint>
|
|
#include <optional>
|
|
|
|
class IPetNames {
|
|
public:
|
|
struct Info {
|
|
std::string petName;
|
|
int32_t approvalStatus{};
|
|
};
|
|
|
|
// Set the pet name moderation status for the given pet id.
|
|
virtual void SetPetNameModerationStatus(const LWOOBJID& petId, const IPetNames::Info& info) = 0;
|
|
|
|
// Get pet info for the given pet id.
|
|
virtual std::optional<IPetNames::Info> GetPetNameInfo(const LWOOBJID& petId) = 0;
|
|
};
|
|
|
|
#endif //!IPETNAMES_H
|