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
|
|
|
|
|
2024-04-15 12:34:16 +02:00
|
|
|
#include "../../lib/modding/ModVerificationInfo.h"
|
|
|
|
|
2024-01-21 16:48:36 +02:00
|
|
|
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-04-15 12:34:16 +02:00
|
|
|
std::string gameVersion;
|
2024-03-12 19:52:42 +02:00
|
|
|
std::string statusID;
|
2024-03-20 18:40:37 +02:00
|
|
|
std::string startDateFormatted;
|
2024-04-15 12:34:16 +02:00
|
|
|
ModCompatibilityInfo modList;
|
2024-03-20 18:40:37 +02:00
|
|
|
std::vector<GlobalLobbyAccount> participants;
|
2024-05-13 13:43:28 +02:00
|
|
|
std::vector<GlobalLobbyAccount> invited;
|
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;
|
|
|
|
};
|