Table of Contents

Class SettingsViewData

Namespace
MonkeyLoader.Resonite.DataFeeds.Settings
Assembly
MonkeyLoader.Resonite.Integration.dll

Stores data about the FrooxEngine.SettingsDataFeed Views in Userspace - there can be any number of these.

public sealed class SettingsViewData
Inheritance
SettingsViewData
Inherited Members

Properties

HasMapper

Gets whether this settings view data has a Mapper.

[MemberNotNullWhen(true, "Mapper")]
public bool HasMapper { get; }

Property Value

bool

true if Mapper is not null; otherwise, false.

HasRootCategoryView

Gets whether this settings view data has a RootCategoryView.

[MemberNotNullWhen(true, "RootCategoryView")]
public bool HasRootCategoryView { get; }

Property Value

bool

true if RootCategoryView is not null; otherwise, false.

Mapper

Gets the FrooxEngine.DataFeedItemMapper used by the RootCategoryView that's displaying the SettingsDataFeed this view data belongs to.

public DataFeedItemMapper? Mapper { get; }

Property Value

DataFeedItemMapper

RootCategoryView

Gets the RootCategoryView that's displaying the SettingsDataFeed this view data belongs to.

public RootCategoryView? RootCategoryView { get; }

Property Value

RootCategoryView

SettingsDataFeed

Gets the FrooxEngine.SettingsDataFeed that this view data belongs to.

public SettingsDataFeed SettingsDataFeed { get; }

Property Value

SettingsDataFeed

Methods

EnsureDataFeedValueFieldTemplate(Type)

Ensures a FrooxEngine.DataFeedValueField<T> template exists for the given Type in this SettingsViewData's FrooxEngine.DataFeedItemMapper

public void EnsureDataFeedValueFieldTemplate(Type typeToInject)

Parameters

typeToInject Type