Show / Hide Table of Contents

    Class CharacterListPacket

    Class that represents an outgoing character list packet.

    Inheritance
    System.Object
    CharacterListPacket
    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 CharacterListPacket : IOutboundPacket

    Constructors

    | Improve this Doc View Source

    CharacterListPacket(IEnumerable<CharacterInfo>, UInt16)

    Initializes a new instance of the CharacterListPacket class.

    Declaration
    public CharacterListPacket(IEnumerable<CharacterInfo> characters, ushort premDays)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<CharacterInfo> characters

    The list of characters in the account.

    System.UInt16 premDays

    The premium days left on the account.

    Properties

    | Improve this Doc View Source

    Characters

    Gets the list of characters in the account.

    Declaration
    public IEnumerable<CharacterInfo> Characters { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<CharacterInfo>
    | 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

    PremiumDaysLeft

    Gets the premium days left on the account.

    Declaration
    public ushort PremiumDaysLeft { get; }
    Property Value
    Type Description
    System.UInt16

    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.