Class TemporaryClient
Class indicating the lack of a client.
An instance of this class is only ever used very briefly when a player has been instantiated, but the client has not yet been created.
Inheritance
TemporaryClient
Assembly: SlipeServer.Server.dll
Syntax
public class TemporaryClient : IClient
Constructors
|
Edit this page
View Source
TemporaryClient()
Declaration
Properties
|
Edit this page
View Source
ConnectionState
Declaration
public ClientConnectionState ConnectionState { get; }
Property Value
|
Edit this page
View Source
Declaration
public string? Extra { get; }
Property Value
|
Edit this page
View Source
IPAddress
Declaration
public IPAddress? IPAddress { get; set; }
Property Value
|
Edit this page
View Source
IsConnected
Declaration
public bool IsConnected { get; set; }
Property Value
|
Edit this page
View Source
PacketQueue
Declaration
public Queue<QueuedClientPacket> PacketQueue { get; }
Property Value
|
Edit this page
View Source
Ping
Declaration
public uint Ping { get; set; }
Property Value
|
Edit this page
View Source
Player
Declaration
public Player Player { get; set; }
Property Value
|
Edit this page
View Source
Serial
Declaration
public string? Serial { get; }
Property Value
|
Edit this page
View Source
Version
Declaration
public string? Version { get; }
Property Value
Methods
|
Edit this page
View Source
FetchIp()
Declaration
|
Edit this page
View Source
FetchSerial()
Declaration
public void FetchSerial()
|
Edit this page
View Source
ResendModPackets()
Declaration
public void ResendModPackets()
|
Edit this page
View Source
ResendPlayerACInfo()
Declaration
public void ResendPlayerACInfo()
|
Edit this page
View Source
ResetConnectionState()
Declaration
public void ResetConnectionState()
|
Edit this page
View Source
SendPacket(PacketId, byte[], PacketPriority, PacketReliability)
Declaration
public void SendPacket(PacketId packetId, byte[] data, PacketPriority priority = PacketPriority.Medium, PacketReliability reliability = PacketReliability.Unreliable)
Parameters
|
Edit this page
View Source
SendPacket(Packet)
Declaration
public void SendPacket(Packet packet)
Parameters
Type |
Name |
Description |
Packet |
packet |
|
|
Edit this page
View Source
SetDisconnected()
Declaration
public void SetDisconnected()
|
Edit this page
View Source
SetVersion(ushort)
Declaration
public void SetVersion(ushort version)
Parameters
Type |
Name |
Description |
ushort |
version |
|
Implements