Table of Contents

Struct CharacterAppearanceData

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Serializable snapshot of a character's full visual appearance. Used for save/load, network replication, and character creation.

All values are deterministic — applying the same data produces the same visual result.

[Serializable]
public struct CharacterAppearanceData
Inherited Members

Fields

ArmLength

Arm length multiplier. Affects upper and lower arm bones.

public float ArmLength

Field Value

float

EquippedItemIds

IDs of equipped items, indexed by (byte)ItemSlot. Length must match the ItemSlot enum count.

public long[] EquippedItemIds

Field Value

long[]

Gender

The character's gender.

public CharacterGender Gender

Field Value

CharacterGender

HeadScale

Head scale multiplier. Affects head and neck bones.

public float HeadScale

Field Value

float

Height

Overall height multiplier. Affects spine and leg bones.

public float Height

Field Value

float

LegLength

Leg length multiplier. Affects upper and lower leg bones.

public float LegLength

Field Value

float

ModelIndex

The model index within the race/gender model set.

public int ModelIndex

Field Value

int

MuscleMass

Muscle mass blend shape (0-100).

public float MuscleMass

Field Value

float

RaceId

The race template ID.

public int RaceId

Field Value

int

ShoulderWidth

Shoulder width multiplier. Affects clavicle/shoulder bone positions.

public float ShoulderWidth

Field Value

float

TorsoLength

Torso length multiplier. Affects spine and chest bones.

public float TorsoLength

Field Value

float

Weight

Body weight blend shape (0-100).

public float Weight

Field Value

float

Methods

Default(int, CharacterGender, int)

Returns the default appearance for a given race.

public static CharacterAppearanceData Default(int raceId, CharacterGender gender, int modelIndex)

Parameters

raceId int

The race template ID to build defaults for.

gender CharacterGender

The character gender.

modelIndex int

The model index within the race/gender set.

Returns

CharacterAppearanceData

A CharacterAppearanceData with default proportions and empty equipment.