Enum Class GamevalType
- All Implemented Interfaces:
Serializable, Comparable<GamevalType>, Constable
A namespace of gameval symbolic names — one per table the game ships in cache
index 67. A gameval name is only unique within its type, so every lookup names
both (
ITEM + "YEW_LOGS" → 1515).
The wire() string is the etype key stored in the index and
is the shared vocabulary with the offline tooling — it matches the group file
names under gameval_beta_out/ and the --etype argument of the
Atlas query CLI. Two names differ between the game's vocabulary and the host's,
and the wire string keeps the game's: ITEM is the game's obj
table, and VARP is its var_player table.
LOC is scenery — the same entities the SceneObjects facade
yields. It keeps the cache's spelling so a name resolved here and a name looked
up in the offline tooling are unambiguously the same thing.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAchievements.Base animation sets.Item/equipment categories.Interface components.Mouse cursors.Database rows.Database tables.Enums (id → value tables).Font metrics.Spot animations / graphical effects.Overhead health bars.Hit splats.Interfaces.Inventories / containers.Items.Scenery.World-map elements.Materials / textures.Music tracks.Models.NPCs.Params (struct/def attribute keys).Quests.Animation sequences.Sound effects.Structs (param bags).Interface style sheets.Interface animations.Interface animation curves.Clan variables.Clan-setting variables.Client variables.NPC variables.Scenery variables.Player-group variables.Player variable bits.Clan variable bits.Clan-setting variable bits.NPC variable bits.Scenery variable bits.Player variables. -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<GamevalType> The type for a wireetypekey, or empty when unknown.static GamevalTypeReturns the enum constant of this class with the specified name.static GamevalType[]values()Returns an array containing the constants of this enum class, in the order they are declared.wire()Theetypekey this type is stored under in the index.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ITEM
Items. The game'sobjtable. -
NPC
NPCs. -
LOC
Scenery. Yielded byapi.objects(). -
INV
Inventories / containers. -
ENUM
Enums (id → value tables). -
STRUCT
Structs (param bags). -
PARAM
Params (struct/def attribute keys). -
SEQ
Animation sequences. -
GRAPHIC
Spot animations / graphical effects. -
QUEST
Quests. -
CATEGORY
Item/equipment categories. -
ACHIEVEMENT
Achievements. -
DBROW
Database rows. -
DBTABLE
Database tables. -
MAPELEMENT
World-map elements. -
INTERFACE
Interfaces. -
COMPONENT
Interface components. Ids are packed as(interfaceId << 16) | componentId— useGamevalIndex.component(String)to get them split. -
CURSOR
Mouse cursors. -
HEADBAR
Overhead health bars. -
HITMARK
Hit splats. -
STYLESHEET
Interface style sheets. -
FONTMETRICS
Font metrics. -
UI_ANIM
Interface animations. -
UI_ANIM_CURVE
Interface animation curves. -
VARP
Player variables. The game'svar_playertable. -
VARBIT
Player variable bits. -
VAR_CLIENT
Client variables. -
VAR_NPC
NPC variables. -
VARBIT_NPC
NPC variable bits. -
VAR_OBJECT
Scenery variables. -
VARBIT_OBJECT
Scenery variable bits. -
VAR_CLAN
Clan variables. -
VARBIT_CLAN
Clan variable bits. -
VAR_CLAN_SETTING
Clan-setting variables. -
VARBIT_CLAN_SETTING
Clan-setting variable bits. -
VAR_PLAYER_GROUP
Player-group variables. -
MODEL
Models. -
MATERIAL
Materials / textures. -
SOUND
Sound effects. -
MIDI
Music tracks. -
BAS
Base animation sets.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
wire
Theetypekey this type is stored under in the index. -
fromWire
The type for a wireetypekey, or empty when unknown.
-