SwiftlyS2

Callback

Class Callback

Namespace: SwiftlyS2.Shared.SteamAPI

Assembly: SwiftlyS2.CS2.dll

Represents a Steam callback that automatically manages its lifecycle

public sealed class Callback<T> : IDisposable where T : struct
Type Parameters
  • T

Inheritance

Implements

Inherited Members

Methods

Create(Action<T>)

Create and register a new callback

public static Callback<T> Create(Action<T> callback)
Parameters
Returns

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

~Callback()

protected ~Callback()

On this page