Table of Contents

Class CaveCoverTypes

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

The cave cover's types (CaveCoverType) and the forms of cave they belong to. The run-time renderer reads the table for its densities and looks; the art generator builds one clump mesh a type and level in this order (SubmeshOf(CaveCoverType, int)); the cut's species lookup picks a cave's types by its form and biome.

public static class CaveCoverTypes
Inheritance
CaveCoverTypes
Inherited Members

Fields

All

Every type, in CaveCoverType order.

public static readonly CaveCoverTypeInfo[] All

Field Value

CaveCoverTypeInfo[]

Count

How many types there are.

public const int Count = 27

Field Value

int

Ice

An ice cave's: frost and ice grit, sparkle, seeps, and at its mouth litter and lichen. Nothing lives deeper in.

public static readonly uint Ice

Field Value

uint

Lava

A lava tube's: basalt grit, sulphur and mineral crusts, ember glints, sparkle; litter, lichen and a few bones by the mouth.

public static readonly uint Lava

Field Value

uint

Levels

Levels of detail a type is drawn at (the art's submeshes per type).

public const int Levels = 3

Field Value

int

Living

The types that live (fungi, moss, glow-worms): none in an ice cave or a lava tube.

public static readonly uint Living

Field Value

uint

Mine

A mine's: spoil and grit, timber, iron, ore crumbs and candle stubs; fungi on rotting timber, seeps, roots at the adit.

public static readonly uint Mine

Field Value

uint

Natural

The natural limestone cave's own cover (Cave, Grotto, SeaCave): also the default where a cave carries no choice.

public static readonly uint Natural

Field Value

uint

Methods

Bit(CaveCoverType)

A type's bit in a cave's mask.

public static uint Bit(CaveCoverType type)

Parameters

type CaveCoverType

Returns

uint

Info(CaveCoverType)

A type's row.

public static ref readonly CaveCoverTypeInfo Info(CaveCoverType type)

Parameters

type CaveCoverType

Returns

CaveCoverTypeInfo

Mask(params CaveCoverType[])

public static uint Mask(params CaveCoverType[] types)

Parameters

types CaveCoverType[]

Returns

uint

SubmeshOf(CaveCoverType, int)

The art's submesh of a type at a level.

public static int SubmeshOf(CaveCoverType type, int level)

Parameters

type CaveCoverType
level int

Returns

int