C# Class Server.Mobiles.IntelliSpawner

Inheritance: Item, ISpawner
Show file Open project: felladrin/last-wish Class Usage Examples

Private Properties

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

Public Methods

Method Description
BringToHome ( ) : void
Build ( Type type, string args ) : ISpawnable
CheckSpawnerFull ( ) : bool
CountCreatures ( string creatureName ) : int
Defrag ( ) : void
Deserialize ( GenericReader reader ) : void
DoTimer ( ) : void
DoTimer ( System.TimeSpan delay ) : void
GetProperties ( ObjectPropertyList list ) : void
GetSpawnPosition ( ) : Point3D
GetSpawnPosition ( ISpawnable spawned ) : Point3D
Initialize ( ) : void
IntelliSpawner ( Serial serial ) : System
IntelliSpawner ( int amount, System.TimeSpan minDelay, System.TimeSpan maxDelay, int team, int homeRange, List spawnNames ) : System
IsValidWater ( Map map, int x, int y, int z ) : bool
OnAfterDuped ( Item newItem ) : void
OnDelete ( ) : void
OnDoubleClick ( Mobile from ) : void
OnMovement ( Mobile m, Point3D oldLocation ) : void
OnSingleClick ( 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
Start ( ) : void
Stop ( ) : void
ValidTrigger ( Mobile m ) : bool

Protected Methods

Method Description
CreateSpawnedObject ( int index ) : ISpawnable

Private Methods

Method Description
GetAdjustedLocation ( int range, int side, int coord, int coordThis ) : int
ISpawner ( ISpawnable spawn ) : void
InitSpawner ( int amount, System.TimeSpan minDelay, System.TimeSpan maxDelay, int team, int homeRange, List spawnNames ) : void
IntelliSpawner ( ) : System
IntelliSpawner ( int amount, System.TimeSpan minDelay, System.TimeSpan maxDelay, int team, int homeRange, string spawnName ) : System
IntelliSpawner ( int amount, int minDelay, int maxDelay, int team, int homeRange, string spawnName ) : System
IntelliSpawner ( 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 ( GenericReader reader ) : void
reader 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 ObjectPropertyList
return void

GetSpawnPosition() public method

public GetSpawnPosition ( ) : Point3D
return Point3D

GetSpawnPosition() public method

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

Initialize() public static method

public static Initialize ( ) : void
return void

IntelliSpawner() public method

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

IntelliSpawner() public method

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

IsValidWater() public static method

public static IsValidWater ( Map map, int x, int y, int z ) : bool
map 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 ( Mobile from ) : void
from Mobile
return void

OnMovement() public method

public OnMovement ( Mobile m, Point3D oldLocation ) : void
m Mobile
oldLocation Point3D
return void

OnSingleClick() public method

public OnSingleClick ( Mobile from ) : void
from 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

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

ValidTrigger() public method

public ValidTrigger ( Mobile m ) : bool
m Mobile
return bool