MCPcopy Create free account
hub / github.com/demoth/jake2 / ED_ParseField

Method ED_ParseField

game/src/main/java/jake2/game/GameSpawn.java:812–817  ·  view source on GitHub ↗

ED_ParseField Takes a key/value pair and sets the binary values in an edict.

(String key, String value, SubgameEntity ent, GameExportsImpl gameExports)

Source from the content-addressed store, hash-verified

810 * Takes a key/value pair and sets the binary values in an edict.
811 */
812 private static void ED_ParseField(String key, String value, SubgameEntity ent, GameExportsImpl gameExports) {
813 if (!ent.st.set(key, value))
814 if (!ent.setField(key, value))
815 gameExports.gameImports.dprintf("??? The key [" + key + "] is not a field\n");
816
817 }
818
819 /**
820 * ED_ParseEdict

Callers 3

ED_ParseEdictMethod · 0.95
SpawnEntitiesMethod · 0.95
createEntityMethod · 0.95

Calls 3

setFieldMethod · 0.80
dprintfMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected