Events Job Type

sealed class EventsJobType

Sealed class to handle different job events

Author

Felipe Gonzalez

Inheritors

Types

Link copied to clipboard
data class EventsJobCancelled(val penalty: Long, val startedTimeStamp: Int, val cancelledTimestamp: Int, val isActive: Boolean) : EventsJobType

Job type event related to cancelled Job

Link copied to clipboard
data class EventsJobDelivered(val timeTaken: Int, val startedTimeStamp: Int, val deliveredTimeStamp: Int, val earnedXP: Int, val cargoDamage: Float, val distance: Int, val autoParked: Boolean, val revenue: Long, val isActive: Boolean) : EventsJobType

Job type event related to delivered cargo

Link copied to clipboard
data class EventsJobFinished(val isActive: Boolean) : EventsJobType

Job type event related to finished Job

Link copied to clipboard
data class EventsJobStarted(val isAutoLoaded: Boolean, val isActive: Boolean) : EventsJobType

Job type event related to started cargo