Struct DeathLocation
- Namespace
- Obsidian.API
- Assembly
- Obsidian.API.dll
public readonly struct DeathLocation : INetworkSerializable<DeathLocation>, IEquatable<DeathLocation>
- Implements
-
- Inherited Members
-
Properties
DeathDimensionName
public required string DeathDimensionName { get; init; }
Property Value
- string
Location
public required Vector Location { get; init; }
Property Value
- Vector
Methods
Equals(DeathLocation)
public bool Equals(DeathLocation other)
Parameters
other
DeathLocation
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 ==(DeathLocation, DeathLocation)
public static bool operator ==(DeathLocation left, DeathLocation right)
Parameters
left
DeathLocation
right
DeathLocation
Returns
- bool
operator !=(DeathLocation, DeathLocation)
public static bool operator !=(DeathLocation left, DeathLocation right)
Parameters
left
DeathLocation
right
DeathLocation
Returns
- bool
Explicit Interface Implementations
Read(INetStreamReader)
static DeathLocation Read(INetStreamReader reader)
Parameters
reader
INetStreamReader
Returns
- DeathLocation
Write(DeathLocation, INetStreamWriter)
static void Write(DeathLocation value, INetStreamWriter writer)
Parameters
value
DeathLocation
writer
INetStreamWriter