Skip to content

Expose Passenger Ticket and Cash Data #148

@GamingLxg

Description

@GamingLxg

At present, OmsiHook does not expose any live passenger ticket transaction data.
While OmsiGlobals.TicketPack lists all available ticket types and prices, there is no way to read:

The specific ticket requested by the current passenger

The cash amount given by that passenger

The legacy fields under OmsiRoadVehicleInst (Ticket_Give, Ticket_Passenger, Ticket_Items) return invalid pointers and throw memory access exceptions in all tested buses (SD202, MAN D88, MB O305).

This would enable developers to build tools such as automatic change calculators, ticket sale monitors, or in-game dashboards showing ticket statistics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions