QtCraft API C++ classes QML types Handbook

QcServerItems Class

Dropped items in the server tick: they move, merge and despawn (QcItemEntityManager), and players pick them up. More...

Header: #include <server/items/QcServerItems.h>

Public Functions

QList<QcItemEntity> tick()

Detailed Description

Member Function Documentation

QList<QcItemEntity> QcServerItems::tick()

Returns the items that despawned this tick (saplings among them may plant themselves).