C# Class Pluton.Rust.Events.LootEvent

Inheritance: Core.Event
Show file Open project: Notulp/Pluton.Rust

Public Properties

Property Type Description
Cancel bool
Looter Core.Player
cancelReason string
pLoot PlayerLoot

Public Methods

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

Method Details

LootEvent() public method

public LootEvent ( PlayerLoot playerLoot, Core.Player looter ) : Core
playerLoot PlayerLoot
looter Core.Player
return Core

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,Core Looter
return Core.Player

cancelReason public property

public string cancelReason
return string

pLoot public property

public PlayerLoot pLoot
return PlayerLoot