RelicManager The manager that keeps track of the relics.
More...
List of all members.
Static Public Member Functions |
static bool | Init () |
| load all relics from DB
|
static void | AddRelicPad (GameRelicPad pad) |
| This is called when the GameRelicPads are added to world.
|
static GameRelic | getRelic (int id) |
| get relic by ID
|
static IList | getNFRelics () |
static IEnumerable | getRelics (eRealm Realm) |
| Returns an enumeration with all mounted Relics of an realm.
|
static IEnumerable | getRelics (eRealm Realm, eRelicType RelicType) |
| Returns an enumeration with all mounted Relics of an realm by a specified RelicType.
|
static int | GetRelicCount (eRealm realm) |
| get relic count by realm
|
static int | GetRelicCount (eRealm realm, eRelicType type) |
static double | GetRelicBonusModifier (eRealm realm, eRelicType type) |
| Gets the bonus modifier for a realm/relictype.
|
static bool | CanPickupRelicFromShrine (GamePlayer player, GameRelic relic) |
| Returns if a player is allowed to pick up a mounted relic (depends if they own their own relic of the same type)
|
static Hashtable | GetAllRelics () |
| Gets a copy of the current relics table, keyvalue is the relicId.
|
Detailed Description
RelicManager The manager that keeps track of the relics.
Member Function Documentation
static void DOL.GS.RelicMgr.AddRelicPad |
( |
GameRelicPad |
pad | ) |
[static] |
This is called when the GameRelicPads are added to world.
- Parameters:
-
static bool DOL.GS.RelicMgr.CanPickupRelicFromShrine |
( |
GamePlayer |
player, |
|
|
GameRelic |
relic |
|
) |
| [static] |
Returns if a player is allowed to pick up a mounted relic (depends if they own their own relic of the same type)
- Parameters:
-
- Returns:
static Hashtable DOL.GS.RelicMgr.GetAllRelics |
( |
| ) |
[static] |
Gets a copy of the current relics table, keyvalue is the relicId.
- Returns:
static GameRelic DOL.GS.RelicMgr.getRelic |
( |
int |
id | ) |
[static] |
get relic by ID
- Parameters:
-
- Returns:
- Relic object with relicid = id
static double DOL.GS.RelicMgr.GetRelicBonusModifier |
( |
eRealm |
realm, |
|
|
eRelicType |
type |
|
) |
| [static] |
Gets the bonus modifier for a realm/relictype.
- Parameters:
-
- Returns:
static int DOL.GS.RelicMgr.GetRelicCount |
( |
eRealm |
realm, |
|
|
eRelicType |
type |
|
) |
| [static] |
get relic count by realm and relictype
- Parameters:
-
- Returns:
static int DOL.GS.RelicMgr.GetRelicCount |
( |
eRealm |
realm | ) |
[static] |
get relic count by realm
- Parameters:
-
- Returns:
static IEnumerable DOL.GS.RelicMgr.getRelics |
( |
eRealm |
Realm, |
|
|
eRelicType |
RelicType |
|
) |
| [static] |
Returns an enumeration with all mounted Relics of an realm by a specified RelicType.
- Parameters:
-
- Returns:
static IEnumerable DOL.GS.RelicMgr.getRelics |
( |
eRealm |
Realm | ) |
[static] |
Returns an enumeration with all mounted Relics of an realm.
- Parameters:
-
- Returns:
static bool DOL.GS.RelicMgr.Init |
( |
| ) |
[static] |
load all relics from DB
- Returns:
The documentation for this class was generated from the following file:
- C:/Users/Graveen/Documents/Dawn of Light/Svn DoL/GameServer/keeps/Managers/RelicMgr.cs