import type { eAttributeCore } from '../enums/eAttributeCore'; import type { ePedAttribute } from '../enums/ePedAttribute'; import type { Ped } from '../classes/Ped'; import { int, float } from '../types/NativeAliases'; export declare class Attribute { /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} * @param value * @param makeSound */ static enableAttributeOverpower(ped: Ped, attributeIndex: ePedAttribute, value: float, makeSound: boolean): void; /** * Displays status effects on core icons (includes warnings). * * @param statusEffectType See {@link eUiRpgStatusEffect} */ static setStatusEffectCoreIcon(statusEffectType: int): void; /** * Starts core periodic icon. * * @param statusEffectType See {@link eUiRpgStatusEffect} */ static setStatusEffectPeriodicIcon(statusEffectType: int): void; /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} * @param p2 */ static addAttributePoints(ped: Ped, attributeIndex: ePedAttribute, p2: int): void; /** * @param modelHash * @param attributeIndex Refer to {@link ePedAttribute} * @param rank * @returns */ static getDefaultAttributePointsNeededForRank(modelHash: string | number, attributeIndex: ePedAttribute, rank: int): int; /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} * @returns */ static getAttributeRank(ped: Ped, attributeIndex: ePedAttribute): int; /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} * @param newValue */ static setAttributeBonusRank(ped: Ped, attributeIndex: ePedAttribute, newValue: int): void; /** * @param ped * @param coreIndex Refer to {@link eAttributeCore} * @param value */ static setAttributeCoreValue(ped: Ped, coreIndex: eAttributeCore, value: int): void; /** * @param ped * @param coreIndex Refer to {@link eAttributeCore} * @returns */ static getAttributeBonusRank(ped: Ped, coreIndex: eAttributeCore): int; /** * Stops periodic icon. * statusEffectType: see 0xA4D3A1C008F250DF * * @param statusEffectType See {@link eUiRpgStatusEffect} */ static stopStatusEffectPeriodicIcon(statusEffectType: int): void; /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} */ static disableAttributeOverpower(ped: Ped, attributeIndex: ePedAttribute): void; /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} * @returns */ static getAttributeBaseRank(ped: Ped, attributeIndex: ePedAttribute): int; /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} * @returns */ static getAttributeOverpowerSecondsLeft(ped: Ped, attributeIndex: ePedAttribute): float; /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} * @returns */ static isAttributeOverpowered(ped: Ped, attributeIndex: ePedAttribute): boolean; static stopItemPreview(): void; /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} * @returns */ static getMaxAttributePoints(ped: Ped, attributeIndex: ePedAttribute): int; /** * @param ped * @param coreIndex Refer to {@link eAttributeCore} * @returns */ static isAttributeCoreOverpowered(ped: Ped, coreIndex: eAttributeCore): boolean; /** * @param modelHash * @param attributeIndex Refer to {@link ePedAttribute} * @returns */ static getDefaultAttributeRank(modelHash: string | number, attributeIndex: ePedAttribute): int; /** * @param ped * @param coreIndex Refer to {@link eAttributeCore} * @returns */ static getAttributeCoreOverpowerSecondsLeft(ped: Ped, coreIndex: eAttributeCore): float; /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} * @returns */ static getAttributePoints(ped: Ped, attributeIndex: ePedAttribute): int; /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} * @param newValue */ static setAttributeBaseRank(ped: Ped, attributeIndex: ePedAttribute, newValue: int): void; /** * Gets the ped's core value on a scale of 0 to 100. * * @param ped * @param coreIndex Refer to {@link eAttributeCore} * @returns */ static getAttributeCoreValue(ped: Ped, coreIndex: eAttributeCore): int; /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} * @returns */ static getMaxAttributeRank(ped: Ped, attributeIndex: ePedAttribute): int; /** * Params: p1 is related to satchel_category * * @param p0 * @param p1 */ static startItemPreview(p0: any, p1: int): void; /** * @param ped * @param attributeIndex Refer to {@link ePedAttribute} * @param p2 */ static setAttributePoints(ped: Ped, attributeIndex: ePedAttribute, p2: int): void; /** * @param ped * @param coreIndex Refer to {@link eAttributeCore} * @param value * @param makeSound */ static enableAttributeCoreOverpower(ped: Ped, coreIndex: eAttributeCore, value: float, makeSound: boolean): void; /** * @param modelHash * @param attributeIndex Refer to {@link ePedAttribute} * @returns Returns the maximum rank that the specified `ePedAttribute` can be. */ static getDefaultMaxAttributeRank(modelHash: string | number, attributeIndex: ePedAttribute): int; } //# sourceMappingURL=Attribute.d.ts.map