import { int } from '../types/NativeAliases'; export declare class Interaction { /** * Allows camera to be moved if middle mouse button is held while in first person * Must be called every frame * _SET* */ static setAllowFirstPersonMouseCameraMovement(): void; /** * Returns true if player is holding LMB while cursor is active * _PI* - _PO* * * @returns */ static pointerIsLeftButtonHeld(): boolean; /** * Returns true if player is moving mouse while cursor is active * _PI* - _PO* * * @returns */ static pointerIsBeingMoved(): boolean; /** * Shows the cursor on screen for one frame. Old name: _SET_MOUSE_CURSOR_ACTIVE_THIS_FRAME */ static setMouseCursorThisFrame(): void; /** * Changes the mouse cursor's sprite. spriteId's: https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/cursor_sprites#readme Old name: _SET_MOUSE_CURSOR_SPRITE * * @param spriteId */ static setMouseCursorStyle(spriteId: int): void; /** * Returns true if player releases LMB if cursor is active * _PI* - _PO* * * @returns */ static pointerIsLeftButtonJustReleased(): boolean; } //# sourceMappingURL=Interaction.d.ts.map