![]() |
Dawn of Light - Class documentation 2900
This is the Dawn of Light project
|
The class holding all repair functions. More...
Static Public Member Functions | |
| static int | BeginWork (GamePlayer player, InventoryItem item) |
| Called when player try to use a secondary crafting skill. | |
| static bool | IsAllowedToBeginWork (GamePlayer player, InventoryItem item, int percentNeeded) |
| Check if the player own can enchant the item. | |
| static int | BeginWork (GamePlayer player, GameSiegeWeapon siegeWeapon) |
| Called when player try to use a secondary crafting skill. | |
| static bool | IsAllowedToBeginWork (GamePlayer player, GameSiegeWeapon siegeWeapon, int percentNeeded) |
| Check if the player own can enchant the item. | |
Static Protected Member Functions | |
| static int | Proceed (RegionTimer timer) |
| Called when craft time is finished. | |
| static int | GetRepairTime (GamePlayer player, InventoryItem item) |
| Calculate crafting time. | |
| static int | CalculateSuccessChances (GamePlayer player, InventoryItem item) |
| Calculate the chance of sucess. | |
| static int | ProceedSiegeWeapon (RegionTimer timer) |
| Called when craft time is finished. | |
| static int | GetRepairTime (GamePlayer player, GameSiegeWeapon siegeWeapon) |
| Calculate crafting time. | |
| static int | CalculateSuccessChances (GamePlayer player, GameSiegeWeapon siegeWeapon) |
| Calculate the chance of sucess. | |
Protected Attributes | |
| const string | PLAYER_PARTNER = "PLAYER_PARTNER" |
| The player currently crafting. | |
Static Protected Attributes | |
| static readonly ILog | log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType) |
| Defines a logger for this class. | |
The class holding all repair functions.
| static int DOL.GS.Repair.BeginWork | ( | GamePlayer | player, |
| InventoryItem | item | ||
| ) | [static] |
Called when player try to use a secondary crafting skill.
| item | |
| player |
| static int DOL.GS.Repair.BeginWork | ( | GamePlayer | player, |
| GameSiegeWeapon | siegeWeapon | ||
| ) | [static] |
Called when player try to use a secondary crafting skill.
| siegeWeapon | |
| player |
| static int DOL.GS.Repair.CalculateSuccessChances | ( | GamePlayer | player, |
| InventoryItem | item | ||
| ) | [static, protected] |
Calculate the chance of sucess.
| static int DOL.GS.Repair.CalculateSuccessChances | ( | GamePlayer | player, |
| GameSiegeWeapon | siegeWeapon | ||
| ) | [static, protected] |
Calculate the chance of sucess.
| static int DOL.GS.Repair.GetRepairTime | ( | GamePlayer | player, |
| GameSiegeWeapon | siegeWeapon | ||
| ) | [static, protected] |
Calculate crafting time.
| static int DOL.GS.Repair.GetRepairTime | ( | GamePlayer | player, |
| InventoryItem | item | ||
| ) | [static, protected] |
Calculate crafting time.
| static bool DOL.GS.Repair.IsAllowedToBeginWork | ( | GamePlayer | player, |
| GameSiegeWeapon | siegeWeapon, | ||
| int | percentNeeded | ||
| ) | [static] |
Check if the player own can enchant the item.
| player | |
| siegeWeapon | |
| percentNeeded | min 50 max 100 |
| static bool DOL.GS.Repair.IsAllowedToBeginWork | ( | GamePlayer | player, |
| InventoryItem | item, | ||
| int | percentNeeded | ||
| ) | [static] |
Check if the player own can enchant the item.
| player | |
| item | |
| percentNeeded | min 50 max 100 |
| static int DOL.GS.Repair.Proceed | ( | RegionTimer | timer | ) | [static, protected] |
Called when craft time is finished.
| timer |
| static int DOL.GS.Repair.ProceedSiegeWeapon | ( | RegionTimer | timer | ) | [static, protected] |
Called when craft time is finished.
| timer |
readonly ILog DOL.GS.Repair.log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType) [static, protected] |
Defines a logger for this class.
const string DOL.GS.Repair.PLAYER_PARTNER = "PLAYER_PARTNER" [protected] |
The player currently crafting.