Dawn of Light - Class documentation 2900
This is the Dawn of Light project
DOL.GS.RelicMgr Class Reference

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:
pad
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:
player
relic
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:
idid of relic
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:
realm
type
Returns:
static int DOL.GS.RelicMgr.GetRelicCount ( eRealm  realm,
eRelicType  type 
) [static]

get relic count by realm and relictype

Parameters:
realm
type
Returns:
static int DOL.GS.RelicMgr.GetRelicCount ( eRealm  realm) [static]

get relic count by realm

Parameters:
realm
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:
Realm
RelicType
Returns:
static IEnumerable DOL.GS.RelicMgr.getRelics ( eRealm  Realm) [static]

Returns an enumeration with all mounted Relics of an realm.

Parameters:
Realm
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:
All Classes Namespaces Functions Variables Enumerations Properties Events