public static void HandleTransportAlreadyLoadedPassengers(ushort vehicleID)
        {
            // IPT2 roundabout!
            Vehicle data = VehicleManager.instance.m_vehicles.m_buffer[vehicleID];

            BusPickDropLookupTable.Notify_PassengersAlreadyBoardedOntoBus(vehicleID, ref data);
        }
示例#2
0
 public static void HandleBusAboutToLoadPassengers(ushort vehicleID, ref Vehicle data)
 {
     BusPickDropLookupTable.Notify_PassengersAboutToBoardOntoBus(vehicleID, ref data);
 }
 public static void PostFix(ref bool __result, ushort vehicleID, ref Vehicle vehicleData)
 {
     BusPickDropLookupTable.DetermineIfBusShouldDepart(ref __result, vehicleID, ref vehicleData);
 }
 public static void Deactivate()
 {
     GetHarmonyInstance().UnpatchAll(HarmonyModID);
     BusPickDropLookupTable.WipeTable();
     CitizenRunawayTable.WipeTable();
 }
 public static void Activate()
 {
     GetHarmonyInstance().PatchAll(Assembly.GetExecutingAssembly());
     BusPickDropLookupTable.EnsureTableExists();
     CitizenRunawayTable.EnsureTableExists();
 }
 public static void HandleBusArrivedAtTarget(ushort vehicleID, ref Vehicle data, ref int serviceCounter)
 {
     BusPickDropLookupTable.Notify_PassengersAlightedFromBus(vehicleID, serviceCounter);
 }