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