Developer

API Reference

Lua_GetMetaField

Brew Release
Brew MP 1.0.2
See Also
ILua_GetMetaTable()
Description
Pushes onto the stack the field of the given name from the metatable of the object at the given index.
Parameters
  • pif
    []:
    a pointer to the ILua object
  • obj
    []:
    the index of the object whose metafield to retrieve
  • event
    []:
    the name of the metafield to retrieve
Prototype
   AEEResult Lua_GetMetaField(ILua *pif, int obj, const char *event)
Return
AEE_SUCCESS: if the metafield was found and was pushed on the stack, otherwise an error code.
  • Follow