swiftlys2/docs/api/ai/
API Reference StringTable

IStringTableService

Interface
Namespace: SwiftlyS2.Shared.StringTable · Assembly: SwiftlyS2.CS2.dll
public interface IStringTableService
View source

Methods

FindTable(string)

Finds a string table by name.

IStringTable? FindTable(string tableName)
Parameters
  • tableNamestringThe name of the string table to find.
Returns
The string table, or null if the string table is not found.

FindTableById(int)

Finds a string table by ID.

IStringTable? FindTableById(int tableId)
Parameters
  • tableIdintThe ID of the string table to find.
Returns
The string table, or null if the string table is not found.