public void CreateTradeOffer(string[] args) { if (args.Count() < 2) { Console.WriteLine("Usage : createto [STEAM ID]"); return; } SelectedBot.CreateTradeOffer(args[1]); }
public void WithDrawn(string[] args) { if (args.Count() < 2) { Console.WriteLine("Usage : withdrawn [STEAM ID]"); return; } SelectedBot.WithDrawn(args[1]); }
public void Rename(string[] args) { if (args.Count() < 2) { Console.WriteLine("Usage : rename [NEW NAME]"); return; } string newname = ""; for (int i = 1; i < args.Count(); i++) { newname += args[i] + " "; } newname.Substring(0, newname.Length - 2); Console.WriteLine("Renaming steambot..."); SelectedBot.ChangeName(newname); }
public void UnlinkAuthenticator() { SelectedBot.DeactivateAuthenticator(); }
public void LinkAuthenticator() { SelectedBot.LinkMobileAuth(); }
private void GenerateCode() { SelectedBot.GenerateCode(); }