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

Method clone

source/game/StarItem.cpp:295–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 : Item(config, directory, parameters) {}
294
295ItemPtr GenericItem::clone() const {
296 return make_shared<GenericItem>(*this);
297}
298
299bool Item::itemsEqual(ItemConstPtr const& a, ItemConstPtr const& b) {
300 if (!a && !b) // Both are null

Callers 5

completeMethod · 0.45
buyMethod · 0.45
tickMethod · 0.45
commonSetupMethod · 0.45
loadFontMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected