C# 클래스 Pluton.Events.CraftEvent

상속: CountedInstance
파일 보기 프로젝트 열기: Notulp/Pluton 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Amount int
Cancel bool
Crafter Player
SkinID int
Target ItemDefinition
bluePrint ItemBlueprint
cancelReason string
itemCrafter ItemCrafter

공개 메소드들

메소드 설명
CraftEvent ( ItemCrafter self, ItemBlueprint bp, BasePlayer owner, ProtoBuf instanceData, int amount, int skinid )
Stop ( string reason = "A plugin stops you from crafting that!" ) : void

메소드 상세

CraftEvent() 공개 메소드

public CraftEvent ( ItemCrafter self, ItemBlueprint bp, BasePlayer owner, ProtoBuf instanceData, int amount, int skinid )
self ItemCrafter
bp ItemBlueprint
owner BasePlayer
instanceData ProtoBuf
amount int
skinid int

Stop() 공개 메소드

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

프로퍼티 상세

Amount 공개적으로 프로퍼티

Amount of crafting item.
public int Amount
리턴 int

Cancel 공개적으로 프로퍼티

Cancels teh event.
public bool Cancel
리턴 bool

Crafter 공개적으로 프로퍼티

The Player who started crafting.
public Player Crafter
리턴 Player

SkinID 공개적으로 프로퍼티

public int SkinID
리턴 int

Target 공개적으로 프로퍼티

Item.Definition of the target item.
public ItemDefinition Target
리턴 ItemDefinition

bluePrint 공개적으로 프로퍼티

The blueprint.
public ItemBlueprint bluePrint
리턴 ItemBlueprint

cancelReason 공개적으로 프로퍼티

Notify the Crafter about the action.
public string cancelReason
리턴 string

itemCrafter 공개적으로 프로퍼티

The ItemCrafter object.
public ItemCrafter itemCrafter
리턴 ItemCrafter