C# Class Pluton.Events.LootEvent

Inheritance: CountedInstance
Mostra file Open project: Notulp/Pluton

Public Properties

Property Type Description
Cancel bool
Looter Player
cancelReason string
pLoot PlayerLoot

Public Methods

Method Description
LootEvent ( PlayerLoot pl, Player looter )
Stop ( string reason = "A plugin stops you from looting that!" ) : void

Method Details

LootEvent() public method

public LootEvent ( PlayerLoot pl, Player looter )
pl PlayerLoot
looter Player

Stop() public method

public Stop ( string reason = "A plugin stops you from looting that!" ) : void
reason string
return void

Property Details

Cancel public_oe property

public bool Cancel
return bool

Looter public_oe property

public Player Looter
return Player

cancelReason public_oe property

public string cancelReason
return string

pLoot public_oe property

public PlayerLoot pLoot
return PlayerLoot