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

Method disableNetInterpolation

source/game/StarToolUser.cpp:646–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644}
645
646void ToolUser::NetItem::disableNetInterpolation() {
647 m_netInterpolationEnabled = false;
648 m_netExtrapolationHint = 0;
649 if (auto netItem = as<NetElement>(m_item.get()))
650 netItem->disableNetInterpolation();
651}
652
653void ToolUser::NetItem::tickNetInterpolation(float dt) {
654 if (m_netInterpolationEnabled) {

Callers 12

disableInterpolationMethod · 0.45
enableInterpolationMethod · 0.45
disableInterpolationMethod · 0.45
disableInterpolationMethod · 0.45
disableInterpolationMethod · 0.45
disableInterpolationMethod · 0.45
disableInterpolationMethod · 0.45
disableInterpolationMethod · 0.45
setMethod · 0.45
disableInterpolationMethod · 0.45
disableInterpolationMethod · 0.45
TESTFunction · 0.45

Calls 1

getMethod · 0.45

Tested by 1

TESTFunction · 0.36