MyRuntimeObjectBuilderIdComparer

From Space Engineers Wiki
Revision as of 15:55, 19 February 2017 by Rsa97 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Версия игры: 1.175
Пространство имён VRage.ObjectBuilders

public class MyRuntimeObjectBuilderIdComparer : IComparer<MyRuntimeObjectBuilderId>, IEqualityComparer<MyRuntimeObjectBuilderId>
  Сравнение двух объектов типа MyRuntimeObjectBuilderIdComparer

Методы:

public int Compare(MyRuntimeObjectBuilderId x, MyRuntimeObjectBuilderId y)
  Возвращает разность объектов

public bool Equals(MyRuntimeObjectBuilderId x, MyRuntimeObjectBuilderId y)
  Возвращает равенство объектов

public int GetHashCode(MyRuntimeObjectBuilderId obj)
  Возвращает хэш объекта