MCPcopy Create free account
hub / github.com/Card-Forge/forge / addCloneState

Method addCloneState

forge-game/src/main/java/forge/game/card/Card.java:4295–4299  ·  view source on GitHub ↗
(CardCloneStates states, final long timestamp)

Source from the content-addressed store, hash-verified

4293 }
4294
4295 public final void addCloneState(CardCloneStates states, final long timestamp) {
4296 clonedStates.put(timestamp, states);
4297 updateCloneState(true);
4298 updateWorldTimestamp(timestamp);
4299 }
4300
4301 public final boolean removeCloneState(final long timestamp) {
4302 if (clonedStates.remove(timestamp) != null) {

Callers 8

rebuildMutatedStatesMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95
addCardMethod · 0.95
emulateMergeViaMutateMethod · 0.80
getAlternateHostMethod · 0.80
resolveMethod · 0.80

Calls 3

updateCloneStateMethod · 0.95
updateWorldTimestampMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected