Files
2009scape/Server/src/main/core/api/Event.kt
T
Ceikry 661390e66f Implemented timer subsystem to eventually replace pulses
Authentic subsystem supports saving/loading arbitrary data and resuming timer countdowns
Lots of documented CAPI functions for working with these new timers
Converted poison to new timers
Converted disease to new timers
Converted farming to new timers (CropGrowth and Compost)
Farming now syncs with 5 minute intervals on realtime clocks (authentic)
Converted seedling growth to new timers
Converted shooting star mining bonus to new timers
Converted entity freezing to new timers
Converted incubation to new timers
Incubation now supports using both incubators (so 2 eggs at once)
Converted miasmic states to the new timers
Converted god spell charged state to new timers
Converted teleblock to new timers
Converted skulled state to new timers
Converted Enhanced Excalibur special attack effect to new timers
Converted passive stat restoration to timers
Converted multicannon firing and decay to a timer
2023-07-29 04:51:06 +00:00

41 lines
2.2 KiB
Kotlin

package core.api
import core.game.event.*
object Event {
@JvmStatic val ResourceProduced = ResourceProducedEvent::class.java
@JvmStatic val NPCKilled = NPCKillEvent::class.java
@JvmStatic val BoneBuried = BoneBuryEvent::class.java
@JvmStatic val Teleported = TeleportEvent::class.java
@JvmStatic val FireLit = LitFireEvent::class.java
@JvmStatic val LightSourceLit = LitLightSourceEvent::class.java
@JvmStatic val Interacted = InteractionEvent::class.java
@JvmStatic val ButtonClicked = ButtonClickEvent::class.java
@JvmStatic val DialogueOpened = DialogueOpenEvent::class.java
@JvmStatic val DialogueOptionSelected = DialogueOptionSelectionEvent::class.java
@JvmStatic val DialogueClosed = DialogueCloseEvent::class.java
@JvmStatic val UsedWith = UseWithEvent::class.java
@JvmStatic val SelfDeath = SelfDeathEvent::class.java
@JvmStatic val Tick = TickEvent::class.java
@JvmStatic val PickedUp = PickUpEvent::class.java
@JvmStatic val InterfaceOpened = InterfaceOpenEvent::class.java
@JvmStatic val InterfaceClosed = InterfaceCloseEvent::class.java
@JvmStatic val AttributeSet = AttributeSetEvent::class.java
@JvmStatic val AttributeRemoved = AttributeRemoveEvent::class.java
@JvmStatic val SpellCast = SpellCastEvent::class.java
@JvmStatic val ItemAlchemized = ItemAlchemizationEvent::class.java
@JvmStatic val ItemEquipped = ItemEquipEvent::class.java
@JvmStatic val ItemUnequipped = ItemUnequipEvent::class.java
@JvmStatic val ItemPurchased = ItemShopPurchaseEvent::class.java
@JvmStatic val ItemSold = ItemShopSellEvent::class.java
@JvmStatic val JobAssigned = JobAssignmentEvent::class.java
@JvmStatic val FairyRingDialed = FairyRingDialEvent::class.java
@JvmStatic val VarbitUpdated = VarbitUpdateEvent::class.java
@JvmStatic val DynamicSkillLevelChanged = DynamicSkillLevelChangeEvent::class.java
@JvmStatic val SummoningPointsRecharged = SummoningPointsRechargeEvent::class.java
@JvmStatic val PrayerPointsRecharged = PrayerPointsRechargeEvent::class.java
@JvmStatic val XpGained = XPGainEvent::class.java
@JvmStatic val PrayerActivated = PrayerActivatedEvent::class.java
@JvmStatic val PrayerDeactivated = PrayerDeactivatedEvent::class.java
}