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

List of all members.

Static Public Member Functions

static void OnScriptCompiled (DOLEvent e, object sender, EventArgs args)
static bool Init ()
 Inits the Minotaurrelics.
static void InitMapUpdate ()
static void StopMapUpdate ()
static bool AddRelic (MinotaurRelic relic)
 Adds a Relic to the Hashtable.
static bool RemoveRelic (MinotaurRelic relic)
 Removes a Relic from the Hashtable.
static int GetRelicCount ()
static IList< MinotaurRelicGetAllRelics ()
static MinotaurRelic GetRelic (string ID)
 Returns the Relic with the given ID.
static MinotaurRelic GetRelic (int ID)

Public Attributes

const double MAX_RELIC_EXP = 3750
 Holds the maximum XP of Minotaur Relics.
const int MIN_RESPAWN_TIMER = 300000
 Holds the minimum respawntime.
const int MAX_RESPAWN_TIMER = 1800000
 Holds the maximum respawntime.
const double XP_LOSS_PER_TICK = 10
 Holds the Value which is removed from the XP per tick.

Static Public Attributes

static readonly Dictionary
< string, MinotaurRelic
m_minotaurrelics = new Dictionary<string, MinotaurRelic>()
 table of all relics, InternalID as key

Member Function Documentation

static bool DOL.GS.MinotaurRelicManager.AddRelic ( MinotaurRelic  relic) [static]

Adds a Relic to the Hashtable.

Parameters:
relicThe Relic you want to add
static MinotaurRelic DOL.GS.MinotaurRelicManager.GetRelic ( string  ID) [static]

Returns the Relic with the given ID.

Parameters:
IDThe Internal ID of the Relic
static bool DOL.GS.MinotaurRelicManager.Init ( ) [static]

Inits the Minotaurrelics.

static bool DOL.GS.MinotaurRelicManager.RemoveRelic ( MinotaurRelic  relic) [static]

Removes a Relic from the Hashtable.

Parameters:
relicThe Relic you want to remove

Member Data Documentation

readonly Dictionary<string, MinotaurRelic> DOL.GS.MinotaurRelicManager.m_minotaurrelics = new Dictionary<string, MinotaurRelic>() [static]

table of all relics, InternalID as key

Holds the maximum XP of Minotaur Relics.

Holds the maximum respawntime.

Holds the minimum respawntime.

Holds the Value which is removed from the XP per tick.


The documentation for this class was generated from the following file:
All Classes Namespaces Functions Variables Enumerations Properties Events