pub trait SpellTextResolver {
// Provided methods
fn get_spell_description(&self, _spell_id: u32) -> Option<String> { ... }
fn get_spell_name(&self, _spell_id: u32) -> Option<String> { ... }
fn get_spell_icon(&self, _spell_id: u32) -> Option<String> { ... }
}Expand description
Resolves recursive spell text embedding (description, name, icon).
Provided Methods§
Sourcefn get_spell_description(&self, _spell_id: u32) -> Option<String>
fn get_spell_description(&self, _spell_id: u32) -> Option<String>
Get another spell’s rendered description for @spelldesc embedding.
Sourcefn get_spell_name(&self, _spell_id: u32) -> Option<String>
fn get_spell_name(&self, _spell_id: u32) -> Option<String>
Get another spell’s name for @spellname embedding.
Sourcefn get_spell_icon(&self, _spell_id: u32) -> Option<String>
fn get_spell_icon(&self, _spell_id: u32) -> Option<String>
Get another spell’s icon path for @spellicon embedding.