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

Method enableNetInterpolation

source/game/StarToolUser.cpp:639–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639void ToolUser::NetItem::enableNetInterpolation(float extrapolationHint) {
640 m_netInterpolationEnabled = true;
641 m_netExtrapolationHint = extrapolationHint;
642 if (auto netItem = as<NetElement>(m_item.get()))
643 netItem->enableNetInterpolation(extrapolationHint);
644}
645
646void ToolUser::NetItem::disableNetInterpolation() {
647 m_netInterpolationEnabled = false;

Callers 14

enableInterpolationMethod · 0.45
enableInterpolationMethod · 0.45
SystemClientShipMethod · 0.45
enableInterpolationMethod · 0.45
enableInterpolationMethod · 0.45
enableInterpolationMethod · 0.45
enableInterpolationMethod · 0.45
enableInterpolationMethod · 0.45
netLoadMethod · 0.45
readNetDeltaMethod · 0.45
setMethod · 0.45
enableInterpolationMethod · 0.45

Calls 1

getMethod · 0.45

Tested by 1

TESTFunction · 0.36