swiftlys2/docs/api/ai/
API Reference SteamAPI

CallResult`1

Class
Namespace: SwiftlyS2.Shared.SteamAPI · Assembly: SwiftlyS2.CS2.dll
public sealed class CallResult<T> : IDisposable where T : struct
Inherits object
Implements IDisposable

Represents a Steam call result that automatically manages its lifecycle

View source

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
Returns
CallResult<T>

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