nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
nanommo::Features Struct Reference

#include <figures.h>

Public Attributes

uint32_t skin = 0xFFFFFFFF
 As 0xRRGGBBAA: white, when there are none to pick from.
uint32_t hair_color = 0xFFFFFFFF
int hair = -1
std::optional< uint32_t > build
std::optional< uint32_t > shirt

Detailed Description

What a player looks like under what they wear, from the figures' lists, as they chose it or as their id picks it, so that every client draws them the same.

Definition at line 28 of file figures.h.

Member Data Documentation

◆ build

std::optional<uint32_t> nanommo::Features::build

Which of the rig's builds, wrapped round to what there is, or none for the one the figure's id picks.

Definition at line 37 of file figures.h.

◆ hair

int nanommo::Features::hair = -1

Which way they wear their hair, from the figures' hairs, or -1 when there are none.

Definition at line 34 of file figures.h.

◆ hair_color

uint32_t nanommo::Features::hair_color = 0xFFFFFFFF

Definition at line 31 of file figures.h.

◆ shirt

std::optional<uint32_t> nanommo::Features::shirt

Which of the players' colours their clothes are dyed in, wrapped round to what there is, or none for the one the figure's id picks.

Definition at line 40 of file figures.h.

◆ skin

uint32_t nanommo::Features::skin = 0xFFFFFFFF

As 0xRRGGBBAA: white, when there are none to pick from.

Definition at line 30 of file figures.h.


The documentation for this struct was generated from the following file: