Class SolutionTransferAttemptEvent
Raised when attempting to transfer from one solution to another.
Inheritance
System.Object
SolutionTransferAttemptEvent
Namespace: Content.Server.Chemistry.EntitySystems
Assembly: Content.Server.dll
Syntax
public sealed class SolutionTransferAttemptEvent : CancellableEntityEventArgs
Constructors
| Improve this Doc View SourceSolutionTransferAttemptEvent(EntityUid, EntityUid)
Declaration
public SolutionTransferAttemptEvent(EntityUid from, EntityUid to)
Parameters
Type | Name | Description |
---|---|---|
Entity |
from | |
Entity |
to |
Properties
| Improve this Doc View SourceCancelReason
Why the transfer has been cancelled.
Declaration
public string? CancelReason { get; }
Property Value
Type | Description |
---|---|
System. |
From
Declaration
public EntityUid From { get; }
Property Value
Type | Description |
---|---|
Entity |
To
Declaration
public EntityUid To { get; }
Property Value
Type | Description |
---|---|
Entity |
Methods
| Improve this Doc View SourceCancel(String)
Cancels the transfer.
Declaration
public void Cancel(string reason)
Parameters
Type | Name | Description |
---|---|---|
System. |
reason |