Userdata

Wrapper around Lua userdata

Constructors

this
this(Value userdata)
Undocumented in source.
this
this()
Undocumented in source.

Members

Functions

data
void* data()

Get the internal data pointer

data
void data(void* value)

Set the internal data pointer

metatable
Nullable!Table metatable()

Get the metatable

metatable
void metatable(Nullable!Table newMetatable)

Set the metatable

metatable
void metatable(Table newMetatable)

Set the metatable

metatable
void metatable(typeof(null) )

Set the metatable

owner
UUID owner()

Get the owner UUID of this userdata

owner
void owner(UUID value)

Set the owner UUID of this userdata

Static functions

create
Userdata create(void* ptr, Nullable!Table metatable)

Create a new userdata

Variables

_internalUserdata
Value _internalUserdata;

The internal data for this userdata; should seldom be accessed by user code

Meta