Zusammenfassung für GameLoot.
More...
List of all members.
Public Member Functions |
| GameMoney (long copperValue) |
| Constructs a new Money bag with a value that will disappear after 2 minutes.
|
| GameMoney (long copperValue, GameObject dropper) |
| Constructs a new Money bag with a value and the position of the dropper It will disappear after 2 minutes.
|
Static Public Member Functions |
static bool | IsItemMoney (string name) |
| Checks whether the name is money item name.
|
Protected Attributes |
long | m_copperValue |
| The value of copper in this coinbag.
|
Static Protected Attributes |
static readonly string[] | NAMES = new string[]{"bag of coins", "small chest", "large chest", "some copper coins"} |
| The list of money loot names.
|
Properties |
int | Mithril [get] |
| Returns the number of mithril pieces in this bag.
|
int | Platinum [get] |
| Returns the number of platinum pieces in this bag.
|
int | Gold [get] |
| Returns the number of gold pieces in this bag.
|
int | Silver [get] |
| Returns the number of silver pieces in this bag.
|
int | Copper [get] |
| Returns the number of copper pieces in this bag.
|
long | TotalCopper [get, set] |
| Gets/Sets the total copper value of this bag.
|
Detailed Description
Zusammenfassung für GameLoot.
Constructor & Destructor Documentation
DOL.GS.GameMoney.GameMoney |
( |
long |
copperValue | ) |
|
Constructs a new Money bag with a value that will disappear after 2 minutes.
- Parameters:
-
copperValue | the coppervalue of this bag |
DOL.GS.GameMoney.GameMoney |
( |
long |
copperValue, |
|
|
GameObject |
dropper |
|
) |
| |
Constructs a new Money bag with a value and the position of the dropper It will disappear after 2 minutes.
- Parameters:
-
copperValue | the coppervalue of this bag |
dropper | the gameobject that dropped this bag |
Member Function Documentation
static bool DOL.GS.GameMoney.IsItemMoney |
( |
string |
name | ) |
[static] |
Checks whether the name is money item name.
- Parameters:
-
- Returns:
Member Data Documentation
The value of copper in this coinbag.
readonly string [] DOL.GS.GameMoney.NAMES = new string[]{"bag of coins", "small chest", "large chest", "some copper coins"} [static, protected] |
The list of money loot names.
Property Documentation
int DOL.GS.GameMoney.Copper [get] |
Returns the number of copper pieces in this bag.
int DOL.GS.GameMoney.Gold [get] |
Returns the number of gold pieces in this bag.
int DOL.GS.GameMoney.Mithril [get] |
Returns the number of mithril pieces in this bag.
int DOL.GS.GameMoney.Platinum [get] |
Returns the number of platinum pieces in this bag.
int DOL.GS.GameMoney.Silver [get] |
Returns the number of silver pieces in this bag.
long DOL.GS.GameMoney.TotalCopper [get, set] |
Gets/Sets the total copper value of this bag.
The documentation for this class was generated from the following file:
- C:/Users/Graveen/Documents/Dawn of Light/Svn DoL/GameServer/gameobjects/GameMoney.cs