yimultiscreenserver-sdk-web-migration
Version:
YiMultiScreenServer SDK for Web
22 lines • 593 B
JavaScript
import { CastType } from "../cast/CastType";
export class CastSlot {
constructor(type, used, max) {
this.castType = type;
this.used = used;
this.max = max;
}
equals(o) {
return o instanceof CastSlot &&
this.castType === o.castType &&
this.max === o.max &&
this.used === o.used;
}
toString() {
return `CastSlot{` +
`castType=${CastType[this.castType]}, ` +
`used=${this.used}, ` +
`max=${this.max}` +
`}`;
}
}
//# sourceMappingURL=CastSlot.js.map