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

Method containerSize

source/game/scripting/StarWorldLuaBindings.cpp:1580–1585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1578 }
1579
1580 Maybe<int> WorldEntityCallbacks::containerSize(World* world, EntityId entityId) {
1581 if (auto container = world->get<ContainerObject>(entityId))
1582 return container->containerSize();
1583
1584 return {};
1585 }
1586
1587 bool WorldEntityCallbacks::containerClose(World* world, EntityId entityId) {
1588 if (auto container = world->get<ContainerObject>(entityId)) {

Callers 8

containerConsumeAtMethod · 0.45
containerTakeAtMethod · 0.45
containerPutItemsAtMethod · 0.45
containerSwapItemsMethod · 0.45
containerItemApplyMethod · 0.45
ContainerPaneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected