Table of Contents

Interface IFob

Namespace
Uncreated.Warfare.Fobs
Assembly
Uncreated.Warfare.dll

A FOB that can show up on the FOB list.

public interface IFob : IDeployable, ITranslationArgument
Inherited Members
Extension Methods

Properties

Name

The display name of the FOB on the FOB list.

string Name { get; }

Property Value

string

Team

The team that owns the FOB.

Team Team { get; }

Property Value

Team

Methods

GetColor(Team)

Gets the display color of this FOB on the FOB list.

Color32 GetColor(Team viewingTeam)

Parameters

viewingTeam Team

Returns

Color32

GetUIDisplay(Team)

Gets the text displayed on the UI for a specific team, defaulting to Name.

string GetUIDisplay(Team viewingTeam)

Parameters

viewingTeam Team

Returns

string

IsVisibleToPlayer(WarfarePlayer)

Whether the specified player should be able to see this fob on their FOB HUD.

bool IsVisibleToPlayer(WarfarePlayer player)

Parameters

player WarfarePlayer

Returns

bool

UpdateConfiguration(FobConfiguration)

Called when the FobConfiguration is updated.

void UpdateConfiguration(FobConfiguration configuration)

Parameters

configuration FobConfiguration