Documentation
¶
Index ¶
- func FromLuaTableV1(object *sku.Transacted, luaState *lua.LState, luaTable *LuaTableV1) (fieldsChanged bool, err error)
- func FromLuaTableV2(object *sku.Transacted, luaState *lua.LState, luaTable *LuaTableV2) (err error)
- func ToLuaTableV1(tg sku.TransactedGetter, luaState *lua.LState, luaTable *LuaTableV1)
- func ToLuaTableV2(tg sku.TransactedGetter, luaState *lua.LState, luaTable *LuaTableV2)
- type LuaTablePoolV1
- type LuaTablePoolV2
- type LuaTableV1
- type LuaTableV2
- type LuaVMPoolV1
- type LuaVMPoolV2
- type LuaVMV1
- type LuaVMV2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromLuaTableV1 ¶
func FromLuaTableV1( object *sku.Transacted, luaState *lua.LState, luaTable *LuaTableV1, ) (fieldsChanged bool, err error)
FromLuaTableV1 writes the hook's mutations back onto object. It returns fieldsChanged when the hook altered any projected field value (RFC 0006 Phase 1 field write-back), so the commit pipeline can run its single bounded, hook-free write-back pass. Tag and id write-back are unconditional and do not affect fieldsChanged.
func FromLuaTableV2 ¶
func FromLuaTableV2( object *sku.Transacted, luaState *lua.LState, luaTable *LuaTableV2, ) (err error)
func ToLuaTableV1 ¶
func ToLuaTableV1( tg sku.TransactedGetter, luaState *lua.LState, luaTable *LuaTableV1, )
func ToLuaTableV2 ¶
func ToLuaTableV2( tg sku.TransactedGetter, luaState *lua.LState, luaTable *LuaTableV2, )
Types ¶
type LuaTablePoolV1 ¶
type LuaTablePoolV1 = interfaces.PoolPtr[LuaTableV1, *LuaTableV1]
func MakeLuaTablePoolV1 ¶
func MakeLuaTablePoolV1(vm *lua.VM) LuaTablePoolV1
type LuaTablePoolV2 ¶
type LuaTablePoolV2 = interfaces.PoolPtr[LuaTableV2, *LuaTableV2]
func MakeLuaTablePoolV2 ¶
func MakeLuaTablePoolV2(vm *lua.VM) LuaTablePoolV2
type LuaTableV1 ¶
type LuaTableV2 ¶
type LuaVMPoolV1 ¶
type LuaVMPoolV1 = interfaces.PoolPtr[LuaVMV1, *LuaVMV1]
func MakeLuaVMPoolV1 ¶
func MakeLuaVMPoolV1(vmPool *lua.VMPool, self *sku.Transacted) LuaVMPoolV1
type LuaVMPoolV2 ¶
type LuaVMPoolV2 = interfaces.PoolPtr[LuaVMV2, *LuaVMV2]
func MakeLuaVMPoolV2 ¶
func MakeLuaVMPoolV2(luaVMPool *lua.VMPool, self *sku.Transacted) LuaVMPoolV2
type LuaVMV1 ¶
type LuaVMV1 struct {
lua.LValue
*lua.VM
TablePool LuaTablePoolV1
Selbst *sku.Transacted
}
func PushTopFuncV1 ¶
func PushTopFuncV1( lvm LuaVMPoolV1, args []string, ) (vm *LuaVMV1, argsOut []string, err error)
type LuaVMV2 ¶
type LuaVMV2 struct {
lua.LValue
*lua.VM
TablePool LuaTablePoolV2
Selbst *sku.Transacted
}
func PushTopFuncV2 ¶
func PushTopFuncV2( luaVMPool LuaVMPoolV2, args []string, ) (vm *LuaVMV2, argsOut []string, err error)
Click to show internal directories.
Click to hide internal directories.