mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
Add 'Quests' Category
This commit is contained in:
parent
bfd73e5b96
commit
ef4847555a
@ -74,6 +74,7 @@ public:
|
|||||||
Client_Server_Packet,
|
Client_Server_Packet,
|
||||||
Aggro,
|
Aggro,
|
||||||
Attack,
|
Attack,
|
||||||
|
Quests,
|
||||||
MaxCategoryID /* Don't Remove this*/
|
MaxCategoryID /* Don't Remove this*/
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -139,6 +140,7 @@ static const char* LogCategoryName[EQEmuLogSys::LogCategory::MaxCategoryID] = {
|
|||||||
"Client_Server_Packet",
|
"Client_Server_Packet",
|
||||||
"Aggro",
|
"Aggro",
|
||||||
"Attack",
|
"Attack",
|
||||||
|
"Quests"
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@ -98,6 +98,8 @@ XS(XS_EQEmuIO_PRINT)
|
|||||||
for(i = 0; *cur != '\0'; i++, cur++) {
|
for(i = 0; *cur != '\0'; i++, cur++) {
|
||||||
if(*cur == '\n') {
|
if(*cur == '\n') {
|
||||||
LogFile->writebuf(EQEmuLog::Quest, str + pos, 1, len);
|
LogFile->writebuf(EQEmuLog::Quest, str + pos, 1, len);
|
||||||
|
//logger.DebugCategory(EQEmuLogSys::Detail, EQEmuLogSys::Quests, str);
|
||||||
|
//std::cout << str << "LOLOL\n";
|
||||||
len = 0;
|
len = 0;
|
||||||
pos = i+1;
|
pos = i+1;
|
||||||
} else {
|
} else {
|
||||||
@ -106,6 +108,7 @@ XS(XS_EQEmuIO_PRINT)
|
|||||||
}
|
}
|
||||||
if(len > 0) {
|
if(len > 0) {
|
||||||
LogFile->writebuf(EQEmuLog::Quest, str + pos, 1, len);
|
LogFile->writebuf(EQEmuLog::Quest, str + pos, 1, len);
|
||||||
|
// logger.DebugCategory(EQEmuLogSys::Detail, EQEmuLogSys::Quest, str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user