// Copyright 2017 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include "Core/Config/NetplaySettings.h" #include "Common/Config/Config.h" namespace Config { static constexpr u16 DEFAULT_LISTEN_PORT = 2626; // Configuration Information // Main.NetPlay const ConfigInfo NETPLAY_TRAVERSAL_SERVER{{System::Main, "NetPlay", "TraversalServer"}, "stun.dolphin-emu.org"}; const ConfigInfo NETPLAY_TRAVERSAL_PORT{{System::Main, "NetPlay", "TraversalPort"}, 6262}; const ConfigInfo NETPLAY_TRAVERSAL_CHOICE{{System::Main, "NetPlay", "TraversalChoice"}, "direct"}; const ConfigInfo NETPLAY_HOST_CODE{{System::Main, "NetPlay", "HostCode"}, "00000000"}; const ConfigInfo NETPLAY_HOST_PORT{{System::Main, "NetPlay", "HostPort"}, DEFAULT_LISTEN_PORT}; const ConfigInfo NETPLAY_ADDRESS{{System::Main, "NetPlay", "Address"}, "127.0.0.1"}; const ConfigInfo NETPLAY_CONNECT_PORT{{System::Main, "NetPlay", "ConnectPort"}, DEFAULT_LISTEN_PORT}; const ConfigInfo NETPLAY_LISTEN_PORT{{System::Main, "NetPlay", "ListenPort"}, DEFAULT_LISTEN_PORT}; const ConfigInfo NETPLAY_NICKNAME{{System::Main, "NetPlay", "Nickname"}, "Player"}; const ConfigInfo NETPLAY_USE_UPNP{{System::Main, "NetPlay", "UseUPNP"}, false}; const ConfigInfo NETPLAY_ENABLE_QOS{{System::Main, "NetPlay", "EnableQoS"}, true}; const ConfigInfo NETPLAY_ENABLE_CHUNKED_UPLOAD_LIMIT{ {System::Main, "NetPlay", "EnableChunkedUploadLimit"}, false}; const ConfigInfo NETPLAY_CHUNKED_UPLOAD_LIMIT{{System::Main, "NetPlay", "ChunkedUploadLimit"}, 3000}; const ConfigInfo NETPLAY_BUFFER_SIZE{{System::Main, "NetPlay", "BufferSize"}, 5}; const ConfigInfo NETPLAY_CLIENT_BUFFER_SIZE{{System::Main, "NetPlay", "BufferSizeClient"}, 1}; const ConfigInfo NETPLAY_WRITE_SAVE_SDCARD_DATA{ {System::Main, "NetPlay", "WriteSaveSDCardData"}, false}; const ConfigInfo NETPLAY_LOAD_WII_SAVE{{System::Main, "NetPlay", "LoadWiiSave"}, false}; const ConfigInfo NETPLAY_SYNC_SAVES{{System::Main, "NetPlay", "SyncSaves"}, true}; const ConfigInfo NETPLAY_SYNC_CODES{{System::Main, "NetPlay", "SyncCodes"}, true}; const ConfigInfo NETPLAY_RECORD_INPUTS{{System::Main, "NetPlay", "RecordInputs"}, false}; const ConfigInfo NETPLAY_REDUCE_POLLING_RATE{{System::Main, "NetPlay", "ReducePollingRate"}, false}; const ConfigInfo NETPLAY_STRICT_SETTINGS_SYNC{{System::Main, "NetPlay", "StrictSettingsSync"}, false}; const ConfigInfo NETPLAY_HOST_INPUT_AUTHORITY{{System::Main, "NetPlay", "HostInputAuthority"}, false}; const ConfigInfo NETPLAY_SYNC_ALL_WII_SAVES{{System::Main, "NetPlay", "SyncAllWiiSaves"}, false}; } // namespace Config