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

Method readyElement

source/core/StarNetElementDynamicGroup.hpp:312–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310
311template <typename Element>
312void NetElementDynamicGroup<Element>::readyElement(ElementPtr const& element) {
313 element->initNetVersion(m_netVersion);
314 if (m_interpolationEnabled)
315 element->enableNetInterpolation(m_extrapolationHint);
316 else
317 element->disableNetInterpolation();
318}
319
320}

Callers

nothing calls this directly

Calls 3

initNetVersionMethod · 0.45

Tested by

no test coverage detected