C# Class SWLOR.Game.Server.Service.CraftService

Inheritance: ICraftService
Show file Open project: zunath/SWLOR_NWN Class Usage Examples

Public Methods

Method Description
BuildBlueprintHeader ( NWPlayer player, bool showAddedComponentList ) : string
CalculateAreaAtmosphereBonus ( NWArea area ) : int
CalculateCraftingDelay ( NWPlayer oPC, int skillID ) : float
CalculateDifficultyDescription ( int pcLevel, int blueprintLevel ) : string
CalculatePCEffectiveLevel ( NWPlayer player, int skillRank, SkillType skill ) : int
CalculateReassemblyChance ( NWPlayer player, int penalty ) : int
CanHandleChat ( NWObject sender ) : bool
ClearPlayerCraftingData ( NWPlayer player, bool destroyComponents = false ) : void
CraftItem ( NWPlayer oPC, NWPlaceable device ) : void
GetAreaAtmosphereBonusText ( NWArea area ) : string
GetBlueprintByID ( int craftBlueprintID ) : CraftBlueprint
GetCategoriesAvailableToPC ( Guid playerID ) : List
GetCategoriesAvailableToPCByDeviceID ( Guid playerID, int deviceID ) : List
GetIngotLevel ( string oreResref ) : int
GetIngotPerkLevel ( string oreResref ) : int
GetIngotResref ( string oreResref ) : string
GetPCBlueprintsByCategoryID ( Guid playerID, int categoryID ) : List
GetPCBlueprintsByDeviceAndCategoryID ( Guid playerID, int deviceID, int categoryID ) : List
GetPlayerCraftingData ( NWPlayer player ) : PCCraftingData
SubscribeEvents ( ) : void

Private Methods

Method Description
GetCraftBlueprintsAvailableToPlayer ( Guid playerID ) : List
OnAreaEnter ( ) : void
OnModuleNWNXChat ( ) : void
OnModuleUseFeat ( ) : void

Method Details

BuildBlueprintHeader() public static method

public static BuildBlueprintHeader ( NWPlayer player, bool showAddedComponentList ) : string
player NWPlayer
showAddedComponentList bool
return string

CalculateAreaAtmosphereBonus() public static method

public static CalculateAreaAtmosphereBonus ( NWArea area ) : int
area NWArea
return int

CalculateCraftingDelay() public static method

public static CalculateCraftingDelay ( NWPlayer oPC, int skillID ) : float
oPC NWPlayer
skillID int
return float

CalculateDifficultyDescription() public static method

public static CalculateDifficultyDescription ( int pcLevel, int blueprintLevel ) : string
pcLevel int
blueprintLevel int
return string

CalculatePCEffectiveLevel() public static method

public static CalculatePCEffectiveLevel ( NWPlayer player, int skillRank, SkillType skill ) : int
player NWPlayer
skillRank int
skill SkillType
return int

CalculateReassemblyChance() public static method

public static CalculateReassemblyChance ( NWPlayer player, int penalty ) : int
player NWPlayer
penalty int
return int

CanHandleChat() public static method

public static CanHandleChat ( NWObject sender ) : bool
sender NWObject
return bool

ClearPlayerCraftingData() public static method

public static ClearPlayerCraftingData ( NWPlayer player, bool destroyComponents = false ) : void
player NWPlayer
destroyComponents bool
return void

CraftItem() public static method

public static CraftItem ( NWPlayer oPC, NWPlaceable device ) : void
oPC NWPlayer
device NWPlaceable
return void

GetAreaAtmosphereBonusText() public static method

public static GetAreaAtmosphereBonusText ( NWArea area ) : string
area NWArea
return string

GetBlueprintByID() public static method

public static GetBlueprintByID ( int craftBlueprintID ) : CraftBlueprint
craftBlueprintID int
return CraftBlueprint

GetCategoriesAvailableToPC() public static method

public static GetCategoriesAvailableToPC ( Guid playerID ) : List
playerID Guid
return List

GetCategoriesAvailableToPCByDeviceID() public static method

public static GetCategoriesAvailableToPCByDeviceID ( Guid playerID, int deviceID ) : List
playerID Guid
deviceID int
return List

GetIngotLevel() public static method

public static GetIngotLevel ( string oreResref ) : int
oreResref string
return int

GetIngotPerkLevel() public static method

public static GetIngotPerkLevel ( string oreResref ) : int
oreResref string
return int

GetIngotResref() public static method

public static GetIngotResref ( string oreResref ) : string
oreResref string
return string

GetPCBlueprintsByCategoryID() public static method

public static GetPCBlueprintsByCategoryID ( Guid playerID, int categoryID ) : List
playerID Guid
categoryID int
return List

GetPCBlueprintsByDeviceAndCategoryID() public static method

public static GetPCBlueprintsByDeviceAndCategoryID ( Guid playerID, int deviceID, int categoryID ) : List
playerID Guid
deviceID int
categoryID int
return List

GetPlayerCraftingData() public static method

public static GetPlayerCraftingData ( NWPlayer player ) : PCCraftingData
player NWPlayer
return PCCraftingData

SubscribeEvents() public static method

public static SubscribeEvents ( ) : void
return void