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.
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.