Class ProcEventArgs
- Namespace
- TrinketTinker.Effects.Support
- Assembly
- TrinketTinker.dll
Proc event data. Most properties are only set for specific kinds of proc.
public sealed class ProcEventArgs : EventArgs
- Inheritance
-
ProcEventArgs
- Inherited Members
Constructors
ProcEventArgs(ProcOn, Farmer)
Proc event data. Most properties are only set for specific kinds of proc.
public ProcEventArgs(ProcOn procOn, Farmer farmer)
Parameters
procOn
ProcOnfarmer
Farmer
Fields
GSQContext
GSQ Context, guarenteed to exist after Check is called
public GameStateQueryContext GSQContext
Field Value
- GameStateQueryContext
Properties
DamageAmount
Damage amount, to monster or to player
public int? DamageAmount { get; set; }
Property Value
- int?
Farmer
Player who triggered the event
public Farmer Farmer { get; }
Property Value
- Farmer
IsBomb
Whether damage (to monster) was a bomb
public bool? IsBomb { get; set; }
Property Value
- bool?
IsCriticalHit
Whether damage (to monster) was a critical hit
public bool? IsCriticalHit { get; set; }
Property Value
- bool?
Location
Proc location, one of the backing props of LocationOrCurrent
public GameLocation? Location { get; set; }
Property Value
- GameLocation
LocationOrCurrent
Get the most valid location of this proc, either the event location or the player's current location
public GameLocation LocationOrCurrent { get; }
Property Value
- GameLocation
Monster
Target monster
public Monster? Monster { get; set; }
Property Value
- Monster
Proc
Kind of proc triggering this event
public ProcOn Proc { get; }
Property Value
Time
Game time
public GameTime? Time { get; set; }
Property Value
- GameTime
TriggerArgs
Arguments given to trigger action handler.
public string[]? TriggerArgs { get; set; }
Property Value
- string[]
TriggerContext
Trigger action context
public TriggerActionContext? TriggerContext { get; set; }
Property Value
- TriggerActionContext?