Class ElevatedOperationContext
Class that represents an elevated context for operations.
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.Mechanics.Operations
Assembly: Fibula.Mechanics.dll
Syntax
public class ElevatedOperationContext : OperationContext, IElevatedOperationContext, IOperationContext, IEventContext
Constructors
| Improve this Doc View SourceElevatedOperationContext(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 SourceApplicationContext
Gets the reference to the application context.
Declaration
public IApplicationContext ApplicationContext { get; }
Property Value
Type | Description |
---|---|
IApplicationContext |
CreatureManager
Gets the reference to the creature manager in use.
Declaration
public ICreatureManager CreatureManager { get; }
Property Value
Type | Description |
---|---|
ICreatureManager |