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

Inheritance: ICraftService
Afficher le fichier Open project: zunath/SWLOR_NWN Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetCraftBlueprintsAvailableToPlayer ( Guid playerID ) : List
OnAreaEnter ( ) : void
OnModuleNWNXChat ( ) : void
OnModuleUseFeat ( ) : void

Method Details

BuildBlueprintHeader() public static méthode

public static BuildBlueprintHeader ( NWPlayer player, bool showAddedComponentList ) : string
player NWPlayer
showAddedComponentList bool
Résultat string

CalculateAreaAtmosphereBonus() public static méthode

public static CalculateAreaAtmosphereBonus ( NWArea area ) : int
area NWArea
Résultat int

CalculateCraftingDelay() public static méthode

public static CalculateCraftingDelay ( NWPlayer oPC, int skillID ) : float
oPC NWPlayer
skillID int
Résultat float

CalculateDifficultyDescription() public static méthode

public static CalculateDifficultyDescription ( int pcLevel, int blueprintLevel ) : string
pcLevel int
blueprintLevel int
Résultat string

CalculatePCEffectiveLevel() public static méthode

public static CalculatePCEffectiveLevel ( NWPlayer player, int skillRank, SkillType skill ) : int
player NWPlayer
skillRank int
skill SkillType
Résultat int

CalculateReassemblyChance() public static méthode

public static CalculateReassemblyChance ( NWPlayer player, int penalty ) : int
player NWPlayer
penalty int
Résultat int

CanHandleChat() public static méthode

public static CanHandleChat ( NWObject sender ) : bool
sender NWObject
Résultat bool

ClearPlayerCraftingData() public static méthode

public static ClearPlayerCraftingData ( NWPlayer player, bool destroyComponents = false ) : void
player NWPlayer
destroyComponents bool
Résultat void

CraftItem() public static méthode

public static CraftItem ( NWPlayer oPC, NWPlaceable device ) : void
oPC NWPlayer
device NWPlaceable
Résultat void

GetAreaAtmosphereBonusText() public static méthode

public static GetAreaAtmosphereBonusText ( NWArea area ) : string
area NWArea
Résultat string

GetBlueprintByID() public static méthode

public static GetBlueprintByID ( int craftBlueprintID ) : CraftBlueprint
craftBlueprintID int
Résultat CraftBlueprint

GetCategoriesAvailableToPC() public static méthode

public static GetCategoriesAvailableToPC ( Guid playerID ) : List
playerID Guid
Résultat List

GetCategoriesAvailableToPCByDeviceID() public static méthode

public static GetCategoriesAvailableToPCByDeviceID ( Guid playerID, int deviceID ) : List
playerID Guid
deviceID int
Résultat List

GetIngotLevel() public static méthode

public static GetIngotLevel ( string oreResref ) : int
oreResref string
Résultat int

GetIngotPerkLevel() public static méthode

public static GetIngotPerkLevel ( string oreResref ) : int
oreResref string
Résultat int

GetIngotResref() public static méthode

public static GetIngotResref ( string oreResref ) : string
oreResref string
Résultat string

GetPCBlueprintsByCategoryID() public static méthode

public static GetPCBlueprintsByCategoryID ( Guid playerID, int categoryID ) : List
playerID Guid
categoryID int
Résultat List

GetPCBlueprintsByDeviceAndCategoryID() public static méthode

public static GetPCBlueprintsByDeviceAndCategoryID ( Guid playerID, int deviceID, int categoryID ) : List
playerID Guid
deviceID int
categoryID int
Résultat List

GetPlayerCraftingData() public static méthode

public static GetPlayerCraftingData ( NWPlayer player ) : PCCraftingData
player NWPlayer
Résultat PCCraftingData

SubscribeEvents() public static méthode

public static SubscribeEvents ( ) : void
Résultat void