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

Method name

source/game/scripting/StarItemLuaBindings.cpp:46–48  ·  view source on GitHub ↗

Returns the name of the item. (Unique identifier) @return A string containing the name of the item as specified in its configuration

Source from the content-addressed store, hash-verified

44// @return A string containing the name of the item as specified in its
45// configuration
46String LuaBindings::ItemCallbacks::name(Item* item) {
47 return item->name();
48}
49
50// Returns the number of items in this stack
51//

Callers 7

itemConfigMethod · 0.45
makePlayerCallbacksMethod · 0.45
addWorldEntityCallbacksFunction · 0.45
objectQueryMethod · 0.45
entityNameMethod · 0.45
entityHandItemMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected