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()
|
|
```
|
|
|
|
|