wavelength 1.0.0
Loading...
Searching...
No Matches
UnlockableItem Struct Reference

One item a song unlocked: a song, an avatar part, or an arena. More...

#include <unlockableitem.h>

Public Types

enum  Kind {
  kKindArena = 0 , kKindSong = 1 , kKindBossSong = 2 , kKindBonusSong = 3 ,
  kKindPowerup = 4 , kKindCampaignEnd = 5 , kKindHead = 7 , kKindTorso = 8 ,
  kKindLowerBody = 9 , kKindArms = 10 , kKindHeadGear = 11 , kKindFaceGear = 12 ,
  kKindEmblem = 13 , kKindPrefab = 14
}
 Kinds of item, named from the unlock screens Metagame::QueueUnlocks() shows for them. More...

Public Attributes

const char * mName
unsigned char mKind

Detailed Description

One item a song unlocked: a song, an avatar part, or an arena.

The RTTI includes the name through the vectors of the class. The object is 8 bytes. Campaign collects the items a result unlocks, and the metagame shows an unlock screen for each.

Member Enumeration Documentation

◆ Kind

Kinds of item, named from the unlock screens Metagame::QueueUnlocks() shows for them.

Every other kind is an avatar part or an emblem. The names are inferred.

Enumerator
kKindArena 

An arena.

kKindSong 

A song.

kKindBossSong 

The song of a boss arena.

kKindBonusSong 

A song beyond the campaign.

kKindPowerup 

A power-up. Campaign also offers it as mPendingPowerup.

kKindCampaignEnd 

The end of the campaign at a skill level.

kKindHead 

A head.

kKindTorso 

A torso.

kKindLowerBody 

A pair of legs.

kKindArms 

A pair of arms.

kKindHeadGear 

A head gear.

kKindFaceGear 

A face gear.

kKindEmblem 

An emblem.

kKindPrefab 

A prefabricated Freq.

Member Data Documentation

◆ mName

const char* UnlockableItem::mName

The unlocked song, part, or arena, a symbol.

◆ mKind

unsigned char UnlockableItem::mKind

One of Kind, which selects the unlock screen.


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