2024-01-21 16:48:36 +02:00
|
|
|
/*
|
2024-03-13 23:02:53 +02:00
|
|
|
* GlobalLobbyDefines.h, part of VCMI engine
|
2024-01-21 16:48:36 +02:00
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
struct GlobalLobbyAccount
|
|
|
|
{
|
|
|
|
std::string accountID;
|
|
|
|
std::string displayName;
|
|
|
|
std::string status;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct GlobalLobbyRoom
|
|
|
|
{
|
|
|
|
std::string gameRoomID;
|
|
|
|
std::string hostAccountID;
|
|
|
|
std::string hostAccountDisplayName;
|
|
|
|
std::string description;
|
2024-03-12 19:52:42 +02:00
|
|
|
std::string statusID;
|
2024-01-21 16:48:36 +02:00
|
|
|
int playersCount;
|
2024-03-11 20:03:33 +02:00
|
|
|
int playerLimit;
|
2024-01-21 16:48:36 +02:00
|
|
|
};
|
2024-03-13 23:02:53 +02:00
|
|
|
|
|
|
|
struct GlobalLobbyChannelMessage
|
|
|
|
{
|
|
|
|
std::string timeFormatted;
|
|
|
|
std::string accountID;
|
|
|
|
std::string displayName;
|
|
|
|
std::string messageText;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct GlobalLobbyHistoryMatch
|
|
|
|
{
|
|
|
|
std::string gameRoomID;
|
|
|
|
std::string startDateFormatted;
|
|
|
|
std::vector<std::string> opponentDisplayNames;
|
|
|
|
};
|