Table of Contents

Class ModuleRenderFeatures

Namespace
FishMMO.Client
Assembly
FishMMO.Client.dll

The module render features, by id, in their drawing order (ModuleRenderFeature).

public static class ModuleRenderFeatures
Inheritance
ModuleRenderFeatures
Inherited Members

Properties

Entries

The registered features, by order.

public static IReadOnlyList<ModuleRenderFeatures.Entry> Entries { get; }

Property Value

IReadOnlyList<ModuleRenderFeatures.Entry>

Version

Bumped whenever the registrations or a module's settings change: the hosts remake their features.

public static int Version { get; }

Property Value

int

Methods

Changed()

Tells the hosts a module's settings changed (an edit to its profile): they remake their features.

public static void Changed()

Register(string, int, Func<ModuleRenderFeature>)

Registers a feature; registering an id again replaces it (a module's installer runs on every domain load).

public static void Register(string id, int order, Func<ModuleRenderFeature> create)

Parameters

id string
order int
create Func<ModuleRenderFeature>

Unregister(string)

Removes a feature by id.

public static void Unregister(string id)

Parameters

id string