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

Method clear

source/core/StarNetElementContainers.hpp:360–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358
359template <typename BaseMap>
360void NetElementMapWrapper<BaseMap>::clear() {
361 if (!empty()) {
362 addChangeData(ClearChange());
363 m_updated = true;
364 BaseMap::clear();
365 }
366}
367
368template <typename BaseMap>
369BaseMap const& NetElementMapWrapper<BaseMap>::baseMap() const {

Callers 2

initNetVersionMethod · 0.45
netLoadMethod · 0.45

Calls 1

ClearChangeClass · 0.85

Tested by

no test coverage detected