Show / Hide Table of Contents

    Class ElevatedOperationContext

    Class that represents an elevated context for operations.

    Inheritance
    System.Object
    EventContext
    OperationContext
    ElevatedOperationContext
    Implements
    IElevatedOperationContext
    IOperationContext
    IEventContext
    Inherited Members
    OperationContext.MapDescriptor
    OperationContext.Map
    OperationContext.CreatureFinder
    OperationContext.ItemFactory
    OperationContext.CreatureFactory
    OperationContext.ContainerManager
    OperationContext.GameApi
    OperationContext.CombatApi
    OperationContext.PathFinder
    OperationContext.PredefinedItemSet
    OperationContext.Scheduler
    EventContext.Logger
    EventContext.CurrentTime
    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.Mechanics.Operations
    Assembly: Fibula.Mechanics.dll
    Syntax
    public class ElevatedOperationContext : OperationContext, IElevatedOperationContext, IOperationContext, IEventContext

    Constructors

    | Improve this Doc View Source

    ElevatedOperationContext(ILogger, IApplicationContext, IMapDescriptor, IMap, ICreatureManager, IItemFactory, ICreatureFactory, IContainerManager, IGameOperationsApi, ICombatOperationsApi, IPathFinder, IPredefinedItemSet, IScheduler)

    Initializes a new instance of the ElevatedOperationContext class.

    Declaration
    public ElevatedOperationContext(ILogger logger, IApplicationContext applicationContext, IMapDescriptor mapDescriptor, IMap map, ICreatureManager creatureManager, IItemFactory itemFactory, ICreatureFactory creatureFactory, IContainerManager containerManager, IGameOperationsApi gameOperationsApi, ICombatOperationsApi combatOperationsApi, IPathFinder pathFinderAlgo, IPredefinedItemSet predefinedItemSet, IScheduler scheduler)
    Parameters
    Type Name Description
    Serilog.ILogger logger

    A reference to the logger in use.

    IApplicationContext applicationContext

    A reference to the application context.

    IMapDescriptor mapDescriptor

    A reference to the map descriptor in use.

    IMap map

    A reference to the map.

    ICreatureManager creatureManager

    A reference to the creature manager in use.

    IItemFactory itemFactory

    A reference to the item factory in use.

    ICreatureFactory creatureFactory

    A reference to the creature factory in use.

    IContainerManager containerManager

    A reference to the container manager in use.

    IGameOperationsApi gameOperationsApi

    A reference to the game operations api.

    ICombatOperationsApi combatOperationsApi

    A reference to the combat operations api.

    IPathFinder pathFinderAlgo

    A reference to the path finding algorithm in use.

    IPredefinedItemSet predefinedItemSet

    A reference to the predefined item set declared.

    IScheduler scheduler

    A reference to the scheduler instance.

    Properties

    | Improve this Doc View Source

    ApplicationContext

    Gets the reference to the application context.

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

    CreatureManager

    Gets the reference to the creature manager in use.

    Declaration
    public ICreatureManager CreatureManager { get; }
    Property Value
    Type Description
    ICreatureManager

    Implements

    IElevatedOperationContext
    IOperationContext
    IEventContext

    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.