/**
 * Copyright(c) Live2D Inc. All rights reserved.
 *
 * Use of this source code is governed by the Live2D Open Software license
 * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
 */ import { csmString } from '../type/csmstring' ; /**
 * パラメータ名・パーツ名・Drawable名を保持
 *
 * パラメータ名・パーツ名・Drawable名を保持するクラス。
 */ export class CubismId { /**
     * ID名を取得する
     */ public getString ( ) { return this . _id ; } /**
     * コンストラクタ
     */ public constructor ( id ) { if ( typeof id === 'string' ) { this . _id = new csmString ( id ) ; return ; } this . _id = id ; } param c return public isEqual ( c ) { if ( typeof c === 'string' ) { return this . _id . isEqual ( c ) ; } else if ( c instanceof csmString ) { return this . _id . isEqual ( c . s ) ; } else if ( c instanceof CubismId ) { return this . _id . isEqual ( c . _id . s ) ; } return false ; } param c return public isNotEqual ( c ) { if ( typeof c == 'string' ) { return ! this . _id . isEqual ( c ) ; } else if ( c instanceof csmString ) { return ! this . _id . isEqual ( c . s ) ; } else if ( c instanceof CubismId ) { return ! this . _id . isEqual ( c . _id . s ) ; } return false ; } private _id : csmString ; } export declare type CubismIdHandle = CubismId ; import * as $ from './cubismid' ; export namespace Live2DCubismFramework { export const CubismId = $ . CubismId ; export type CubismId = $ . CubismId ; export type CubismIdHandle = $ . CubismIdHandle ; }