Difference between revisions of "MyObjectBuilderType/ru"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:IMyBatteryBlock}} | {{DISPLAYTITLE:IMyBatteryBlock}} | ||
− | Версия игры: 1. | + | Версия игры: 1.175 |
<br>Пространство имён VRage.ObjectBuilders | <br>Пространство имён VRage.ObjectBuilders | ||
Line 6: | Line 6: | ||
<br> Общий интерфейс объектов | <br> Общий интерфейс объектов | ||
− | == | + | ==Свойства:== |
− | |||
''public static readonly MyObjectBuilderType '''Invalid''' = new MyObjectBuilderType((Type) null)'' | ''public static readonly MyObjectBuilderType '''Invalid''' = new MyObjectBuilderType((Type) null)'' | ||
<br> Неверный тип | <br> Неверный тип | ||
Line 13: | Line 12: | ||
''public static readonly MyObjectBuilderType.ComparerType '''Comparer''' = new MyObjectBuilderType.ComparerType()'' | ''public static readonly MyObjectBuilderType.ComparerType '''Comparer''' = new MyObjectBuilderType.ComparerType()'' | ||
<br> Сравнение типов | <br> Сравнение типов | ||
− | |||
− | |||
''public bool '''IsNull''' { get; }'' | ''public bool '''IsNull''' { get; }'' | ||
Line 43: | Line 40: | ||
''public static MyObjectBuilderType '''Parse'''(string value)'' | ''public static MyObjectBuilderType '''Parse'''(string value)'' | ||
− | ''public static MyObjectBuilderType '''ParseBackwardsCompatible'''(string value)'' | + | <br>''public static MyObjectBuilderType '''ParseBackwardsCompatible'''(string value)'' |
− | ''public static bool '''TryParse'''(string value, out MyObjectBuilderType result)'' | + | <br>''public static bool '''TryParse'''(string value, out MyObjectBuilderType result)'' |
<br> Парсеры | <br> Парсеры | ||
Latest revision as of 15:46, 19 February 2017
Версия игры: 1.175
Пространство имён VRage.ObjectBuilders
public struct MyObjectBuilderType
Общий интерфейс объектов
Свойства:
public static readonly MyObjectBuilderType Invalid = new MyObjectBuilderType((Type) null)
Неверный тип
public static readonly MyObjectBuilderType.ComparerType Comparer = new MyObjectBuilderType.ComparerType()
Сравнение типов
public bool IsNull { get; }
Проверка на неверный тип
Методы:
public MyObjectBuilderType(Type type)
Конструктор
public static implicit operator MyObjectBuilderType(Type t)
public static implicit operator Type(MyObjectBuilderType t)
public static explicit operator MyRuntimeObjectBuilderId(MyObjectBuilderType t)
public static explicit operator MyObjectBuilderType(MyRuntimeObjectBuilderId id)
Преобразования типов
public static bool operator ==(MyObjectBuilderType lhs, MyObjectBuilderType rhs)
public static bool operator !=(MyObjectBuilderType lhs, MyObjectBuilderType rhs)
public static bool operator ==(Type lhs, MyObjectBuilderType rhs)
public static bool operator !=(Type lhs, MyObjectBuilderType rhs)
public static bool operator ==(MyObjectBuilderType lhs, Type rhs)
public static bool operator !=(MyObjectBuilderType lhs, Type rhs)
public override bool Equals(object obj)
public bool Equals(MyObjectBuilderType type)
public override int GetHashCode()
public override string ToString()
Перегрузка стандартных операций
public static MyObjectBuilderType Parse(string value)
public static MyObjectBuilderType ParseBackwardsCompatible(string value)
public static bool TryParse(string value, out MyObjectBuilderType result)
Парсеры
public static bool IsReady()
Создан ли уже тип
public static void UnregisterAssemblies()
Деструктор