C# Class Aura.Channel.World.SpawnManager

Afficher le fichier Open project: aura-project/aura

Méthodes publiques

Méthode Description
Add ( CreatureSpawner spawner ) : void

Adds spawner to manager.

Clear ( ) : void

Disposes and removes all spawners.

Get ( int spawnerId ) : CreatureSpawner

Returns spawn with given id or null if it doesn't exist.

Spawn ( int raceId, int regionId, int x, int y, bool active, bool effect ) : NPC

Spawns a creature.

SpawnAll ( ) : void

Calls Spawn on all of the manager's spawners.

SpawnManager ( ) : Aura.Channel.Network.Sending

Creates new spawn manager.

Method Details

Add() public méthode

Adds spawner to manager.
public Add ( CreatureSpawner spawner ) : void
spawner CreatureSpawner
Résultat void

Clear() public méthode

Disposes and removes all spawners.
public Clear ( ) : void
Résultat void

Get() public méthode

Returns spawn with given id or null if it doesn't exist.
public Get ( int spawnerId ) : CreatureSpawner
spawnerId int
Résultat CreatureSpawner

Spawn() public méthode

Spawns a creature.
public Spawn ( int raceId, int regionId, int x, int y, bool active, bool effect ) : NPC
raceId int
regionId int
x int
y int
active bool
effect bool
Résultat Aura.Channel.World.Entities.NPC

SpawnAll() public méthode

Calls Spawn on all of the manager's spawners.
public SpawnAll ( ) : void
Résultat void

SpawnManager() public méthode

Creates new spawn manager.
public SpawnManager ( ) : Aura.Channel.Network.Sending
Résultat Aura.Channel.Network.Sending