Esempio n. 1
0
 internal override int CompareTo(AbstractBuffEvent abe)
 {
     if (abe is BuffRemoveAllEvent)
     {
         return(0);
     }
     return(1);
 }
 internal override int CompareTo(AbstractBuffEvent abe)
 {
     if (abe is BuffStackActiveEvent)
     {
         return(0);
     }
     return(1);
 }
 internal override int CompareTo(AbstractBuffEvent abe)
 {
     if (abe is BuffApplyEvent && !(abe is BuffExtensionEvent))
     {
         return(0);
     }
     return(-1);
 }
Esempio n. 4
0
 internal override int CompareTo(AbstractBuffEvent abe)
 {
     if (abe is BuffStackActiveEvent || abe is BuffApplyEvent)
     {
         return(1);
     }
     if (abe is BuffStackResetEvent)
     {
         return(0);
     }
     return(-1);
 }
 internal override int CompareTo(AbstractBuffEvent abe)
 {
     if (abe is AbstractBuffApplyEvent)
     {
         return(1);
     }
     if (abe is AbstractBuffStackEvent)
     {
         return(0);
     }
     return(-1);
 }
 internal override int CompareTo(AbstractBuffEvent abe)
 {
     if (abe is BuffRemoveSingleEvent)
     {
         return(0);
     }
     if (abe is BuffRemoveAllEvent || abe is AbstractBuffStackEvent)
     {
         return(-1);
     }
     return(1);
 }
Esempio n. 7
0
 internal override int CompareTo(AbstractBuffEvent abe)
 {
     throw new InvalidOperationException("Manual removes can't be sorted");
 }
 internal abstract int CompareTo(AbstractBuffEvent abe);