[c5a3d1]: Classes / Com.cs  Maximize  Restore  History

Download this file

21 lines (17 with data), 627 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
namespace YuGiOh_Ultra {
public static class Com {
public static string imgpath;
public static void GetImagePath() {
imgpath = App.ResourceAssembly.Location;
for ( int i = imgpath.Length -1; i > 0; i-- ) {
if ( imgpath[i] == '\\' ) break;
imgpath = imgpath.Remove( i );
}
imgpath += @"images\en\";
}
public static int port = 6666;
public static readonly string connStr = "Database=yugi;Data Source=127.0.0.1;User Id=root;Password=;Connection Timeout=20";
public static Player me;
}
}