public OAuthRequest(AdKats plugin, String URL) { this.plugin = plugin; this.request = (HttpWebRequest)HttpWebRequest.Create(URL); this.request.UserAgent = "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 4.0.20506)"; }
public TwitterHandler(AdKats plugin) { this.plugin = plugin; this.SetupTwitter(); }
public EmailHandler(AdKats plugin) { this.plugin = plugin; this.blUseSSL = false; this.strSMTPServer = String.Empty; this.iSMTPPort = 25; this.strSenderMail = String.Empty; this.strSMTPUser = String.Empty; this.strSMTPPassword = String.Empty; }
public StatLibrary(AdKats plugin) { this.plugin = plugin; this.PopulateWeaponStats(); }
public EmailHandler(AdKats plugin) { this.Plugin = plugin; switch (Plugin._GameVersion) { case GameVersion.BF3: CustomHTMLAddition = @"<br><a href='http://battlelog.battlefield.com/bf3/user/%player_name%/'>BF3 Battlelog Profile</a><br> <br><a href='http://bf3stats.com/stats_pc/%player_name%'>BF3Stats Profile</a><br> <br><a href='http://history.anticheatinc.com/bf3/?searchvalue=%player_name%'>AntiCheat, INC. Search</a><br> <br><a href='http://metabans.com/search/%player_name%'>Metabans Search</a><br> <br><a href='http://i-stats.net/index.php?action=pcheck&game=BF3&player=%player_name%'>I-Stats Search</a><br> <br><a href='http://www.team-des-fra.fr/CoM/bf3.php?p=%player_name%'>TeamDes Search</a><br> <br><a href='http://cheatometer.hedix.de/?p=%player_name%'>Hedix Search</a><br>"; break; case GameVersion.BF4: CustomHTMLAddition = @"<br><a href='http://battlelog.battlefield.com/bf4/de/user/%player_name%/'>BF4 Battlelog Profile</a><br> <br><a href='http://bf4stats.com/pc/%player_name%'>BF4Stats Profile</a><br> <br><a href='http://history.anticheatinc.com/bf4/?searchvalue=%player_name%'>AntiCheat, INC. Search</a><br> <br><a href='http://metabans.com/search/%player_name%'>Metabans Search</a><br>"; break; default: Plugin.ConsoleError("Game version not understood in email handler"); CustomHTMLAddition = ""; break; } }
public StatLibrary(AdKats plugin) { Plugin = plugin; PopulateWeaponStats(); }