EvEmu
0.8.4
11 September 2021
|
#include "eve-server.h"
#include "Client.h"
#include "ConsoleCommands.h"
#include "npc/NPC.h"
#include "npc/NPCAI.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 "system/Damage.h"
#include "system/DestinyManager.h"
#include "system/SystemManager.h"
#include "system/SystemBubble.h"
#include "system/cosmicMgrs/BeltMgr.h"
#include "admin/CommandHelper.h"
#include "tables/invGroups.h"
#include "tables/invCategories.h"
Go to the source code of this file.
Macros | |
#define | DEFAULT_RANGE 500000 |
#define DEFAULT_RANGE 500000 |
Referenced by Command_unspawn().
PyResult Command_addball | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 805 of file SystemCommands.cpp.
References SystemEntity::DestinyMgr(), Client::EnterSystem(), Client::GetShipSE(), Client::GetSystemID(), Client::IsInSpace(), NULL_ORIGIN(), sBubbleMgr, SystemBubble::SendAddBalls(), Client::SetDestiny(), and SystemEntity::SysBubble().
PyResult Command_addball2 | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 823 of file SystemCommands.cpp.
References SystemEntity::DestinyMgr(), Client::EnterSystem(), Client::GetShipSE(), Client::GetSystemID(), Client::IsInSpace(), NULL_ORIGIN(), sBubbleMgr, SystemBubble::SendAddBalls2(), Client::SetDestiny(), and SystemEntity::SysBubble().
PyResult Command_cloak | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 841 of file SystemCommands.cpp.
References Seperator::argCount(), DestinyManager::Cloak(), SystemEntity::DestinyMgr(), Client::GetShipSE(), DestinyManager::IsCloaked(), Client::IsInSpace(), and DestinyManager::UnCloak().
PyResult Command_create | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 503 of file SystemCommands.cpp.
References Seperator::argCount(), and generic_createitem().
PyResult Command_createitem | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 510 of file SystemCommands.cpp.
References Seperator::argCount(), and generic_createitem().
PyResult Command_goto | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 30 of file SystemCommands.cpp.
References Seperator::arg(), Seperator::argCount(), Seperator::isNumber(), and Client::MoveToPosition().
PyResult Command_hop | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 857 of file SystemCommands.cpp.
PyResult Command_kill | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 518 of file SystemCommands.cpp.
References Seperator::arg(), Seperator::argCount(), SystemEntity::GetNPCSE(), SystemManager::GetSE(), Client::GetShipSE(), SystemEntity::IsNPCSE(), Seperator::isNumber(), NPC::Killed(), SystemEntity::Killed(), SystemManager::RemoveEntity(), sItemFactory, sLog, and Client::SystemMgr().
PyResult Command_killallnpcs | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 553 of file SystemCommands.cpp.
References Seperator::argCount(), SystemBubble::GetEntities(), Client::GetShipSE(), Client::IsInSpace(), and SystemEntity::SysBubble().
PyResult Command_location | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 681 of file SystemCommands.cpp.
References bubble, SystemEntity::DestinyMgr(), Client::EnterSystem(), SystemBubble::GetID(), DestinyManager::GetPosition(), Client::GetShipSE(), Client::GetSystemID(), DestinyManager::GetVelocity(), Client::IsInSpace(), Ga::GaVec3::length(), NULL_ORIGIN(), sBubbleMgr, Client::SendInfoModalMsg(), Client::SetDestiny(), snprintf, SystemEntity::SysBubble(), Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
PyResult Command_pos | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 879 of file SystemCommands.cpp.
PyResult Command_sendstate | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 786 of file SystemCommands.cpp.
References SystemEntity::DestinyMgr(), Client::EnterSystem(), Client::GetSessionChangeTime(), Client::GetShipSE(), Client::GetSystemID(), Client::IsInSpace(), Client::IsSessionChange(), NULL_ORIGIN(), Client::SendInfoModalMsg(), DestinyManager::SendSetState(), Client::SetDestiny(), Client::SetSessionTimer(), Client::SetStateSent(), and SystemEntity::SysBubble().
PyResult Command_sov | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 865 of file SystemCommands.cpp.
References Seperator::argCount(), and sLog.
PyResult Command_syncloc | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 718 of file SystemCommands.cpp.
References SystemEntity::DestinyMgr(), Client::EnterSystem(), SystemEntity::GetPosition(), Client::GetSessionChangeTime(), Client::GetShipSE(), Client::GetSystemID(), Client::IsInSpace(), Client::IsSessionChange(), NULL_ORIGIN(), Client::SendInfoModalMsg(), Client::SetDestiny(), DestinyManager::SetPosition(), Client::SetSessionTimer(), and SystemEntity::SysBubble().
PyResult Command_syncpos | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 738 of file SystemCommands.cpp.
References SystemEntity::DestinyMgr(), Client::EnterSystem(), Client::GetSessionChangeTime(), Client::GetShipSE(), Client::GetSystemID(), Client::IsInSpace(), Client::IsSessionChange(), NULL_ORIGIN(), Client::SendInfoModalMsg(), Client::SetDestiny(), Client::SetSessionTimer(), SystemBubble::SyncPos(), and SystemEntity::SysBubble().
PyResult Command_tr | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 77 of file SystemCommands.cpp.
References Seperator::arg(), Seperator::argCount(), badCharsSearch, LSC::fleet, RefPtr< X >::get(), Client::GetCloneStationID(), Client::GetDockStationID(), Client::GetLocationID(), SystemEntity::GetPosition(), SystemEntity::GetRadius(), SystemGPoint::GetRandPointOnMoon(), SystemGPoint::GetRandPointOnPlanet(), Client::GetShipSE(), CommandDB::GetSolarSystem(), CommandDB::GetStation(), Client::GetSystemID(), EvE::icontains(), Client::InFleet(), IsCharacterID, Client::IsDocked(), IsNPC, Seperator::isNumber(), IsPlayerItem, item(), Client::JumpInEffect(), Client::JumpOutEffect(), InventoryItem::locationID(), GPoint::MakeRandomPointOnSphere(), Client::MoveToLocation(), NULL_ORIGIN(), InventoryItem::ownerID(), InventoryItem::position(), sDataMgr, Client::SendInfoModalMsg(), sEntityList, sItemFactory, and snprintf.
Referenced by Command_translocate().
PyResult Command_translocate | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 48 of file SystemCommands.cpp.
References Command_tr().
PyResult Command_unspawn | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 578 of file SystemCommands.cpp.
References Seperator::arg(), cmd_find_nth_noneq(), cmd_parse_eq_arg(), codelog, DEFAULT_RANGE, InventoryItem::Delete(), Ga::GaVec3::distance(), EVEDB::invCategories::Drone, SystemBubble::GetEntities(), SystemEntity::GetPosition(), SystemManager::GetSE(), Client::GetShipSE(), Client::IsInSpace(), IsNumber(), Seperator::isNumber(), SystemManager::RemoveEntity(), sItemFactory, SystemEntity::SysBubble(), Client::SystemMgr(), and EVEDB::invGroups::Wreck.
PyResult Command_update | ( | Client * | pClient, |
CommandDB * | db, | ||
PyServiceMgr * | services, | ||
const Seperator & | args | ||
) |
Definition at line 758 of file SystemCommands.cpp.
References SystemEntity::DestinyMgr(), Client::EnterSystem(), SystemEntity::GetPosition(), Client::GetSessionChangeTime(), Client::GetShipSE(), Client::GetSystemID(), Client::IsInSpace(), Client::IsSessionChange(), NULL_ORIGIN(), sBubbleMgr, SystemBubble::SendAddBalls(), Client::SendInfoModalMsg(), DestinyManager::SendSetState(), Client::SetDestiny(), DestinyManager::SetPosition(), Client::SetSessionTimer(), Client::SetStateSent(), and SystemEntity::SysBubble().
|
static |
Definition at line 419 of file SystemCommands.cpp.
References _log, ShipItem::AddItemByFlag(), Seperator::arg(), Seperator::argCount(), badCharsSearch, flagCargoHold, flagHangar, Client::GetCharacterID(), Client::GetShip(), Client::GetShipID(), Client::GetStationID(), EvE::icontains(), Client::IsInSpace(), Seperator::isNumber(), CommandDB::ItemSearch(), locTemp, sItemFactory, and strcasecmp.
Referenced by Command_create(), and Command_createitem().