Cleanup Expansions

WorldPacketSA should not be used yet. There is much more work to be done and that version has not been looked at in quite some time.
This commit is contained in:
mark 2010-06-17 07:11:43 +00:00
parent 01eee98298
commit 177eb4c6ff
26 changed files with 388 additions and 204 deletions

View file

@ -155,6 +155,26 @@ namespace Server
set { m_Expansion = value; }
}
public static bool T2A
{
get { return m_Expansion >= Expansion.T2A; }
}
public static bool UOR
{
get { return m_Expansion >= Expansion.UOR; }
}
public static bool UOTD
{
get { return m_Expansion >= Expansion.UOTD; }
}
public static bool LBR
{
get { return m_Expansion >= Expansion.LBR; }
}
public static bool AOS
{
get { return m_Expansion >= Expansion.AOS; }
@ -170,6 +190,11 @@ namespace Server
get { return m_Expansion >= Expansion.ML; }
}
public static bool SA
{
get { return m_Expansion >= Expansion.SA; }
}
#endregion
public static string ExePath