Show / Hide Table of Contents

    Class CharacterEntity

    Class that represents a character entity.

    Inheritance
    System.Object
    BaseEntity
    CharacterEntity
    Implements
    ICharacterEntity
    IIdentifiableEntity
    IEntity
    ICreatureCreationMetadata
    Inherited Members
    BaseEntity.Id
    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.Data.Entities
    Assembly: Fibula.Data.Entities.dll
    Syntax
    public class CharacterEntity : BaseEntity, ICharacterEntity, IIdentifiableEntity, IEntity, ICreatureCreationMetadata

    Properties

    | Improve this Doc View Source

    AccountId

    Gets or sets the id of the account which this character belongs to.

    Declaration
    public string AccountId { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Corpse

    Gets the corpse id to give to the creature.

    Declaration
    public ushort Corpse { get; }
    Property Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    Creation

    Gets or sets this character's creation date and time.

    Declaration
    public DateTimeOffset Creation { get; set; }
    Property Value
    Type Description
    System.DateTimeOffset
    | Improve this Doc View Source

    Gender

    Gets or sets the character's chosen gender.

    Declaration
    public byte Gender { get; set; }
    Property Value
    Type Description
    System.Byte
    | Improve this Doc View Source

    IsOnline

    Gets or sets a value indicating whether this character is currently online.

    Declaration
    public bool IsOnline { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LastLogin

    Gets or sets the last observed date and time that this character successfully loged in.

    Declaration
    public DateTimeOffset? LastLogin { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTimeOffset>
    | Improve this Doc View Source

    MaxHitpoints

    Gets the max hitpoints to create the creature with.

    Declaration
    public ushort MaxHitpoints { get; }
    Property Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    MaxManapoints

    Gets the max manapoints to create the creature with.

    Declaration
    public ushort MaxManapoints { get; }
    Property Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    Name

    Gets or sets the character's name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Vocation

    Gets or sets the character's vocation.

    Declaration
    public string Vocation { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    World

    Gets or sets the world where the character exists in.

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

    Implements

    ICharacterEntity
    IIdentifiableEntity
    IEntity
    ICreatureCreationMetadata

    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.