MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetType

Function GetType

Source/Objects/itemobject.cpp:1509–1511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1507}
1508
1509int GetType(ItemObject* io) {
1510 return io->item_ref()->GetItemType();
1511}
1512
1513bool HasSheatheAttachment(ItemObject* io) {
1514 return io->item_ref()->HasAttachment(_at_sheathe);

Callers 15

GetNameSpaceByStringMethod · 0.85
GetObjectTypeMethod · 0.85
StoreMethod · 0.85
ReplaceHandlesMethod · 0.85
GetTypeMethod · 0.85
AllocateAssetMethod · 0.85
ReloadMethod · 0.85
LoadSyncMethod · 0.85
SaveHistoryStateMethod · 0.85
GetDescMethod · 0.85
GetDisplayNameMethod · 0.85

Calls 1

GetItemTypeMethod · 0.80

Tested by

no test coverage detected