C# Class Pluton.Rust.Events.LootEvent

Inheritance: Core.Event
ファイルを表示 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_oe property

public bool Cancel
return bool

Looter public_oe property

public Player,Core Looter
return Core.Player

cancelReason public_oe property

public string cancelReason
return string

pLoot public_oe property

public PlayerLoot pLoot
return PlayerLoot