Class GameServerDisconnectPacket
Class that represents a game server disconnect packet.
Inheritance
System.Object
GameServerDisconnectPacket
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fibula.Communications.Packets.Outgoing
Assembly: Fibula.Communications.Packets.dll
Syntax
public class GameServerDisconnectPacket : IOutboundPacket
Constructors
| Improve this Doc View SourceGameServerDisconnectPacket(String)
Initializes a new instance of the GameServerDisconnectPacket class.
Declaration
public GameServerDisconnectPacket(string reason = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | Optional. A reason for the disconnection. |
Properties
| Improve this Doc View SourcePacketType
Gets the type of this packet.
Declaration
public OutgoingPacketType PacketType { get; }
Property Value
Type | Description |
---|---|
OutgoingPacketType |
Reason
Gets the reason given for the disconnection, if any.
Declaration
public string Reason { get; }
Property Value
Type | Description |
---|---|
System.String |