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