MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / size

Method size

launcher/minecraft/mod/ResourceFolderModel.h:73–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 virtual void resolveResource(Resource* res);
72
73 [[nodiscard]] size_t size() const { return m_resources.size(); };
74 [[nodiscard]] bool empty() const { return size() == 0; }
75 [[nodiscard]] Resource& at(int index) { return *m_resources.at(index); }
76 [[nodiscard]] Resource const& at(int index) const { return *m_resources.at(index); }

Callers 15

executeTaskMethod · 0.45
parseMethod · 0.45
hasProfileMethod · 0.45
processReplyMethod · 0.45
tokenToJSONV3Function · 0.45
profileToJSONV3Function · 0.45
resumeStateFromV2Method · 0.45
profileNameMethod · 0.45
addAccountMethod · 0.45
removeAccountMethod · 0.45
loadV2Method · 0.45
loadV3Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected