CEL

Public API Reference

iLootManager Struct Reference

The Loot Manager This plugin is responsible for maintaining loot generation. More...

#include <tools/loot.h>

Inheritance diagram for iLootManager:

List of all members.

Public Member Functions

virtual iLootPackageCreateLootPackage (const char *name)=0
 Create a new loot package.
virtual iLootSelectorCreateLootSelector (const char *name)=0
 Create a new loot selector.
virtual iLootGeneratorFindLootGenerator (const char *name) const =0
 Find a loot generator by name.
virtual void RemoveLootPackage (iLootPackage *package)=0
 Remove a loot package.
virtual void RemoveLootSelector (iLootSelector *selector)=0
 Remove a loot selector.

Detailed Description

The Loot Manager This plugin is responsible for maintaining loot generation.

Definition at line 146 of file loot.h.


Member Function Documentation

virtual iLootPackage* iLootManager::CreateLootPackage ( const char *  name  )  [pure virtual]

Create a new loot package.

virtual iLootSelector* iLootManager::CreateLootSelector ( const char *  name  )  [pure virtual]

Create a new loot selector.

virtual iLootGenerator* iLootManager::FindLootGenerator ( const char *  name  )  const [pure virtual]

Find a loot generator by name.

This will look in both the loot packages as in the loot selectors so it is preferable that the names of packages and selectors are unique.

virtual void iLootManager::RemoveLootPackage ( iLootPackage package  )  [pure virtual]

Remove a loot package.

Note that if this loot package is still in use by other loot selectors or in inventories then the package will not be deleted but it will no longer be available for later.

virtual void iLootManager::RemoveLootSelector ( iLootSelector selector  )  [pure virtual]

Remove a loot selector.

Note that if this loot selector is still in use by other loot selectors or in inventories then the selector will not be deleted but it will no longer be available for later.


The documentation for this struct was generated from the following file:

Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1