EvEmu
0.8.4
11 September 2021
|
#include <stdio.h>
#include "eve-server.h"
#include "PyBoundObject.h"
#include "Client.h"
#include "ConsoleCommands.h"
#include "npc/NPC.h"
#include "npc/NPCAI.h"
#include "admin/AllCommands.h"
#include "admin/CommandDB.h"
#include "fleet/FleetService.h"
#include "inventory/AttributeEnum.h"
#include "inventory/InventoryDB.h"
#include "inventory/InventoryItem.h"
#include "manufacturing/Blueprint.h"
#include "npc/Drone.h"
#include "planet/Moon.h"
#include "station/Station.h"
#include "system/Damage.h"
#include "system/DestinyManager.h"
#include "system/SystemManager.h"
#include "system/SystemBubble.h"
#include "system/cosmicMgrs/AnomalyMgr.h"
#include "system/cosmicMgrs/BeltMgr.h"
#include "system/cosmicMgrs/DungeonMgr.h"
#include "testing/test.h"
Go to the source code of this file.
PyResult Command_attrlist | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 565 of file debug_commands.cpp.
References Seperator::arg(), AttributeMap::CopyAttributes(), evil_number_int, InventoryItem::GetAttributeMap(), Seperator::isNumber(), itemID(), Client::SendInfoModalMsg(), sItemFactory, and snprintf.
PyResult Command_autostop | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 946 of file debug_commands.cpp.
References Client::AutoStop(), Client::SendNotifyMsg(), Client::SetAutoStop(), and snprintf.
PyResult Command_beltlist | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 414 of file debug_commands.cpp.
References SystemManager::GetBeltMgr(), SystemBubble::GetID(), BeltMgr::GetList(), Client::GetShipSE(), sBubbleMgr, Client::SendInfoModalMsg(), snprintf, SystemEntity::SysBubble(), and SystemEntity::SystemMgr().
PyResult Command_bindList | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 1148 of file debug_commands.cpp.
References PyServiceMgr::BoundObjectVec(), Client::SendInfoModalMsg(), Client::services(), and snprintf.
PyResult Command_bubblelist | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 215 of file debug_commands.cpp.
References bubble, SystemBubble::CountDynamics(), SystemBubble::CountNPCs(), SystemBubble::CountPlayers(), SystemBubble::GetEntities(), SystemBubble::GetID(), Client::GetShipSE(), Client::IsDocked(), Client::SendInfoModalMsg(), snprintf, and SystemEntity::SysBubble().
PyResult Command_bubbletrack | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 716 of file debug_commands.cpp.
References Seperator::arg(), Seperator::argCount(), Client::GetShipSE(), Client::GetSystemID(), SystemBubble::MarkCenter(), SystemBubble::RemoveMarkers(), sBubbleMgr, sConfig, Client::SendInfoModalMsg(), Client::SendNotifyMsg(), snprintf, and SystemEntity::SysBubble().
PyResult Command_bubblewarp | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 1105 of file debug_commands.cpp.
References Seperator::arg(), SystemEntity::DestinyMgr(), Client::GetShipSE(), Client::GetSystemID(), Client::GetSystemName(), Client::IsInSpace(), Seperator::isNumber(), sBubbleMgr, Client::SendInfoModalMsg(), snprintf, SystemEntity::SysBubble(), and DestinyManager::WarpTo().
PyResult Command_cargo | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 962 of file debug_commands.cpp.
References AttrAmmoHoldCapacity, AttrCommandCenterHoldCapacity, AttrDroneCapacity, AttrFuelBayCapacity, AttrGasHoldCapacity, AttrHasCorporateHangars, AttrHasShipMaintenanceBay, AttrIndustrialShipHoldCapacity, AttrLargeShipHoldCapacity, AttrMediumShipHoldCapacity, AttrMineralHoldCapacity, AttrOreHoldCapacity, AttrPlanetaryCommoditiesHoldCapacity, AttrQuafeHoldCapacity, AttrSalvageHoldCapacity, AttrShipHoldCapacity, AttrSmallShipHoldCapacity, LSC::corp, EvilZero, flagAmmoHold, flagCargoHold, flagCommandCenterHold, flagCorpHangar2, flagDroneBay, flagFuelBay, flagGasHold, flagHangar, flagIndustrialShipHold, flagLargeShipHold, flagMediumShipHold, flagMineralHold, flagOreHold, flagPlanetaryCommoditiesHold, flagQuafeBay, flagSalvageHold, flagSecondaryStorage, flagShipHangar, flagShipHold, flagSmallShipHold, InventoryItem::GetAttribute(), Inventory::GetCapacity(), Inventory::GetCargoList(), ServiceDB::GetCorpHangarNames(), Inventory::GetCorpHangerCapyUsed(), Client::GetCorporationID(), InventoryItem::GetMyInventory(), Client::GetShip(), Inventory::GetStoredVolume(), InventoryItem::HasAttribute(), InventoryItem::itemID(), itemTypeCapsule, InventoryItem::name(), sDataMgr, Client::SendInfoModalMsg(), snprintf, and InventoryItem::typeID().
PyResult Command_commandlist | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 284 of file debug_commands.cpp.
References Client::SendInfoModalMsg(), and snprintf.
PyResult Command_destinyvars | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 314 of file debug_commands.cpp.
References SystemEntity::DestinyMgr(), Client::EnterSystem(), Client::GetShipID(), Client::GetShipSE(), Client::GetSystemID(), Client::HasBeyonce(), Client::InPod(), Client::IsBubbleWait(), DestinyManager::IsCloaked(), Client::IsDocked(), Client::IsInSpace(), Client::IsInvul(), Client::IsJump(), Client::IsLogin(), Client::IsSetStateSent(), Client::IsUndock(), DestinyManager::IsWarping(), NULL_ORIGIN(), Client::SendInfoModalMsg(), Client::SetDestiny(), snprintf, and SystemEntity::SysBubble().
PyResult Command_dropLoot | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 1172 of file debug_commands.cpp.
References Seperator::arg(), SystemEntity::DestinyMgr(), Client::GetShipSE(), Client::GetSystemID(), Client::GetSystemName(), Client::IsInSpace(), sBubbleMgr, and SystemEntity::SysBubble().
PyResult Command_entityspawn | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 808 of file debug_commands.cpp.
References SystemEntity::DestinyMgr(), Client::EnterSystem(), Client::GetShipSE(), Client::GetSystemID(), DestinyManager::Halt(), Client::IsInSpace(), NULL_ORIGIN(), Client::SendInfoModalMsg(), Client::SetDestiny(), snprintf, and SystemEntity::SysBubble().
PyResult Command_fleetboost | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 828 of file debug_commands.cpp.
References Character::fleetID(), Client::GetChar(), Client::SendInfoModalMsg(), sFltSvc, and snprintf.
PyResult Command_fleetinvite | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 855 of file debug_commands.cpp.
References Client::InFleet(), Client::IsFleetBoss(), Seperator::isNumber(), Client::SendInfoModalMsg(), and snprintf.
PyResult Command_getposition | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 872 of file debug_commands.cpp.
References SystemEntity::DestinyMgr(), SystemManager::GetClosestMoonSE(), SystemEntity::GetPosition(), Client::GetShipSE(), Client::IsInSpace(), Client::SendInfoModalMsg(), snprintf, SystemEntity::SysBubble(), and Client::SystemMgr().
PyResult Command_halt | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 388 of file debug_commands.cpp.
References SystemEntity::DestinyMgr(), Client::EnterSystem(), Client::GetShipSE(), Client::GetSystemID(), DestinyManager::Halt(), Client::IsInSpace(), NULL_ORIGIN(), Client::SendInfoModalMsg(), Client::SetDestiny(), snprintf, and SystemEntity::SysBubble().
PyResult Command_heal | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 61 of file debug_commands.cpp.
References Seperator::arg(), Seperator::argCount(), Client::GetShip(), ShipItem::Heal(), Seperator::isNumber(), and sEntityList.
PyResult Command_healtarget | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 81 of file debug_commands.cpp.
References Seperator::arg(), Seperator::argCount(), Client::GetShip(), ShipItem::Heal(), Seperator::isNumber(), and sEntityList.
PyResult Command_inventory | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 442 of file debug_commands.cpp.
References RefPtr< X >::get(), Inventory::GetInventoryMap(), InventoryItem::GetMyInventory(), Client::GetStationID(), Client::GetSystemID(), Client::IsDocked(), item(), InventoryItem::name(), sDataMgr, Client::SendInfoModalMsg(), sEntityList, sItemFactory, snprintf, and Profile::system.
PyResult Command_list | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 133 of file debug_commands.cpp.
References SystemManager::BeltCount(), Profile::bubbles, Client::EnterSystem(), SystemManager::GetEntities(), SystemManager::GetID(), SystemManager::GetName(), SystemManager::GetRatSpawnCount(), SystemManager::GetRoidSpawnCount(), Client::GetShipSE(), SystemManager::GetSysNPCCount(), Client::GetSystemID(), LSC::global, Client::IsInSpace(), SystemManager::PlayerCount(), sBubbleMgr, Client::SendInfoModalMsg(), snprintf, SystemEntity::SysBubble(), and SystemEntity::SystemMgr().
PyResult Command_players | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 904 of file debug_commands.cpp.
References Client::SendInfoModalMsg(), sEntityList, and snprintf.
PyResult Command_runtest | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 1135 of file debug_commands.cpp.
References Client::IsInSpace(), testing::posTest(), and snprintf.
PyResult Command_secstatus | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 300 of file debug_commands.cpp.
References Client::GetSecurityRating(), Client::SendInfoModalMsg(), and snprintf.
PyResult Command_shipdna | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 663 of file debug_commands.cpp.
References Client::GetShip(), ShipItem::GetShipDNA(), Client::SendInfoModalMsg(), and snprintf.
PyResult Command_shipinventory | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 494 of file debug_commands.cpp.
References RefPtr< X >::get(), Inventory::GetInventoryMap(), InventoryItem::GetMyInventory(), Client::GetShipID(), InventoryItem::name(), sDataMgr, Client::SendInfoModalMsg(), ship, sItemFactory, and snprintf.
PyResult Command_shipvars | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 349 of file debug_commands.cpp.
References SystemEntity::DestinyMgr(), Client::EnterSystem(), DestinyManager::GetAccelTime(), DestinyManager::GetAgility(), DestinyManager::GetAlignTime(), DestinyManager::GetCapNeed(), DestinyManager::GetHeading(), DestinyManager::GetInertia(), DestinyManager::GetMass(), DestinyManager::GetMaxVelocity(), SystemEntity::GetName(), DestinyManager::GetRadius(), Client::GetShipID(), Client::GetShipSE(), Client::GetSystemID(), DestinyManager::GetWarpDropSpeed(), DestinyManager::GetWarpSpeed(), DestinyManager::GetWarpTime(), Client::IsInSpace(), NULL_ORIGIN(), Client::SendInfoModalMsg(), Client::SetDestiny(), snprintf, and SystemEntity::SysBubble().
PyResult Command_showall | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 930 of file debug_commands.cpp.
References Client::IsShowall(), Client::SendNotifyMsg(), Client::SetShowAll(), and snprintf.
PyResult Command_showsession | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 606 of file debug_commands.cpp.
References Character::fleetBooster(), Character::fleetID(), Character::fleetJob(), Character::fleetJoinTime(), Character::fleetRole(), Client::GetChar(), Client::GetCharacterID(), Client::GetClientID(), Client::GetCloneStationID(), Client::GetConstellationID(), Client::GetCorpAccountKey(), Client::GetCorpHQ(), Client::GetCorporationID(), Client::GetCorpRole(), Client::GetLocationID(), Client::GetName(), Client::GetRegionID(), Client::GetRolesAtAll(), Client::GetRolesAtBase(), Client::GetRolesAtHQ(), Client::GetRolesAtOther(), Client::GetSession(), ClientSession::GetSessionID(), Client::GetShipID(), Client::GetStationID(), Client::GetStationID2(), Client::GetSystemID(), Client::GetUserID(), Client::SendInfoModalMsg(), sFltSvc, snprintf, Character::squadID(), and Character::wingID().
PyResult Command_shutdown | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
PyResult Command_siglist | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 31 of file debug_commands.cpp.
References AnomalyMgr::GetAnomalyList(), SystemManager::GetAnomMgr(), SystemManager::GetID(), SystemManager::GetName(), AnomalyMgr::GetScanGroupName(), AnomalyMgr::GetSignatureList(), Client::SendInfoModalMsg(), snprintf, and Client::SystemMgr().
PyResult Command_skilllist | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 525 of file debug_commands.cpp.
References AttrSkillLevel, AttrSkillPoints, evil_number_int, flagSkillInTraining, Client::GetChar(), Client::GetCharacterID(), Inventory::GetInventoryMap(), InventoryItem::GetMyInventory(), InventoryItem::name(), Client::SendInfoModalMsg(), and snprintf.
PyResult Command_status | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 101 of file debug_commands.cpp.
References SystemEntity::DestinyMgr(), Client::EnterSystem(), RefPtr< X >::get(), EvilNumber::get_float(), Client::GetShip(), ShipItem::GetShipArmorHP(), ShipItem::GetShipArmorPercent(), ShipItem::GetShipCapacitorLevel(), ShipItem::GetShipCapacitorPercent(), ShipItem::GetShipCPULevel(), ShipItem::GetShipCPUPercent(), ShipItem::GetShipHullHP(), ShipItem::GetShipHullPercent(), ShipItem::GetShipPGLevel(), ShipItem::GetShipPGPercent(), Client::GetShipSE(), ShipItem::GetShipShieldHP(), ShipItem::GetShipShieldPercent(), Client::GetSystemID(), NULL_ORIGIN(), Client::SendInfoModalMsg(), Client::SetDestiny(), snprintf, and SystemEntity::SysBubble().
PyResult Command_targlist | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 672 of file debug_commands.cpp.
References Client::GetName(), Client::GetShipID(), Client::GetShipSE(), Client::IsInSpace(), Client::SendInfoModalMsg(), snprintf, TargetManager::TargetList(), and SystemEntity::TargetMgr().
PyResult Command_track | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 699 of file debug_commands.cpp.
References Client::SendNotifyMsg(), sEntityList, and snprintf.
PyResult Command_warpto | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 788 of file debug_commands.cpp.
References SystemEntity::DestinyMgr(), Client::EnterSystem(), Client::GetShipSE(), Client::GetSystemID(), DestinyManager::Halt(), Client::IsInSpace(), NULL_ORIGIN(), Client::SendInfoModalMsg(), Client::SetDestiny(), snprintf, and SystemEntity::SysBubble().