Class CharacterListPacket
Class that represents an outgoing character list packet.
Inheritance
System.Object
CharacterListPacket
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 sealed class CharacterListPacket : IOutboundPacket
Constructors
| Improve this Doc View SourceCharacterListPacket(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 SourceCharacters
Gets the list of characters in the account.
Declaration
public IEnumerable<CharacterInfo> Characters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<CharacterInfo> |
PacketType
Gets the type of this packet.
Declaration
public OutgoingPacketType PacketType { get; }
Property Value
Type | Description |
---|---|
OutgoingPacketType |
PremiumDaysLeft
Gets the premium days left on the account.
Declaration
public ushort PremiumDaysLeft { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |