CallResult
Class CallResult
Namespace: SwiftlyS2.Shared.SteamAPI
Assembly: SwiftlyS2.CS2.dll
Represents a Steam call result that automatically manages its lifecycle
public sealed class CallResult<T> : IDisposable where T : structType Parameters
- T
Inheritance
Implements
Inherited Members
- object.Equals(object?)
- object.Equals(object?, object?)
- object.GetHashCode()
- object.GetType()
- object.ReferenceEquals(object?, object?)
- object.ToString()
Methods
Create(ulong, Action<T, bool>)
Create and register a new call result
public static CallResult<T> Create(ulong hAPICall, Action<T, bool> callback)Parameters
- hAPICall ulong
- callback Action<T, bool>
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()~CallResult()
protected ~CallResult()Set(ulong)
Set or change the API call to wait for
public void Set(ulong hAPICall)Parameters
- hAPICall ulong