import { Vector2 } from '../types/Vector2'; import { Vector3 } from '../types/Vector3'; import { Vector4 } from '../types/Vector4'; import { Color } from '../types/Color'; import { createFromHandle } from '../types/HandleRegistry'; import { inv, rai, raf, ras, rav, pvi, pvf, pvv, pvii, pvfi, _h, f, int, uint, float, Hash, u8, u16, u32, u64, i8, i16, i32, i64 } from '../types/NativeAliases'; export class Dlc { /** * @returns */ static getSpecialEditionCashCampBonusEnabled(): any { return inv('0x1DB9D61E505AE3FC'); } /** * @returns */ static getSpecialEditionCoreStatsBonusEnabled(): any { return inv('0xA16B4FBA7887D7BA'); } /** * @param dlcHash * @returns */ static isDlcPresent(dlcHash: string | number): boolean { return !!inv('0x2763DC12BBE2BB6F', _h(dlcHash), rai()); } /** * @returns */ static getIsLoadingScreenActive(): boolean { return !!inv('0x71D4BF5890659B0C', rai()); } }