generated from the codeBattlefield Heroes
Heroes customisation (custo_)
1 functions of the host module. Generated from the bf2-rs sources; see the reference index for the cross-game table.
custo_listItems#
Heroes
python
host.custo_listItems(...)| Fact | Detail |
|---|---|
| Original code | BFHeroes.exe (1.89)!0x00671b6c |
| bf2-rs | crates/bfh-server/src/lib.rs:418 |
What it does (from the bf2-rs port). host.custo_listItems(types) (BFHeroes.exe!0x00671b6c, 1.126 BFHeroes.exe@bfh126!0x006a5462): argInt(0), then the customization database's query (vt+0x10) with DBRecordFilter(types, -1, -1, false) (0x0047d52c, [bfh_client::kit::ItemDatabase::list_items]): a tuple of the records' ids (record vt+0xc, +0x20). stats.py keys its weapon stats by them (getItemsList(ABILITY_ITEMS|WEAPON_ITEMS)).
Shipped scripts use it like this:
Heroes: python/bf2/Customization.py:13
return host.custo_listItems( types )Source:
tools/devwiki/refs_python.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.