mass replaced all methods to pascal case

This commit is contained in:
Tahir Akhlaq 2016-06-14 21:29:10 +01:00
parent ed0a0a58f7
commit 24f55139dd
179 changed files with 1585 additions and 1585 deletions

View file

@ -26,11 +26,11 @@ namespace FFXIVClassic_Map_Server
bool startServer = true;
//Load Config
if (!ConfigConstants.load())
startServer = false;
// set up logging
if (!ConfigConstants.Load())
startServer = false;
// set up logging
Log = LogManager.GetCurrentClassLogger();
Program.Log.Info("---------FFXIV 1.0 Map Server---------");
@ -58,7 +58,7 @@ namespace FFXIVClassic_Map_Server
}
//Check World ID
DBWorld thisWorld = Database.getServer(ConfigConstants.DATABASE_WORLDID);
DBWorld thisWorld = Database.GetServer(ConfigConstants.DATABASE_WORLDID);
if (thisWorld != null)
Program.Log.Info("Successfully pulled world info from DB. Server name is {0}.", thisWorld.name);
else
@ -68,14 +68,14 @@ namespace FFXIVClassic_Map_Server
if (startServer)
{
Server server = new Server();
CommandProcessor cp = new CommandProcessor(server.getConnectedPlayerList());
server.startServer();
CommandProcessor cp = new CommandProcessor(server.GetConnectedPlayerList());
server.StartServer();
while (startServer)
{
String input = Console.ReadLine();
Log.Info("[Console Input] " + input);
cp.doCommand(input, null);
cp.DoCommand(input, null);
}
}