Show / Hide Table of Contents

    Class BaseEnvironmentOperation

    Class that represents a base environment operation.

    Inheritance
    System.Object
    Priority_Queue.FastPriorityQueueNode
    Priority_Queue.StablePriorityQueueNode
    BaseEvent
    Operation
    ElevatedOperation
    BaseEnvironmentOperation
    CancelOperationsOperation
    ChangeItemOperation
    CreateItemOperation
    DeathOperation
    DeleteItemOperation
    ExpireItemOperation
    LogInOperation
    LogOutOperation
    PlaceCreatureOperation
    Implements
    System.IEquatable<BaseEvent>
    IElevatedOperation
    IOperation
    IEvent
    Inherited Members
    ElevatedOperation.Execute(IOperationContext)
    ElevatedOperation.Execute(IElevatedOperationContext)
    Operation.CanBeCancelled
    Operation.AssociatedExhaustion
    Operation.GetRequestor(ICreatureFinder)
    Operation.Execute(IEventContext)
    Operation.AddContentToContainerOrFallback(IOperationContext, IThingContainer, IThing, Byte, Boolean, ICreature)
    Operation.DispatchTextNotification(IOperationContext, String)
    Operation.SendNotification(IOperationContext, INotification)
    BaseEvent.Cancelled
    BaseEvent.Expedited
    BaseEvent.Completed
    BaseEvent.EventId
    BaseEvent.RequestorId
    BaseEvent.RepeatAfter
    BaseEvent.HasCancellationHandler
    BaseEvent.HasExpeditionHandler
    BaseEvent.ExcludeFromTelemetry
    BaseEvent.State
    BaseEvent.Cancel()
    BaseEvent.Expedite()
    BaseEvent.Complete(Boolean)
    BaseEvent.Equals(BaseEvent)
    Priority_Queue.StablePriorityQueueNode.InsertionIndex
    Priority_Queue.FastPriorityQueueNode.Priority
    Priority_Queue.FastPriorityQueueNode.QueueIndex
    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 abstract class BaseEnvironmentOperation : ElevatedOperation, IEquatable<BaseEvent>, IElevatedOperation, IOperation, IEvent

    Constructors

    | Improve this Doc View Source

    BaseEnvironmentOperation(UInt32)

    Initializes a new instance of the BaseEnvironmentOperation class.

    Declaration
    public BaseEnvironmentOperation(uint requestorId)
    Parameters
    Type Name Description
    System.UInt32 requestorId

    The id of the creature requesting the movement.

    Methods

    | Improve this Doc View Source

    PlaceCreature(IElevatedOperationContext, ITile, ICreature)

    Attempts to place a creature on the map.

    Declaration
    protected bool PlaceCreature(IElevatedOperationContext context, ITile targetTile, ICreature creature)
    Parameters
    Type Name Description
    IElevatedOperationContext context

    A reference to the operation context.

    ITile targetTile

    The tile to place the creature at.

    ICreature creature

    The creature to place.

    Returns
    Type Description
    System.Boolean

    True if the creature is successfully added to the map, false otherwise.

    | Improve this Doc View Source

    RemoveCreature(IElevatedOperationContext, ICreature)

    Attempts to remove a creature from the map.

    Declaration
    protected bool RemoveCreature(IElevatedOperationContext context, ICreature creature)
    Parameters
    Type Name Description
    IElevatedOperationContext context

    A reference to the operation context.

    ICreature creature

    The creature to remove.

    Returns
    Type Description
    System.Boolean

    True if the creature is successfully removed from the map, false otherwise.

    Implements

    System.IEquatable<T>
    IElevatedOperation
    IOperation
    IEvent

    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.