struct

DataDungeon::AssetIndex

Inherits JSON::Serializable < Struct < Value < Object

An index a consumer keeps on a registered type (DB#register_index): the traits it usually asks by, in that order, so a lookup fixing the leading ones is one range scan.

Constructors

new(id : Int64, asset_type : String, consumer : String, name : String, traits : Array(String))
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

asset_type
Source
consumer
Source
name
Source
traits
Source