MCPcopy Create free account
hub / github.com/DFHack/dfhack / find_reaction

Function find_reaction

plugins/add-spatter.cpp:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62static std::map<df::reaction_product*, ProductInfo*> products;
63
64static ReactionInfo *find_reaction(const std::string &name)
65{
66 auto it = reactions.find(name);
67 return (it != reactions.end()) ? &it->second : NULL;
68}
69
70static bool is_add_spatter(const std::string &name)
71{

Callers 1

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected