Show / Hide Table of Contents

Class ClientPacketScope

Scope that allows you to specify a set of players to send packets to. More information can be found at https://server.mta-slipe.com/articles/advanced-features/client-packet-scope.html

Inheritance
object
ClientPacketScope
Implements
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.PacketHandling
Assembly: SlipeServer.Server.dll
Syntax
public class ClientPacketScope : IDisposable

Constructors

| Edit this page View Source

ClientPacketScope(IClient)

Declaration
public ClientPacketScope(IClient client)
Parameters
Type Name Description
IClient client
| Edit this page View Source

ClientPacketScope(Player)

Declaration
public ClientPacketScope(Player player)
Parameters
Type Name Description
Player player
| Edit this page View Source

ClientPacketScope(HashSet<IClient>)

Declaration
public ClientPacketScope(HashSet<IClient> clients)
Parameters
Type Name Description
HashSet<IClient> clients
| Edit this page View Source

ClientPacketScope(IEnumerable<IClient>)

Declaration
public ClientPacketScope(IEnumerable<IClient> clients)
Parameters
Type Name Description
IEnumerable<IClient> clients
| Edit this page View Source

ClientPacketScope(IEnumerable<Player>)

Declaration
public ClientPacketScope(IEnumerable<Player> players)
Parameters
Type Name Description
IEnumerable<Player> players

Properties

| Edit this page View Source

Current

Declaration
public static ClientPacketScope? Current { get; }
Property Value
Type Description
ClientPacketScope

Methods

| Edit this page View Source

ContainsClient(IClient)

Declaration
public bool ContainsClient(IClient client)
Parameters
Type Name Description
IClient client
Returns
Type Description
bool
| Edit this page View Source

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()

Implements

IDisposable
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX