C# 클래스 Server.Engines.Craft.CraftItem

파일 보기 프로젝트 열기: Grimoric/RunUO.T2A 1 사용 예제들

공개 메소드들

메소드 설명
AddRes ( Type type, Server.TextDefinition name, int amount ) : void
AddRes ( Type type, Server.TextDefinition name, int amount, Server.TextDefinition message ) : void
AddSkill ( SkillName skillToMake, double minSkill, double maxSkill ) : void
CheckSkills ( Server.Mobile from, CraftSystem craftSystem, int &quality, bool &allRequiredSkills ) : bool
CheckSkills ( Server.Mobile from, CraftSystem craftSystem, int &quality, bool &allRequiredSkills, bool gainSkills ) : bool
CompleteCraft ( int quality, bool makersMark, Server.Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, Server.Engines.Craft.CustomCraft customCraft ) : void
ConsumeAttributes ( Server.Mobile from, object &message, bool consume ) : bool
ConsumeQuantity ( Server.Items.Container cont, Type types, int amounts ) : int
ConsumeRes ( Server.Mobile from, Type typeRes, CraftSystem craftSystem, int &resHue, int &maxAmount, ConsumeType consumeType, object &message ) : bool
ConsumeRes ( Server.Mobile from, Type typeRes, CraftSystem craftSystem, int &resHue, int &maxAmount, ConsumeType consumeType, object &message, bool isFailure ) : bool
Craft ( Server.Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool ) : void
CraftItem ( Type type, Server.TextDefinition groupName, Server.TextDefinition name ) : System
Find ( Server.Mobile from, int itemIDs ) : bool
Find ( int itemID, int itemIDs ) : bool
GetExceptionalChance ( CraftSystem system, double chance, Server.Mobile from ) : double
GetQuantity ( Server.Items.Container cont, Type types ) : int
GetSuccessChance ( Server.Mobile from, CraftSystem craftSystem, bool gainSkills, bool &allRequiredSkills ) : double
IsMarkable ( Type type ) : bool
IsQuantityType ( Type types ) : bool
ItemIDOf ( Type type ) : int
RetainsColor ( Type type ) : bool
RetainsColorFrom ( CraftSystem system, Type type ) : bool

비공개 메소드들

메소드 설명
CheckHueGrouping ( Item a, Item b ) : int
OnResourceConsumed ( Item item, int amount ) : void

메소드 상세

AddRes() 공개 메소드

public AddRes ( Type type, Server.TextDefinition name, int amount ) : void
type System.Type
name Server.TextDefinition
amount int
리턴 void

AddRes() 공개 메소드

public AddRes ( Type type, Server.TextDefinition name, int amount, Server.TextDefinition message ) : void
type System.Type
name Server.TextDefinition
amount int
message Server.TextDefinition
리턴 void

AddSkill() 공개 메소드

public AddSkill ( SkillName skillToMake, double minSkill, double maxSkill ) : void
skillToMake SkillName
minSkill double
maxSkill double
리턴 void

CheckSkills() 공개 메소드

public CheckSkills ( Server.Mobile from, CraftSystem craftSystem, int &quality, bool &allRequiredSkills ) : bool
from Server.Mobile
craftSystem CraftSystem
quality int
allRequiredSkills bool
리턴 bool

CheckSkills() 공개 메소드

public CheckSkills ( Server.Mobile from, CraftSystem craftSystem, int &quality, bool &allRequiredSkills, bool gainSkills ) : bool
from Server.Mobile
craftSystem CraftSystem
quality int
allRequiredSkills bool
gainSkills bool
리턴 bool

CompleteCraft() 공개 메소드

public CompleteCraft ( int quality, bool makersMark, Server.Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, Server.Engines.Craft.CustomCraft customCraft ) : void
quality int
makersMark bool
from Server.Mobile
craftSystem CraftSystem
typeRes System.Type
tool Server.Items.BaseTool
customCraft Server.Engines.Craft.CustomCraft
리턴 void

ConsumeAttributes() 공개 메소드

public ConsumeAttributes ( Server.Mobile from, object &message, bool consume ) : bool
from Server.Mobile
message object
consume bool
리턴 bool

ConsumeQuantity() 공개 메소드

public ConsumeQuantity ( Server.Items.Container cont, Type types, int amounts ) : int
cont Server.Items.Container
types System.Type
amounts int
리턴 int

ConsumeRes() 공개 메소드

public ConsumeRes ( Server.Mobile from, Type typeRes, CraftSystem craftSystem, int &resHue, int &maxAmount, ConsumeType consumeType, object &message ) : bool
from Server.Mobile
typeRes System.Type
craftSystem CraftSystem
resHue int
maxAmount int
consumeType ConsumeType
message object
리턴 bool

ConsumeRes() 공개 메소드

public ConsumeRes ( Server.Mobile from, Type typeRes, CraftSystem craftSystem, int &resHue, int &maxAmount, ConsumeType consumeType, object &message, bool isFailure ) : bool
from Server.Mobile
typeRes System.Type
craftSystem CraftSystem
resHue int
maxAmount int
consumeType ConsumeType
message object
isFailure bool
리턴 bool

Craft() 공개 메소드

public Craft ( Server.Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool ) : void
from Server.Mobile
craftSystem CraftSystem
typeRes System.Type
tool Server.Items.BaseTool
리턴 void

CraftItem() 공개 메소드

public CraftItem ( Type type, Server.TextDefinition groupName, Server.TextDefinition name ) : System
type System.Type
groupName Server.TextDefinition
name Server.TextDefinition
리턴 System

Find() 공개 메소드

public Find ( Server.Mobile from, int itemIDs ) : bool
from Server.Mobile
itemIDs int
리턴 bool

Find() 공개 메소드

public Find ( int itemID, int itemIDs ) : bool
itemID int
itemIDs int
리턴 bool

GetExceptionalChance() 공개 메소드

public GetExceptionalChance ( CraftSystem system, double chance, Server.Mobile from ) : double
system CraftSystem
chance double
from Server.Mobile
리턴 double

GetQuantity() 공개 메소드

public GetQuantity ( Server.Items.Container cont, Type types ) : int
cont Server.Items.Container
types System.Type
리턴 int

GetSuccessChance() 공개 메소드

public GetSuccessChance ( Server.Mobile from, CraftSystem craftSystem, bool gainSkills, bool &allRequiredSkills ) : double
from Server.Mobile
craftSystem CraftSystem
gainSkills bool
allRequiredSkills bool
리턴 double

IsMarkable() 공개 메소드

public IsMarkable ( Type type ) : bool
type System.Type
리턴 bool

IsQuantityType() 공개 메소드

public IsQuantityType ( Type types ) : bool
types System.Type
리턴 bool

ItemIDOf() 공개 정적인 메소드

public static ItemIDOf ( Type type ) : int
type System.Type
리턴 int

RetainsColor() 공개 정적인 메소드

public static RetainsColor ( Type type ) : bool
type System.Type
리턴 bool

RetainsColorFrom() 공개 메소드

public RetainsColorFrom ( CraftSystem system, Type type ) : bool
system CraftSystem
type System.Type
리턴 bool