Class DeathOperation
Class that represents an operation for a creature's death.
Inheritance
System.Object
Priority_Queue.FastPriorityQueueNode
Priority_Queue.StablePriorityQueueNode
DeathOperation
Inherited Members
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 DeathOperation : BaseEnvironmentOperation, IEquatable<BaseEvent>, IElevatedOperation, IOperation, IEvent
Constructors
| Improve this Doc View SourceDeathOperation(UInt32, ICreature)
Initializes a new instance of the DeathOperation class.
Declaration
public DeathOperation(uint requestorId, ICreature creature)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | requestorId | The id of the creature requesting the operation. |
ICreature | creature | The creature that died. |
Properties
| Improve this Doc View SourceCreature
Gets the creature that died.
Declaration
public ICreature Creature { get; }
Property Value
Type | Description |
---|---|
ICreature |
Methods
| Improve this Doc View SourceExecute(IElevatedOperationContext)
Executes the operation's logic.
Declaration
protected override void Execute(IElevatedOperationContext context)
Parameters
Type | Name | Description |
---|---|---|
IElevatedOperationContext | context | A reference to the operation context. |
Overrides
Implements
System.IEquatable<T>