C# (CSharp) ALFA Namespace

Nested Namespaces

ALFA.Shared

Сlasses

Name Description
ALFAERFResourceEntry
ALFAERFResourceRepository This class reimplements OEIShared.IO.ERFResourceRepository, however in a fashion that is compatible with the content patcher (files are not kept locked without share delete). It only supports read only access to the ERF.
Database This class encapsulates database access for ALFA CLR scripts. Unlike the ad-hoc ALFA.MySQLDatabase class, this class supports a single, "canonical" standard default database connection with the following properties: - There is only one underlying connection so queries are completed in order. - The combined query queue ("ACR_AsyncSQLQuery[Ex]") is synchronized with queries issued on an ALFA.Database object. - All instances of ALFA.Database are synchronized with one another. Generally, "state changing" queries that have to synchronize with the updates performed via NWScript must go through this query. Queries that may be processed independently, e.g. the GameWorldManager in the ACR_ServerCommunicator, may use a standalone connection instead for better performance if they do not require synchronization with the canonical database connection.
Database.LOCATION_DATA This structure contains raw data for a stored position in the database.
DummyOEIResourceManager
GameEffect This class encapsulates a wrapper for the native game effect object.
GameEffect.CGameEffectInternal
MySQLDatabase This class encapsulates database access for ALFA CLR scripts that uses an independent MySQL connection. N.B. Most code should NOT use a MySQLDatabase object, because doing so may monopolize a valuable connection pool connection. Use ALFA.ALFADatabase instead for most SQL accesses UNLESS they must be done from a dedicated thread context, like the ACR_ServerCommunicator GameWorldManager query thread.
MySQLDatabaseInternal This wrapper class shields callers of MySQLDatabase from needing to immediately demand that the MySql.Data.dll assembly be loaded.
ResourceManager This class implements a resource loader that is compatible with the game's internal resource loader. It can be used to load up files out of the currently loaded module, haks, or game data zip files.
ScriptCompiler This class encapsulates general system information about the game environment and configuration.
ScriptCompiler.CompilerResult This structure describes the result of a compilation attempt.
SystemInfo This class encapsulates general system information about the game environment and configuration.
SystemInfo.MIB_UDPROW_OWNER_PID
SystemInfo.MIB_UDPTABLE_OWNER_PID
SystemInfo.SCROLLINFO
SystemInfo.SQLConnectionSettings This structure contains SQL connection settings, used for the establishment of auxiliary MySQL connections to the central database server (e.g. for true asynchronous queries on a different thread).