swiftlys2/docs/api/releases/features/ai/
API Reference › GameHooks

GetItemInLoadoutPostContext

Struct
Namespace: SwiftlyS2.Shared.GameHooks · Assembly: SwiftlyS2.CS2.dll
public ref struct GetItemInLoadoutPostContext
View source

Properties

Return

The item the game gets back, null when the slot is empty. Replace it to answer with another item. The object is only valid during the callback; keep the item's address instead if you need it later.

public CEconItemView? Return { readonly get; set; }
Property Value

Methods

SetHookResult(HookResult)

public void SetHookResult(HookResult result)
Parameters

Fields

Params

public GetItemInLoadoutParams Params