Home › Lua API › GameHistoryManager

Available out of the box. Usable from Lua in the unmodified game.

GameHistoryManager

6 methods. Symbol/current columns are function addresses (RVA) of the native wrapper.

Signatures are recovered from the game code. ⚠ = partly understood (arguments may be missing or approximate). ? after a name = optional argument. Types: integer/number are Lua numbers, enum-typed arguments show the C++ type in brackets. Two signatures mean the method is registered separately for the UI and the gameplay state and each wrapper was decoded on its own. "same code as" in the Symbol column means the compiler merged identical functions: those methods share one wrapper and cannot be told apart by address.

Method Signature Where Reference Symbol Current
GetAllMomentsData GameHistoryManager:GetAllMomentsData(arg1?: integer, arg2?: integer) → number
args: arg1 — Id of a player (the scripts name the argument playerID / owner). (inferred)
ui-cache — 0x70c720 0x70cf90
GetMomentCount GameHistoryManager:GetMomentCount() → number
touches (inferred from the code): reads Cache::Game::History::Manager::m_kValues+0x8, Cache::Game::History::Manager::m_kValues+0x10
ui-cache — 0x70c910 0x70d180
GetMomentData GameHistoryManager:GetMomentData(arg1?: number) → 1 values ⚠
touches (inferred from the code): reads Cache::Game::History::Manager::m_kValues+0x10
ui-cache — 0x70c960 0x70d1d0
GetMomentType GameHistoryManager:GetMomentType(arg1: integer) → number
touches (inferred from the code): reads Cache::Game::History::Manager::m_kValues+0x10
ui-cache — 0x70c9e0 0x70d250
HasPrideMoments GameHistoryManager:HasPrideMoments(arg1?: number, arg2?: integer) → boolean ui-cache — 0x70ca50 0x70d2c0
WritePrideMomentInfo GameHistoryManager:WritePrideMomentInfo() ui-cache — 0x70cb50 0x70d3c0