Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
TestClientActiveObject Class Reference
+ Inheritance diagram for TestClientActiveObject:
+ Collaboration diagram for TestClientActiveObject:

Public Member Functions

 TestClientActiveObject ()
 
 ~TestClientActiveObject ()=default
 
ActiveObjectType getType () const
 
virtual void addToScene (ITextureSource *tsrc, scene::ISceneManager *smgr)
 
- Public Member Functions inherited from ClientActiveObject
 ClientActiveObject (u16 id, Client *client, ClientEnvironment *env)
 
virtual ~ClientActiveObject ()
 
virtual void removeFromScene (bool permanent)
 
virtual void updateLight (u32 day_night_ratio)
 
virtual bool getCollisionBox (aabb3f *toset) const
 
virtual bool getSelectionBox (aabb3f *toset) const
 
virtual bool collideWithObjects () const
 
virtual const v3f getPosition () const
 
virtual const v3f getVelocity () const
 
virtual scene::ISceneNode * getSceneNode () const
 
virtual scene::IAnimatedMeshSceneNode * getAnimatedMeshSceneNode () const
 
virtual bool isLocalPlayer () const
 
virtual ClientActiveObjectgetParent () const
 
virtual const std::unordered_set< object_t > & getAttachmentChildIds () const
 
virtual void updateAttachments ()
 
virtual bool doShowSelectionBox ()
 
virtual void step (float dtime, ClientEnvironment *env)
 
virtual void processMessage (const std::string &data)
 
virtual std::string infoText ()
 
virtual std::string debugInfoText ()
 
virtual void initialize (const std::string &data)
 
virtual bool directReportPunch (v3f dir, const ItemStack *punchitem=nullptr, float time_from_last_punch=1000000)
 
- Public Member Functions inherited from ActiveObject
 ActiveObject (object_t id)
 
object_t getId () const
 
void setId (object_t id)
 
virtual void setAttachment (object_t parent_id, const std::string &bone, v3f position, v3f rotation, bool force_visible)
 
virtual void getAttachment (object_t *parent_id, std::string *bone, v3f *position, v3f *rotation, bool *force_visible) const
 
virtual void clearChildAttachments ()
 
virtual void clearParentAttachment ()
 
virtual void addAttachmentChild (object_t child_id)
 
virtual void removeAttachmentChild (object_t child_id)
 

Additional Inherited Members

- Public Types inherited from ActiveObject
typedef u16 object_t
 
- Static Public Member Functions inherited from ClientActiveObject
static std::unique_ptr< ClientActiveObjectcreate (ActiveObjectType type, Client *client, ClientEnvironment *env)
 
- Protected Types inherited from ClientActiveObject
typedef std::unique_ptr< ClientActiveObject >(* Factory) (Client *client, ClientEnvironment *env)
 
- Static Protected Member Functions inherited from ClientActiveObject
static void registerType (u16 type, Factory f)
 
- Protected Attributes inherited from ClientActiveObject
Clientm_client
 
ClientEnvironmentm_env
 
- Protected Attributes inherited from ActiveObject
object_t m_id
 

Constructor & Destructor Documentation

◆ TestClientActiveObject()

TestClientActiveObject::TestClientActiveObject ( )
inline

◆ ~TestClientActiveObject()

TestClientActiveObject::~TestClientActiveObject ( )
default

Member Function Documentation

◆ addToScene()

virtual void TestClientActiveObject::addToScene ( ITextureSource * tsrc,
scene::ISceneManager * smgr )
inlinevirtual

Implements ClientActiveObject.

◆ getType()

ActiveObjectType TestClientActiveObject::getType ( ) const
inlinevirtual

Implements ActiveObject.

References ACTIVEOBJECT_TYPE_TEST.


The documentation for this class was generated from the following file: