Planeshift
Classes | Functions

spawnmanager.h File Reference

#include <csgeom/vector3.h>
#include <csutil/hash.h>
#include "util/gameevent.h"
#include "msgmanager.h"
#include "lootrandomizer.h"

Go to the source code of this file.

Classes

struct  LootEntry
 This class holds one loot possibility for a killed npc. More...
class  LootEntrySet
 This class stores an array of LootEntry and calculates required loot on a newly dead mob. More...
class  psDespawnGameEvent
 When an NPC or mob is killed in the spawn manager, its respawn event is immediately created and added to the schedule to be triggered at the appropriate time. More...
class  psItemSpawnEvent
class  psRespawnGameEvent
 When an NPC or mob is killed in the spawn manager, its respawn event is immediately created and added to the schedule to be triggered at the appropriate time. More...
class  SpawnManager
 This class is periodically called by the engine to ensure that monsters (and other NPCs) are respawned appropriately. More...
class  SpawnRange
 This class is used to store respawn ranges for NPCs. More...
class  SpawnRule
 This class is used to store respawn rules for NPCs. More...

Functions

void handleGroupLootItem (psItem *item, gemActor *obj, Client *client, CacheManager *cacheManager, GEMSupervisor *gem, uint8_t lootAction=0)
 Handles looting of an item, whether there is a group or not.