100 uint32 playerGuid = accountId;
102 std::string systemNote =
"ERROR";
109 systemNote =
"Logged into WoW";
112 systemNote =
"Login to WoW Failed";
115 systemNote =
"Password Reset Completed";
118 systemNote =
"Password Reset Failed";
121 systemNote =
"Email Change Completed";
124 systemNote =
"Email Change Failed";
132 systemNote =
"ERROR! Unknown action!";
210 std::string systemNote =
"ERROR";
216 systemNote =
"Character Created";
219 systemNote =
"Logged onto Character";
222 systemNote =
"Logged out of Character";
225 systemNote =
"Character Deleted";
228 systemNote =
"Character Deletion Failed";
233 systemNote =
"ERROR! Unknown action!";
278 std::string systemNote =
"ERROR";
285 systemNote =
"Character Deleted";
288 systemNote =
"Character Deletion Failed";
293 systemNote =
"ERROR! Unknown action!";
DatabaseWorkerPool< LoginDatabaseConnection > LoginDatabase
Accessor to the realm/login database.
@ LOGIN_INS_ALDL_IP_LOGGING
@ LOGIN_INS_FACL_IP_LOGGING
@ LOGIN_INS_CHAR_IP_LOGGING
@ ACCOUNT_CHANGE_EMAIL_FAIL
@ CHARACTER_FAILED_DELETE
void AddSC_action_ip_logger()
void OnFailedPasswordChange(uint32 accountId) override
void OnAccountLogin(uint32 accountId) override
void OnPasswordChange(uint32 accountId) override
void OnFailedAccountLogin(uint32 accountId) override
void AccountIPLogAction(uint32 accountId, IPLoggingTypes aType)
void OnFailedEmailChange(uint32 accountId) override
void OnEmailChange(uint32 accountId) override
CharacterActionIpLogger()
void CharacterIPLogAction(Player *player, IPLoggingTypes aType)
Logs a number of actions done by players with an IP.
void OnLogout(Player *player) override
void OnCreate(Player *player) override
void OnLogin(Player *player, bool) override
void OnFailedDelete(ObjectGuid guid, uint32 accountId) override
void OnDelete(ObjectGuid guid, uint32 accountId) override
CharacterDeleteActionIpLogger()
void DeleteIPLogAction(ObjectGuid guid, uint32 playerGuid, IPLoggingTypes aType)
LowType GetCounter() const
static ObjectGuid GetGUID(Object const *o)
WorldSession * GetSession() const
void setUInt32(uint8 index, uint32 value)
void setUInt64(uint8 index, uint64 value)
void setUInt8(uint8 index, uint8 value)
void setString(uint8 index, std::string const &value)
std::string const & GetRemoteAddress() const
uint32 GetAccountId() const