mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
feat(Core/Authserver): TOTP rewrite (#5620)
This commit is contained in:
@@ -3567,4 +3567,23 @@ enum PartyResult
|
||||
ERR_PARTY_LFG_TELEPORT_IN_COMBAT = 30
|
||||
};
|
||||
|
||||
enum ServerProcessTypes
|
||||
{
|
||||
SERVER_PROCESS_AUTHSERVER = 0,
|
||||
SERVER_PROCESS_WORLDSERVER = 1,
|
||||
|
||||
NUM_SERVER_PROCESS_TYPES
|
||||
};
|
||||
|
||||
namespace acore::Impl
|
||||
{
|
||||
struct AC_SHARED_API CurrentServerProcessHolder
|
||||
{
|
||||
static ServerProcessTypes type() { return _type; }
|
||||
static ServerProcessTypes _type;
|
||||
};
|
||||
}
|
||||
|
||||
#define THIS_SERVER_PROCESS (acore::Impl::CurrentServerProcessHolder::type())
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user