Adds config option for traffic in COOPAPI
And removes the welcome message in NON INTERACTIVE mode (Press F9 is not possible in that compilation mode)
This commit is contained in:
@ -228,11 +228,12 @@ namespace CoopClient
|
||||
/// <summary>
|
||||
/// ?
|
||||
/// </summary>
|
||||
public static void Configure(string playerName, bool shareNpcsWithPlayers, int streamedNpcs, bool debug = false)
|
||||
public static void Configure(string playerName, bool shareNpcsWithPlayers, int streamedNpcs, bool disableTrafficSharing, bool debug = false)
|
||||
{
|
||||
Main.MainSettings.Username = playerName;
|
||||
Main.ShareNpcsWithPlayers = shareNpcsWithPlayers;
|
||||
Main.MainSettings.StreamedNpc = streamedNpcs;
|
||||
Main.DisableTraffic = disableTrafficSharing;
|
||||
#if DEBUG
|
||||
Main.UseDebug = debug;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user