Skip to content

Commit 71da895

Browse files
committed
organize the Flashpoint Proxy constants
1 parent 120fd91 commit 71da895

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

FlashpointSecurePlayer/FlashpointProxy.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ private struct INTERNET_PER_CONN_OPTION_LIST {
8686
private const bool FP_PROXY_DEFAULT = true;
8787
private const int FP_PROXY_PORT_DEFAULT = 22500;
8888

89-
public const string FP_PROXY = nameof(FP_PROXY);
90-
public const string FP_PROXY_PORT = nameof(FP_PROXY_PORT);
91-
92-
public const string FLASHPOINT_SECURE_PLAYER_PROXY = nameof(FLASHPOINT_SECURE_PLAYER_PROXY);
93-
public const string FLASHPOINT_SECURE_PLAYER_PROXY_PORT = nameof(FLASHPOINT_SECURE_PLAYER_PROXY_PORT);
94-
9589
private static bool Proxy { get; set; } = FP_PROXY_DEFAULT;
9690
private static int Port { get; set; } = FP_PROXY_PORT_DEFAULT;
9791

@@ -145,6 +139,12 @@ private static void GetSystemProxy(ref INTERNET_PER_CONN_OPTION_LIST internetPer
145139
}
146140
}
147141

142+
public const string FP_PROXY = nameof(FP_PROXY);
143+
public const string FP_PROXY_PORT = nameof(FP_PROXY_PORT);
144+
145+
public const string FLASHPOINT_SECURE_PLAYER_PROXY = nameof(FLASHPOINT_SECURE_PLAYER_PROXY);
146+
public const string FLASHPOINT_SECURE_PLAYER_PROXY_PORT = nameof(FLASHPOINT_SECURE_PLAYER_PROXY_PORT);
147+
148148
public static void GetPreferences(out bool proxy, out int port) {
149149
proxy = Proxy;
150150
port = Port;

0 commit comments

Comments
 (0)