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

Method netStore

source/game/StarNpc.cpp:159–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159ByteArray Npc::netStore(NetCompatibilityRules rules) {
160 return Root::singleton().npcDatabase()->writeNpcVariant(m_npcVariant, rules);
161}
162
163EntityType Npc::entityType() const {
164 return EntityType::Npc;

Callers 4

netStoreEntityMethod · 0.45
addClientShipMethod · 0.45
addObjectMethod · 0.45

Calls 3

singletonClass · 0.85
writeNpcVariantMethod · 0.80
npcDatabaseMethod · 0.80

Tested by

no test coverage detected