Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ isValid
Method
isValid
plugins/add-spatter.cpp:50–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
MaterialSource material;
49
50
bool isValid() {
51
return object.reagent && (material.mat_type >= 0 || material.reagent);
52
}
53
};
54
55
struct ReactionInfo {
Callers
1
find_reactions
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected