C# Class Server.Mobiles.Spawner

Inheritance: Item
Exibir arquivo Open project: Grimoric/RunUO.T2A Class Usage Examples

Private Properties

Property Type Description
GetAdjustedLocation int
ISpawner void
InitSpawner void
Spawner System
Spawner System
Spawner System
Spawner System

Public Methods

Method Description
BringToHome ( ) : void
Build ( Type type, string args ) : ISpawnable
CheckSpawnerFull ( ) : bool
CountCreatures ( string creatureName ) : int
Defrag ( ) : void
Deserialize ( Server.GenericReader reader ) : void
DoTimer ( ) : void
DoTimer ( System.TimeSpan delay ) : void
GetProperties ( ObjectPropertyList list ) : void
GetSpawnPosition ( ) : Server.Point3D
GetSpawnPosition ( ISpawnable spawned ) : Server.Point3D
IsValidWater ( Server.Map map, int x, int y, int z ) : bool
OnAfterDuped ( Item newItem ) : void
OnDelete ( ) : void
OnDoubleClick ( Server.Mobile from ) : void
OnSingleClick ( Server.Mobile from ) : void
OnTick ( ) : void
ParseType ( string s ) : string
RemoveSpawned ( ) : void
RemoveSpawned ( string creatureName ) : void
Respawn ( ) : void
Serialize ( GenericWriter writer ) : void
Spawn ( ) : void
Spawn ( int index ) : void
Spawn ( string creatureName ) : void
SpawnedStats ( ) : string
Spawner ( Serial serial ) : System
Spawner ( int amount, TimeSpan minDelay, TimeSpan maxDelay, int team, int homeRange, List spawnNames ) : System
Start ( ) : void
Stop ( ) : void

Protected Methods

Method Description
CreateSpawnedObject ( int index ) : ISpawnable

Private Methods

Method Description
GetAdjustedLocation ( int range, int side, int coord, int coord_this ) : int
ISpawner ( ISpawnable spawn ) : void
InitSpawner ( int amount, System.TimeSpan minDelay, System.TimeSpan maxDelay, int team, int homeRange, List spawnNames ) : void
Spawner ( ) : System
Spawner ( int amount, TimeSpan minDelay, TimeSpan maxDelay, int team, int homeRange, string spawnName ) : System
Spawner ( int amount, int minDelay, int maxDelay, int team, int homeRange, string spawnName ) : System
Spawner ( string spawnName ) : System

Method Details

BringToHome() public method

public BringToHome ( ) : void
return void

Build() public static method

public static Build ( Type type, string args ) : ISpawnable
type System.Type
args string
return ISpawnable

CheckSpawnerFull() public method

public CheckSpawnerFull ( ) : bool
return bool

CountCreatures() public method

public CountCreatures ( string creatureName ) : int
creatureName string
return int

CreateSpawnedObject() protected method

protected CreateSpawnedObject ( int index ) : ISpawnable
index int
return ISpawnable

Defrag() public method

public Defrag ( ) : void
return void

Deserialize() public method

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

DoTimer() public method

public DoTimer ( ) : void
return void

DoTimer() public method

public DoTimer ( System.TimeSpan delay ) : void
delay System.TimeSpan
return void

GetProperties() public method

public GetProperties ( ObjectPropertyList list ) : void
list Server.ObjectPropertyList
return void

GetSpawnPosition() public method

public GetSpawnPosition ( ) : Server.Point3D
return Server.Point3D

GetSpawnPosition() public method

public GetSpawnPosition ( ISpawnable spawned ) : Server.Point3D
spawned ISpawnable
return Server.Point3D

IsValidWater() public static method

public static IsValidWater ( Server.Map map, int x, int y, int z ) : bool
map Server.Map
x int
y int
z int
return bool

OnAfterDuped() public method

public OnAfterDuped ( Item newItem ) : void
newItem Item
return void

OnDelete() public method

public OnDelete ( ) : void
return void

OnDoubleClick() public method

public OnDoubleClick ( Server.Mobile from ) : void
from Server.Mobile
return void

OnSingleClick() public method

public OnSingleClick ( Server.Mobile from ) : void
from Server.Mobile
return void

OnTick() public method

public OnTick ( ) : void
return void

ParseType() public static method

public static ParseType ( string s ) : string
s string
return string

RemoveSpawned() public method

public RemoveSpawned ( ) : void
return void

RemoveSpawned() public method

public RemoveSpawned ( string creatureName ) : void
creatureName string
return void

Respawn() public method

public Respawn ( ) : void
return void

Serialize() public method

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

Spawn() public method

public Spawn ( ) : void
return void

Spawn() public method

public Spawn ( int index ) : void
index int
return void

Spawn() public method

public Spawn ( string creatureName ) : void
creatureName string
return void

SpawnedStats() public method

public SpawnedStats ( ) : string
return string

Spawner() public method

public Spawner ( Serial serial ) : System
serial Serial
return System

Spawner() public method

public Spawner ( int amount, TimeSpan minDelay, TimeSpan maxDelay, int team, int homeRange, List spawnNames ) : System
amount int
minDelay TimeSpan
maxDelay TimeSpan
team int
homeRange int
spawnNames List
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void