Class LinkExtensions
Namespace: Void.Minecraft.Links.Extensions
Assembly: Void.Minecraft.dll
public static class LinkExtensionsInheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
SendPacketAsync<T>(ILink, CancellationToken)
public static ValueTask SendPacketAsync<T>(this ILink link, CancellationToken cancellationToken) where T : class, IMinecraftMessage, new()Parameters
link ILink
cancellationToken CancellationToken
Returns
Type Parameters
T
SendPacketAsync<T>(ILink, T, CancellationToken)
public static ValueTask SendPacketAsync<T>(this ILink link, T packet, CancellationToken cancellationToken) where T : class, IMinecraftMessageParameters
link ILink
packet T
cancellationToken CancellationToken
Returns
Type Parameters
T
SendPacketAsync<T>(ILink, Side, T, CancellationToken)
public static ValueTask SendPacketAsync<T>(this ILink link, Side side, T packet, CancellationToken cancellationToken) where T : IMinecraftMessageParameters
link ILink
side Side
packet T
cancellationToken CancellationToken
Returns
Type Parameters
T