Lua doc (#1552)
This commit is contained in:
25
docs/lua/classes/lua_patch.md
Normal file
25
docs/lua/classes/lua_patch.md
Normal file
@ -0,0 +1,25 @@
|
||||
# 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()
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user