Wave
  • 👋Introduction
  • 🌊Getting Started
  • đŸ’ģFunctions
    • 🎮Console
    • 🌎Environment
    • 📂File System
    • đŸĒHooking
    • đŸ–ąī¸Input
    • 💡Miscellaneous
    • đŸ“ŗNetwork
    • đŸĒžReflection
    • đŸ•šī¸Script
    • 📊Table
    • đŸ“ļSignal
  • 📚Libraries
    • 👨‍🎤Actors
    • đŸ—ƒī¸Cache
    • 👾Crypt
    • 🐞Debug
    • đŸ–ī¸Drawing
    • đŸ–Ĩī¸ImGui
    • 📎WebSocket
  • âœī¸Changelogs
  • 📃Credits
Powered by GitBook
On this page
  • Clone Function
  • Hook Function
  • Hook Metamethod
  • New C Closure
  1. Functions

Hooking

These are all of the functions revolving hooking that Wave supports.

Clone Function

<function> clonefunction(<function> a1)
  • Clones function a1.


Hook Function

<function> hookfunction(<function> old, <function> new)  
  • Hooks function old, replacing it with the function new. The old function is returned, you must use this function in order to call the original function.


Hook Metamethod

<function> hookmetamethod(<Object> object, <string> metamethod, <function> a1)  
  • Hooks the metamethod passed in object's metatable with a1.


New C Closure

<function> newcclosure(<function> a1)  
  • Pushes a new C Closure that invokes the function a1 upon call.


PreviousFile SystemNextInput

Last updated 5 months ago

đŸ’ģ
đŸĒ