Key-Value Pair Asset

From COD Engine Research
Jump to: navigation, search

The keyvaluepair asset only exists on Black Ops 2 and is actually Treyarch's version of a very well documented concept of Key-Value pairs. These are used to assign a value to a string (key). What the pairs are actually used for is still unknown.

struct KeyValuePair
  int keyHash;
  int namespaceHash;
  const char *value;
struct KeyValuePairs
  const char *name;
  int numVariables;
  KeyValuePair *keyValuePairs;