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

Method addLevelInfo

code/src/java/pcgen/core/GameMode.java:419–423  ·  view source on GitHub ↗

Add new level info to an XP table. @param levInfo

(final String xpTableName, final LevelInfo levInfo)

Source from the content-addressed store, hash-verified

417 * @param levInfo
418 */
419 public void addLevelInfo(final String xpTableName, final LevelInfo levInfo)
420 {
421 XPTable xpTable = xpTableInfo.computeIfAbsent(xpTableName, XPTable::new);
422 xpTable.addLevelInfo(levInfo.getLevelString(), levInfo);
423 }
424
425 /**
426 * Set the level up message.

Callers 7

setUpMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95

Calls 3

addLevelInfoMethod · 0.95
getLevelStringMethod · 0.80
computeIfAbsentMethod · 0.45

Tested by 7

setUpMethod · 0.76
setUpMethod · 0.76
setUpMethod · 0.76
setUpMethod · 0.76
setUpMethod · 0.76
setUpMethod · 0.76
setUpMethod · 0.76