MCPcopy Create free account
hub / github.com/PCGen/pcgen / getDefaultSpellBook

Method getDefaultSpellBook

code/src/java/pcgen/core/Globals.java:216–225  ·  view source on GitHub ↗

Returns the name of the Default Spell Book, or null if there is no default spell book. @return default spellbook

()

Source from the content-addressed store, hash-verified

214 * @return default spellbook
215 */
216 public static String getDefaultSpellBook()
217 {
218 GameMode game = SettingsHandler.getGameAsProperty().get();
219 if (game != null)
220 {
221 return game.getDefaultSpellBook();
222 }
223
224 return null;
225 }
226
227 /**
228 * Get equipment slot by name

Callers 15

testPreparedCasterMethod · 0.95
parseNonEmptyTokenMethod · 0.95
unparseMethod · 0.95
getTokenMethod · 0.95
getCastNumMethod · 0.95
getTokenMethod · 0.95
addKnownSpellMethod · 0.95
removeKnownSpellMethod · 0.95

Calls 3

getGameAsPropertyMethod · 0.95
getDefaultSpellBookMethod · 0.95
getMethod · 0.65