Show / Hide Table of Contents

Class BetterEvents

A system for managing Blade and Sorcery events

Inheritance
System.Object
BetterEvents
BetterItemEvents
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Wully.Events
Assembly: !BetterMods.dll
Syntax
public class BetterEvents

Methods

| Improve this Doc View Source

InvokeCollisionEvent(LevelModuleBetterEvents, CollisionInstance)

Declaration
public static void InvokeCollisionEvent(LevelModuleBetterEvents levelModule, CollisionInstance collisionInstance)
Parameters
Type Name Description
LevelModuleBetterEvents levelModule
ThunderRoad.CollisionInstance collisionInstance
| Improve this Doc View Source

InvokeCreatureHitEvent(BetterHit)

Invokes CreatureHitEvent

Declaration
public static void InvokeCreatureHitEvent(BetterHit betterHit)
Parameters
Type Name Description
BetterHit betterHit
| Improve this Doc View Source

InvokeCreatureKillEvent(BetterHit)

Invokes CreatureKillEvent

Declaration
public static void InvokeCreatureKillEvent(BetterHit betterHit)
Parameters
Type Name Description
BetterHit betterHit
| Improve this Doc View Source

InvokeCreatureParryingPlayer(Creature, CollisionInstance)

Invokes CreatureParryingPlayer Event

Declaration
public static void InvokeCreatureParryingPlayer(Creature creature, CollisionInstance collisionInstance)
Parameters
Type Name Description
ThunderRoad.Creature creature

The creature that parried the player

ThunderRoad.CollisionInstance collisionInstance
| Improve this Doc View Source

InvokeDeflectEvent(Creature, Item, Creature)

Triggers a deflect event

Declaration
public static void InvokeDeflectEvent(Creature source, Item item, Creature target)
Parameters
Type Name Description
ThunderRoad.Creature source
ThunderRoad.Item item
ThunderRoad.Creature target
| Improve this Doc View Source

InvokeDismemberEvent(RagdollPart, Boolean, RagdollPart.Type)

Triggers an event for whenever a part of a creature is dismembered

Declaration
public static void InvokeDismemberEvent(RagdollPart ragdollPart, bool creatureIsKilled, RagdollPart.Type ragdollPartType)
Parameters
Type Name Description
ThunderRoad.RagdollPart ragdollPart
System.Boolean creatureIsKilled
ThunderRoad.RagdollPart.Type ragdollPartType
| Improve this Doc View Source

InvokeOnPlayerCastSpellEvent(SpellCaster, Side, EventTime)

Declaration
public static void InvokeOnPlayerCastSpellEvent(SpellCaster spellCaster, Side side, EventTime eventTime)
Parameters
Type Name Description
ThunderRoad.SpellCaster spellCaster
ThunderRoad.Side side
ThunderRoad.EventTime eventTime
| Improve this Doc View Source

InvokeOnPlayerMergeSpellEvent(SpellCaster, Side, EventTime)

Declaration
public static void InvokeOnPlayerMergeSpellEvent(SpellCaster spellCaster, Side side, EventTime eventTime)
Parameters
Type Name Description
ThunderRoad.SpellCaster spellCaster
ThunderRoad.Side side
ThunderRoad.EventTime eventTime
| Improve this Doc View Source

InvokeOnPlayerSpraySpellEvent(SpellCaster, Side, EventTime)

Declaration
public static void InvokeOnPlayerSpraySpellEvent(SpellCaster spellCaster, Side side, EventTime eventTime)
Parameters
Type Name Description
ThunderRoad.SpellCaster spellCaster
ThunderRoad.Side side
ThunderRoad.EventTime eventTime
| Improve this Doc View Source

InvokePlayerGroundEvent(Boolean, Vector3)

Invokes PlayerGroundEvent

Declaration
public static void InvokePlayerGroundEvent(bool grounded, Vector3 velocity)
Parameters
Type Name Description
System.Boolean grounded
UnityEngine.Vector3 velocity
| Improve this Doc View Source

InvokePlayerHandGrabEvent(Side, Handle, Single, HandleOrientation, EventTime)

Declaration
public static void InvokePlayerHandGrabEvent(Side side, Handle handle, float axisPosition, HandleOrientation orientation, EventTime eventTime)
Parameters
Type Name Description
ThunderRoad.Side side
ThunderRoad.Handle handle
System.Single axisPosition
ThunderRoad.HandleOrientation orientation
ThunderRoad.EventTime eventTime
| Improve this Doc View Source

InvokePlayerHandUnGrabEvent(Side, Handle, Boolean, EventTime)

Triggers PlayerHandUnGrabEvent

Declaration
public static void InvokePlayerHandUnGrabEvent(Side side, Handle handle, bool throwing, EventTime eventTime)
Parameters
Type Name Description
ThunderRoad.Side side
ThunderRoad.Handle handle
System.Boolean throwing
ThunderRoad.EventTime eventTime
| Improve this Doc View Source

InvokePlayerParryingCreature(Creature, CollisionInstance)

Invokes PlayerParryingCreature Event

Declaration
public static void InvokePlayerParryingCreature(Creature creature, CollisionInstance collisionInstance)
Parameters
Type Name Description
ThunderRoad.Creature creature

The creature the player parried

ThunderRoad.CollisionInstance collisionInstance
| Improve this Doc View Source

InvokePlayerTelekinesisGrabEvent(Side, Handle)

Triggers PlayerTelekinesisGrabEvent

Declaration
public static void InvokePlayerTelekinesisGrabEvent(Side side, Handle handle)
Parameters
Type Name Description
ThunderRoad.Side side
ThunderRoad.Handle handle
| Improve this Doc View Source

InvokePlayerTelekinesisUnGrabEvent(Side, Handle)

Triggers PlayerTelekinesisUngrabEvent

Declaration
public static void InvokePlayerTelekinesisUnGrabEvent(Side side, Handle handle)
Parameters
Type Name Description
ThunderRoad.Side side
ThunderRoad.Handle handle

Events

| Improve this Doc View Source

OnCreatureDeflectPlayer

Creature deflected a spell or projectile from the Player

Declaration
public static event BetterEvents.DeflectEvent OnCreatureDeflectPlayer
Event Type
Type Description
BetterEvents.DeflectEvent
| Improve this Doc View Source

OnCreatureHeldItemCollideHeldItem

Declaration
public static event BetterEvents.CollisionEvent OnCreatureHeldItemCollideHeldItem
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnCreatureHeldItemCollideItem

Declaration
public static event BetterEvents.CollisionEvent OnCreatureHeldItemCollideItem
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnCreatureHeldItemCollidePlayerHeldItem

Declaration
public static event BetterEvents.CollisionEvent OnCreatureHeldItemCollidePlayerHeldItem
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnCreatureHeldItemCollideUnheldItem

Declaration
public static event BetterEvents.CollisionEvent OnCreatureHeldItemCollideUnheldItem
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnCreatureHit

A creature was hit, including player

Declaration
public static event BetterEvents.CreatureHitEvent OnCreatureHit
Event Type
Type Description
BetterEvents.CreatureHitEvent
| Improve this Doc View Source

OnCreatureHitByCreature

A creature was hit by another creature, possibly self

Declaration
public static event BetterEvents.CreatureHitEvent OnCreatureHitByCreature
Event Type
Type Description
BetterEvents.CreatureHitEvent
| Improve this Doc View Source

OnCreatureHitByPlayer

A creature was hit by the player

Declaration
public static event BetterEvents.CreatureHitEvent OnCreatureHitByPlayer
Event Type
Type Description
BetterEvents.CreatureHitEvent
| Improve this Doc View Source

OnCreatureKill

A creature was killed, including player

Declaration
public static event BetterEvents.CreatureKillEvent OnCreatureKill
Event Type
Type Description
BetterEvents.CreatureKillEvent
| Improve this Doc View Source

OnCreatureKillByCreature

A creature was killed by another creature, possibly self

Declaration
public static event BetterEvents.CreatureKillEvent OnCreatureKillByCreature
Event Type
Type Description
BetterEvents.CreatureKillEvent
| Improve this Doc View Source

OnCreatureKillByPlayer

A creature was killed by the player

Declaration
public static event BetterEvents.CreatureKillEvent OnCreatureKillByPlayer
Event Type
Type Description
BetterEvents.CreatureKillEvent
| Improve this Doc View Source

OnCreatureParryingPlayer

Creature parried the Players attack

Declaration
public static event BetterEvents.ParryEvent OnCreatureParryingPlayer
Event Type
Type Description
BetterEvents.ParryEvent
| Improve this Doc View Source

OnPlayerCast

Called when player starts and stops casting a spell. eventType onStart/onStop is for casting start/stop

Declaration
public static event BetterEvents.SpellEvent OnPlayerCast
Event Type
Type Description
BetterEvents.SpellEvent
Remarks

Use spellcaster.spellInstance.id to find out what spell it is

| Improve this Doc View Source

OnPlayerChokeCreature

Player choked creature with hand or Telekinesis

Declaration
public static event BetterEvents.ChokeEvent OnPlayerChokeCreature
Event Type
Type Description
BetterEvents.ChokeEvent
| Improve this Doc View Source

OnPlayerDeflectedCreature

Player deflected a spell or projectile from a Creature

Declaration
public static event BetterEvents.DeflectEvent OnPlayerDeflectedCreature
Event Type
Type Description
BetterEvents.DeflectEvent
| Improve this Doc View Source

OnPlayerDismemberCreature

Declaration
public static event BetterEvents.DismemberEvent OnPlayerDismemberCreature
Event Type
Type Description
BetterEvents.DismemberEvent
| Improve this Doc View Source

OnPlayerDismemberCreatureHead

Declaration
public static event BetterEvents.DismemberEvent OnPlayerDismemberCreatureHead
Event Type
Type Description
BetterEvents.DismemberEvent
| Improve this Doc View Source

OnPlayerDismemberCreatureLeftArm

Declaration
public static event BetterEvents.DismemberEvent OnPlayerDismemberCreatureLeftArm
Event Type
Type Description
BetterEvents.DismemberEvent
| Improve this Doc View Source

OnPlayerDismemberCreatureLeftFoot

Declaration
public static event BetterEvents.DismemberEvent OnPlayerDismemberCreatureLeftFoot
Event Type
Type Description
BetterEvents.DismemberEvent
| Improve this Doc View Source

OnPlayerDismemberCreatureLeftHand

Declaration
public static event BetterEvents.DismemberEvent OnPlayerDismemberCreatureLeftHand
Event Type
Type Description
BetterEvents.DismemberEvent
| Improve this Doc View Source

OnPlayerDismemberCreatureLeftLeg

Declaration
public static event BetterEvents.DismemberEvent OnPlayerDismemberCreatureLeftLeg
Event Type
Type Description
BetterEvents.DismemberEvent
| Improve this Doc View Source

OnPlayerDismemberCreatureRightArm

Declaration
public static event BetterEvents.DismemberEvent OnPlayerDismemberCreatureRightArm
Event Type
Type Description
BetterEvents.DismemberEvent
| Improve this Doc View Source

OnPlayerDismemberCreatureRightFoot

Declaration
public static event BetterEvents.DismemberEvent OnPlayerDismemberCreatureRightFoot
Event Type
Type Description
BetterEvents.DismemberEvent
| Improve this Doc View Source

OnPlayerDismemberCreatureRightHand

Declaration
public static event BetterEvents.DismemberEvent OnPlayerDismemberCreatureRightHand
Event Type
Type Description
BetterEvents.DismemberEvent
| Improve this Doc View Source

OnPlayerDismemberCreatureRightLeg

Declaration
public static event BetterEvents.DismemberEvent OnPlayerDismemberCreatureRightLeg
Event Type
Type Description
BetterEvents.DismemberEvent
| Improve this Doc View Source

OnPlayerDismemberCreatureTorso

Declaration
public static event BetterEvents.DismemberEvent OnPlayerDismemberCreatureTorso
Event Type
Type Description
BetterEvents.DismemberEvent
| Improve this Doc View Source

OnPlayerHandChokeCreature

Player choked creature with hand

Declaration
public static event BetterEvents.ChokeEvent OnPlayerHandChokeCreature
Event Type
Type Description
BetterEvents.ChokeEvent
| Improve this Doc View Source

OnPlayerHandGrabHandle

One of the players hands grabs a handle

Declaration
public static event BetterEvents.PlayerHandGrabEvent OnPlayerHandGrabHandle
Event Type
Type Description
BetterEvents.PlayerHandGrabEvent
| Improve this Doc View Source

OnPlayerHandGrabItemHandle

One of the players hands grabs a item

Declaration
public static event BetterEvents.PlayerHandGrabEvent OnPlayerHandGrabItemHandle
Event Type
Type Description
BetterEvents.PlayerHandGrabEvent
| Improve this Doc View Source

OnPlayerHandGrabRagdollPartHandle

One of the players hands grabs a ragdollpart

Declaration
public static event BetterEvents.PlayerHandGrabEvent OnPlayerHandGrabRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerHandGrabEvent
| Improve this Doc View Source

OnPlayerHandThrowHandle

One of the players hands throws a handle

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerHandThrowHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerHandThrowItemHandle

One of the players hands throws a item

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerHandThrowItemHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerHandThrowRagdollPartHandle

One of the players hands throws a ragdollpart

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerHandThrowRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerHandUnGrabHandle

One of the players hands ungrabs a handle

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerHandUnGrabHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerHandUnGrabItemHandle

One of the players hands ungrabs a item

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerHandUnGrabItemHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerHandUnGrabRagdollPartHandle

One of the players hands ungrabs a ragdollpart

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerHandUnGrabRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerHeldItemCollideAliveCreatureRagdollPart

Declaration
public static event BetterEvents.CollisionEvent OnPlayerHeldItemCollideAliveCreatureRagdollPart
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnPlayerHeldItemCollideCreatureHeldItem

Declaration
public static event BetterEvents.CollisionEvent OnPlayerHeldItemCollideCreatureHeldItem
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnPlayerHeldItemCollideCreatureRagdollPart

Declaration
public static event BetterEvents.CollisionEvent OnPlayerHeldItemCollideCreatureRagdollPart
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnPlayerHeldItemCollideDeadCreatureRagdollPart

Declaration
public static event BetterEvents.CollisionEvent OnPlayerHeldItemCollideDeadCreatureRagdollPart
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnPlayerHeldItemCollideHeldItem

Declaration
public static event BetterEvents.CollisionEvent OnPlayerHeldItemCollideHeldItem
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnPlayerHeldItemCollideItem

Declaration
public static event BetterEvents.CollisionEvent OnPlayerHeldItemCollideItem
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnPlayerHeldItemCollidePlayerRagdollPart

Declaration
public static event BetterEvents.CollisionEvent OnPlayerHeldItemCollidePlayerRagdollPart
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnPlayerHeldItemCollideRagdollPart

Declaration
public static event BetterEvents.CollisionEvent OnPlayerHeldItemCollideRagdollPart
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnPlayerHeldItemCollideUnheldItem

Declaration
public static event BetterEvents.CollisionEvent OnPlayerHeldItemCollideUnheldItem
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnPlayerHeldItemCollideWorld

Declaration
public static event BetterEvents.CollisionEvent OnPlayerHeldItemCollideWorld
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnPlayerHit

The player was hit

Declaration
public static event BetterEvents.CreatureHitEvent OnPlayerHit
Event Type
Type Description
BetterEvents.CreatureHitEvent
| Improve this Doc View Source

OnPlayerHitByCreature

The player was hit by a creature

Declaration
public static event BetterEvents.CreatureHitEvent OnPlayerHitByCreature
Event Type
Type Description
BetterEvents.CreatureHitEvent
| Improve this Doc View Source

OnPlayerHitSelf

The player hit themselves

Declaration
public static event BetterEvents.CreatureHitEvent OnPlayerHitSelf
Event Type
Type Description
BetterEvents.CreatureHitEvent
| Improve this Doc View Source

OnPlayerKill

The player was killed

Declaration
public static event BetterEvents.CreatureKillEvent OnPlayerKill
Event Type
Type Description
BetterEvents.CreatureKillEvent
| Improve this Doc View Source

OnPlayerKillByCreature

The player was killed by a creature

Declaration
public static event BetterEvents.CreatureKillEvent OnPlayerKillByCreature
Event Type
Type Description
BetterEvents.CreatureKillEvent
| Improve this Doc View Source

OnPlayerKillSelf

The player killed themselves

Declaration
public static event BetterEvents.CreatureKillEvent OnPlayerKillSelf
Event Type
Type Description
BetterEvents.CreatureKillEvent
| Improve this Doc View Source

OnPlayerLeftHandGrabHandle

Players Left hand grabs a handle

Declaration
public static event BetterEvents.PlayerHandGrabEvent OnPlayerLeftHandGrabHandle
Event Type
Type Description
BetterEvents.PlayerHandGrabEvent
| Improve this Doc View Source

OnPlayerLeftHandGrabItemHandle

Players Left hand grabs a item

Declaration
public static event BetterEvents.PlayerHandGrabEvent OnPlayerLeftHandGrabItemHandle
Event Type
Type Description
BetterEvents.PlayerHandGrabEvent
| Improve this Doc View Source

OnPlayerLeftHandGrabRagdollPartHandle

Players Left hand grabs a ragdollpart

Declaration
public static event BetterEvents.PlayerHandGrabEvent OnPlayerLeftHandGrabRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerHandGrabEvent
| Improve this Doc View Source

OnPlayerLeftHandThrowHandle

Players Left hand throws a handle

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerLeftHandThrowHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerLeftHandThrowItemHandle

Players Left hand throws a item

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerLeftHandThrowItemHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerLeftHandThrowRagdollPartHandle

Players Left hand throws a ragdollpart

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerLeftHandThrowRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerLeftHandUnGrabHandle

Players Left hand ungrabs a handle

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerLeftHandUnGrabHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerLeftHandUnGrabItemHandle

Players Left hand ungrabs a item

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerLeftHandUnGrabItemHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerLeftHandUnGrabRagdollPartHandle

Players Left hand ungrabs a ragdollpart

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerLeftHandUnGrabRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerLeftTelekinesisGrabHandle

Players Left Telekinesis grabs a Handle

Declaration
public static event BetterEvents.PlayerTelekinesisGrabEvent OnPlayerLeftTelekinesisGrabHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisGrabEvent
| Improve this Doc View Source

OnPlayerLeftTelekinesisGrabItemHandle

Players Left Telekinesis grabs a item

Declaration
public static event BetterEvents.PlayerTelekinesisGrabEvent OnPlayerLeftTelekinesisGrabItemHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisGrabEvent
| Improve this Doc View Source

OnPlayerLeftTelekinesisGrabRagdollPartHandle

Players Left Telekinesis grabs a ragdollpart

Declaration
public static event BetterEvents.PlayerTelekinesisGrabEvent OnPlayerLeftTelekinesisGrabRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisGrabEvent
| Improve this Doc View Source

OnPlayerLeftTelekinesisUnGrabHandle

Players Left Telekinesis ungrabs a Handle

Declaration
public static event BetterEvents.PlayerTelekinesisUnGrabEvent OnPlayerLeftTelekinesisUnGrabHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisUnGrabEvent
| Improve this Doc View Source

OnPlayerLeftTelekinesisUnGrabItemHandle

Players Left Telekinesis ungrabs a item

Declaration
public static event BetterEvents.PlayerTelekinesisUnGrabEvent OnPlayerLeftTelekinesisUnGrabItemHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisUnGrabEvent
| Improve this Doc View Source

OnPlayerLeftTelekinesisUnGrabRagdollPartHandle

Players Left Telekinesis ungrabs a ragdollpart

Declaration
public static event BetterEvents.PlayerTelekinesisUnGrabEvent OnPlayerLeftTelekinesisUnGrabRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisUnGrabEvent
| Improve this Doc View Source

OnPlayerMerge

Called when player starts and stops merging a spell. eventType onStart/onStop is for casting start/stop

Declaration
public static event BetterEvents.SpellEvent OnPlayerMerge
Event Type
Type Description
BetterEvents.SpellEvent
Remarks

Use spellcaster.spellInstance.id to find out what spell it is

| Improve this Doc View Source

OnPlayerOffGround

Player has just left the ground

Declaration
public static event BetterEvents.PlayerGroundEvent OnPlayerOffGround
Event Type
Type Description
BetterEvents.PlayerGroundEvent
| Improve this Doc View Source

OnPlayerOnGround

Player has just touched the ground

Declaration
public static event BetterEvents.PlayerGroundEvent OnPlayerOnGround
Event Type
Type Description
BetterEvents.PlayerGroundEvent
| Improve this Doc View Source

OnPlayerParryingCreature

Player parried a creatures attack

Declaration
public static event BetterEvents.ParryEvent OnPlayerParryingCreature
Event Type
Type Description
BetterEvents.ParryEvent
| Improve this Doc View Source

OnPlayerRagdollPartCollideWorld

Declaration
public static event BetterEvents.CollisionEvent OnPlayerRagdollPartCollideWorld
Event Type
Type Description
BetterEvents.CollisionEvent
| Improve this Doc View Source

OnPlayerRightHandGrabHandle

Players Right hand grabs a handle

Declaration
public static event BetterEvents.PlayerHandGrabEvent OnPlayerRightHandGrabHandle
Event Type
Type Description
BetterEvents.PlayerHandGrabEvent
| Improve this Doc View Source

OnPlayerRightHandGrabItemHandle

Players Right hand grabs a item

Declaration
public static event BetterEvents.PlayerHandGrabEvent OnPlayerRightHandGrabItemHandle
Event Type
Type Description
BetterEvents.PlayerHandGrabEvent
| Improve this Doc View Source

OnPlayerRightHandGrabRagdollPartHandle

Players Right hand grabs a ragdollpart

Declaration
public static event BetterEvents.PlayerHandGrabEvent OnPlayerRightHandGrabRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerHandGrabEvent
| Improve this Doc View Source

OnPlayerRightHandThrowHandle

Players Right hand throws a handle

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerRightHandThrowHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerRightHandThrowItemHandle

Players Right hand throws a item

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerRightHandThrowItemHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerRightHandThrowRagdollPartHandle

Players Right hand throws a ragdollpart

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerRightHandThrowRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerRightHandUnGrabHandle

Players Right hand ungrabs a handle

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerRightHandUnGrabHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerRightHandUnGrabItemHandle

Players Right hand ungrabs a item

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerRightHandUnGrabItemHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerRightHandUnGrabRagdollPartHandle

Players Right hand ungrabs a ragdollpart

Declaration
public static event BetterEvents.PlayerHandUnGrabEvent OnPlayerRightHandUnGrabRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerHandUnGrabEvent
| Improve this Doc View Source

OnPlayerRightTelekinesisGrabHandle

Players Right Telekinesis grabs a Handle

Declaration
public static event BetterEvents.PlayerTelekinesisGrabEvent OnPlayerRightTelekinesisGrabHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisGrabEvent
| Improve this Doc View Source

OnPlayerRightTelekinesisGrabItemHandle

Players Right Telekinesis grabs a item

Declaration
public static event BetterEvents.PlayerTelekinesisGrabEvent OnPlayerRightTelekinesisGrabItemHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisGrabEvent
| Improve this Doc View Source

OnPlayerRightTelekinesisGrabRagdollPartHandle

Players Right Telekinesis grabs a ragdollpart

Declaration
public static event BetterEvents.PlayerTelekinesisGrabEvent OnPlayerRightTelekinesisGrabRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisGrabEvent
| Improve this Doc View Source

OnPlayerRightTelekinesisUnGrabHandle

Players Right Telekinesis ungrabs a Handle

Declaration
public static event BetterEvents.PlayerTelekinesisUnGrabEvent OnPlayerRightTelekinesisUnGrabHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisUnGrabEvent
| Improve this Doc View Source

OnPlayerRightTelekinesisUnGrabItemHandle

Players Right Telekinesis ungrabs a item

Declaration
public static event BetterEvents.PlayerTelekinesisUnGrabEvent OnPlayerRightTelekinesisUnGrabItemHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisUnGrabEvent
| Improve this Doc View Source

OnPlayerRightTelekinesisUnGrabRagdollPartHandle

Players Right Telekinesis ungrabs a ragdollpart

Declaration
public static event BetterEvents.PlayerTelekinesisUnGrabEvent OnPlayerRightTelekinesisUnGrabRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisUnGrabEvent
| Improve this Doc View Source

OnPlayerSpray

Called when player starts and stops spraying a spell. eventType onStart/onStop is for casting start/stop

Declaration
public static event BetterEvents.SpellEvent OnPlayerSpray
Event Type
Type Description
BetterEvents.SpellEvent
Remarks

Use spellcaster.spellInstance.id to find out what spell it is

| Improve this Doc View Source

OnPlayerTelekinesisChokeCreature

Player choked creature with telekinesis

Declaration
public static event BetterEvents.ChokeEvent OnPlayerTelekinesisChokeCreature
Event Type
Type Description
BetterEvents.ChokeEvent
| Improve this Doc View Source

OnPlayerTelekinesisGrabHandle

One of the players Telekinesiss grabs a Handle

Declaration
public static event BetterEvents.PlayerTelekinesisGrabEvent OnPlayerTelekinesisGrabHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisGrabEvent
| Improve this Doc View Source

OnPlayerTelekinesisGrabItemHandle

One of the players Telekinesiss grabs a item

Declaration
public static event BetterEvents.PlayerTelekinesisGrabEvent OnPlayerTelekinesisGrabItemHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisGrabEvent
| Improve this Doc View Source

OnPlayerTelekinesisGrabRagdollPartHandle

One of the players Telekinesiss grabs a ragdollpart

Declaration
public static event BetterEvents.PlayerTelekinesisGrabEvent OnPlayerTelekinesisGrabRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisGrabEvent
| Improve this Doc View Source

OnPlayerTelekinesisUnGrabHandle

One of the players Telekinesiss ungrabs a Handle

Declaration
public static event BetterEvents.PlayerTelekinesisUnGrabEvent OnPlayerTelekinesisUnGrabHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisUnGrabEvent
| Improve this Doc View Source

OnPlayerTelekinesisUnGrabItemHandle

One of the players Telekinesiss ungrabs a item

Declaration
public static event BetterEvents.PlayerTelekinesisUnGrabEvent OnPlayerTelekinesisUnGrabItemHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisUnGrabEvent
| Improve this Doc View Source

OnPlayerTelekinesisUnGrabRagdollPartHandle

One of the players Telekinesiss ungrabs a ragdollpart

Declaration
public static event BetterEvents.PlayerTelekinesisUnGrabEvent OnPlayerTelekinesisUnGrabRagdollPartHandle
Event Type
Type Description
BetterEvents.PlayerTelekinesisUnGrabEvent
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX