MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setTimeToLive

Method setTimeToLive

source/game/StarItem.cpp:236–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236void Item::setTimeToLive(float timeToLive) {
237 m_timeToLive = timeToLive;
238}
239
240List<QuestArcDescriptor> Item::pickupQuestTemplates() const {
241 return instanceValue("pickupQuestTemplates", JsonArray{}).toArray().transformed(&QuestArcDescriptor::fromJson);

Callers 3

ImageMetadataDatabaseMethod · 0.45
SdlPlatformMethod · 0.45
TilePainterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected