(thread: Thread, index: number)
| 130 | } |
| 131 | |
| 132 | public getValue(thread: Thread, index: number): any { |
| 133 | const refUserdata = thread.lua.lua_touserdata(thread.address, index) |
| 134 | const referencePointer = thread.lua.module.getValue(refUserdata, '*') |
| 135 | return thread.lua.getRef(referencePointer) |
| 136 | } |
| 137 | |
| 138 | public pushValue(thread: Thread, decoratedValue: Decoration<any, ProxyDecorationOptions>): boolean { |
| 139 | const { target, options } = decoratedValue |