Show / Hide Table of Contents

    Class SpeechOperation

    Class that represents a speech operation.

    Inheritance
    System.Object
    Priority_Queue.FastPriorityQueueNode
    Priority_Queue.StablePriorityQueueNode
    BaseEvent
    Operation
    SpeechOperation
    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 SpeechOperation : Operation, IEquatable<BaseEvent>, IOperation, IEvent

    Constructors

    | Improve this Doc View Source

    SpeechOperation(UInt32, SpeechType, ChatChannelType, String, String)

    Initializes a new instance of the SpeechOperation class.

    Declaration
    public SpeechOperation(uint requestorId, SpeechType speechType, ChatChannelType channelType, string content, string receiver)
    Parameters
    Type Name Description
    System.UInt32 requestorId

    The id of the creature speaking.

    SpeechType speechType

    The type of speech.

    ChatChannelType channelType

    The type of channel where the speech happens.

    System.String content

    The content of the speech.

    System.String receiver

    The receiver of the speech, if applicable.

    Properties

    | Improve this Doc View Source

    ChannelId

    Gets the type of channel where the speech happens.

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

    Content

    Gets the content of the speech.

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

    Receiver

    Gets the receiver of the speech, if any.

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

    Type

    Gets the type of speech.

    Declaration
    public SpeechType Type { get; }
    Property Value
    Type Description
    SpeechType

    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.