Show / Hide Table of Contents

    Class GatewayServerDisconnectPacket

    Class that represents an outgoing login server disconnection packet.

    Inheritance
    System.Object
    GatewayServerDisconnectPacket
    Implements
    IOutboundPacket
    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 sealed class GatewayServerDisconnectPacket : IOutboundPacket

    Constructors

    | Improve this Doc View Source

    GatewayServerDisconnectPacket(String)

    Initializes a new instance of the GatewayServerDisconnectPacket class.

    Declaration
    public GatewayServerDisconnectPacket(string reason = "")
    Parameters
    Type Name Description
    System.String reason

    Optional. The reason given for the disconnection, if any.

    Properties

    | Improve this Doc View Source

    PacketType

    Gets the type of this packet.

    Declaration
    public OutgoingPacketType PacketType { get; }
    Property Value
    Type Description
    OutgoingPacketType
    | Improve this Doc View Source

    Reason

    Gets the reason given for the disconnection, if any.

    Declaration
    public string Reason { get; }
    Property Value
    Type Description
    System.String

    Implements

    IOutboundPacket

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.