What would you like to see?
Extend S1API.Vehicles.LandVehicle with managed seat metadata and occupancy state.
A first version could expose a read-only VehicleSeatInfo collection containing:
- stable seat index;
- whether the seat is the driver seat;
- whether the seat is occupied;
- the wrapped player occupant when one is available;
- seat occupancy change notifications.
Why would this help?
S1API already exposes vehicle wrappers and managed NPC vehicle entry/exit events from #243, but mods cannot determine which player occupies which native VehicleSeat without accessing game types directly. Seat-aware UI, co-op interactions, quests, and vehicle rules all need this missing read-only state.
Extra Context (Optional)
Keep forced entry, ejection, seat reservation, remote-player control, and direct RPC access out of the first version. Preserve native seat ordering and event timing, and do not expose native Player or VehicleSeat objects.
Validate driver/passenger transitions, disconnects, vehicle destruction, and wrapper cleanup separately on Mono and IL2CPP.
What would you like to see?
Extend
S1API.Vehicles.LandVehiclewith managed seat metadata and occupancy state.A first version could expose a read-only
VehicleSeatInfocollection containing:Why would this help?
S1API already exposes vehicle wrappers and managed NPC vehicle entry/exit events from #243, but mods cannot determine which player occupies which native
VehicleSeatwithout accessing game types directly. Seat-aware UI, co-op interactions, quests, and vehicle rules all need this missing read-only state.Extra Context (Optional)
Keep forced entry, ejection, seat reservation, remote-player control, and direct RPC access out of the first version. Preserve native seat ordering and event timing, and do not expose native
PlayerorVehicleSeatobjects.Validate driver/passenger transitions, disconnects, vehicle destruction, and wrapper cleanup separately on Mono and IL2CPP.