TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
action_ip_logger.cpp File Reference
#include "ScriptMgr.h"
#include "Player.h"
+ Include dependency graph for action_ip_logger.cpp:

Classes

class  AccountActionIpLogger
 
class  CharacterActionIpLogger
 
class  CharacterDeleteActionIpLogger
 

Enumerations

enum  IPLoggingTypes {
  ACCOUNT_LOGIN = 0, ACCOUNT_FAIL_LOGIN = 1, ACCOUNT_CHANGE_PW = 2, ACCOUNT_CHANGE_PW_FAIL = 3,
  ACCOUNT_CHANGE_EMAIL = 4, ACCOUNT_CHANGE_EMAIL_FAIL = 5, CHARACTER_CREATE = 7, CHARACTER_LOGIN = 8,
  CHARACTER_LOGOUT = 9, CHARACTER_DELETE = 10, CHARACTER_FAILED_DELETE = 11, UNKNOWN_ACTION = 12
}
 

Functions

void AddSC_action_ip_logger ()
 

Enumeration Type Documentation

Enumerator
ACCOUNT_LOGIN 
ACCOUNT_FAIL_LOGIN 
ACCOUNT_CHANGE_PW 
ACCOUNT_CHANGE_PW_FAIL 
ACCOUNT_CHANGE_EMAIL 
ACCOUNT_CHANGE_EMAIL_FAIL 
CHARACTER_CREATE 
CHARACTER_LOGIN 
CHARACTER_LOGOUT 
CHARACTER_DELETE 
CHARACTER_FAILED_DELETE 
UNKNOWN_ACTION 
22 {
23  // AccountActionIpLogger();
24  ACCOUNT_LOGIN = 0,
27  ACCOUNT_CHANGE_PW_FAIL = 3, // Only two types of account changes exist...
29  ACCOUNT_CHANGE_EMAIL_FAIL = 5, // ...so we log them individually
30  // OBSOLETE - ACCOUNT_LOGOUT = 6, /* Can not be logged. We still keep the type however */
31  // CharacterActionIpLogger();
32  CHARACTER_CREATE = 7,
33  CHARACTER_LOGIN = 8,
34  CHARACTER_LOGOUT = 9,
35  // CharacterDeleteActionIpLogger();
36  CHARACTER_DELETE = 10,
38  // AccountActionIpLogger(), CharacterActionIpLogger(), CharacterActionIpLogger();
39  UNKNOWN_ACTION = 12
40 };
Definition: action_ip_logger.cpp:32
Definition: action_ip_logger.cpp:24
Definition: action_ip_logger.cpp:29
Definition: action_ip_logger.cpp:27
Definition: action_ip_logger.cpp:25
Definition: action_ip_logger.cpp:39
Definition: action_ip_logger.cpp:37
Definition: action_ip_logger.cpp:28
Definition: action_ip_logger.cpp:26
Definition: action_ip_logger.cpp:36
Definition: action_ip_logger.cpp:33
Definition: action_ip_logger.cpp:34

Function Documentation

void AddSC_action_ip_logger ( )
304 {
305  new AccountActionIpLogger();
308 }
Definition: action_ip_logger.cpp:244
Definition: action_ip_logger.cpp:42
Definition: action_ip_logger.cpp:161

+ Here is the caller graph for this function: