Struct IOTask
- Namespace
- SkyrimForge.Game
- Assembly
- SkyrimForge.dll
A view over RE::IOTask. It stores only the address, so it is valid until the game frees the object. Its members are extensions.
public readonly struct IOTask : IOTask_, IBSTask, IAddressable, IEquatable<IOTask>
- Implements
- Inherited Members
Constructors
IOTask()
Reports a compile-time error, since a view created with new has no address.
[Obsolete("Creates a view with no address. SkyrimForge cannot allocate this type, so a view of it is obtained only from a member that returns one.", true)]
public IOTask()
Properties
Exists
Whether the view has an address. A view from default or passed by the game to a replaced function can have none.
public bool Exists { get; }
Property Value
Methods
Equals(IOTask)
public bool Equals(IOTask other)
Parameters
otherIOTask
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(IOTask, IOTask)
Whether both views are over one address.
public static bool operator ==(IOTask left, IOTask right)
Parameters
Returns
implicit operator BSTask(IOTask)
Converts view to the BSTask it derives from, at the same address.
public static implicit operator BSTask(IOTask view)
Parameters
viewIOTask
Returns
operator !=(IOTask, IOTask)
Whether the views are over different addresses.
public static bool operator !=(IOTask left, IOTask right)