MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / getVobFromScriptHandle

Method getVobFromScriptHandle

src/components/VobClasses.cpp:382–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382VobTypes::NpcVobInformation VobTypes::getVobFromScriptHandle(World::WorldInstance& world, Daedalus::GameState::NpcHandle npc)
383{
384 Handle::EntityHandle e = getEntityFromScriptInstance(world, npc);
385
386 return VobTypes::asNpcVob(world, e);
387}
388
389Handle::EntityHandle VobTypes::createItem(World::WorldInstance& world, const std::string& item)
390{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected