Show / Hide Table of Contents

Class PacketExtensions

Inheritance
object
PacketExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.Extensions
Assembly: SlipeServer.Server.dll
Syntax
public static class PacketExtensions

Methods

| Edit this page View Source

SendTo(Packet, IClient)

Sends a packet to a specific client

Declaration
public static void SendTo(this Packet packet, IClient client)
Parameters
Type Name Description
Packet packet
IClient client
| Edit this page View Source

SendTo(Packet, Player)

Sends a packet to a specific player

Declaration
public static void SendTo(this Packet packet, Player player)
Parameters
Type Name Description
Packet packet
Player player
| Edit this page View Source

SendTo(Packet, IEnumerable<IClient>)

Sends a packet to specific clients. This is more optimised than looping through a packet and calling SendTo on individual clients

Declaration
public static void SendTo(this Packet packet, IEnumerable<IClient> clients)
Parameters
Type Name Description
Packet packet
IEnumerable<IClient> clients
| Edit this page View Source

SendTo(Packet, IEnumerable<Player>)

Sends a packet to specific players. This is more optimised than looping through a packet and calling SendTo on individual players

Declaration
public static void SendTo(this Packet packet, IEnumerable<Player> players)
Parameters
Type Name Description
Packet packet
IEnumerable<Player> players
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX