remove ParentEntity and RootParentEntity

Parent and RootParent are now IEntity properties
refactor object arguments to IEntity for parent related methods
branch and version bump to 2.6
This commit is contained in:
Mark Sturgill 2014-02-15 13:21:28 -07:00
parent 705236b923
commit 12826da7c4
24 changed files with 66 additions and 86 deletions

View file

@ -454,7 +454,7 @@ namespace Server.Items
book.m_AosSkillBonuses = new AosSkillBonuses( newItem, m_AosSkillBonuses );
}
public override void OnAdded( object parent )
public override void OnAdded(IEntity parent)
{
if ( Core.AOS && parent is Mobile )
{
@ -484,7 +484,7 @@ namespace Server.Items
}
}
public override void OnRemoved( object parent )
public override void OnRemoved(IEntity parent)
{
if ( Core.AOS && parent is Mobile )
{