C# Class Server.Regions.SpawnEntry

Inheritance: ISpawner
Afficher le fichier Open project: Grimoric/RunUO.T2A Class Usage Examples

Méthodes publiques

Свойство Type Description
DefaultMaxSpawnTime System.TimeSpan
DefaultMinSpawnTime System.TimeSpan
InvalidDirection Direction

Méthodes publiques

Méthode Description
Delete ( ) : void
DeleteSpawnedObjects ( ) : void
Deserialize ( GenericReader reader ) : void
Initialize ( ) : void
RandomSpawnLocation ( int spawnHeight, bool land, bool water ) : Point3D
Remove ( GenericReader reader ) : void
Respawn ( ) : void
Serialize ( GenericWriter writer ) : void
SpawnEntry ( int id, BaseRegion region, Point3D home, int range, Direction direction, Server.Regions.SpawnDefinition definition, int max, System.TimeSpan minSpawnTime, System.TimeSpan maxSpawnTime ) : System
Start ( ) : void
Stop ( ) : void

Private Methods

Méthode Description
Add ( ISpawnable spawn ) : void
CheckTimer ( ) : void
DelAllRegionSpawns_OnCommand ( Server.Commands.CommandEventArgs args ) : void
DelRegionSpawns_OnCommand ( Server.Commands.CommandEventArgs args ) : void
GetCommandData ( Server.Commands.CommandEventArgs args ) : BaseRegion
ISpawner ( ISpawnable spawn ) : void
InternalDeleteSpawnedObjects ( ) : void
RandomTime ( ) : System.TimeSpan
RespawnAllRegions_OnCommand ( Server.Commands.CommandEventArgs args ) : void
RespawnRegion_OnCommand ( Server.Commands.CommandEventArgs args ) : void
Spawn ( ) : void
StartAllRegionSpawns_OnCommand ( Server.Commands.CommandEventArgs args ) : void
StartRegionSpawns_OnCommand ( Server.Commands.CommandEventArgs args ) : void
StopAllRegionSpawns_OnCommand ( Server.Commands.CommandEventArgs args ) : void
StopRegionSpawns_OnCommand ( Server.Commands.CommandEventArgs args ) : void
TimerCallback ( ) : void

Method Details

Delete() public méthode

public Delete ( ) : void
Résultat void

DeleteSpawnedObjects() public méthode

public DeleteSpawnedObjects ( ) : void
Résultat void

Deserialize() public méthode

public Deserialize ( GenericReader reader ) : void
reader GenericReader
Résultat void

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void

RandomSpawnLocation() public méthode

public RandomSpawnLocation ( int spawnHeight, bool land, bool water ) : Point3D
spawnHeight int
land bool
water bool
Résultat Point3D

Remove() public static méthode

public static Remove ( GenericReader reader ) : void
reader GenericReader
Résultat void

Respawn() public méthode

public Respawn ( ) : void
Résultat void

Serialize() public méthode

public Serialize ( GenericWriter writer ) : void
writer GenericWriter
Résultat void

SpawnEntry() public méthode

public SpawnEntry ( int id, BaseRegion region, Point3D home, int range, Direction direction, Server.Regions.SpawnDefinition definition, int max, System.TimeSpan minSpawnTime, System.TimeSpan maxSpawnTime ) : System
id int
region BaseRegion
home Point3D
range int
direction Direction
definition Server.Regions.SpawnDefinition
max int
minSpawnTime System.TimeSpan
maxSpawnTime System.TimeSpan
Résultat System

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Property Details

DefaultMaxSpawnTime public_oe static_oe property

public static TimeSpan,System DefaultMaxSpawnTime
Résultat System.TimeSpan

DefaultMinSpawnTime public_oe static_oe property

public static TimeSpan,System DefaultMinSpawnTime
Résultat System.TimeSpan

InvalidDirection public_oe static_oe property

public static Direction InvalidDirection
Résultat Direction