public static void SetLoginCommands(string accountName, string serverName, string characterName, string text, int waitTimeMs) { var persister = new LoginCommandPersister(accountName: accountName, serverName: serverName, characterName: characterName); var cmds = ParseCommandsFromText(text); persister.WriteQueue(cmds, global: false); }
public static void SetGlobalLoginCommands(string text, int waitTimeMs) { var persister = new LoginCommandPersister(); var cmds = ParseCommandsFromText(text); persister.WriteQueue(cmds, global: true); }