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 |
---|---|---|
EntityUid | from | |
EntityUid | to |
Properties
| Improve this Doc View SourceCancelReason
Why the transfer has been cancelled.
Declaration
public string? CancelReason { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
From
Declaration
public EntityUid From { get; }
Property Value
Type | Description |
---|---|
EntityUid |
To
Declaration
public EntityUid To { get; }
Property Value
Type | Description |
---|---|
EntityUid |
Methods
| Improve this Doc View SourceCancel(String)
Cancels the transfer.
Declaration
public void Cancel(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |