swiftlys2/docs/api/ai/
API Reference Events

IOnPrecacheResourceEvent

Interface
Namespace: SwiftlyS2.Shared.Events · Assembly: SwiftlyS2.CS2.dll
public interface IOnPrecacheResourceEvent
View source

Methods

AddItem(string)

Add a resource to the precache list.

void AddItem(string path)
Parameters
  • pathstringThe path of the resource to precache.