mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-21 21:12:24 +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)
|
void ClientListEntry::SetOnline(CLE_Status iOnline)
|
||||||
{
|
{
|
||||||
LogClientLogin(
|
LogClientLogin(
|
||||||
"ClientListEntry::SetOnline for [{}] ({}) = {}",
|
"ClientListEntry::SetOnline for [{}] ({}) = [{}] ({})",
|
||||||
AccountName(),
|
AccountName(),
|
||||||
AccountID(),
|
AccountID(),
|
||||||
|
CLEStatusString[CLE_Status::Online],
|
||||||
iOnline
|
iOnline
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,15 @@ typedef enum
|
|||||||
InZone
|
InZone
|
||||||
} CLE_Status;
|
} CLE_Status;
|
||||||
|
|
||||||
|
static const char * CLEStatusString[] = {
|
||||||
|
"Never",
|
||||||
|
"Offline",
|
||||||
|
"Online",
|
||||||
|
"CharSelect",
|
||||||
|
"Zoning",
|
||||||
|
"InZone"
|
||||||
|
};
|
||||||
|
|
||||||
class ZoneServer;
|
class ZoneServer;
|
||||||
struct ServerClientList_Struct;
|
struct ServerClientList_Struct;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user