mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-06 17:43:52 +00:00
Add CLEStatusString to logging
This commit is contained in:
parent
3230d81d2c
commit
3177b6ac46
@ -139,9 +139,10 @@ void ClientListEntry::SetOnline(ZoneServer *iZS, CLE_Status iOnline)
|
||||
void ClientListEntry::SetOnline(CLE_Status iOnline)
|
||||
{
|
||||
LogClientLogin(
|
||||
"ClientListEntry::SetOnline for [{}] ({}) = {}",
|
||||
"ClientListEntry::SetOnline for [{}] ({}) = [{}] ({})",
|
||||
AccountName(),
|
||||
AccountID(),
|
||||
CLEStatusString[CLE_Status::Online],
|
||||
iOnline
|
||||
);
|
||||
|
||||
|
||||
@ -18,6 +18,15 @@ typedef enum
|
||||
InZone
|
||||
} CLE_Status;
|
||||
|
||||
static const char * CLEStatusString[] = {
|
||||
"Never",
|
||||
"Offline",
|
||||
"Online",
|
||||
"CharSelect",
|
||||
"Zoning",
|
||||
"InZone"
|
||||
};
|
||||
|
||||
class ZoneServer;
|
||||
struct ServerClientList_Struct;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user