88 lines
2.8 KiB
C#
88 lines
2.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PokerStarsBotClientv2
|
|
{
|
|
class Globals
|
|
{
|
|
private static int _fileNotOlderThanMin = 0;
|
|
private static int _userID = 0;
|
|
private static string _recentVersion = "";
|
|
private static string _localVersion = "0.6.0";
|
|
private static string _pkrstarsbotURL = "https://zinomedia.de/pokerstarsbot/";
|
|
private static string _uploadURL = " https://zinomedia.de/pkrstarsbot/upload.php";
|
|
private static string _clientSecret = "e0VV7kkkYwK2";
|
|
private static int _uploadFileSizeLimitBytes = 10485760; // ~ 10,5MB
|
|
private static string _mysqlServer = "zinomedia.de";
|
|
private static string _mysqlUser = "pkrstarsbot";
|
|
private static string _mysqlPassword = "ichpkrstarsbot#1337";
|
|
private static string _mysqlDatabase = "pkrstarsbot";
|
|
|
|
public static string MySQLServer
|
|
{
|
|
get { return _mysqlServer; }
|
|
set { _mysqlServer = value; }
|
|
}
|
|
public static string MySQLUser
|
|
{
|
|
get { return _mysqlUser; }
|
|
set { _mysqlUser = value; }
|
|
}
|
|
public static string MySQLPassword
|
|
{
|
|
get { return _mysqlPassword; }
|
|
set { _mysqlPassword = value; }
|
|
}
|
|
public static string MySQLDatabase
|
|
{
|
|
get { return _mysqlDatabase; }
|
|
set { _mysqlDatabase = value; }
|
|
}
|
|
public static int FileNotOlderThanMin
|
|
{
|
|
get { return _fileNotOlderThanMin; }
|
|
set { _fileNotOlderThanMin = value; }
|
|
}
|
|
public static int UserID
|
|
{
|
|
get { return _userID; }
|
|
set { _userID = value; }
|
|
}
|
|
public static string RecentVersion
|
|
{
|
|
get { return _recentVersion; }
|
|
set { _recentVersion = value; }
|
|
}
|
|
public static string LocalVersion
|
|
{
|
|
get { return _localVersion; }
|
|
set { _localVersion = value; }
|
|
}
|
|
public static string PkrStarsBotURL
|
|
{
|
|
get { return _pkrstarsbotURL; }
|
|
set { _pkrstarsbotURL = value; }
|
|
}
|
|
public static string uploadURL
|
|
{
|
|
get { return _uploadURL; }
|
|
set { _uploadURL = value; }
|
|
}
|
|
public static string ClientSecret
|
|
{
|
|
get { return _clientSecret; }
|
|
set { _clientSecret = value; }
|
|
}
|
|
public static int UploadFileSizeLimitBytes
|
|
{
|
|
get { return _uploadFileSizeLimitBytes; }
|
|
set { _uploadFileSizeLimitBytes = value; }
|
|
}
|
|
|
|
// Methods
|
|
}
|
|
}
|