bedrock-kit
    Preparing search index...

    Interface DefinitionFile<T>

    Shared interface implemented by SoundDefinitionsFile and MusicDefinitionsFile. Allows generic code to work with either definition file type.

    interface DefinitionFile<T> {
        ids: string[];
        size: number;
        all(): T[];
        get(id: string): T;
    }

    Type Parameters

    • T

    Implemented by

    Index

    Properties

    Methods

    Properties

    ids: string[]
    size: number

    Methods