Common Data Types (Need for Speed)

Some of the more commonly seen data types in Need for Speed Hot Pursuit (2010) and Most Wanted (2012).

= CgsCore::UniqueId = Unique ID is the data type used to hold game changer IDs. It is a global, sequential numeric ID given to every item tracked by the database. As IDs are not per-game, items from Hot Pursuit may be reused directly in Most Wanted or any other project. Nearly every asset in both games have at least one game changer ID.

Unique IDs were previously used to a more limited extent in Burnout Paradise. While they are not explicitly named, they are present in several assets, such as the triggers, traffic, and sound resources. These IDs are referred to by the modding community as GameDB IDs as they are typically seen in  URIs.

= CgsContainers::ArrayList = ArrayList is effectively the same as CgsArray from Burnout Paradise. It is an array of elements with a length field that may or may not be padded with 4 bytes after.

As an example, the below is the structure of.