EvEmu
0.8.4
11 September 2021
|
#include "eve-server.h"
#include "Client.h"
#include "ConsoleCommands.h"
#include "admin/AllCommands.h"
#include "admin/CommandDB.h"
#include "inventory/AttributeEnum.h"
#include "inventory/InventoryDB.h"
#include "inventory/InventoryItem.h"
#include "manufacturing/Blueprint.h"
#include "map/MapConnections.h"
#include "npc/Drone.h"
#include "npc/NPC.h"
#include "npc/NPCAI.h"
#include "system/Damage.h"
#include "system/DestinyManager.h"
#include "system/SystemManager.h"
#include "system/SystemBubble.h"
#include "system/cosmicMgrs/BeltMgr.h"
Go to the source code of this file.
PyResult Command_ban | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 903 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), Client::BanClient(), Client::DisconnectClient(), Seperator::isHexNumber(), Seperator::isNumber(), and sEntityList.
PyResult Command_dogma | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 834 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), RefPtr< X >::get(), CommandDB::GetAttributeID(), Client::GetShip(), Seperator::isNumber(), InventoryItem::itemID(), and sItemFactory.
PyResult Command_fit | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 492 of file GMCommands.cpp.
PyResult Command_getattr | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
if (!args.isNumber(2)) throw PyException(MakeCustomError("2nd argument must be attributeID (got %s).", args.arg(2).c_str())); const ItemAttributeMgr::Attr attribute = (ItemAttributeMgr::Attr)atoi(args.arg(2).c_str());
InventoryItemRef item = sItemFactory.GetItem(itemID); if (item.get() == nullptr) throw PyException(MakeCustomError("Failed to load item %u.", itemID));
Definition at line 421 of file GMCommands.cpp.
PyResult Command_giveallskills | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 552 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), AttrSkillLevel, AttrSkillPoints, LSC::character, flagSkill, flagSkillInTraining, CommandDB::FullSkillList(), RefPtr< X >::get(), Client::GetChar(), Client::GetCharacterID(), Character::GetSkill(), Character::HasSkill(), Character::HasSkillTrainedToLevel(), Seperator::isNumber(), item(), PyStatic, Client::SendErrorMsg(), sEntityList, sItemFactory, skillID(), RefPtr< X >::StaticCast(), and InventoryItem::typeID().
PyResult Command_giveisk | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 90 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), Client::GetCharacterID(), Account::CreditType::ISK, Seperator::isNumber(), maxNPCItem, and sEntityList.
PyResult Command_giveskill | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 642 of file GMCommands.cpp.
References _log, Seperator::arg(), Seperator::argCount(), AttrSkillLevel, AttrSkillPoints, LSC::character, flagSkill, RefPtr< X >::get(), Client::GetChar(), Client::GetCharacterID(), Client::GetCharName(), GetFileTimeNow(), Client::GetLocationID(), Character::GetSkill(), EvESkill::Event::GMGift, Character::HasSkill(), Character::HasSkillTrainedToLevel(), Seperator::isNumber(), EvESkill::MAXSKILLLEVEL, PyStatic, Client::QueueDestinyEvent(), Character::RemoveFromQueue(), Character::SaveSkillHistory(), sEntityList, sItemFactory, and skillID().
Referenced by Command_giveskills().
PyResult Command_giveskills | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 636 of file GMCommands.cpp.
References Command_giveskill().
PyResult Command_kick | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 871 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), Client::DisconnectClient(), Seperator::isHexNumber(), Seperator::isNumber(), and sEntityList.
PyResult Command_online | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 735 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), Seperator::isNumber(), and sEntityList.
PyResult Command_pop | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 132 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), key(), PySafeDecRef, and Client::SendNotification().
PyResult Command_repairmodules | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 815 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), Client::GetShip(), Seperator::isNumber(), ShipItem::RepairModules(), and sEntityList.
PyResult Command_search | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 50 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), CommandDB::ItemSearch(), and Client::SelfEveMail().
PyResult Command_setattr | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 444 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), Client::GetShipID(), Seperator::isNumber(), item(), itemID(), minPlayerItem, sItemFactory, and sLog.
PyResult Command_setbpattr | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 392 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), Seperator::isNumber(), and sItemFactory.
PyResult Command_spawn | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 237 of file GMCommands.cpp.
References DBSystemDynamicEntity::allianceID, Seperator::arg(), Seperator::argCount(), SystemManager::BuildDynamicEntity(), DBSystemDynamicEntity::categoryID, DBSystemDynamicEntity::corporationID, EVEDB::invCategories::Entity, DBSystemDynamicEntity::factionID, flagNone, Client::GetAllianceID(), Client::GetCharacterID(), Client::GetCorporationID(), Client::GetLocationID(), Client::GetName(), SystemEntity::GetPosition(), Client::GetRegionID(), Client::GetShipSE(), Client::GetWarFactionID(), DBSystemDynamicEntity::groupID, Client::IsInSpace(), Seperator::isNumber(), item(), DBSystemDynamicEntity::itemID, DBSystemDynamicEntity::itemName, CommandDB::ItemSearch(), MakeRandomInt(), GPoint::MakeRandomPointOnSphere(), DBSystemDynamicEntity::ownerID, DBSystemDynamicEntity::position, sDataMgr, EVEDB::invCategories::Ship, ship, sItemFactory, sLog, Client::SystemMgr(), DBSystemDynamicEntity::typeID, usage(), Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
PyResult Command_spawnn | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 156 of file GMCommands.cpp.
References DBSystemDynamicEntity::allianceID, Seperator::arg(), Seperator::argCount(), SystemManager::BuildDynamicEntity(), DBSystemDynamicEntity::categoryID, DBSystemDynamicEntity::corporationID, DBSystemDynamicEntity::factionID, flagNone, Client::GetLocationID(), Client::GetName(), SystemEntity::GetPosition(), Client::GetShipSE(), DBSystemDynamicEntity::groupID, Client::IsInSpace(), Seperator::isNumber(), item(), DBSystemDynamicEntity::itemID, DBSystemDynamicEntity::itemName, CommandDB::ItemSearch(), MakeRandomInt(), GPoint::MakeRandomPointOnSphere(), DBSystemDynamicEntity::ownerID, DBSystemDynamicEntity::position, ship, sItemFactory, sLog, Client::SystemMgr(), and DBSystemDynamicEntity::typeID.
PyResult Command_unban | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 939 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), CommandDB::GetAccountID(), Seperator::isHexNumber(), Seperator::isNumber(), and ServiceDB::SetAccountBanStatus().
PyResult Command_unload | ( | Client * | who, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
This doesn't seem like a valid requirement
Definition at line 765 of file GMCommands.cpp.
References Seperator::arg(), Seperator::argCount(), ShipItem::GetModuleManager(), Client::GetShip(), Seperator::isNumber(), itemID(), sEntityList, ModuleManager::UnfitModule(), and ShipItem::UnloadAllModules().