Script::GetAuctionHouseDepositRate
function · ui · orchestration
- Address
0x4ce170· 65 bytes, up to0x4ce1b0- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the open house's deposit percentage, or 0
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/auctionlists#deposit
Finding: Deposit in ui: auction lists, sorting and deposits
GetAuctionHouseDepositRate() returns the house's deposit percentage (column 2 of its AuctionHouse.dbc row), or 0.
CalculateAuctionDeposit(runTime) needs a number (Usage: CalculateAuctionDeposit(runTime)), and returns
floor(rate * sellPrice * count / 100) * (runTime / 120) when a house, the sell slot item and its record are known and
runTime is 120, 480 or 1440; the division is exact and happens before the multiply. Anything unknown gives 0. The
consignment column of the row is never read.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.