C# 클래스 Pluton.Rust.Events.CraftEvent

상속: Core.Event
파일 보기 프로젝트 열기: Notulp/Pluton.Rust

공개 프로퍼티들

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

공개 메소드들

메소드 설명
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

메소드 상세

CraftEvent() 공개 메소드

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
리턴 Core

Stop() 공개 메소드

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

프로퍼티 상세

Amount 공개적으로 프로퍼티

public int Amount
리턴 int

Cancel 공개적으로 프로퍼티

public bool Cancel
리턴 bool

Crafter 공개적으로 프로퍼티

public Player,Core Crafter
리턴 Core.Player

SkinID 공개적으로 프로퍼티

public int SkinID
리턴 int

Target 공개적으로 프로퍼티

public ItemDefinition Target
리턴 ItemDefinition

bluePrint 공개적으로 프로퍼티

public ItemBlueprint bluePrint
리턴 ItemBlueprint

cancelReason 공개적으로 프로퍼티

public string cancelReason
리턴 string

itemCrafter 공개적으로 프로퍼티

public ItemCrafter itemCrafter
리턴 ItemCrafter