swiftlys2/docs/api/ai/
API Reference Events

IOnConVarValueChanged

Interface
Namespace: SwiftlyS2.Shared.Events · Assembly: SwiftlyS2.CS2.dll
public interface IOnConVarValueChanged

Called when a ConVar value is changed.

View source

Properties

ConVarName

The name of the ConVar that changed.

string ConVarName { get; }
Property Value

NewValue

The old value of the ConVar in string format.

string NewValue { get; }
Property Value

OldValue

The new value of the ConVar in string format.

string OldValue { get; }
Property Value

PlayerId

The player ID of the client that made the change.

int PlayerId { get; }
Property Value