|
| TestServerActiveObject (const v3f &p=v3f()) |
|
| ~TestServerActiveObject ()=default |
|
ActiveObjectType | getType () const override |
|
bool | getCollisionBox (aabb3f *toset) const override |
|
bool | getSelectionBox (aabb3f *toset) const override |
|
bool | collideWithObjects () const override |
|
| ServerActiveObject (ServerEnvironment *env, v3f pos) |
|
virtual | ~ServerActiveObject ()=default |
|
virtual ActiveObjectType | getSendType () const |
|
virtual void | addedToEnvironment (u32 dtime_s) |
|
virtual void | removingFromEnvironment () |
|
virtual bool | environmentDeletes () const |
|
void | markForRemoval () |
|
void | markForDeactivation () |
|
v3f | getBasePosition () const |
|
void | setBasePosition (v3f pos) |
|
ServerEnvironment * | getEnv () |
|
virtual void | setPos (const v3f &pos) |
|
virtual void | moveTo (v3f pos, bool continuous) |
|
virtual float | getMinimumSavedMovement () |
|
virtual std::string | getDescription () |
|
virtual void | step (float dtime, bool send_recommended) |
|
virtual std::string | getClientInitializationData (u16 protocol_version) |
|
virtual void | getStaticData (std::string *result) const |
|
virtual bool | isStaticAllowed () const |
|
virtual bool | shouldUnload () const |
|
virtual u16 | punch (v3f dir, const ToolCapabilities *toolcap=nullptr, ServerActiveObject *puncher=nullptr, float time_from_last_punch=1000000.0f) |
|
virtual void | rightClick (ServerActiveObject *clicker) |
|
virtual void | setHP (s32 hp, const PlayerHPChangeReason &reason) |
|
virtual u16 | getHP () const |
|
virtual void | setArmorGroups (const ItemGroupList &armor_groups) |
|
virtual const ItemGroupList & | getArmorGroups () const |
|
virtual void | setAnimation (v2f frames, float frame_speed, float frame_blend, bool frame_loop) |
|
virtual void | getAnimation (v2f *frames, float *frame_speed, float *frame_blend, bool *frame_loop) |
|
virtual void | setAnimationSpeed (float frame_speed) |
|
virtual void | setBonePosition (const std::string &bone, v3f position, v3f rotation) |
|
virtual void | getBonePosition (const std::string &bone, v3f *position, v3f *lotation) |
|
virtual const std::unordered_set< int > & | getAttachmentChildIds () const |
|
virtual ServerActiveObject * | getParent () const |
|
virtual ObjectProperties * | accessObjectProperties () |
|
virtual void | notifyObjectPropertiesModified () |
|
virtual Inventory * | getInventory () const |
|
virtual InventoryLocation | getInventoryLocation () const |
|
virtual void | setInventoryModified () |
|
virtual std::string | getWieldList () const |
|
virtual u16 | getWieldIndex () const |
|
virtual ItemStack | getWieldedItem (ItemStack *selected, ItemStack *hand=nullptr) const |
|
virtual bool | setWieldedItem (const ItemStack &item) |
|
void | attachParticleSpawner (u32 id) |
|
void | detachParticleSpawner (u32 id) |
|
std::string | generateUpdateInfantCommand (u16 infant_id, u16 protocol_version) |
|
void | dumpAOMessagesToQueue (std::queue< ActiveObjectMessage > &queue) |
|
bool | isGone () const |
|
bool | isPendingRemoval () const |
|
| ActiveObject (u16 id) |
|
u16 | getId () const |
|
void | setId (u16 id) |
|
virtual void | setAttachment (int parent_id, const std::string &bone, v3f position, v3f rotation, bool force_visible) |
|
virtual void | getAttachment (int *parent_id, std::string *bone, v3f *position, v3f *rotation, bool *force_visible) const |
|
virtual void | clearChildAttachments () |
|
virtual void | clearParentAttachment () |
|
virtual void | addAttachmentChild (int child_id) |
|
virtual void | removeAttachmentChild (int child_id) |
|