SwiftlyS2

IOnItemServicesCanAcquireHookEvent

Interface IOnItemServicesCanAcquireHookEvent

Namespace: SwiftlyS2.Shared.Events

Assembly: SwiftlyS2.CS2.dll

public interface IOnItemServicesCanAcquireHookEvent

Properties

AcquireMethod

The acquire method.

AcquireMethod AcquireMethod { get; }
Property Value

EconItemView

The econ item view.

CEconItemView EconItemView { get; }
Property Value

ItemServices

The item services.

CCSPlayer_ItemServices ItemServices { get; }
Property Value

OriginalResult

The original result of the CanAcquire call.

AcquireResult OriginalResult { get; }
Property Value

WeaponVData

The weapon vdata if found, otherwise null.

CCSWeaponBaseVData? WeaponVData { get; }
Property Value

Methods

SetAcquireResult(AcquireResult)

Intercept and modify the acquire result. This will modify the acquire result and stop the following hooks and original function.

void SetAcquireResult(AcquireResult result)
Parameters

On this page