mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Merge branch 'master' into StringFormatting
Conflicts: common/debug.cpp
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
|
||||
#include "../common/debug.h"
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
using namespace std;
|
||||
|
||||
//atoi is not uint32 or uint32 safe!!!!
|
||||
#define atoul(str) strtoul(str, nullptr, 10)
|
||||
|
||||
@@ -40,7 +40,7 @@ TimeoutManager timeout_manager;
|
||||
|
||||
Database database;
|
||||
LFGuildManager lfguildmanager;
|
||||
string WorldShortName;
|
||||
std::string WorldShortName;
|
||||
|
||||
const queryservconfig *Config;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
queryservconfig *queryservconfig::_chat_config = nullptr;
|
||||
|
||||
string queryservconfig::GetByName(const string &var_name) const {
|
||||
std::string queryservconfig::GetByName(const std::string &var_name) const {
|
||||
return(EQEmuConfig::GetByName(var_name));
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
class queryservconfig : public EQEmuConfig {
|
||||
public:
|
||||
virtual string GetByName(const string &var_name) const;
|
||||
virtual std::string GetByName(const std::string &var_name) const;
|
||||
|
||||
private:
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
*/
|
||||
#include "../common/debug.h"
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <iomanip>
|
||||
@@ -81,8 +80,8 @@ void WorldServer::Process()
|
||||
{
|
||||
Server_Speech_Struct *SSS = (Server_Speech_Struct*)pack->pBuffer;
|
||||
|
||||
string tmp1 = SSS->from;
|
||||
string tmp2 = SSS->to;
|
||||
std::string tmp1 = SSS->from;
|
||||
std::string tmp2 = SSS->to;
|
||||
|
||||
database.AddSpeech(tmp1.c_str(), tmp2.c_str(), SSS->message, SSS->minstatus, SSS->guilddbid, SSS->type);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user