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

Method materialId

source/game/items/StarMaterialItem.cpp:343–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343MaterialId MaterialItem::materialId() const {
344 return m_material;
345}
346
347List<Drawable> const& MaterialItem::generatedPreview(Vec2I position) const {
348 if (!m_generatedPreviewCache) {

Callers 5

makeRootCallbacksMethod · 0.45
materialMiningSoundMethod · 0.45
materialFootstepSoundMethod · 0.45
placeMaterialMethod · 0.45
replaceMaterialsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected