TmpMenu/docs/lua/classes/lua_patch.md

26 lines
266 B
Markdown
Raw Permalink Normal View History

2023-07-02 00:59:02 +02:00
# Class: lua_patch
Class representing a in-memory patch.
## Functions (2)
### `apply()`
Apply the modified value.
**Example Usage:**
2023-07-02 00:59:02 +02:00
```lua
lua_patch:apply()
```
### `restore()`
Restore the original value.
**Example Usage:**
2023-07-02 00:59:02 +02:00
```lua
lua_patch:restore()
```