# Module `twdll.world`

Campaign WORLD singleton accessor for Total War: Rome 2. The pointer is captured at runtime when the game constructs the WORLD object.

## Functions

GetMemoryAddress () | Returns the memory address of the WORLD singleton as a hexadecimal string.
GetFactionCount () | Gets the number of factions in the current campaign.

## Functions

GetMemoryAddress ()
  Returns the memory address of the WORLD singleton as a hexadecimal string.

  ### Returns:

  string memory address (e.g. "0x12345678"), or nil if not yet initialised
GetFactionCount ()
  Gets the number of factions in the current campaign.

  ### Returns:

  integer number of factions, or nil if not yet initialised

generated by LDoc 1.5.0