EvEmu
0.8.4
11 September 2021
|
#include "eve-server.h"
#include "Client.h"
#include "StaticDataMgr.h"
#include "character/Character.h"
#include "corporation/CorporationDB.h"
Go to the source code of this file.
Macros | |
#define | _NI(a, b) if (row.IsNull(b)) { cc.a = PyStatic.NewNone(); } else { cc.a = new PyInt(row.GetUInt(b)); } |
#define | _NS(a, b) if (row.IsNull(b)) { cc.a = PyStatic.NewNone(); } else { cc.a = new PyString(row.GetText(b)); } |
#define | PRN PyStatic.NewNone() |
#define | PRI(i) new PyInt(i) |
#define | PRL(i) new PyLong(i) |
#define | PRS(s) new PyString(s) |
#define | PRNI(i) (row.IsNull(i) ? PRU(0) : PRU(row.GetInt64(i))) |
#define | F(name, o, n) |
#define | NI(i) row.IsNull(i) ? 0 : row.GetInt(i) |
Functions | |
static std::string | _IoN (PyRep *r) |
#define _NI | ( | a, | |
b | |||
) | if (row.IsNull(b)) { cc.a = PyStatic.NewNone(); } else { cc.a = new PyInt(row.GetUInt(b)); } |
Definition at line 510 of file CorporationDB.cpp.
Referenced by CorporationDB::CreateCorporationChangePacket(), and CorporationDB::CreateCorporationCreatePacket().
#define _NS | ( | a, | |
b | |||
) | if (row.IsNull(b)) { cc.a = PyStatic.NewNone(); } else { cc.a = new PyString(row.GetText(b)); } |
Definition at line 511 of file CorporationDB.cpp.
Referenced by CorporationDB::CreateCorporationChangePacket(), and CorporationDB::CreateCorporationCreatePacket().
#define F | ( | name, | |
o, | |||
n | |||
) |
Referenced by CorporationDB::CreateMemberAttributeUpdate().
#define NI | ( | i | ) | row.IsNull(i) ? 0 : row.GetInt(i) |
Definition at line 1812 of file CorporationDB.cpp.
Referenced by CorporationDB::UpdateLogo().
#define PRI | ( | i | ) | new PyInt(i) |
Referenced by CorporationDB::CreateMemberAttributeUpdate().
#define PRL | ( | i | ) | new PyLong(i) |
Referenced by CorporationDB::CreateMemberAttributeUpdate().
#define PRN PyStatic.NewNone() |
Referenced by CorporationDB::CreateMemberAttributeUpdate().
#define PRNI | ( | i | ) | (row.IsNull(i) ? PRU(0) : PRU(row.GetInt64(i))) |
#define PRS | ( | s | ) | new PyString(s) |
|
static |
Definition at line 440 of file CorporationDB.cpp.
References PyRep::IntegerValueU32(), and PyRep::IsInt().
Referenced by CorporationDB::AddCorporation().