import type { Entity } from '../classes/Entity'; import type { Ped } from '../classes/Ped'; import type { Prop } from '../classes/Prop'; import type { Volume } from '../classes/Volume'; import { Vector3 } from '../types/Vector3'; import { int, float } from '../types/NativeAliases'; export declare class Event { /** * Only used in R* SP Script beat_rat_infestation and homeinvasion * * @param volume * @param p1 * @param p2 * @returns */ static N_0x18E93EBFC1FCFA48(volume: Volume, p1: boolean, p2: boolean): any; /** * @param pos * @param radius * @param p4 */ static removeAllShockingEventsInArea(pos: Vector3, radius: float, p4: boolean): void; /** * _S* (_SUPPRESS_EVENTS_NEXT_FRAME?) */ static N_0xB6F4825153920582(): void; static removeShockingEventSpawnBlockingAreas(): void; /** * Only used in R* SP Scripts * Hash only used in R* Script mob3.ysc: ROBBERY * _ADD_PED* * * @param ped1 * @param ped2 * @param p2 * @param p3 */ static N_0x7C511E91738A0828(ped1: Ped, ped2: Ped, p2: int, p3: string | number): void; /** * Returns eventType * * @param entity * @param p1 * @param p2 * @returns */ static getRecentEvent(entity: Entity, p1: int, p2: int): number; /** * HAS_ACTOR_RECEIVED_TRACKED_EVENT_THAT_SHOULD_ALERT - iTimeSinceEvent >= iTimeLimitMS * * @param entity * @param eventType * @param p2 */ static N_0xE28D7FC9FD32ABEB(entity: Entity, eventType: string | number, p2: int): void; /** * @param eventName * @param shockingEvent * @returns */ static isEventTrackerActive(eventName: string, shockingEvent: string | number): boolean; /** * @param object */ static N_0xA86B0EE9B39D15D6(object: Prop): void; /** * @param ped */ static flushAllEventTrackers(ped: Ped): void; /** * @param object * @param p1 * @param p2 * @returns */ static N_0x2DD42FAD06E6F19E(object: Prop, p1: boolean, p2: boolean): any; /** * @param event * @returns */ static removeShockingEvent(event: number): boolean; /** * @param entity * @param eventType * @param p2 * @param p3 * @returns */ static getSourceEntityFromEvent(entity: Entity, eventType: string | number, p2: int, p3: int): Entity | null; /** * Models used in the scripts: P_REGISTER05X, P_REGISTER06X, P_REGISTER03X, PLAYER_ZERO, PLAYER_THREE, A_C_HORSE_MORGAN_FLAXENCHESTNUT * * @param model * @param p1 * @param p2 */ static addModelToEventMonitor(model: string | number, p1: boolean, p2: boolean): void; /** * Might return time since some (?) event. * * @param entity * @param p1 * @param p2 * @returns */ static N_0xAD17A18215DD23D6(entity: Entity, p1: int, p2: int): int; /** * @param ped * @param name */ static setDecisionMaker(ped: Ped, name: string | number): void; /** * _GET* * * @param entity * @param p1 * @returns */ static N_0x83D43F0FD5276E4D(entity: Entity, p1: int): any; /** * Only used in R* SP Script coachrobberies * _SET_S* * * @param p0 */ static N_0x4B2B1A891D437CA7(p0: float): void; /** * @returns args */ static createShockingEvent(): [number, number]; /** * _SET_P* * * @param ped * @param p1 */ static N_0x9520175B35E2268D(ped: Ped, p1: boolean): void; /** * Only used in R* SP Script beat_rat_infestation * Params: p0 = value returned by 0x18E93EBFC1FCFA48 * * @param p0 */ static N_0x56B3410626A473E7(p0: any): void; /** * @param ped * @param eventName * @param p2 */ static setEventTrackerForPed(ped: Ped, eventName: string, p2: int): void; static N_0xE2C2FBB7825FFC66(): void; /** * @param entity * @param eventType * @param p2 * @param p3 * @returns */ static getTargetEntityFromEvent(entity: Entity, eventType: string | number, p2: int, p3: int): Entity | null; /** * eventType: https://alloc8or.re/rdr3/doc/enums/eEventType.txt * * @param eventType * @param pos * @param radius * @param p5 */ static removeAllShockingEventsOfTypeInArea(eventType: string | number, pos: Vector3, radius: float, p5: boolean): void; /** * @param object * @returns */ static N_0x26054EB81AC0893B(object: Prop): boolean; /** * eventType: https://alloc8or.re/rdr3/doc/enums/eEventType.txt * https://github.com/femga/rdr3_discoveries/blob/master/AI/EVENTS * * @param eventType * @param pos * @param p4 * @param p5 * @param p6 * @param p7 * @param p8 * @param p9 * @param p10 * @returns */ static addShockingEventAtPosition(eventType: string | number, pos: Vector3, p4: float, p5: float, p6: float, p7: float, p8: float, p9: int, p10: int): number; /** * @param entity * @param eventType * @param p2 * @param p3 * @returns */ static getTimeSinceEvent(entity: Entity, eventType: string | number, p2: int, p3: int): int; /** * @param p0 */ static removeAllShockingEvents(p0: boolean): void; /** * @param ped */ static setDecisionMakerToDefault(ped: Ped): void; /** * eventType: https://alloc8or.re/rdr3/doc/enums/eEventType.txt * * @param eventType * @param pos * @param radius * @returns */ static isShockingEventInSphere(eventType: string | number, pos: Vector3, radius: float): boolean; /** * eventType: https://alloc8or.re/rdr3/doc/enums/eEventType.txt * * @param eventType * @param scriptCreatedOnly */ static removeAllShockingEventsOfType(eventType: string | number, scriptCreatedOnly: boolean): void; /** * eventType: https://alloc8or.re/rdr3/doc/enums/eEventType.txt * * @param eventType * @param entity * @param p2 * @param p3 * @param p4 * @param p5 * @param p6 * @param p7 * @param p8 * @param p9 * @param p10 * @param p11 * @returns */ static addShockingEventForEntity(eventType: string | number, entity: Entity, p2: float, p3: float, p4: float, p5: float, p6: float, p7: float, p8: boolean, p9: boolean, p10: int, p11: int): number; /** * AGGRO_CHECK_PROPERTY_DAMAGE: Property damage found with event * * @param ped * @param p1 */ static N_0x1A5C5D350068A673(ped: Ped, p1: int): void; /** * @param model */ static N_0x4465C3D1475BD3FD(model: string | number): void; /** * _ADD* (*ADD_SHOCKING_EVENT** ?) * * @param entity * @param p1 * @returns */ static N_0x36D0F2BA2C0D9BDE(entity: Entity, p1: int): any; /** * _GET* * * @param ped * @returns */ static N_0x1D1B448D719415AB(ped: Ped): any; static suppressShockingEventsNextFrame(): void; } //# sourceMappingURL=Event.d.ts.map