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

Method entityPersistent

source/game/StarWorldGeneration.cpp:698–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

696}
697
698bool WorldGenerator::entityPersistent(WorldStorage*, EntityPtr const& entity) const {
699 return entity->isMaster() && entity->persistent();
700}
701
702RpcPromise<Vec2I> WorldGenerator::enqueuePlacement(List<BiomeItemDistribution> distributions, Maybe<DungeonId> id) {
703 auto promise = RpcPromise<Vec2I>::createPair();

Callers 3

tickMethod · 0.80
unloadSectorToLevelMethod · 0.80
syncSectorMethod · 0.80

Calls 2

isMasterMethod · 0.80
persistentMethod · 0.80

Tested by

no test coverage detected