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:
parent
705236b923
commit
12826da7c4
24 changed files with 66 additions and 86 deletions
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue