mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-03 06:29:05 +01:00
+Discord account connection +Friends List +UPnP Connection +Cosmetics (Iggy menus need to be fixed up a little)
30 lines
472 B
C++
30 lines
472 B
C++
#pragma once
|
|
|
|
#include <atomic>
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
namespace ServerRuntime
|
|
{
|
|
namespace Online
|
|
{
|
|
enum EVerifyState
|
|
{
|
|
eVerify_Pending,
|
|
eVerify_Valid,
|
|
eVerify_Rejected,
|
|
eVerify_Unavailable,
|
|
};
|
|
|
|
struct VerifyTicket
|
|
{
|
|
std::atomic<int> state{ eVerify_Pending };
|
|
std::wstring username;
|
|
unsigned long long onlineId = 0;
|
|
std::string error;
|
|
};
|
|
|
|
std::shared_ptr<VerifyTicket> BeginVerify(const std::wstring &joinToken);
|
|
}
|
|
}
|