MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / getCreatureFromPacket

Method getCreatureFromPacket

source/entities/Creature.cpp:531–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531Creature* Creature::getCreatureFromPacket(GameMap* gameMap, ODPacket& is)
532{
533 Creature* creature = new Creature(gameMap);
534 creature->importFromPacket(is);
535 return creature;
536}
537
538void Creature::exportToPacket(ODPacket& os, const Seat* seat) const
539{

Callers

nothing calls this directly

Calls 1

importFromPacketMethod · 0.45

Tested by

no test coverage detected