Class LogOutOperation
Class that represents a logout operation.
Inheritance
System.Object
Priority_Queue.FastPriorityQueueNode
Priority_Queue.StablePriorityQueueNode
LogOutOperation
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 LogOutOperation : BaseEnvironmentOperation, IEquatable<BaseEvent>, IElevatedOperation, IOperation, IEvent
Constructors
| Improve this Doc View SourceLogOutOperation(UInt32, IPlayer)
Initializes a new instance of the LogOutOperation class.
Declaration
public LogOutOperation(uint requestorId, IPlayer player)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | requestorId | The id of the creature requesting the use. |
IPlayer | player | The player being logged out. |
Properties
| Improve this Doc View SourcePlayer
Gets the player to log out.
Declaration
public IPlayer Player { get; }
Property Value
Type | Description |
---|---|
IPlayer |
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>