mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-14 12:18:22 +00:00
9655f0ee45
fix compile issues
33 lines
567 B
C++
33 lines
567 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
#ifndef EPERMISSIONMAP_H
|
|
#define EPERMISSIONMAP_H
|
|
|
|
/**
|
|
* Bitmap of permissions and restrictions for characters.
|
|
*/
|
|
enum class ePermissionMap : uint64_t {
|
|
/**
|
|
* Reserved for future use, bit 0-3.
|
|
*/
|
|
|
|
/**
|
|
* The character has restricted trade acccess, bit 4.
|
|
*/
|
|
RestrictedTradeAccess = 0x1 << 4,
|
|
|
|
/**
|
|
* The character has restricted mail access, bit 5.
|
|
*/
|
|
RestrictedMailAccess = 0x1 << 5,
|
|
|
|
/**
|
|
* The character has restricted chat access, bit 6.
|
|
*/
|
|
RestrictedChatAccess = 0x1 << 6,
|
|
};
|
|
|
|
#endif //!EPERMISSIONMAP_H
|