NetConstStrings Asset

From COD Engine Research
Revision as of 05:36, 22 December 2014 by CraigChrist8239 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The netconststrings was added on Ghosts and only exists on that game. It holds a series of localized strings that should be defined in one language or another for interoperability between clients. The name of the netconststrings is the FF the strings should be defined in.

enum NetConstStringType
{
  NETCONSTSTRINGTYPE_XMODEL = 0x0,
  NETCONSTSTRINGTYPE_MATERIAL = 0x1,
  NETCONSTSTRINGTYPE_RUMBLE = 0x2,
  NETCONSTSTRINGTYPE_VEHICLES = 0x3,
  NETCONSTSTRINGTYPE_FX = 0x4,
  NETCONSTSTRINGTYPE_LOCSTRING = 0x5,
  NETCONSTSTRINGTYPE_SOUNDALIAS = 0x6,
  NETCONSTSTRINGTYPE_SOUNDALIAS_LOOPING = 0x7,
  NETCONSTSTRINGTYPE_SHOCK = 0x8,
  NETCONSTSTRINGTYPE_SCRIPTMENU = 0x9,
  NETCONSTSTRINGTYPE_CLIENT_TAGS = 0xA,
  NETCONSTSTRINGTYPE_HEADICON = 0xB,
  NETCONSTSTRINGTYPE_STATUSICON = 0xC,
  NETCONSTSTRINGTYPE_NAMEPLATE = 0xD,
  NETCONSTSTRINGTYPE_MINIMAPICON = 0xE,
  NETCONSTSTRINGTYPE_LOCSELMAT = 0xF,
  NETCONSTSTRINGTYPE_WEAPON = 0x10,
  NETCONSTSTRINGTYPE_HINTSTRING = 0x11,
  NETCONSTSTRINGTYPE_ANIM = 0x12,
  NETCONSTSTRINGTYPE_TAGS = 0x13,
  NETCONSTSTRINGTYPE_ANIMCLASS = 0x14,
  NETCONSTSTRINGTYPE_LUI = 0x15,
  NETCONSTSTRINGTYPE_ASSET_COUNT = 0x16,
  NETCONSTSTRINGTYPE_CODINFO_DVAR = 0x16,
  NETCONSTSTRINGTYPE_NETWORK_DVAR = 0x17,
  NETCONSTSTRINGTYPE_COUNT = 0x18,
  NETCONSTSTRINGTYPE_NONE = 0x18
};
 
enum NetConstStringSource
{
  NETCONSTSTRINGSOURCE_MAP = 0x0,
  NETCONSTSTRINGSOURCE_PRE_MAP = 0x1,
  NETCONSTSTRINGSOURCE_COMMON = 0x2,
  NETCONSTSTRINGSOURCE_COUNT = 0x3,
  NETCONSTSTRINGSOURCE_NONE = 0x3
};
 
struct NetConstStrings
{
  const char * name;
  NetConstStringType stringType;
  NetConstStringSource sourceType;
  unsigned int entryCount;
  const char **stringList;
};