the LootMgr holds pointers to all LootGenerators at associates the correct LootGenerator with a given Mob
More...
List of all members.
Static Public Member Functions |
static bool | Init () |
| Initializes the LootMgr. This function must be called before the LootMgr can be used!
|
static void | UnRegisterLootGenerator (ILootGenerator generator, string mobname, string mobguild, string mobfaction) |
static void | UnRegisterLootGenerator (ILootGenerator generator, string mobname, string mobguild, string mobfaction, int mobregion) |
| Unregister a generator for the given parameters.
|
static void | RegisterLootGenerator (ILootGenerator generator, string mobname, string mobguild, string mobfaction, int mobregion) |
static void | RefreshGenerators (GameNPC mob) |
| Call the refresh method for each generator to update loot, if implemented.
|
static ItemTemplate[] | GetLoot (GameNPC mob, GameObject killer) |
| Returns the loot for the given Mob.
|
static IList | GetLootGenerators (GameNPC mob) |
| Returns the ILootGenerators for the given mobs.
|
Detailed Description
the LootMgr holds pointers to all LootGenerators at associates the correct LootGenerator with a given Mob
Member Function Documentation
static ItemTemplate [] DOL.GS.LootMgr.GetLoot |
( |
GameNPC |
mob, |
|
|
GameObject |
killer |
|
) |
| [static] |
Returns the loot for the given Mob.
- Parameters:
-
- Returns:
static IList DOL.GS.LootMgr.GetLootGenerators |
( |
GameNPC |
mob | ) |
[static] |
Returns the ILootGenerators for the given mobs.
- Parameters:
-
- Returns:
static bool DOL.GS.LootMgr.Init |
( |
| ) |
[static] |
Initializes the LootMgr. This function must be called before the LootMgr can be used!
static void DOL.GS.LootMgr.RefreshGenerators |
( |
GameNPC |
mob | ) |
[static] |
Call the refresh method for each generator to update loot, if implemented.
- Parameters:
-
static void DOL.GS.LootMgr.RegisterLootGenerator |
( |
ILootGenerator |
generator, |
|
|
string |
mobname, |
|
|
string |
mobguild, |
|
|
string |
mobfaction, |
|
|
int |
mobregion |
|
) |
| [static] |
Register a generator for the given parameters, If all parameters are null a global generaotr for all mobs will be registered
- Parameters:
-
generator | |
mobname | |
mobguild | |
mobfaction | |
mobregion | |
static void DOL.GS.LootMgr.UnRegisterLootGenerator |
( |
ILootGenerator |
generator, |
|
|
string |
mobname, |
|
|
string |
mobguild, |
|
|
string |
mobfaction, |
|
|
int |
mobregion |
|
) |
| [static] |
Unregister a generator for the given parameters.
- Parameters:
-
generator | |
mobname | |
mobguild | |
mobfaction | |
The documentation for this class was generated from the following file:
- C:/Users/Graveen/Documents/Dawn of Light/Svn DoL/GameServer/gameutils/LootMgr.cs