forked from simulationcraft/simc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Helps if you include all relevant files in the commit.
Also allow "disabled" as a string to temporary_enchant option, and fix an issue with profile generation.
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// ========================================================================== | ||
// Dedmonwakeen's Raid DPS/TPS Simulator. | ||
// Send questions to [email protected] | ||
// ========================================================================== | ||
#ifndef TEMPORARY_ENCHANT_HPP | ||
#define TEMPORARY_ENCHANT_HPP | ||
|
||
#include "util/span.hpp" | ||
#include "util/util.hpp" | ||
|
||
#include "client_data.hpp" | ||
|
||
struct temporary_enchant_entry_t | ||
{ | ||
unsigned enchant_id; | ||
unsigned spell_id; | ||
const char* tokenized_name; | ||
|
||
static const temporary_enchant_entry_t& find( util::string_view name, bool ptr ); | ||
static const temporary_enchant_entry_t& find_by_enchant_id( unsigned id, bool ptr ); | ||
|
||
static const temporary_enchant_entry_t& nil() | ||
{ return dbc::nil<temporary_enchant_entry_t>; } | ||
|
||
static util::span<const temporary_enchant_entry_t> data( bool ptr ); | ||
}; | ||
|
||
#endif /* GEM_DATA_HPP */ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters