import M3ParserSts from '../../../parsers/m3/sts' ; import { AnimationReference } from '../../../parsers/m3/animationreference' ; /**
 * M3 animation data validator.
 */ export default class M3Sts { animIds = new Map < number , number > ( ) ; constructor ( sts ) { const animIds = < Uint32Array > sts . animIds . get ( ) ; for ( let i = 0 , l = animIds . length ; i < l ; i ++ ) { this . animIds . set ( animIds [ i ] , i ) ; } } hasData ( animRef ) { return this . animIds . has ( animRef . animId ) ; } }