Class DeathLink
- Namespace
- Archipelago.MultiClient.Net.BounceFeatures.DeathLink
- Assembly
- Archipelago.MultiClient.Net.dll
A DeathLink object that gets sent and received via bounce packets.
public class DeathLink : IEquatable<DeathLink>
- Inheritance
-
DeathLink
- Implements
- Inherited Members
Constructors
DeathLink(string, string)
A DeathLink object that gets sent and received via bounce packets.
public DeathLink(string sourcePlayer, string cause = null)
Parameters
sourcePlayer
stringName of the player sending the DeathLink
cause
stringOptional reason for the DeathLink. Since this is optional it should generally include a name as if this entire text is what will be displayed
Properties
Cause
The full text to print for players receiving the DeathLink. Can be null
public string Cause { get; }
Property Value
Source
The name of the player who sent the DeathLink
public string Source { get; }
Property Value
Timestamp
The Timestamp of the created DeathLink object
public DateTime Timestamp { get; }
Property Value
Methods
Equals(DeathLink)
public bool Equals(DeathLink other)
Parameters
other
DeathLink
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(DeathLink, DeathLink)
public static bool operator ==(DeathLink lhs, DeathLink rhs)
Parameters
Returns
operator !=(DeathLink, DeathLink)
public static bool operator !=(DeathLink lhs, DeathLink rhs)