Exemple #1
0
 public static int Compare(AppearanceTypeRef a, int id, int data)
 {
     if (a != null)
     {
         return(a.m_Key - (id & 65535) << 8 | data & 255);
     }
     return(-1);
 }
Exemple #2
0
 public static int Compare(AppearanceTypeRef a, AppearanceTypeRef other)
 {
     if (a != null && other != null)
     {
         return(a.m_Key - other.m_Key);
     }
     return(-1);
 }
Exemple #3
0
 public static bool Equals(AppearanceTypeRef a, int id, int data)
 {
     return(a != null && a.m_Key == ((id & 65535) << 8 | data & 255));
 }
Exemple #4
0
 public static bool Equals(AppearanceTypeRef a, AppearanceTypeRef other)
 {
     return(a != null && other != null && a.m_Key == other.m_Key);
 }
Exemple #5
0
 public int Compare(AppearanceTypeRef other)
 {
     return(Compare(this, other));
 }
Exemple #6
0
 public bool Equals(AppearanceTypeRef other)
 {
     return(Equals(this, other));
 }
Exemple #7
0
 internal bool Equals(AppearanceTypeRef other)
 {
     return(Equals(this, other));
 }