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

Method netLoadNpc

source/game/StarNpcDatabase.cpp:330–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330NpcPtr NpcDatabase::netLoadNpc(ByteArray const& netStore, NetCompatibilityRules rules) const {
331 return make_shared<Npc>(readNpcVariant(netStore, rules));
332}
333
334List<Drawable> NpcDatabase::npcPortrait(NpcVariant const& npcVariant, PortraitMode mode) const {
335 Humanoid humanoid(npcVariant.humanoidConfig);

Callers 1

netLoadEntityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected