Show / Hide Table of Contents

    Class LookAtOperation

    Class that represents an event for a thing description.

    Inheritance
    System.Object
    Priority_Queue.FastPriorityQueueNode
    Priority_Queue.StablePriorityQueueNode
    BaseEvent
    Operation
    LookAtOperation
    Implements
    System.IEquatable<BaseEvent>
    IOperation
    IEvent
    Inherited Members
    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 class LookAtOperation : Operation, IEquatable<BaseEvent>, IOperation, IEvent

    Constructors

    | Improve this Doc View Source

    LookAtOperation(UInt16, Location, Byte, IPlayer)

    Initializes a new instance of the LookAtOperation class.

    Declaration
    public LookAtOperation(ushort thingId, Location location, byte stackPosition, IPlayer playerToDescribeFor)
    Parameters
    Type Name Description
    System.UInt16 thingId

    The id of the thing to describe.

    Location location

    The location where the thing to describe is.

    System.Byte stackPosition

    The position in the stack at the location of the thing to describe is.

    IPlayer playerToDescribeFor

    The player to describe the thing for.

    Properties

    | Improve this Doc View Source

    Location

    Gets the location where the thing to describe is.

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

    PlayerToDescribeFor

    Gets the player to describe for.

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

    StackPosition

    Gets the position in the stack at the location of the thing to describe is.

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

    ThingId

    Gets the id of the thing to describe.

    Declaration
    public ushort ThingId { get; }
    Property Value
    Type Description
    System.UInt16

    Methods

    | Improve this Doc View Source

    Execute(IOperationContext)

    Executes the operation's logic.

    Declaration
    protected override void Execute(IOperationContext context)
    Parameters
    Type Name Description
    IOperationContext context

    A reference to the operation context.

    Overrides
    Operation.Execute(IOperationContext)

    Implements

    System.IEquatable<T>
    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.