mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-17 17:08:39 +00:00
Make INodeDefManager::getIds return a vector, not a set
This commit is contained in:
parent
5b3fbf9cf7
commit
17fd5fe935
7 changed files with 64 additions and 83 deletions
|
@ -53,10 +53,10 @@ public:
|
|||
virtual ~ActiveBlockModifier() = default;
|
||||
|
||||
// Set of contents to trigger on
|
||||
virtual const std::set<std::string> &getTriggerContents() const = 0;
|
||||
virtual const std::vector<std::string> &getTriggerContents() const = 0;
|
||||
// Set of required neighbors (trigger doesn't happen if none are found)
|
||||
// Empty = do not check neighbors
|
||||
virtual const std::set<std::string> &getRequiredNeighbors() const = 0;
|
||||
virtual const std::vector<std::string> &getRequiredNeighbors() const = 0;
|
||||
// Trigger interval in seconds
|
||||
virtual float getTriggerInterval() = 0;
|
||||
// Random chance of (1 / return value), 0 is disallowed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue