MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / _buildSlot

Method _buildSlot

Source/Cache/DragonBoneCache.cpp:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57db::Slot* DragonBoneCache::_buildSlot(const db::BuildArmaturePackage& dataPackage, const db::SlotData* slotData, db::Armature* armature) const {
58 const auto slot = db::BaseObject::borrowObject<DBSlot>();
59 const auto node = DBSlotNode::create();
60 node->setOrder(slotData->zOrder);
61 slot->init(slotData, armature, node, node);
62 return slot;
63}
64
65db::DragonBonesData* DragonBoneCache::loadDragonBonesData(String filename) {
66 auto fullPath = SharedContent.getFullPath(filename);

Callers

nothing calls this directly

Calls 3

setOrderMethod · 0.65
createFunction · 0.50
initMethod · 0.45

Tested by

no test coverage detected