C# Class Server.Regions.SpawnEntry

Inheritance: ISpawner
Mostra file Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Properties

Property Type Description
DefaultMaxSpawnTime System.TimeSpan
DefaultMinSpawnTime System.TimeSpan
InvalidDirection Direction

Public Methods

Method 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

Method 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 method

public Delete ( ) : void
return void

DeleteSpawnedObjects() public method

public DeleteSpawnedObjects ( ) : void
return void

Deserialize() public method

public Deserialize ( GenericReader reader ) : void
reader GenericReader
return void

Initialize() public static method

public static Initialize ( ) : void
return void

RandomSpawnLocation() public method

public RandomSpawnLocation ( int spawnHeight, bool land, bool water ) : Point3D
spawnHeight int
land bool
water bool
return Point3D

Remove() public static method

public static Remove ( GenericReader reader ) : void
reader GenericReader
return void

Respawn() public method

public Respawn ( ) : void
return void

Serialize() public method

public Serialize ( GenericWriter writer ) : void
writer GenericWriter
return void

SpawnEntry() public method

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
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

DefaultMaxSpawnTime public_oe static_oe property

public static TimeSpan,System DefaultMaxSpawnTime
return System.TimeSpan

DefaultMinSpawnTime public_oe static_oe property

public static TimeSpan,System DefaultMinSpawnTime
return System.TimeSpan

InvalidDirection public_oe static_oe property

public static Direction InvalidDirection
return Direction