Class BlockStateProperty
- Namespace
- Obsidian.API
- Assembly
- Obsidian.API.dll
public sealed record BlockStateProperty : INetworkSerializable<BlockStateProperty>, IEquatable<BlockStateProperty>
- Inheritance
-
BlockStateProperty
- Implements
-
- Inherited Members
-
Constructors
BlockStateProperty()
public BlockStateProperty()
Properties
Name
public required string Name { get; set; }
Property Value
- string
Value
public required string Value { get; set; }
Property Value
- string
Methods
Equals(BlockStateProperty?)
public bool Equals(BlockStateProperty? other)
Parameters
other
BlockStateProperty
Returns
- bool
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string
Operators
operator ==(BlockStateProperty?, BlockStateProperty?)
public static bool operator ==(BlockStateProperty? left, BlockStateProperty? right)
Parameters
left
BlockStateProperty
right
BlockStateProperty
Returns
- bool
operator !=(BlockStateProperty?, BlockStateProperty?)
public static bool operator !=(BlockStateProperty? left, BlockStateProperty? right)
Parameters
left
BlockStateProperty
right
BlockStateProperty
Returns
- bool
Explicit Interface Implementations
Read(INetStreamReader)
static BlockStateProperty Read(INetStreamReader reader)
Parameters
reader
INetStreamReader
Returns
- BlockStateProperty
Write(BlockStateProperty, INetStreamWriter)
static void Write(BlockStateProperty value, INetStreamWriter writer)
Parameters
value
BlockStateProperty
writer
INetStreamWriter