2017-08-02 16:52:26 -07:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2017-08-02 16:52:26 -07:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "Common/CommonTypes.h"
|
|
|
|
#include "Common/Config/Config.h"
|
|
|
|
|
|
|
|
namespace Config
|
|
|
|
{
|
|
|
|
// Configuration Information
|
|
|
|
|
|
|
|
// Main.NetPlay
|
|
|
|
|
2020-05-02 14:39:40 +02:00
|
|
|
extern const Info<std::string> NETPLAY_TRAVERSAL_SERVER;
|
|
|
|
extern const Info<u16> NETPLAY_TRAVERSAL_PORT;
|
|
|
|
extern const Info<std::string> NETPLAY_TRAVERSAL_CHOICE;
|
|
|
|
extern const Info<std::string> NETPLAY_HOST_CODE;
|
|
|
|
extern const Info<std::string> NETPLAY_INDEX_URL;
|
|
|
|
|
|
|
|
extern const Info<u16> NETPLAY_HOST_PORT;
|
|
|
|
extern const Info<std::string> NETPLAY_ADDRESS;
|
|
|
|
extern const Info<u16> NETPLAY_CONNECT_PORT;
|
|
|
|
extern const Info<u16> NETPLAY_LISTEN_PORT;
|
|
|
|
|
|
|
|
extern const Info<std::string> NETPLAY_NICKNAME;
|
|
|
|
extern const Info<bool> NETPLAY_USE_UPNP;
|
|
|
|
|
|
|
|
extern const Info<bool> NETPLAY_ENABLE_QOS;
|
|
|
|
|
|
|
|
extern const Info<bool> NETPLAY_USE_INDEX;
|
|
|
|
extern const Info<std::string> NETPLAY_INDEX_REGION;
|
|
|
|
extern const Info<std::string> NETPLAY_INDEX_NAME;
|
|
|
|
extern const Info<std::string> NETPLAY_INDEX_PASSWORD;
|
|
|
|
|
|
|
|
extern const Info<bool> NETPLAY_ENABLE_CHUNKED_UPLOAD_LIMIT;
|
|
|
|
extern const Info<u32> NETPLAY_CHUNKED_UPLOAD_LIMIT;
|
|
|
|
|
|
|
|
extern const Info<u32> NETPLAY_BUFFER_SIZE;
|
|
|
|
extern const Info<u32> NETPLAY_CLIENT_BUFFER_SIZE;
|
|
|
|
|
2022-09-11 02:35:20 +02:00
|
|
|
extern const Info<bool> NETPLAY_SAVEDATA_LOAD;
|
|
|
|
extern const Info<bool> NETPLAY_SAVEDATA_WRITE;
|
|
|
|
extern const Info<bool> NETPLAY_SAVEDATA_SYNC_ALL_WII;
|
2020-05-02 14:39:40 +02:00
|
|
|
extern const Info<bool> NETPLAY_SYNC_CODES;
|
|
|
|
extern const Info<bool> NETPLAY_RECORD_INPUTS;
|
|
|
|
extern const Info<bool> NETPLAY_STRICT_SETTINGS_SYNC;
|
|
|
|
extern const Info<std::string> NETPLAY_NETWORK_MODE;
|
|
|
|
extern const Info<bool> NETPLAY_GOLF_MODE_OVERLAY;
|
2021-07-04 13:33:58 +02:00
|
|
|
extern const Info<bool> NETPLAY_HIDE_REMOTE_GBAS;
|
2018-10-10 00:52:19 +02:00
|
|
|
|
2017-08-02 16:52:26 -07:00
|
|
|
} // namespace Config
|