Table of Contents

Class StartupContextEcsExtensions

Namespace
SampSharp.Entities
Assembly
SampSharp.OpenMp.Entities.dll

Contains extension methods for IStartupContext to configure the ECS system.

public static class StartupContextEcsExtensions
Inheritance
StartupContextEcsExtensions
Inherited Members

Methods

UseEntities(IStartupContext)

Configures the ECS system for the SampSharp application.

public static IEcsHostBuilder UseEntities(this IStartupContext context)

Parameters

context IStartupContext

The startup context.

Returns

IEcsHostBuilder

A IEcsHostBuilder instance which can be used to further configure the ECS system.