C# Class Pluton.Rust.Events.CraftEvent

Inheritance: Core.Event
ファイルを表示 Open project: Notulp/Pluton.Rust

Public Properties

Property Type Description
Amount int
Cancel bool
Crafter Core.Player
SkinID int
Target ItemDefinition
bluePrint ItemBlueprint
cancelReason string
itemCrafter ItemCrafter

Public Methods

Method Description
CraftEvent ( ItemCrafter itemCrafter, ItemBlueprint itemBlueprint, BasePlayer owner, ProtoBuf instanceData, int amount, int skinid ) : Core
Stop ( string reason = "A plugin stops you from crafting that!" ) : void

Method Details

CraftEvent() public method

public CraftEvent ( ItemCrafter itemCrafter, ItemBlueprint itemBlueprint, BasePlayer owner, ProtoBuf instanceData, int amount, int skinid ) : Core
itemCrafter ItemCrafter
itemBlueprint ItemBlueprint
owner BasePlayer
instanceData ProtoBuf
amount int
skinid int
return Core

Stop() public method

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

Property Details

Amount public_oe property

public int Amount
return int

Cancel public_oe property

public bool Cancel
return bool

Crafter public_oe property

public Player,Core Crafter
return Core.Player

SkinID public_oe property

public int SkinID
return int

Target public_oe property

public ItemDefinition Target
return ItemDefinition

bluePrint public_oe property

public ItemBlueprint bluePrint
return ItemBlueprint

cancelReason public_oe property

public string cancelReason
return string

itemCrafter public_oe property

public ItemCrafter itemCrafter
return ItemCrafter