We're giving away 4 copies of V Rising to 4 editors of the V Rising Wiki. Simply create an account and contribute! See more details here Wiki Contest.


From Space Engineers Wiki
Revision as of 14:48, 21 August 2016 by Rsa97 (talk | contribs) (Created page with "{{DISPLAYTITLE:MyDefinitionId}} Версия игры: 1.144 <br>Пространство имён Sandbox.ModAPI.Ingame ''public struct '''MyDefinitionId''' : IEquatable<MyD...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Версия игры: 1.144
Пространство имён Sandbox.ModAPI.Ingame

public struct MyDefinitionId : IEquatable<MyDefinitionId>
  Идентификатор предмета в хранилище

Статические свойства:

public static readonly MyDefinitionId.DefinitionIdComparerType Comparer
  Класс сравнения двух предметов


public readonly MyObjectBuilderType TypeId
  Идентификатор типа

public readonly MyStringHash SubtypeId
  Идентификатор подтипа

public string SubtypeName { get; }
  Название подтипа


public MyDefinitionId(MyObjectBuilderType type)
public MyDefinitionId(MyObjectBuilderType type, string subtypeName)
public MyDefinitionId(MyObjectBuilderType type, MyStringHash subtypeId)
public MyDefinitionId(MyRuntimeObjectBuilderId type, MyStringHash subtypeId)

public static implicit operator MyDefinitionId(SerializableDefinitionId v)
public static implicit operator SerializableDefinitionId(MyDefinitionId v)
  Преобразования типов

public static bool operator ==(MyDefinitionId l, MyDefinitionId r)
public static bool operator !=(MyDefinitionId l, MyDefinitionId r)
public override int GetHashCode()
public long GetHashCodeLong()
public override bool Equals(object obj)
public override string ToString()
public bool Equals(MyDefinitionId other)
  Перегрузка стандартных операций

Дочерние классы:

public class DefinitionIdComparerType : IEqualityComparer<MyDefinitionId>
  Сравнение двух MyDefinitionId


public bool Equals(MyDefinitionId x, MyDefinitionId y)
  Сравнение двух MyDefinitionId

public int GetHashCode(MyDefinitionId obj)
  Возвращает хэш от MyDefinitionId