pub struct PlayerLedgerView {Show 19 fields
pub current_game_day: u64,
pub period_day: LedgerPeriodTotals,
pub period_week: LedgerPeriodTotals,
pub period_month: LedgerPeriodTotals,
pub period_lifetime: LedgerPeriodTotals,
pub recent: Vec<LedgerEntryView>,
pub wealth_on_person_copper: u64,
pub wealth_in_storage_copper: u64,
pub wealth_in_bank_copper: u64,
pub wealth_total_copper: u64,
pub wealth_in_property_copper: u64,
pub wealth_net_worth_copper: u64,
pub property_assets: Vec<PropertyAssetView>,
pub property_market_nearby: Vec<PropertyMarketCompView>,
pub live_expense_per_interval_copper: u64,
pub live_income_route_est_per_loop_copper: u64,
pub live_income_avg_per_interval_copper: u64,
pub live_income_avg_window_intervals: u32,
pub live_net_avg_per_interval_copper: i64,
}Fields§
§current_game_day: u64§period_day: LedgerPeriodTotals§period_week: LedgerPeriodTotals§period_month: LedgerPeriodTotals§period_lifetime: LedgerPeriodTotals§recent: Vec<LedgerEntryView>§wealth_on_person_copper: u64Copper on the character (inventory + worn bags).
wealth_in_storage_copper: u64Copper in owned placed storage (chests, lodging — not bank ledger).
wealth_in_bank_copper: u64Copper in the secure bank ledger (plans/08 §8).
wealth_total_copper: u64wealth_on_person_copper + wealth_in_storage_copper + wealth_in_bank_copper.
wealth_in_property_copper: u64Sum of purchase-basis copper for deeds this character currently holds (asset book value).
wealth_net_worth_copper: u64Liquid copper + property book value.
property_assets: Vec<PropertyAssetView>Deeds held (inventory, worn bags, town vault, owned chests) with book values.
property_market_nearby: Vec<PropertyMarketCompView>Recent property sales near plots you hold (comps for a local market).
live_expense_per_interval_copper: u64Live payroll burn (cp per wage interval) for hired workers.
live_income_route_est_per_loop_copper: u64Estimated copper from one full worker job loop (broker sell steps).
live_income_avg_per_interval_copper: u64Recent average income (worker/trader sales) per wage interval.
live_income_avg_window_intervals: u32Number of wage intervals in the rolling average window.
live_net_avg_per_interval_copper: i64live_income_avg_per_interval_copper − live_expense_per_interval_copper.
Trait Implementations§
Source§impl Clone for PlayerLedgerView
impl Clone for PlayerLedgerView
Source§fn clone(&self) -> PlayerLedgerView
fn clone(&self) -> PlayerLedgerView
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more