ISpawner; ISpawnable, cleanup. All custom spawners should inherit from ISpawner. Also, Ridiculous, not rediculous,
This commit is contained in:
parent
2971234c1c
commit
18d1396670
17 changed files with 212 additions and 243 deletions
|
|
@ -559,7 +559,7 @@ namespace Server
|
|||
Weight = 0x80
|
||||
}
|
||||
|
||||
public class Item : IEntity, IHued, IComparable<Item>, ISerializable
|
||||
public class Item : IEntity, IHued, IComparable<Item>, ISerializable, ISpawnable
|
||||
{
|
||||
public static readonly List<Item> EmptyItems = new List<Item>();
|
||||
|
||||
|
|
@ -3438,6 +3438,7 @@ namespace Server
|
|||
return true;
|
||||
}
|
||||
|
||||
//TODO: Move to CompactInfo.
|
||||
private ISpawner m_Spawner;
|
||||
|
||||
public ISpawner Spawner{ get{ return m_Spawner; } set{ m_Spawner = value; } }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue