massive branch sync
This commit is contained in:
parent
489bbabe93
commit
b3e8ec0a08
192 changed files with 1249 additions and 1124 deletions
|
|
@ -24,18 +24,19 @@ using Server.Items;
|
|||
using Server.Network;
|
||||
using Server.ContextMenus;
|
||||
using Server.Mobiles;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class BuyItemStateComparer : IComparer
|
||||
public class BuyItemStateComparer : IComparer<BuyItemState>
|
||||
{
|
||||
public int Compare( object l, object r )
|
||||
public int Compare( BuyItemState l, BuyItemState r )
|
||||
{
|
||||
if ( l == null && r == null ) return 0;
|
||||
if ( l == null ) return -1;
|
||||
if ( r == null ) return 1;
|
||||
|
||||
return ((BuyItemState)l).MySerial.CompareTo( ((BuyItemState)r).MySerial );
|
||||
return l.MySerial.CompareTo( r.MySerial );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue