MCPcopy Create free account
hub / github.com/DFHack/dfhack / DEFINE_VMETHOD_INTERPOSE

Method DEFINE_VMETHOD_INTERPOSE

plugins/siege-engine.cpp:1822–1828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1820 typedef df::building_siegeenginest interpose_base;
1821
1822 DEFINE_VMETHOD_INTERPOSE(df::workshop_profile*, getWorkshopProfile, ())
1823 {
1824 if (auto engine = find_engine(this))
1825 return &engine->profile;
1826
1827 return INTERPOSE_NEXT(getWorkshopProfile)();
1828 }
1829
1830 DEFINE_VMETHOD_INTERPOSE(df::stockpile_links*, getStockpileLinks, ())
1831 {

Callers

nothing calls this directly

Calls 6

find_engineFunction · 0.85
update_stockpile_linksFunction · 0.85
isTiredFunction · 0.85
releaseTiredWorkerFunction · 0.85
emptyMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected