mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-07 09:53:50 +08:00
26 lines
266 B
Markdown
26 lines
266 B
Markdown
|
# Class: lua_patch
|
||
|
|
||
|
Class representing a in-memory patch.
|
||
|
|
||
|
## Functions (2)
|
||
|
|
||
|
### `apply()`
|
||
|
|
||
|
Apply the modified value.
|
||
|
|
||
|
**Exemple Usage:**
|
||
|
```lua
|
||
|
lua_patch:apply()
|
||
|
```
|
||
|
|
||
|
### `restore()`
|
||
|
|
||
|
Restore the original value.
|
||
|
|
||
|
**Exemple Usage:**
|
||
|
```lua
|
||
|
lua_patch:restore()
|
||
|
```
|
||
|
|
||
|
|