C# Class Pluton.Events.LootEvent

Inheritance: CountedInstance
Show 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 property

public bool Cancel
return bool

Looter public property

public Player Looter
return Player

cancelReason public property

public string cancelReason
return string

pLoot public property

public PlayerLoot pLoot
return PlayerLoot