AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
action_ip_logger.cpp File Reference
#include "AccountScript.h"
#include "Channel.h"
#include "Group.h"
#include "Guild.h"
#include "PlayerScript.h"

Go to the source code of this file.

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

◆ IPLoggingTypes

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

Function Documentation

◆ AddSC_action_ip_logger()

void AddSC_action_ip_logger ( )
333{
337}
Definition: action_ip_logger.cpp:46
Definition: action_ip_logger.cpp:169
Definition: action_ip_logger.cpp:264

Referenced by AddWorldScripts().