Class PlayerDisconnectPacket
Inheritance
PlayerDisconnectPacket
Assembly: SlipeServer.Packets.dll
Syntax
public sealed class PlayerDisconnectPacket : Packet
Constructors
|
Edit this page
View Source
PlayerDisconnectPacket(PlayerDisconnectType, string?, int)
Declaration
public PlayerDisconnectPacket(PlayerDisconnectType type, string? reason = null, int duration = 0)
Parameters
|
Edit this page
View Source
PlayerDisconnectPacket(string)
Declaration
public PlayerDisconnectPacket(string reason)
Parameters
Type |
Name |
Description |
string |
reason |
|
Properties
|
Edit this page
View Source
Duration
Declaration
public long Duration { get; set; }
Property Value
|
Edit this page
View Source
PacketId
Declaration
public override PacketId PacketId { get; }
Property Value
Overrides
|
Edit this page
View Source
Priority
Declaration
public override PacketPriority Priority { get; }
Property Value
Overrides
|
Edit this page
View Source
Reason
Declaration
public string? Reason { get; set; }
Property Value
|
Edit this page
View Source
Reliability
Declaration
public override PacketReliability Reliability { get; }
Property Value
Overrides
|
Edit this page
View Source
Type
Declaration
public PlayerDisconnectType Type { get; set; }
Property Value
Methods
|
Edit this page
View Source
Read(byte[])
Declaration
public override void Read(byte[] bytes)
Parameters
Type |
Name |
Description |
byte[] |
bytes |
|
Overrides
|
Edit this page
View Source
Write()
Declaration
public override byte[] Write()
Returns
Overrides