#include <activeobject.h>
◆ object_t
◆ ActiveObject()
ActiveObject::ActiveObject |
( |
object_t | id | ) |
|
|
inline |
◆ addAttachmentChild()
virtual void ActiveObject::addAttachmentChild |
( |
object_t | child_id | ) |
|
|
inlinevirtual |
◆ clearChildAttachments()
virtual void ActiveObject::clearChildAttachments |
( |
| ) |
|
|
inlinevirtual |
◆ clearParentAttachment()
virtual void ActiveObject::clearParentAttachment |
( |
| ) |
|
|
inlinevirtual |
◆ collideWithObjects()
virtual bool ActiveObject::collideWithObjects |
( |
| ) |
const |
|
pure virtual |
◆ getAttachment()
virtual void ActiveObject::getAttachment |
( |
object_t * | parent_id, |
|
|
std::string * | bone, |
|
|
v3f * | position, |
|
|
v3f * | rotation, |
|
|
bool * | force_visible ) const |
|
inlinevirtual |
◆ getCollisionBox()
virtual bool ActiveObject::getCollisionBox |
( |
aabb3f * | toset | ) |
const |
|
pure virtual |
◆ getId()
References m_id.
Referenced by ScriptApiBase::addObjectReference(), Server::addParticleSpawner(), Server::AsyncRunStep(), LuaEntitySAO::getClientInitializationData(), PlayerSAO::getClientInitializationData(), ClientEnvironment::getSelectedActiveObjects(), Server::handleCommand_Interact(), ObjectRef::l_get_luaentity(), ObjectRef::l_remove(), ObjectRef::l_set_attach(), ScriptApiBase::objectrefGetOrCreate(), UnitSAO::onAttach(), UnitSAO::onDetach(), LuaEntitySAO::punch(), PlayerSAO::punch(), read_server_sound_params(), ScriptApiBase::removeObjectReference(), UnitSAO::sendOutdatedData(), LuaEntitySAO::sendPosition(), UnitSAO::sendPunchCommand(), LuaEntitySAO::setSprite(), LuaEntitySAO::step(), PlayerSAO::step(), and TestActiveObject::testAOAttributes().
◆ getSelectionBox()
virtual bool ActiveObject::getSelectionBox |
( |
aabb3f * | toset | ) |
const |
|
pure virtual |
◆ getType()
Implemented in GenericCAO, LuaEntitySAO, MockActiveObject, MockServerActiveObject, PlayerSAO, TestCAO, TestClientActiveObject, and TestSelectableClientActiveObject.
Referenced by ServerEnvironment::clearObjects(), server::ActiveObjectMgr::getAddedActiveObjectsAroundPos(), ClientEnvironment::getGenericCAO(), ObjectRef::getluaobject(), ObjectRef::getplayersao(), ServerActiveObject::getSendType(), ObjectRef::l_add_velocity(), ObjectRef::l_get_velocity(), ObjectRef::l_remove(), ObjectRef::l_set_armor_groups(), ObjectRef::l_set_wielded_item(), UnitSAO::onAttach(), UnitSAO::onDetach(), ClientEnvironment::processActiveObjectMessage(), PlayerSAO::punch(), and read_object_properties().
◆ removeAttachmentChild()
virtual void ActiveObject::removeAttachmentChild |
( |
object_t | child_id | ) |
|
|
inlinevirtual |
◆ setAttachment()
virtual void ActiveObject::setAttachment |
( |
object_t | parent_id, |
|
|
const std::string & | bone, |
|
|
v3f | position, |
|
|
v3f | rotation, |
|
|
bool | force_visible ) |
|
inlinevirtual |
◆ setId()
◆ m_id
Referenced by LuaEntitySAO::~LuaEntitySAO(), LuaEntitySAO::addedToEnvironment(), LuaEntitySAO::dispatchScriptDeactivate(), getId(), LuaEntitySAO::getStaticData(), UnitSAO::onAttach(), UnitSAO::onDetach(), GenericCAO::processInitData(), LuaEntitySAO::punch(), PlayerSAO::punch(), LuaEntitySAO::rightClick(), GenericCAO::setAttachment(), UnitSAO::setAttachment(), LuaEntitySAO::setHP(), setId(), LuaEntitySAO::step(), and PlayerSAO::step().
The documentation for this class was generated from the following file: