Helper class for creating and parsing Iconset XML documents

Hierarchy

  • default<IconsetType>
    • Iconset

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • raw: {
          iconset: {
              _attributes: {
                  default_friendly?: string;
                  default_group?: string;
                  default_hostile?: string;
                  default_neutral?: string;
                  default_unknown?: string;
                  name: string;
                  skip_resize?: boolean;
                  uid: string;
                  version: number;
              };
              icon: | { _attributes: { name: string; type2525b?: string } }[]
              | { _attributes: { name: string; type2525b?: string } };
          };
      }

    Returns Iconset

Properties

raw: {
    iconset: {
        _attributes: {
            default_friendly?: string;
            default_group?: string;
            default_hostile?: string;
            default_neutral?: string;
            default_unknown?: string;
            name: string;
            skip_resize?: boolean;
            uid: string;
            version: number;
        };
        icon: | { _attributes: { name: string; type2525b?: string } }[]
        | { _attributes: { name: string; type2525b?: string } };
    };
}

Accessors

Methods

  • Returns Set<{ name: string; type2525b?: string }>

  • Returns {
        default_friendly?: string;
        default_group?: string;
        default_hostile?: string;
        default_neutral?: string;
        default_unknown?: string;
        name: string;
        skip_resize?: boolean;
        uid: string;
        version: number;
    }

  • Type Parameters

    • U

    Parameters

    • input: string
    • check: ValidateFunction

    Returns U