SHARE
TWEET

Untitled

a guest Jun 7th, 2017 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         #region File Shit
  2.  
  3.         public static IPAddress IP;
  4.         public static int Port;
  5.         public static string DB;
  6.         public static string DBIP;
  7.         public static string DBUser;
  8.         public static string DBPass;
  9.  
  10.         public static void Load()
  11.         {
  12.             IniReader conf = new IniReader("conf/WorldSvr.ini");
  13.  
  14.             IP = IPAddress.Parse(conf.ReadString("listen", "ip"));
  15.             Port = conf.ReadInteger("listen", "port");
  16.             DB = conf.ReadString("sql", "database");
  17.             DBIP = conf.ReadString("sql", "ip");
  18.             DBUser = conf.ReadString("sql", "user");
  19.             DBPass = conf.ReadString("sql", "password");
  20.         }
  21.  
  22.         #endregion
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top