Method BuildProfiles
BuildProfiles(List<SimulatorPreset>, bool, string, int, int, int, string)
Builds sub-profiles for your profile. E.g. 4 regional options for your custom profile.
Declaration
public static void BuildProfiles(List<SimulatorPreset> list, bool showRegional, string name, int packetDelayMs, int packetJitterMs, int packetLossPercent, string tooltip)
Parameters
Type | Name | Description |
---|---|---|
List<SimulatorPreset> | list | To append to. |
bool | showRegional | False for any profiles that are such poor quality, that you don't even want to allow users to select regional servers (as it would be pointless, and give the wrong impression). |
string | name | Name of profile. Include a forward slash if you want sub-profiles to be in a sub-menu. |
int | packetDelayMs | Note that profiles add delay on top. |
int | packetJitterMs | Note that profiles add delay on top. |
int | packetLossPercent | Note that profiles add delay on top. |
string | tooltip | Note that profiles add delay on top. |