#include <Nugget.h>
|
| Nugget ()=default |
|
| Nugget (std::string key, float rarity, std::vector< std::string > requiredTypes, std::vector< std::string > texts, std::unordered_map< std::string, int > minValues, std::unordered_map< std::string, int > maxValues, std::unordered_map< std::string, NameType > randomNames) |
|
std::string | GetKey () const noexcept |
|
std::set< std::string > | GetRandomizationKeys () const noexcept |
|
std::string | GetRandomValue (std::string key, std::shared_ptr< RandomStream > stream, const NameGenerator &nameGen) const noexcept |
|
float | GetRarity () const noexcept |
|
std::vector< std::string > | GetRequiredTypes () const noexcept |
|
std::vector< std::string > | GetTexts () const noexcept |
|
Definition at line 14 of file Nugget.h.
weave::Nugget::Nugget |
( |
| ) |
|
|
default |
weave::Nugget::Nugget |
( |
std::string |
key, |
|
|
float |
rarity, |
|
|
std::vector< std::string > |
requiredTypes, |
|
|
std::vector< std::string > |
texts, |
|
|
std::unordered_map< std::string, int > |
minValues, |
|
|
std::unordered_map< std::string, int > |
maxValues, |
|
|
std::unordered_map< std::string, NameType > |
randomNames |
|
) |
| |
std::string weave::Nugget::GetKey |
( |
| ) |
const |
|
noexcept |
std::set<std::string> weave::Nugget::GetRandomizationKeys |
( |
| ) |
const |
|
noexcept |
std::string weave::Nugget::GetRandomValue |
( |
std::string |
key, |
|
|
std::shared_ptr< RandomStream > |
stream, |
|
|
const NameGenerator & |
nameGen |
|
) |
| const |
|
noexcept |
float weave::Nugget::GetRarity |
( |
| ) |
const |
|
noexcept |
std::vector<std::string> weave::Nugget::GetRequiredTypes |
( |
| ) |
const |
|
noexcept |
std::vector<std::string> weave::Nugget::GetTexts |
( |
| ) |
const |
|
noexcept |
The documentation for this class was generated from the following file: