Anvil
Anvil.API.Events.ModuleEvents Class Reference

Global module events. More...

Classes

class  OnAcquireItem
 Triggered whenever an NwItem is added to NwGameObject inventory. More...
 
class  OnActivateItem
 Triggered when an item that has the item property spell "Unique Power" (targeted) or "Unique Power - Self Only" (self) casts its spell. More...
 
class  OnClientEnter
 Triggered when a NwPlayer selects a character and logged into the module. More...
 
class  OnClientLeave
 Triggered when a NwCreature leaves the server. More...
 
class  OnCutsceneAbort
 Triggered when a NwPlayer tries to cancel a cutscene (ESC). More...
 
class  OnHeartbeat
 Triggered every server heartbeat (~6 seconds). More...
 
class  OnModuleLoad
 Triggered when the module is initially loaded. This event must be hooked in your service constructor, otherwise it will be missed. More...
 
class  OnModuleStart
 
class  OnNuiEvent
 Called when a player triggers an event in the NUI system. More...
 
class  OnPlayerChat
 Triggered when any NwPlayer sends a chat message. Private channel not hooked. More...
 
class  OnPlayerDeath
 Triggered when a NwPlayer dies. More...
 
class  OnPlayerDying
 Triggered when a NwPlayer enters a dying state (< 0 HP). More...
 
class  OnPlayerEquipItem
 Triggered when a NwCreature equips an NwItem. More...
 
class  OnPlayerGuiEvent
 Triggered when a player clicks on a particular GUI interface. More...
 
class  OnPlayerLevelUp
 Triggered when a NwPlayer levels up. More...
 
class  OnPlayerRespawn
 Triggered when a NwPlayer clicks the respawn button on the death screen. More...
 
class  OnPlayerRest
 Triggered when NwPlayer presses the rest button and begins to rest, cancelled rest, or finished rest. More...
 
class  OnPlayerTarget
 Triggered when a NwPlayer that has targeted something. More...
 
class  OnPlayerTileAction
 Triggered when a player performs an action on an area tile. More...
 
class  OnPlayerUnequipItem
 Triggered just before a NwCreature un-equips an NwItem. More...
 
class  OnUnacquireItem
 Triggered when a NwItem is removed from a NwCreature's inventory. More...
 
class  OnUserDefined
 

Detailed Description

Global module events.


The documentation for this class was generated from the following file: