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

Method checkWithRules

source/core/StarNetElement.hpp:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73inline bool NetElement::checkWithRules(NetCompatibilityRules const& rules) const {
74 if (m_netCompatibilityVersion != AnyVersion)
75 return rules.version() >= m_netCompatibilityVersion;
76 return true;
77}
78
79}

Callers 4

netStoreMethod · 0.80
netLoadMethod · 0.80
writeNetDeltaMethod · 0.80
readNetDeltaMethod · 0.80

Calls 1

versionMethod · 0.80

Tested by

no test coverage detected