EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EVE_Consts.h File Reference
#include <array>
Include dependency graph for EVE_Consts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static const GPoint NULL_ORIGIN (0, 0, 0)
 
static const GVector NULL_ORIGIN_V (0, 0, 0)
 
const int32 ITEM_DB_SAVE_TIMER_EXPIRY (10)
 
static const float TIC_DURATION_IN_SECONDS (1000)
 
static const uint32 minWarpDistance (130000)
 
static const float onlineModInSpace (0.75)
 

Variables

const std::string HomePageURL = "https://evemu.dev/"
 
static const char numList [] = "0123456789"
 
static const char hexList [] = "0123456789ABCDEF"
 
static const char alphaList [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
 
static const char asciiList [] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ~!@#$%^&*()[]{};:'<>?"
 
static const uint8 marshaledNone [] = { 0x74, 0x04, 0x00, 0x00, 0x00, 0x4E, 0x6F, 0x6E, 0x65 }
 
static const uint16 SHIP_PROCESS_TICK_MS = 5000
 
static const int64 ONE_LIGHTYEAR = 9460000000000000
 
static const int64 ONE_AU_IN_METERS = 149597870700
 
static const int64 STATION_HANGAR_MAX_CAPACITY = 9000000000000000
 
static const double MAX_MARKET_PRICE = 9223372036854
 
static const int32 INCAPACITATION_DISTANCE = 250000
 
static const uint32 ASTEROID_GROWTH_INTERVAL_MS = 3600000
 
static const double Gc = 0.000000000066725985
 
static const float SMALL_NUMBER = 0.000000000000001
 
static const std::array
< std::string, 28 > 
badWords
 
static const std::array
< std::string, 18 > 
badChars
 
static const std::array
< std::string, 16 > 
badCharsSearch
 

Function Documentation

const int32 ITEM_DB_SAVE_TIMER_EXPIRY ( 10  )
static const uint32 minWarpDistance ( 130000  )
static

Referenced by DestinyManager::WarpTo().

Here is the caller graph for this function:

static const GVector NULL_ORIGIN_V ( ,
,
 
)
static

Referenced by DestinyManager::Follow(), SystemEntity::GetVelocity(), and DestinyManager::Orbit().

Here is the caller graph for this function:

static const float onlineModInSpace ( 0.  75)
static
static const float TIC_DURATION_IN_SECONDS ( 1000  )
static

Variable Documentation

const char alphaList[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
static

Definition at line 19 of file EVE_Consts.h.

Referenced by EntityList::GetAnomalyID().

const char asciiList[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ~!@#$%^&*()[]{};:'<>?"
static

Definition at line 20 of file EVE_Consts.h.

const uint32 ASTEROID_GROWTH_INTERVAL_MS = 3600000
static

Definition at line 46 of file EVE_Consts.h.

const std::array<std::string, 18> badChars
static
Initial value:
{
{";",
"--",
"#",
"/*",
"/0",
"0x",
"|",
"' ",
"+",
"@",
"!",
"$",
"%",
"^",
"&",
"*",
"(",
")"}
}

Definition at line 87 of file EVE_Consts.h.

Referenced by ServiceDB::ValidateAccountName(), CharacterDB::ValidateCharName(), and CharacterDB::ValidateCharNameRep().

const std::array<std::string, 16> badCharsSearch
static
Initial value:
{
{";",
"--",
"#",
"/*",
"/0",
"0x",
"|",
"' ",
"+",
"@",
"!",
"$",
"^",
"&",
"(",
")"}
}

Definition at line 108 of file EVE_Consts.h.

Referenced by Command_tr(), and generic_createitem().

const std::array<std::string, 28> badWords
static
Initial value:
{
{"ccp",
"admin",
"fucker",
"cunt",
"concat",
"collate",
"select",
"drop",
"truncate",
"count",
"char",
"load",
"ascii",
"union",
"having",
"group",
"insert",
"cast",
"version",
"exec ",
"benchmark",
"create",
"md5",
"sha1",
"encode",
"compress",
"row_",
"bulk"}
}

Definition at line 55 of file EVE_Consts.h.

Referenced by CharacterDB::ValidateCharName(), and CharacterDB::ValidateCharNameRep().

const double Gc = 0.000000000066725985
static

Definition at line 49 of file EVE_Consts.h.

const char hexList[] = "0123456789ABCDEF"
static

Definition at line 18 of file EVE_Consts.h.

Referenced by PlanetSE::LoadExtras().

const std::string HomePageURL = "https://evemu.dev/"

Definition at line 11 of file EVE_Consts.h.

const int32 INCAPACITATION_DISTANCE = 250000
static

Definition at line 43 of file EVE_Consts.h.

const uint8 marshaledNone[] = { 0x74, 0x04, 0x00, 0x00, 0x00, 0x4E, 0x6F, 0x6E, 0x65 }
static

Definition at line 23 of file EVE_Consts.h.

Referenced by Client::_VerifyLogin().

const double MAX_MARKET_PRICE = 9223372036854
static

Definition at line 42 of file EVE_Consts.h.

const char numList[] = "0123456789"
static

Definition at line 17 of file EVE_Consts.h.

const int64 ONE_LIGHTYEAR = 9460000000000000
static

Definition at line 39 of file EVE_Consts.h.

const uint16 SHIP_PROCESS_TICK_MS = 5000
static

Definition at line 25 of file EVE_Consts.h.

const float SMALL_NUMBER = 0.000000000000001
static

Definition at line 50 of file EVE_Consts.h.

const int64 STATION_HANGAR_MAX_CAPACITY = 9000000000000000
static

Definition at line 41 of file EVE_Consts.h.

Referenced by StationSE::StationSE().