Skip to documentation
LITHIUM
Guide 06

Lithium.Addons.Addon

Base class for a Lithium addon.

This page is generated from the public C# symbols in src/game/sandbox/Code.

Addon

Status: Stable

Signature

C#
public abstract class Addon

Description

Base class for a Lithium addon.

Example

C#
Addon? value = null;

View source

Members

Manifest

Status: Stable

Signature

C#
public AddonManifest Manifest { get; }

Description

Metadata describing this addon.

Example

C#
var value = instance.Manifest;

View source

IsInitialized

Status: Stable

Signature

C#
public bool IsInitialized { get; }

Description

Whether the framework has initialized this addon.

Example

C#
var value = instance.IsInitialized;

View source

IsEnabled

Status: Stable

Signature

C#
public virtual bool IsEnabled { get; }

Description

Whether the addon is enabled by its configuration.

Example

C#
var value = instance.IsEnabled;

View source

IsLoaded

Status: Stable

Signature

C#
public bool IsLoaded { get; private set; }

Description

Whether the addon's load callback has completed successfully.

Example

C#
var value = instance.IsLoaded;

View source

Cette page vous a-t-elle aidé ?

N’indiquez aucune donnée personnelle dans votre commentaire.

0/1000